BSR Instruction
Branch to SubRoutine. This instruction will push the address to the next instruction on the stack, then branch to the label specified in the instruction (a relative address). Used to call subroutines in your own programs.
ADDRESS METHODS: No real address method. The label is a relative address.
DATA LENGTH: Short (1 byte offset), Long (2 byte offset)
FLAGS: Unaffected
SYNTAX: |
BSR <label> |
BSR.S <label> |
BSR.L <label> |
EXAMPLE CODE:
BSR subroutine
EASy68K will accept .B or .S to force 1-byte offsets and
.W or .L to force 2-byte offsets.