| << Previous | Next >> | |
| |
RET Return Rabbit 2000/3000/4000 Instruction
Description
Transfers execution from a subroutine to the program that called the subroutine by popping the return address from the stack into PC.
First, the low-order byte of PC is loaded with the data at the memory address in SP then the high-order byte of PC is loaded with the data at the memory address immediately following the one held in SP. The data in SP is then incremented twice.
| | |
| << Previous | Next >> |