EasyManua.ls Logo

Renesas SuperH SH-4A - Page 285

Renesas SuperH SH-4A
472 pages
Print Icon
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 265 of 448
Example:
MOV R0,R1 ;Before execution R0 = H'FFFFFFFF, R1 = H'00000000
;After execution R1 = H'FFFFFFFF
MOV.W R0,@R1 ;Before execution R0 = H'FFFF7F80
;After execution (R1) = H'7F80
MOV.B @R0,R1 ;Before execution (R0) = H'80, R1 = H'00000000
;After execution R1 = H'FFFFFF80
MOV.W R0,@-R1 ;Before execution R0 = H'AAAAAAAA, (R1) = H'FFFF7F80
;After execution R1 = H'FFFF7F7E, (R1) = H'AAAA
MOV.L @R0+,R1 ;Before execution R0 = H'12345670
;After execution R0 = H'12345674, R1 = (H'12345670)
MOV.B R1,@(R0,R2) ;Before execution R2 = H'00000004, R0 = H'10000000
;After execution R1 = (H'10000004)
MOV.W @(R0,R2),R1 ;Before execution R2 = H'00000004, R0 = H'10000000
;After execution R1 = (H'10000004)
Possible Exceptions: Exceptions may occur when MOV instructions without MOV Rm,Rn are
executed.
Data TLB multiple-hit exception
Data TLB miss exception
Data TLB protection violation exception
Data address error
Initial page write exception (only write operation)

Table of Contents

Related product manuals