<< Previous | Next >>

> SUB (HL) Subtract without Carry Rabbit 4000 Instruction

> Opcode | Instruction | Clocks | Operation
> 7F 96 | SUB (HL) | 7 (2,2,1,2) | A = A - (HL)

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

> #### Description

> Subtracts the data whose address is in HL from A.The result is stored in A.

> The Rabbit 4000 assembler views "SUB A,(HL)" and "SUB (HL)" as equivalent instructions.

<< Previous | Next >>