Instruction Reference Manual
105
Description
Subtracts from the data in the Accumulator the data in the register r (any of the registers A, B, C, D, E, H, or
L). The result is stored in the Accumulator.
SUB r
Opcode
Instruction
Clocks
Operation
——
97
90
91
92
93
94
95
SUB r
SUB A
SUB B
SUB C
SUB D
SUB E
SUB H
SUB L
2
2
2
2
2
2
2
2
A = A - r
A = A - A
A = A - B
A = A - C
A = A - D
A = A - E
A = A - H
A = A - L
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...