BSB Instruction

None
Purpose:Transfer control to subroutine.
Format:opcode displ.bx
Operation: -(SP) <- PC;
PC <- PC + sign-extended displ;
Condition
Codes:
N <- N;
Z <- Z;
V <- V;
C <- C;
Exceptions:
Opcodes:
10BSBBBranch to Subroutine Byte Displacement
30BSBWBranch to Subroutine Byte Displacement
Description: The PC is pushed on the stack as a long word. The sign-extended displacement operand is added to the PC and the PC is replaced by the result.
Notes:
1.
See also RSB.