EasyManua.ls Logo

Rabbit 2000 - Inc (Hl)

Rabbit 2000
120 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Instruction Reference Manual 33
Description
Exchanges the data in word registers BC, DE, and HL, with the data in their respective alternate word regis-
ters BC', DE', and HL'.
Description
Increments the byte whose address is:
heldinwordregisterHL, or
the sum of the data in index register IX and a displacement value d, or
the sum of the data in index register IY and a displacement value d.
EXX
Opcode Instruction Clocks Operation
D9 EXX 2 BC <−> BC'; DE <−> DE'; HL <−> HL'
Flags ALTD I/O
S Z L/V C F R SP S D
- - - -
INC (HL)
INC (IX+d)
INC (IY+d)
Opcode Instruction Clocks Operation
34 INC (HL) 8 (2,1,2,3) (HL) = (HL) + 1
DD 34 d INC (IX+d) 12 (2,2,2,1,2,3) (IX + d)=(IX+d)+1
FD 34 d INC (IY+d) 12 (2,2,2,1,2,3) (IY + d)=(IY+d)+1
Flags ALTD I/O
S Z L/V C F R SP S D
V -

Other manuals for Rabbit 2000