You copied the Doc URL to your clipboard.
VMRS
Transfer contents from an Advanced SIMD system register to an ARM register.
Syntax
VMRS{
} cond
, Rd
extsysreg
where:
cond
- is an optional condition code.
extsysreg
- is the Advanced SIMD and floating-point system register,usually FPSCR, FPSID,or FPEXC.
Rd
is the ARM register.
mustnot be PC.Rd
It can be
APSR_nzcv
, if
isextsysreg
FPSCR
.In this case, the floating-point status flags are transferred intothe corresponding flags in the ARM APSR.
Usage
The VMRS
instruction transfersthe contents of extsysreg
into Rd
.
Note
The instruction stalls the processor until all current Advanced SIMD or floating-point operations complete.Example
VMRS r2,FPCID VMRS APSR_nzcv, FPSCR ; transfer FP status register to ARM APSR