<< Previous | Next >>

SUB (HL)     Subtract without Carry     Rabbit 4000/5000 Instruction

Opcode
Instruction
Operation
7F 96 SUB (HL) A = A - (HL)

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 4000
7
n/a
n/a
Rabbit 5000
5
5
5

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/5000 assemblers view "SUB A,(HL)" and "SUB (HL)" as equivalent instructions.


Rabbit Instructions << Previous | Next >> rabbit.com