Keil Logo


11.21 VMRS

Transfer the contents of a VFP system register to an ARM register.


VMRS{cond} Rd, extsysreg
is an optional condition code.
is the VFP system register, usually FPSCR, FPSID, or FPEXC.
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.


The VMRS instruction transfers the contents of extsysreg into Rd.


This instruction stalls the processor until all current VFP operations complete.


   VMRS    r2,FPCID
   VMRS    APSR_nzcv, FPSCR  ; transfer FP status register to ARM APSR
Non-ConfidentialPDF file icon PDF versionARM DUI0379H
Copyright © 2007, 2008, 2011, 2012, 2014-2016 ARM. All rights reserved. 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.