<< Previous | Next >>

EX BC,HL     Exchange     Rabbit 4000/5000 Instruction

Opcode
Instruction
Operation
B3 EX BC,HL if (!ALTD) then BC <-> HL
else BC <-> HL'

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 4000
2
n/a
n/a
Rabbit 5000
13
12
11

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

Description

Exchanges BC with HL. If the instruction is preceded by ALTD, the alternate register HL' is used instead of HL.


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