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
-
-
-
-
Содержание 2000
Страница 2: ...ii Rabbit 2000 3000 Microprocessor...
Страница 4: ...iv Rabbit 2000 Microprocessor...
Страница 16: ...12 Rabbit 2000 3000 Microprocessor...
Страница 112: ...108 Rabbit 2000 3000 Microprocessor...
Страница 120: ...ii Rabbit 2000 3000 Microprocessor...