Instruction Reference Manual
75
Description
•
PUSH IP:
Loads the location in memory whose address is 1 less that the data held in the Stack
Pointer, SP, with the data in the Interrupt Priority Register IP. Then decrements SP. This instruc-
tion was implemented for the Rabbit and is not available for the Z180.
•
PUSH IX:
Loads the memory location with the address 1 less than the data in the Stack
Pointer, SP, with the high order byte of the data in index register IX, and loads the memory loca-
tion with the address two less than the data in SP with the low order byte of the data in IX. Then
SP is decremented twice.
•
PUSH IY:
Loads the memory location with the address 1 less than the data in the Stack
Pointer, SP, with the high order byte of the data in index register IX, and loads the memory loca-
tion with the address two less than the data in SP with the low order byte of the data in IX. Then
SP is decremented twice.
PUSH IP
PUSH IX
PUSH IY
Opcode
Instruction
Clocks
Operation
ED 76
PUSH IP
9 (2,2,2,3)
(SP - 1) = IP; SP = SP - 1
DD E5
PUSH IX
12 (2,2,2,3,3)
(SP - 1) = IX
(high)
; (SP - 2) = IX
(low)
;
SP = SP - 2
FD E5
PUSH IY
12 (2,2,2,3,3)
(SP - 1) = IY
(high)
; (SP - 2) = IY
(low)
;
SP = SP - 2
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...