RSB RETURN FROM SUBROUTINE
Purpose |
return control from subroutine |
Format |
opcode |
Operation |
PC ß (SP) +; |
Condition codes |
N ß N; Z ß Z; V ß V; C ß C; |
Exceptions |
none |
Opcodes |
05 RSB Return from Subroutine |
Description |
PC is replaced by a longword popped from the stack. |
Notes |
1. RSB is used to return from subroutines called by the BSBB, BSBW and JSB instructions. 2. RSB is equivalent to JMP *(SP) +, but is one byte shorter. |