38 Rabbit 2000/3000 Microprocessor
Description
The IPRES instruction rotates the contents of the Interrupt Priority Register 2-bits to the right, replacing the
current priority with the previous priority. It is impossible to interrupt during the execution of this instruction.
This instruction is privileged. It is implemented for the Rabbit and is not available for the Z180.
Example
If the Interrupt Priority register contains 00000110, the execution of the instruction
IPRES
would cause the Interrupt Priority register to contain 10000001.
IPRES
Opcode Instruction Clocks Operation
ED 5D IPRES 4 (2,2) IP = {IP[1:0], IP[7:2]}
Flags ALTD I/O
S Z L/V C F R SP S D
- - - -