EasyManua.ls Logo

Rabbit 2000 - Reti

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 81
Description
Loads the Interrupt Priority register, IP, with the data whose address is in the Stack Pointer, SP. Then loads
the low order byte of the Program Counter, PC, with the data whose address is 1 higher than the data in SP
and loads the high order byte of the PC with the data whose address is two higher than the data in the SP. The
data in the SP is then incremented three times. This privileged instruction was implemented for the Rabbit
and is not available for the Z180.
RETI
Opcode Instruction Clocks Operation
ED 4D RETI 12 (2,2,1,2,2,2,1) IP = (SP); PC
(low)
= (SP+1);
PC
(high)
= (SP + 2); SP = SP + 3
Flags ALTD I/O
S Z L/V C F R SP S D
- - - -

Other manuals for Rabbit 2000