<< Previous | Next >>

SUB r     Subtract without Carry     Rabbit 2000/3000/3000A Instruction
Opcode
Instruction
Clocks
Operation
---- SUB r 2 A = A - r

97

SUB A

2

A = A - A

90

SUB B

2

A = A - B

91

SUB C

2

A = A - C

92

SUB D

2

A = A - D

93

SUB E

2

A = A - E

94

SUB H

2

A = A - H

95

SUB L

2

A = A - L


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

Description

Subtracts r (any of the registers A, B, C, D, E, H, or L) from A. The result is stored in A.


<< Previous | Next >>