ARM Technical Support Knowledge Articles

NAMING ABSOLUTE SEGMENTS

Applies to: AX51 Macro Assembler

Answer


Information in this article applies to:


QUESTION

Is it possible to name absolute segments using the Ax51 Assembler?

ANSWER

Yes. To do this, you must create a generic segment located at a specific address and then select it using the RSEG directive. For example:

jseg    SEGMENT CODE AT 0x1000
RSEG    jseg
        nop
        nop
        nop

The segment jseg starts at 0x1000 in CODE space as defined by the SEGMENT directive.

MORE INFORMATION

SEE ALSO

Article last edited on: 2005-07-18 17:34:09

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