You copied the Doc URL to your clipboard.

VMRS (floating-point)

Transfer contents from an floating-point system register to a general-purpose register.

Syntax

VMRS{cond} Rd, extsysreg

where:

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

is the general-purpose 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 special-purpose APSR.

Usage

The VMRS instruction transfers the contents of extsysreg into Rd.

Note

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

Examples

    VMRS    r2,FPCID
    VMRS    APSR_nzcv, FPSCR     ; transfer FP status register to the
                                 ; special-purpose APSR
Was this page helpful? Yes No