Return from Subroutine
Return from subroutine. The stack is POPed and the top of the stack (TOS) is loaded into the program counter. This is a two-cycle instruction.
[ label ] RETURN
TOS → PC
Status Affected: None
CALL DELAY DELAY ;name of the subroutine NOP RETURN ;returns to the caller