ARM Technical Support Knowledge Articles

ERROR 1 (ILLEGAL CHARACTERS IN NUMERIC CONSTANT)

Applies to: A51 Macro Assembler

Answer


Information in this article applies to:


QUESTION

When I assemble my 8051/80251 assembly source file, I get the following diagnostic:

ERROR 1: ILLEGAL CHARACTER IN NUMERIC CONSTANT

ANSWER

This error indicates that an invalid character was found in a numeric constant. Numeric constants must begin with a decimal digit and are delimited by the first non-numeric character (with the exception of the dollar sign). The base of the number decides which characters are valid.

MORE INFORMATION

Article last edited on: 2005-07-15 12:46:51

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential