Hitachi SH7750 Programming Manual page 311

High-performance risc engine superh (sh) 32-bit risc mcu/mpu series
Hide thumbs Also See for SH7750:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents