| |||
| Home > NEON and VFP Programming > Instructions shared by NEON and VFP > VMOV (between an ARM register and a NEON scalar) | |||
Transfer contents between an ARM register and a NEON scalar.
VMOV{cond}{.size} Dn[x], Rd
VMOV{cond}{.datatype} Rd, Dn[x]
where:
condis an optional condition code.
sizethe data size. Can be 8, 16,
or 32. If omitted, is size32.
For VFP instructions, must
be size32 or omitted.
datatypethe data type. Can be U8, S8, U16, S16,
or 32. If omitted, is datatype32.
For VFP instructions, must
be datatype32 or omitted.
Dn[x]is the NEON scalar.
Rdis the ARM register. must
not be PC.Rd
VMOV transfers
the contents of Rd, Dn[x] into
the least significant byte, halfword, or word of Dn[x].
The remaining bits of RdRd are either zero
or sign extended.
VMOV transfers
the contents of the least significant byte, halfword, or word of Dn[x], Rd into Rd.Sn
Using the Assembler: