You copied the Doc URL to your clipboard.

ARM Compiler armasm User Guide : VMSR (floating-point)

VMSR (floating-point)

Transfer contents of an ARM register to an floating-point system register.

Syntax

VMSR{cond} extsysreg, Rd

where:

cond
is an optional condition code.
extsysreg
is the floating-point system register, usually FPSCR, FPSID, or FPEXC.
Rd

is the ARM register. Rd must not be PC.

It can be APSR_nzcv, if extsysreg is FPSCR. In this case, the floating-point status flags are transferred into the corresponding flags in the ARM APSR.

Usage

The VMSR instruction transfers the contents of Rd into extsysreg.

Note

The instruction stalls the processor until all current floating-point operations complete.

Example

    VMSR    FPSCR, r4

Related reference

Was this page helpful? Yes No