Example
MOV.L
JSR
XOR
ADD
.......
.align
JSR_TABLE:
. data.l
TRGET:
NOP
MOV
RTS
MOV
;R0 = TRGET address
JSR_TABLE,R0
;Branch to TRGET.
@R0
;XOR executed before branch.
R1,R1
;← Procedure return destination (PR contents)
R0,R1
4
;Jump table
TRGET
;← Entry to procedure
R2,R3
;
;Return to above ADD instruction.
;MOV executed before RTS.
#70,R1
Rev. 2.0, 03/99, page 297 of 396