If the zero flag is unset, the top stack entry is popped into PC.
ret
Operands
ret cc | retLoading...
Variants
Every form of ret the assembler accepts. The cycles column counts clock
cycles, written as taken/not taken for the conditional forms.
| Instruction | Description | Flags | Bytes | Cycles |
|---|---|---|---|---|
| ret nz | — | 1 | 11/5 | |
| ret z | — | 1 | 11/5 | |
| ret | — | 1 | 10 | |
| ret nc | — | 1 | 11/5 | |
| ret c | — | 1 | 11/5 | |
| ret po | — | 1 | 11/5 | |
| ret pe | — | 1 | 11/5 | |
| ret p | — | 1 | 11/5 | |
| ret m | — | 1 | 11/5 |