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
-
-
-
-
Содержание 2000
Страница 2: ...ii Rabbit 2000 3000 Microprocessor...
Страница 4: ...iv Rabbit 2000 Microprocessor...
Страница 16: ...12 Rabbit 2000 3000 Microprocessor...
Страница 112: ...108 Rabbit 2000 3000 Microprocessor...
Страница 120: ...ii Rabbit 2000 3000 Microprocessor...