APPENDIX A ASSEMBLER (Sub tool chain)
226
EPSON
S5U1C88000C MANUAL II
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
Customizing lk88.bat
<Customizing lk88.bat execution parameters>
Since the lk88.bat controls the program execution, it has a execution parameter customization field
within it. General parameters are temporarily described in the default position. Always customize the
batch files according to your development method since the parameter will vary depending on your
application style.
1. Parameter file name to be input
set parfn = file_name : Link command parameter file name (.lcm) input to link88
2. Output file name
set outfn = file_name : File name of absolute object file and program data HEX file
3. Use of the symbol information generator (rel88)
set rel88 = y : rel88 is used (default)
A symbol information reference file (.ref) will be created.
= n : rel88 is not used.
4. Use of +sec flag (information on individual section) of the symbol information generator (rel88)
set secf
= y : +sec flag is added to rel88 (default)
= n : +sec flag is not added to rel88
Note: This parameter will be ignored when rel88 is not used.
Note: There are basically no error checks made on these parameter settings, therefore, do not set the
parameter with settings other than those specified.
<Customizing lk88.bat execution command>
The lk88.bat has the following command line upon execution of the program. Customize these
command lines if a flag without a default setting is to be used.
link88
%drv%link88<%parfn%.lcm
rel88 (when +sec flag is used)
%drv%rel88 -v +sec
%outfn%.a>%outfn%.ref
rel88 (when +sec flag is not used)
%drv%rel88 -v %outfn%.a>%outfn%.ref
hex88
%drv%hex88 -o %outfn%.sa %outfn%.a
sym88
%drv%sym88 %outfn%.ref
The %drv% is a path that locates the execution command of the lk88.bat. For this reason, it can not be
altered and neither can the SET statement that is defined be altered.
Use the same name for the customized parameter outfn as the name described in the link command
parameter (.lcm).
The following indicates the lk88.bat program source list and the message list of the lk88.bat. Refer to it
upon customizing the program.