The current PC value plus one is pushed onto the stack, then is loaded with 0.
rst
Operands
rst 00 | rst 08 | rst 10 | rst 18 | rst 20 | rst 28 | rst 30 | rst 38Variants
Every form of rst the assembler accepts. The cycles column counts clock
cycles, written as taken/not taken for the conditional forms.
| Instruction | Description | Flags | Bytes | Cycles |
|---|---|---|---|---|
| rst 00 | The current PC value plus one is pushed onto the stack, then is loaded with 0. | — | 1 | 11 |
| rst 08 | The current PC value plus one is pushed onto the stack, then is loaded with 8. | — | 1 | 11 |
| rst 10 | The current PC value plus one is pushed onto the stack, then is loaded with 16. | — | 1 | 11 |
| rst 18 | The current PC value plus one is pushed onto the stack, then is loaded with 24. | — | 1 | 11 |
| rst 20 | The current PC value plus one is pushed onto the stack, then is loaded with 32. | — | 1 | 11 |
| rst 28 | The current PC value plus one is pushed onto the stack, then is loaded with 40. | — | 1 | 11 |
| rst 30 | The current PC value plus one is pushed onto the stack, then is loaded with 48. | — | 1 | 11 |
| rst 38 | The current PC value plus one is pushed onto the stack, then is loaded with 56. | — | 1 | 11 |