SX Users Manual Rev. 3.1
© 2000 Scenix Semiconductor, Inc. All rights reserved.
Chapter 3 Instruction Set
3.6.30 MOV W,<>fr
Swap High/Low Nibbles of fr and Move to W
W = <> fr
0011 100f ffff
This instruction exchanges the high-order and low-order nibbles (4-bit segments) of
the value in the specified file register and moves the result to W. The file register is
This example swaps the high-order and low-order nibbles of the value in file
register 0Bh and moves the result into W. For example, if the file register contains
A5h, after executing this instruction, W will contain 5Ah.