<< Previous | Next >>

> RET f Return on Flag Rabbit 2000/3000/4000 Instruction

> Opcode | Instruction | Clocks | Operation
> ---- | RET f | 8 (2,1,2,2,1) | If {f} PClow = (SP); PChigh = (SP + 1) SP = SP + 2
> C0 | RET NZ | 8 (2,1,2,2,1) | if {NZ} PClow = (SP); PChigh = (SP + 1); SP = SP + 2
> C8 | RET Z | 8 (2,1,2,2,1) | if {Z} PClow = (SP); PChigh = (SP + 1) SP = SP + 2
> D0 | RET NC | 8 (2,1,2,2,1) | if {NC} PClow = (SP); PChigh = (SP + 1) SP = SP + 2
> D8 | RET C | 8 (2,1,2,2,1) | if {C} PClow = (SP); PChigh = (SP + 1) SP = SP + 2
> E0 | RET LZ | 8 (2,1,2,2,1) | if {LZ} PClow = (SP); PChigh = (SP + 1) SP = SP + 2
> E8 | RET LO | 8 (2,1,2,2,1) | if {LO} PClow = (SP); PChigh = (SP + 1) SP = SP + 2
> F0 | RET P | 8 (2,1,2,2,1) | if {P} PClow = (SP); PChigh = (SP + 1) SP = SP + 2
> F8 | RET M | 8 (2,1,2,2,1) | if {M} PClow = (SP); PChigh = (SP + 1) SP = SP + 2

> Flags | ALTD | IOI/IOE
> S | Z | L/V | C | F | R | SP | S | D
> - | - | - | - |  |  |  |  |

> #### Description

> If the condition f is false, the instruction is ignored. Otherwise, program execution continues at the address at the top of the stack. See "Condition Codes" on page 4 for a description of f.

<< Previous | Next >>