![Epson S1C88 Series Manual Download Page 225](http://html.mh-extra.com/html/epson/s1c88-series/s1c88-series_manual_106917225.webp)
APPENDIX A ASSEMBLER (Sub tool chain)
S5U1C88000C MANUAL II
EPSON
213
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
<asm88 operation procedure>
(1) Set the directory in which the assembly source file (.ms) created with the sap88 exists as the current
drive.
(2) Start-up the asm88 with the next format.
asm88_[
flag
]_
input file
_ indicates a space key input.
indicates a return key input.
Flag can be omitted.
The following indicates the flags used for batch processing of relocatable assembly (ra88.bat).
Flag
-ROM#
-RAM#
Description
Specify the ROM capacity in byte units. It is especially useful during relocatable assembling and is
used to verify the size of the CODE area.
Specify the RAM capacity in byte units. It is especially useful during relocatable assembling and is
used to verify the size of the DATA area.
Refer to Appendix C for more information on other flags.
Example 1: When continuously assembling several assembly source files through relocatable assembly.
C:\USER>c:\EPSON\asm88 sample1.ms sample2.ms
Inputs the assembly source files "sample1.ms" and "sample2.ms" created in the sub-directory USER of
drive C and starts the relocatable assembly process. Then creates the relocatable object files
"sample1.o" and "sample2.o" in the same directory as the input file.
At the same time, the assembly list files "sample1.l" and "sample2.l", cross reference list files
"sample1.x" and "sample2.x", and error list files "sample1.e" and "sample2.e" will also be created in the
same directory.
If the PATH to asm88 is set, then there is not need to specify the path before asm88.
Example 2: Assembling with the relocatable assembler, including the verification of the ROM and RAM capacity.
C:\USER>c:\EPSON\asm88 -ROM 32768 -RAM 65536 sample.ms
Inputs assembly source file "sample.ms" created within the sub-directory USER of drive C and starts
relocatable assembly. Then creates the relocatable object file "sample.o" in the same directory as the
input file.
At the same time, creates the assembly list file "sample.l", cross reference list file "sample.x" and error
list file "sample.e" in the same directory.
The capacity of the CODE and DATA sections will be verified during assembling with the
-ROM and -RAM flags. An error will result in this case when the CODE exceeds 32K bytes and the
DATA exceeds 64K bytes.
If the PATH to asm88 is set, then there is not need to specify the path before asm88.
Refer to Section "A.2.3.9 Example of assembly execution" for more information on I/O files and messages
displayed.