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