|Non-Confidential||PDF version||ARM DUI0375F|
|Home > Using the Inline and Embedded Assemblers of the ARM Compiler > Inline assembler register restrictions in C and C++ code|
Registers such as
lr, and the NZCV flags in the
CPSR must be used with caution.
spregisters cannot be explicitly read or modified using inline assembly code because there is no direct access to any physical registers. However, you can use the intrinsics
__return_addressto read these registers.