RTS is an opcode
for the 6502
processor. The opcode stands for "Return
", which makes it the complementary instruction
In short, it pop
s the instruction pointer
which the most recently executed JSR
instruction stored on the stack
, and causes execution to continue from that location.
The machine code representation of this opcode is 0x60.
Back to the 6502 opcodes metanode