EasyManua.ls Logo

Rabbit 2000 - Ld Sp,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 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
- - - -

Other manuals for Rabbit 2000