Keil™, An ARM® Company

Technical Support

AX51: NAMING ABSOLUTE SEGMENTS


Information in this article applies to:

  • C51 Version 6.20 and Later

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

  • Refer to the Generic Segment section of the Macro Assembler and Utilities User's Guide.

SEE ALSO

Last Reviewed: Monday, July 18, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure