
104
Rabbit 2000/3000 Microprocessor
Description
Subtracts from the data in the Accumulator the data whose address is
•
the data in word register HL, or
•
the sum of the data in index register IX and a displacement d, or
•
the sum of the data in index register IY and a displacement d.
The result is stored in the Accumulator.
Description
Subtracts from the data in the Accumulator the 8-bit constant n. The result is stored in the Accumulator.
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
•
•
•
•
SUB n
Opcode
Instruction
Clocks
Operation
D6 n
SUB n
4 (2,2)
A = A - n
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 112: ...108 Rabbit 2000 3000 Microprocessor...
Page 120: ...ii Rabbit 2000 3000 Microprocessor...