|ARM Technical Support Knowledge Articles|
Applies to: A51 Macro Assembler
Information in this article applies to:
I have a symbol declared as extern in my assembler with the following line:
EXTRN XDATA:BYTE (cmd0)
But when I assemble my file, I get:
ERROR 5 ILLEGAL USE OF A RESERVED WORD.
What am I doing wrong?
You may only specify the type of the external symbol if you are using the A251 assembler. The A51 assembler is complaining that it does not like BYTE to be used with an EXTRN directive.
Change your EXTRN directive to:
EXTRN XDATA (cmd0)
Article last edited on: 2005-07-19 10:01:15
Did you find this article helpful? Yes No
How can we improve this article?