Motorola HC12 Manual De Usuario

Descargar
Página de 328
Assembler Directives
XDEF — External Symbol Definition
MCUez HC12 Assembler
User’s Manual
MOTOROLA
Assembler Directives
201
8.37  XDEF — External Symbol Definition
Syntax:
XDEF
 [.<size>] <label>[,<label>]...
where
<size> =
B, W
 (default), or
L
Description:
This directive specifies labels defined in the current module
that are to be passed to the linker as labels that can be
referenced by other modules linked to the current module.
The number of symbols listed in an
XDEF
 directive is only
limited by the memory available at assembly time.
Example:
XDEF Global
;Global can be referenced in other module
XDEF AnyCase
;Note that the linker and assembler are
; case sensitive to names.
GLOBAL: DS.B 4
...
AnyCase NOP