ARM Technical Support Knowledge Articles

MACRO ASSEMBLY CODE PROBLEMS

Applies to: A251 Macro Assembler

Answer

Information in this article applies to:


SYMPTOMS

Assembly code compiles in one location but not another. Specifically, for macro definitions like the following:

%DEFINE(HEAP)           (0h)

a syntax error is generated.

CAUSE

The error generates because MPL (Macro Programming Language) is not selected as the default macro language.

RESOLUTION

Use the MPL directive on the assembler command line. In uVision, select the MPL option from the Input Tab of the A251 Assembler Options dialog box.

MORE INFORMATION

Article last edited on: 2005-07-15 10:38:43

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