144
Rabbit 2000/3000 Microprocessor
Description
Subtracts from the data in A the data whose address is
•
the data in HL, or
•
the sum of the data in IX and a displacement d, or
•
the sum of the data in IY and a displacement d.
The result is stored in A.
SUB (HL)
SUB (IX+
d
)
SUB (IY+
d
)
Opcode
Instruction
Clocks
Operation
96
SUB (HL)
5 (2,1,2)
A = A - (HL)
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
I/O
S
Z
L/V
C
F
R
SP
S
D
•
•
V
•
•
•
•
Summary of Contents for 2000
Page 2: ...ii Rabbit 2000 3000 Microprocessor...
Page 4: ...iv Rabbit 2000 Microprocessor...
Page 16: ...12 Rabbit 2000 3000 Microprocessor...
Page 164: ...160 Instruction Reference Manual...