Keil Logo

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 SEGMENT in the Ax51 User's Guide.

SEE ALSO

Last Reviewed: Wednesday, January 25, 2017


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.