APPENDIX A ASSEMBLER (Sub tool chain)
S5U1C88000C MANUAL II
EPSON
215
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
<Operation procedure>
(1) Set the directory in which the structured assembly source file (.s) is presented as the current drive.
(2) Start-up the ra88.bat with the next format.
ra88_
file name
_ indicates a space key input.
indicates a return key input.
Do not input the extensions of file name. It is fixed on the ".s" extension.
Example:
C:\USER>c:\EPSON\ra88 sample
Inputs structured assembly source file "sample.s" created within the sub-directory USER of drive C
and starts relocatable assembly. Then creates the following files in the same directory as the input file.
sample.ms, sample.o, sample.l, sample.x, sample.e
If the PATH to ra88 is set, then there is not need to specify the path before ra88.
Refer to Section "A.2.3.9 Example of assembly execution" for more information on I/O files and messages
displayed.
Customizing ra88.bat
<Customizing ra88.bat execution parameters>
Since the ra88.bat controls the program execution, it has a execution parameter customization field
within it. General parameters are temporarily described in the default position, however, it is advised
that the program is customized in accordance with the user's development method.
1. Setting the ROM capacity (Verification of the size of the CODE section)
set rom = 32768 : The capacity of the ROM of the CODE section that locates errors will be specified
in bytes. (default capacity 32768 = 32K bytes)
2. Setting the RAM capacity (Verification of the size of the DATA section)
set ram = 65536 : The capacity of the RAM of the DATA section that locates errors will be specified in
bytes. (default capacity 65536 = 64K bytes)
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 ra88.bat execution command>
The ra88.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.
sap88
%drv%sap88 -o %1.ms %1.s
asm88
%drv%asm88 -ROM %rom% -RAM %ram% %1.ms
The %drv% is a path that locates the execution command of the ra88.bat. For this reason, it can not be
altered and neither can the SET statement that is defined be altered. The %1 is a file name that is input
from the command line.
The following indicates the ra88.bat program source list and the message list of the ra88.bat. Refer to it
upon customizing the program.