<< Previous | Next >>

LD SP,HL
LD SP,IX
LD SP,IY
    Load
    Rabbit 2000/3000/4000 Instruction
Opcode
Instruction
Clocks
Operation

F9

LD SP,HL

2

SP = HL

DD F9

LD SP,IX

4 (2,2)

SP = IX

FD F9

LD SP,IY

4 (2,2)

SP = IY


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

Description

Loads SP with:

These are chained-atomic instructions, meaning that an interrupt cannot take place between one of these instructions and the instruction following it.


<< Previous | Next >>