ARM Instruction Reference
4-32
Copyright © 2000, 2001 ARM Limited. All rights reserved.
ARM DUI 0068B
4.3.4
MOV and MVN
Move and Move Not.
Syntax
MOV{
cond
}{S}
Rd
,
Operand2
MVN{
cond
}{S}
Rd
,
Operand2
where:
cond
is an optional condition code (see
Conditional execution
on page 4-4).
S
is an optional suffix. If
S
is specified, the condition code flags are updated
on the result of the operation (see
Conditional execution
on page 4-4).
Rd
is the ARM register for the result.
Operand2
is a flexible second operand. See
Flexible second operand
on page 4-24
for details of the options.
Usage
The
MOV
instruction copies the value of
Operand2
into
Rd
.
The
MVN
instruction takes the value of
Operand2
, performs a bitwise logical NOT
operation on the value, and places the result into
Rd
.
In certain circumstances, the assembler can substitute
MVN
for
MOV
, or
MOV
for
MVN
. Be
aware of this when reading disassembly listings. See
Instruction substitution
on
page 4-26 for details.
Condition flags
If
S
is specified, these instructions:
•
update the N and Z flags according to the result
•
can update the C flag during the calculation of
Operand2
(see
Flexible second
operand
on page 4-24)
•
do not affect the V flag.