Xdef, Xref, Xdef xref – Zilog ZUSBOPTS User Manual

Page 266

Advertising
background image

Directives

UM017105-0511

238

Zilog Developer Studio II – ZNEO™
User Manual

<vector name> specifies which vector is being selected. For ZNEO, <vector name> must
be one of the following elements:

Examples

VECTOR SPI = spi_handler

VECTOR P2AD = p2ad_handler

XDEF

Defines a list of labels in the current module as an external symbol that are to be made
publicly visible to other modules at link time. The operands must be labels that are defined
somewhere in the assembly file.

Synonyms

.global

,

GLOBAL

,

.GLOBAL

,

.public

,

.def

,

public

Syntax

<xdef_directive> =>

XDEF

<ident list>

Examples

XDEF label

XDEF label1,label2,label3

XREF

Specifies that a list of labels in the operand field are defined in another module. The

reference is resolved by the linker. The labels must not be defined in the current module.
This directive optionally specifies the address space in which the label resides.

ADC
C0
C1
C2
C3
I2C
P0AD
P1AD
P2AD
P3AD
P4AD
P5AD
P6AD

P7AD
PWM_FAULT
PWM_TIMER
RESET
SPI
SYSEXC
TIMER0
TIMER1
TIMER2
UART0_RX
UART0_TX
UART1_RX
UART1_TX

Advertising
This manual is related to the following products: