Rev. 1.50, 10/04, page 347 of 448
Example:
MOV.L JSR_TABLE,R0 ;R0 = TRGET address
JSR @R0 ;Branch to TRGET.
XOR R1,R1 ;XOR executed before branch.
ADD R0,R1 ;← Procedure return destination (PR contents)
.......
.align 4
JSR_TABLE: .data.l TRGET ;Jump table
TRGET: NOP ;← Entry to procedure
MOV R2,R3 ;
RTS ;Return to above ADD instruction.
MOV #70,R1 ;MOV executed before RTS.
Possible Exceptions:
• Slot illegal instruction exception