APPENDIX A ASSEMBLER (Sub tool chain)
232
EPSON
S5U1C88000C MANUAL II
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
A.2.6 Symbol Information
A.2.6.1 Creating symbol information (rel88)
The rel88 is a utility used to create symbol information. It will obtain symbol information from the
specified object file and then create its list. The target object files are the relocatable object file created
with asm88 and the absolute object file created with link88.
Generally, this tool is used for two purposes: one for checking the symbol list after linking and second for
generating a file to be input to the sym88.
The rel88 outputs a list in accordance with the standard output.
The following explains the operations to obtain the symbol list of an absolute object file.
<rel88 operation procedure>
When creating a symbol list for the absolute object file
(1) Set the directory in which the absolute object file (.a) is presented as the current drive.
(2) Start-up the rel88 with the next format.
rel88_[
flag
]_
input file name
_>_
output file name
_ indicates a space key input.
indicates a return key input.
General flags
Flag
+sec
-v
Description
Outputs the start address and size of each section.
Sorts the sections contents according to the symbol value.
Refer to the following examples for information on the flag effects. Refer to Appendix C for more details
on the flag.
Since the rel88 output corresponds to the standard output, a file will be created according to the output
redirect.
Example:
C:\USER>c:\EPSON\rel88 -v +sec sample.a > sample.ref
Inputs the absolute object file "sample.a" created in the USER of the sub-director of drive C and then
creates the symbol list file "sample.ref" in the same directory as the input file.
If the PATH to rel88 is set, then there is not need to specify the path before rel88.
The following indicate the list of symbols that are created.
Correlation with flag
*** rel88 (default) format ***
0x8000c acia.o
0x80b8d acia.o
0x8000C n_getch
0x80bcD _buffer
0x8059C n_recept
0x8045C n_outch
0x80baD _ptlec
0x80b8D _ptecr
0x8082C n_main
*** rel88 -v format ***
SECTION 1
0x008000 c acia.o
0x008000 C n_getch
0x008045 C n_outch
0x008059 C n_recept
0x008082 C n_main