<< Previous | Next >>

EX (SP),HL     Exchange     Rabbit 2000/3000/4000/5000 Instruction

Opcode
Instruction
Operation
ED 54 EX (SP),HL H <-> (SP+1)
L <-> (SP)

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

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

Description

Exchanges the 16 bits at the top of the stack (whose address is SP) with HL.


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