EasyManua.ls Logo

Renesas SuperH SH-4A - Page 229

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 209 of 448
temp &= (0x000000FF & (long)i);
Write_Byte(GBR+R[0],temp);
PC += 2;
}
Example:
AND R0,R1 ;Before execution R0 = H'AAAAAAAA, R1=H'55555555
;After execution R1 = H'00000000
AND #H'0F,R0 ;Before execution R0 = H'FFFFFFFF
;After execution R0 = H'0000000F
AND.B #H'80,@(R0,GBR) ;Before execution (R0,GBR) = H'A5
;After execution (R0,GBR) = H'80
Possible Exceptions: Exceptions may occur when AND.B instruction is executed.
Data TLB multiple-hit exception
Data TLB miss exception
Data TLB protection violation exception
Initial page write exception
Data address error
Exceptions are checked taking a data access by this instruction as a byte load and a byte store.

Table of Contents

Related product manuals