© 2000 Scenix Semiconductor, Inc. All rights reserved.
93
SX Users Manual Rev. 3.1
www.scenix.com
Chapter 3 Instruction Set
3.6.23 MOV W,fr
Move fr to W
Operation:
W = fr
Bits affected:
Z
Opcode:
0010 000f ffff
Description:
This instruction moves the contents of the specified file register into W. The file
register is left unchanged.
If the value is 00h, the Z bit is set. Otherwise, the bit is cleared.
Cycles:
1
Example:
bank
$E0
;select bank
mov
W,$1F
;move register to W
This example moves the contents of a specific file register into W. The Z bit is set
if the value is zero or cleared if the value is nonzero.