Keil™, An ARM® Company

CARM User's Guide

Discontinued

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.