EasyManua.ls Logo

Renesas SuperH SH-4A

Renesas SuperH SH-4A
472 pages
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 289 of 448
10.1.46 NOT (Not-logical Complement): Logical Instruction
Format Operation Instruction Code Cycle T Bit
NOT Rm,Rn Rm Rn 0110nnnnmmmm0111 1 —
Description: This instruction finds the one's complement of the contents of general register Rm
and stores the result in Rn. That is, it inverts the Rm bits and stores the result in Rn.
Notes: None
Operation:
NOT(long m, long n) /* NOT Rm,Rn */
{
R[n] = R[m];
PC += 2;
}
Example:
NOT R0,R1 ;Before execution R0 = H'AAAAAAAA
;After execution R1 = H'55555555

Table of Contents

Related product manuals