CODE_PACK - Begin an Object File Packed Code Section
Syntax
[<label>] code_pack [<ROM address>]
Description
For use when generating an object file. Declares the beginning of a section of program code or ROM data where a padding byte of zero is not appended to an odd number of bytes. If
<label>
is not specified, the section is named.code
. The starting address is initialized to<ROM address>
or will be assigned at link time if no address is specified. If<ROM address>
is specified, it must be word-aligned.
For more information, refer to Relocatable Objects.
Example
00001 LIST P=18Cxx
00002
00003 packed code_pack H'1F0'
0001F0 01 02 03 00004 DB 1, 2, 3
0001F3 04 05 00005 DB 4, 5
00006
00007 padded code
000000 0201 0003 00008 DB 1, 2, 3
000004 0504 00009 DB 4, 5
00010
00011 END
See Also
EXTERN CODE GLOBAL IDATA UDATA UDATA_ACS UDATA_OVR UDATA_SHR
Microchip Technology Inc. Microchip's Web Site Voice: (480) 792-7200 Fax: (480) 899-9210 Microchip's E-mail Address |