EasyManua.ls Logo

Rabbit 2000 - Page 79

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 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
- - - -

Other manuals for Rabbit 2000