EasyManua.ls Logo

Renesas SuperH SH-4A - Page 352

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 332 of 448
temp = (R[m]>>16)&0x0000FFFF;
R[n] = R[m]<<16;
R[n] |= temp;
PC += 2;
}
Example:
SWAP.B R0,R1 ;Before execution R0 = H'12345678
;After execution R1 = H'12347856
SWAP.W R0,R1 ;Before execution R0 = H'12345678
;After execution R1 = H'56781234

Table of Contents

Related product manuals