|
|||||||||||
|
Technical Support Support Resources
Product Information |
A51: Error 21 (Expression with Forward Reference)Information in this article applies to:
SYMPTOMSI receive the following error when I assemble my 8051 assembler source file.
What causes this problem? CAUSEThis problem is typically caused by a SET or EQU that is used with a label that is defined later in your program. For example, the following example code generates this error message.
RESOLUTIONThe A51 assembler must resolve SET and EQU definitions when they are declared. References to objects that are not defined at the time of the SET or EQU are not allowed. To resolve this problem, move the SET or EQU below the forward reference, or remove it from the SET or EQU. MORE INFORMATIONRefer to the following for 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.