UDATA_SHR - Begin an Object File Shared Uninitialized Data Section

MPASM Assembler

UDATA_SHR - Begin an Object File Shared Uninitialized Data Section

Syntax

[<label>] udata_shr [<RAM address>]

Description

For use when generating an object file. Declares the beginning of a section of shared uninitialized data. If <label> is not specified, the section is named .udata_shr. The starting address is initialized to the specified address or will be assigned at link time if no address is specified. This directive is used to declare variables that are allocated in RAM that is shared across all RAM banks (i.e. unbanked RAM). No code can be generated in this segment. The res directive should be used to reserve space for data.

Note: Two sections in the same source file may not have the same name.

For more information, refer to Relocatable Objects.

Example

Temps udata_shr

Temp1 res 1

Temp2 res 1

Temp3 res 1

See Also

EXTERN GLOBAL IDATA UDATA UDATA_ACS UDATA_OVR


Microchip Technology Inc.
Microchip's Web Site
Voice: (480) 792-7200
Fax: (480) 899-9210
Microchip's E-mail Address
PreviousNext