EasyManua.ls Logo

Rabbit 2000 - Ex (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 31
Description
Exchanges the byte in the register H with the data whose address is the data in the Stack Pointer register
plus 1; and exchanges the byte in the register L with the data whose address is the data in the Stack Pointer .
This instruction has been modified from the Z180 instruction.
Description
EX (SP),IX exchanges the high order byte of index register IX with the data whose address is
1 plus the data in the Stack Pointer register, and exchanges the low order byte of index register
IX with the data whose address is the data in the Stack Pointer register, SP.
EX (SP),IY exchanges the high order byte of index register IY with the data whose address is
1 plus the data in the Stack Pointer register, and exchanges the low order byte of index register
IY with the data whose address is the data in the Stack Pointer register.
EX (SP),HL
Opcode Instruction Clocks Operation
ED 54 EX (SP),HL 15 (2,2,1,2,2,3,3) H <−> (SP+1); L <−> (SP)
Flags ALTD I/O
S Z L/V C F R SP S D
- - - -
EX (SP),IX
EX (SP),IY
Opcode Instruction Clocks Operation
DD E3 EX (SP),IX 15 (2,2,1,2,2,3,3) IX
(high)
<−> (SP+1);
IX
(low)
<−> (SP)
FD E3 EX (SP),IY 15 (2,2,1,2,2,3,3) IY
(high)
<−> (SP+1);
IY
(low)
<−> (SP)
Flags ALTD I/O
S Z L/V C F R SP S D
- - - -

Other manuals for Rabbit 2000