|
|||||||||||
|
Technical Support Support Resources
Product Information |
C166: In-Line Assembler: Invalid Expression TokenInformation in this article applies to:
QUESTIONI have written the following small C program:
When I translate it I get:
What is the reason for this error and how can I avoid it? ANSWERNot all addressing modes are valid for automatic variables. For example, it is not possible to get the memory address of an automatic variable if it is located to CPU registers or the User Stack. You have two options:
MORE INFORMATION
Last Reviewed: Thursday, February 25, 2021 | ||||||||||
|
|||||||||||
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.