EasyManua.ls Logo

Rabbit 2000 - Page 110

Rabbit 2000
174 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...
106 Rabbit 2000/3000 Microprocessor
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.
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 IX, and loads the memory location with the
address two less than the data in SP with the low order byte of the data in IX. Then SP is decre-
mented 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 IY, and loads the memory location with the
address two less than the data in SP with the low order byte of the data in IY. Then SP is decre-
mented 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