© 2000 Scenix Semiconductor, Inc. All rights reserved.
SX Users Manual Rev. 3.1
Chapter 3 Instruction Set
3.6.27 MOV W,++fr
Move (fr+1) to W
W = fr + 1
0010 100f ffff
This instruction increments the value in the specified register file by one and moves
the 8-bit result into W. The file register is left unchanged.
If the file register contains FFh, the value moved into W is 00h and the Z bit is set.
Otherwise, the bit is cleared.
This example increments the value in file register 18h and moves the result into W.
For example, if the file register contains 75h, the value 76h is loaded into W, and
the Z bit is cleared. The file register still contains 75h after execution of the