RSB Instruction

None
Purpose:return control from a subroutine.
Format:opcode
Operation: PC <- (SP)+;
Condition
Codes:
N <- N;
Z <- Z;
V <- V;
C <- C;
Exceptions:
Opcodes:
05RSBReturn from Subroutine
Description: The PC is replaced by a longword popped from the stack.
Notes:
1.
RSB is used to return from subroutines called by BSBB, BSBW and JSB instructions .
2.
RSB is equivalent to JMP @(SP)+, but is 1 byte shorter.