The compiler's inline assembler has access to the local and global variables declared in C or C++ source code. The assembler also allows access to members of array,
struct , and
class objects:
Using Variable Names as Memory Locations
Whenever an instruction, such as a load instruction, a store instruction, or la , requires a
memory location, you can use a local or global variable name.
Using Immediate Operands
For an immediate operand, you can use an integer or enum constant, sizeof expression, and any constant expression using any of the C dyadic and monadic arithmetic operators.