Transfer contents from an floating-point system register to a general-purpose register.
- is an optional condition code.
- is the floating-point system register, usually FPSCR, FPSID, or FPEXC.
is the general-purpose register.
must not be PC.
It can be
FPSCR. In this case, the floating-point status flags are transferred into the corresponding flags in the special-purpose APSR.
VMRS instruction transfers
the contents of
NoteThe instruction stalls the processor until all current floating-point operations complete.
VMRS r2,FPCID VMRS APSR_nzcv, FPSCR ; transfer FP status register to the ; special-purpose APSR