Keil Logo

Special Instructions

The inline assembler accepts standard ARM or Thumb instructions and introduces several special assembler instructions that provide access to C automatic variables and parameters.

  • LDAV loads a register with the contents of an automatic variable or function argument.
  • STAV stores a register contents to an automatic variable or function argument.
  • LDAA loads a register with the address of an automatic variable or function argument.

Note

  • These instructions are not valid ARM or Thumb instructions. They are only supported by the inline assembler in the CARM Compiler.
  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.