beautypg.com

Symbol file in zilog symbol format, Using the librarian, Igure – Zilog Z80380 User Manual

Page 63: Ample, Ymbol

background image

UM004001-COR1103

3–13

Linking Files

Using the Librarian

Symbol File In Zilog Symbol Format

A symbol file in the Zilog symbol format is generated when the user specifies the absolute
link mode (-a linker option). It is in the standard Zilog symbol format as shown inFigure 3-3,
which follows. In each row, the first column lists the symbol name, second column lists the
attribute of the symbol (“I” stands for internal symbol, “N” stands for local symbol, and “X”
stands for public symbol), and the third column provides the value of the symbol expressed
as four hexadecimal bytes.

F

IGURE

3-3. S

AMPLE

S

YMBOL

F

ILE

USING THE LIBRARIAN

The librarian allows the user to modify libraries and view the contents of individual library
files.

The syntax for the librarian command line is as follows:

Zar [options] library [ member1 … membern ]

The librarian performs the operation specified in the options on the named library using the
named member files. Libraries conventionally have an extension of .lib and library mem-
bers have an extension of .o.

_dgt_outbfr

I 0000800d

_digit_cntr

I 00008011

_dgt_inbfr

I 00008012

_led_refresh

I 000000b5

hex_reg

N 00008009

_bcd_hex_conv

I fffff7f5

_7conv_reg_4

N 00008009

_8conv_reg_3

N 0000800a