EasyManua.ls Logo

Renesas SuperH SH-4A

Renesas SuperH SH-4A
472 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals