Hitachi SH7750 Programming Manual page 366

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
NOP
ADD
........
TABLE:
.data.l
........
TRGET:
MOV
RTS
MOV
Rev. 2.0, 03/99, page 352 of 396
;R3 = TRGET address
TABLE,R3
; Branch to TRGET.
@R3
;NOP executed before branch.
;← Subroutine procedure return destination (PR contents)
R0,R1
;Jump table
TRGET
;← Entry to procedure
R1,R0
;PR contents → PC
;MOV executed before branch.
#12,R0

Advertisement

Table of Contents
loading

Table of Contents