CODE - Begin an Object File Code Section

MPASM Assembler

CODE - Begin an Object File Code Section

Syntax

[<label>] code [<ROM address>]

Description

For use when generating an object file. Declares the beginning of a section of program code. If <label> is not specified, the section is named .code. The starting address is initialized to the specified address or will be assigned at link time if no address is specified.

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

For more information, refer to Relocatable Objects.

Example

RESET code H'01FF'

goto START

See Also

EXTERN CODE_PACK 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
PreviousNext