* Question
How does the subroutine call/return instruction implement the call and return of the subroutine? |
* Answer
The subroutine call instruction BSR is a relative addressing subroutine call instruction, and can only call subroutines in the address space relative to the address of the instruction -l26 to 129; the JSR call instruction has five kinds of addressing modes, and can call any of the 64 KB address spaces.A subroutine at a valid address.RTS returns instructions for subroutines. |
COMMENTS