Keil Logo

SEGMENTED Assembler Directive

Abbreviation

SG

Arguments

None.

Default

The non-segmented CPU mode is used.

µVision

Options — Target — Memory Model.

Description

The SEGMENTED directive specifies that the assembler translate the source file using the segmented CPU mode. In this mode, DPP registers must be set to data sections or groups (using the ASSUME statement) in order for data to be properly addressed. The segmented mode is required to access the entire 16M Byte address space.

See Also

NONSEGMENTED

Example
A166 SAMPLE.A66 SEGMENTED

$SG
  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.