UDATA_OVR - Begin an Object File Overlayed Uninitialized Data Section
Syntax
[<label>] udata_ovr [<RAM address>]
Description
For use when generating an object file. Declares the beginning of a section of overlayed uninitialized data. If
<label>
is not specified, the section is named.udata_ovr
. The starting address is initialized to the specified address or will be assigned at link time if no address is specified. The space declared by this section is overlayed by all otherudata_ovr
sections of the same name. It is an ideal way of declaring temporary variables since it allows multiple variables to be declared at the same memory location. No code can be generated in this segment. Theres
directive should be used to reserve space for data.
For more information, refer to Relocatable Objects.
Example
Temps udata_ovr
Temp1 res 1
Temp2 res 1
Temp3 res 1
Temps udata_ovr
LongTemp1 res 2 ; this will be a variable at the
; same location as Temp1 and Temp2
LongTemp2 res 2 ; this will be a variable at the
; same location as Temp3
See Also
Microchip Technology Inc. Microchip's Web Site Voice: (480) 792-7200 Fax: (480) 899-9210 Microchip's E-mail Address |