<< Previous | Next >>

SUB (IX+d)
SUB (IY+d)
    Subtract without Carry
    Rabbit 2000/3000/4000 Instruction
Opcode
Instruction
Clocks
Operation

DD 96 d

SUB (IX+d)

9 (2,2,2,1,2)

A = A - (IX + d)

FD 96 d

SUB (IY+d)

9 (2,2,2,1,2)

A = A - (IY + d)


Flags ALTD IOI/IOE
S
Z
L/V
C
F
R
SP
S
D
·
·
V
·
·
·
·

Description

Subtracts the data whose address is:

from A. The result is stored in A.

The Rabbit 4000 assembler views "SUB A,(IX+d)" and "SUB (IX+d)" as equivalent instructions.The same is true for "SUB A,(IY+d)" and "SUB (IY+d)."


<< Previous | Next >>