Return to RTS (thing)
|RTS is an [opcode] for the  processor. The opcode stands for "[Return] From [Subroutine]", which makes it the complementary [instruction] to [JSR].
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 [hexadecimal|0x60].
Back to the [6502 opcodes metanode]