SBC A,(HL)
Subtract with Carry
Rabbit 2000/3000/3000A Instruction
|
|
9E
|
SBC A,(HL)
|
5 (2,1,2)
|
A = A - (HL) - CF
|
Description
Subtracts the C flag and the data whose address is the data in HL from the data in A. The result is stored in
A.
These operations output an inverted carry:
- The C flag is set if A is less than the data being subtracted from it.
- The C flag is cleared if A is greater than the data being subtracted from it.
- The C flag is unchanged if A is equal to the data being subtracted from it.