RTR Instruction


The instruction RTR (ReTurn and Restore) pops the flags and the program counter from the stack. First a word is popped from the stack and the lower byte of that word is stored in the flag register. The higher byte is ignored. Then a longword is popped into the program counter. The stack pointer will be increased with six.

ADDRESS METHODS: None

DATA LENGTH: N/A

FLAGS: The flags is set according to the first word that is popped from the stack.

SYNTAX: RTR