<< Previous | Next >>

NEG HL     Negate     Rabbit 4000/5000 Instruction

Opcode
Instruction
Operation
4D NEG HL HL = 0 - HL

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 2000/3000/4000
2
n/a
n/a
Rabbit 5000
2
2
2

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

Description

Subtracts HL from zero and stores the result in HL.


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