beautypg.com

Xdef – Zilog Z8F0130 User Manual

Page 335

background image

UM013037-1212

XDEF

Zilog Developer Studio II – Z8 Encore!

User Manual

311

Syntax

<vector_directive> =>

VECTOR

<vector name>

=

<expression>

Examples

VECTOR WDT = irq0_handler

VECTOR TRAP = irq1_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

RESET
WDT
TRAP
TIMER2
TIMER1
TIMER0
UART0_RX
UART0_TX
I2C
SPI
ADC
P7AD
P6AD
P5AD

P4AD
P3AD
P2AD
P1AD
P0AD
MCT
UART1_RX
UART1_TX
C3
C2
C1
C0
POTRAP
WOTRAP