Instruction Set ArchitectureIP2022 Users Manual
174
www.ubicom.com
MOV W,fr
Move fr into W
Operation:
W = fr
Bits affected:
Z
Opcode:
0010 000f ffff ffff
Description:
This instruction moves the contents of the
specified data memory location into W. The data
memory location is left unchanged.
If the data is zero, the Z bit is set. Otherwise, the
Z bit is cleared.
Cycles:
1
Example:
mov w,0x099;move register to W
This example moves the contents of the data
memory location at address 0x099 into W. The Z
bit is set if the value is zero or cleared if the value
is nonzero.