2.2.35 (8) MOV (W)
MOV (MOVe data)
Move
Operation
Rs
→
(EAd)
Assembly-Language Format
MOV.W
Rs, <EAd>
Operand Size
Word
Condition Code
H: Previous value remains unchanged.
N: Set to 1 if the data value is negative;
otherwise cleared to 0.
Z: Set to 1 if the data value is zero; otherwise
cleared to 0.
V: Always cleared to 0.
C: Previous value remains unchanged.
I
UI
H
U
N
Z
V
C
—
—
—
—
↕
↕
0
—
Description
This instruction transfers the contents of a 16-bit register Rs (source operand) to a destination
location, tests the transferred data, and sets condition-code flags according to the result.
Available Registers
Rs:
R0 to R7, E0 to E7
ERd: ER0 to ER7
122