IP2022 Users ManualInstruction Set Architecture
www.ubicom.com
183
NOT fr
Complement fr into fr
Operation:
fr = fr
Bits affected:
Z
Opcode:
0010 011f ffff ffff
Description:
This instruction complements each bit of the
specified data memory location and writes the
result back into the same register. If the result is
zero, the Z bit is set.
Cycles:
1
Example:
not 0x099 ;complement 0x099
Suppose that data memory location 0x099 holds
the value 0x1C. This instruction takes the
complement of 0x1C and writes the result 0xE3
back to location 0x099. The result is nonzero, so
the Z bit is cleared.