Instruction Reference Manual
61
Description
Loads the Stack Pointer register, SP, with the data in (a) the word register HL, (b) the data in index register
IX, or (c) the data in index register IY. These are privileged instructions.
Description
Loads the Extension of the Program Counter, XPC, with the data in the Accumulator. This instruction is priv-
ileged. It is implemented for the Rabbit and is not available for the Z180.
LD SP,HL
LD SP,IX
LD SP,IY
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
I/O
S
Z
L/V
C
F
R
SP
S
D
-
-
-
-
LD XPC,A
Opcode
Instruction
Clocks
Operation
ED 67
LD XPC,A
4 (2,2)
XPC = A
Flags
ALTD
I/O
S
Z
L/V
C
F
R
SP
S
D
-
-
-
-
Summary of Contents for 2000
Page 2: ...ii Rabbit 2000 3000 Microprocessor...
Page 4: ...iv Rabbit 2000 Microprocessor...
Page 16: ...12 Rabbit 2000 3000 Microprocessor...
Page 112: ...108 Rabbit 2000 3000 Microprocessor...
Page 120: ...ii Rabbit 2000 3000 Microprocessor...