|ARM Technical Support Knowledge Articles|
Applies to: A166 Macro Assembler
Information in this article applies to:
I receive the following errors when I assemble my 166 assembler source file.
*** ERROR #42, LINE #4, UNDEFINED IDENTIFIER *** ERROR #71, LINE #4, EXPRESSION WITH FORWARD REFERENCE NOT PERMITTED
What causes this problem?
This problem is typically caused by a SET, EQU, or ORG statement that is used with a label that is defined later in your program. For example, the following example code generates this error message.
junk section code tmp proc near jjj equ bob+1 start: nop nop nop nop bob: nop nop nop tmp endp junk ends end
The A166 assembler must resolve SET, EQU, and ORG statements when they are declared. References to objects that are not already defined are not allowed. To resolve this problem, move the statement below the forward reference, or remove the forward reference from the SET, EQU, or ORG statement.
Refer to the following for more information.
Article last edited on: 2000-03-12 00:00:00
Did you find this article helpful? Yes No
How can we improve this article?