SX Users Manual Rev. 3.1
© 2000 Scenix Semiconductor, Inc. All rights reserved.
Chapter 3 Instruction Set
3.6.24 MOV W,/fr
Move Complement of fr to W
W = fr ^ FFh
0010 010f ffff
This instruction loads the ones complement of the specified file register into W.
The file register is left unchanged.
If the value loaded into W is 00h, the Z bit is set. Otherwise, the bit is cleared.
This example moves the ones complement of global file register 0Fh into W. For
example, if the file register contains 75h, the complement of this value, 8Ah, is
loaded into W, and the Z bit is cleared. The file register is left unchanged.