
Instruction Reference Manual
113
Description
If the condition f is false, then the instruction is ignored. If the condition f is true, then the instruction loads the
low order byte of PC with the data at the memory address in SP then loads the high order byte of PC with the
data at the memory address immediately following the one held in SP and the data in SP is then incremented
twice.
The condition f is one of the following:
•
NZ
Z flag not set
•
Z
Z flag set
•
NC
C flag not set
•
C
C flag set
•
LZ/NV
L/V flag is not set
•
LO/V
L/V flag is set
•
P
S flag not set
•
M
S flag set.
RET
f
Opcode
Instruction
Operation
——
C0
C8
D0
D8
E0
E8
F0
F8
RET
f
RET NZ
RET Z
RET NC
RET C
RET LZ
RET LO
RET P
RET M
If {
f
} PC
(low)
= (SP); PC
(high)
= (SP + 1); SP = SP + 2
If {NZ} PC
(low)
= (SP); PC
(high)
= (SP + 1); SP = SP + 2
If {Z} PC
(low)
= (SP); PC
(high)
= (SP + 1); SP = SP + 2
If {NC} PC
(low)
= (SP); PC
(high)
= (SP + 1); SP = SP + 2
If {C} PC
(low)
= (SP); PC
(high)
= (SP + 1); SP = SP + 2
If {LZ} PC
(low)
= (SP); PC
(high)
= (SP + 1); SP = SP + 2
If {LO} PC
(low)
= (SP); PC
(high)
= (SP + 1); SP = SP + 2
If {P} PC
(low)
= (SP); PC
(high)
= (SP + 1); SP = SP + 2
If {M} PC
(low)
= (SP); PC
(high)
= (SP + 1); SP = SP + 2
Clocking: 2; 8 (2,1,2,2,1)
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...
Страница 164: ...160 Instruction Reference Manual...
Страница 172: ...168 Rabbit 2000 3000 Microprocessor...
Страница 174: ...170 Rabbit 2000 3000 Microprocessor...