![Epson S1C88 Series Manual Download Page 226](http://html.mh-extra.com/html/epson/s1c88-series/s1c88-series_manual_106917226.webp)
APPENDIX A ASSEMBLER (Sub tool chain)
214
EPSON
S5U1C88000C MANUAL II
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
A.2.3.4 Batch processing for relocatable assembly (ra88.bat)
The start-up procedures for sap88 and asm88 were already discussed in the earlier section, however, it
must be further noted that these can be batch processed by consolidating them into a batch file.
The batch file can voluntarily created by the user, however, since this package contains batch file, i.e.,
ra88.bat for relocatable assembly, the following will introduce the contents of the batch file and how to
use them. This batch file can be used for general processing purposes. Use it advantageously by custom-
izing the flag settings, etc. as needed.
Figure A.2.3.4.1 shows the ra88.bat processing flow.
.s
Structured assembly
source file
(create for each module)
Execute sap88
Expands macro statements
.ms
Assembly source file after expanding
macro statements
Execute asm88
Assembles source file
.l
Assembly
list file
.x
Cross reference
list file
.o
Relocatable
object file
.e
Error
list file
Batch file for relocatable assembly <ra88.bat>
Execute for each module
Fig. A.2.3.4.1 ra88.bat processing flow
<Outline of process>
The ra88.bat inputs the specified assembly source file and then executes sap88 and asm88, respectively to
perform relocatable assembly to create a relocatable object file. Since the sap88 does not permit input of
multiple assembly source files, it is limited to assembly per module other than when several structured
assembly source files are read with the INCLUDE pseudo-instruction of the sap88.
<Input/output files>
The following indicates the input/output files of the ra88.bat.
Input file
Structured assembly source file (relocatable): file_name.s
This is a structured assembly source file (relocatable) created with an editor .
Output files
1. Assembly source file: file_name.ms
An assembly source file in which macros are expanded will be output.
2. Relocatable object file: file_name.o
This is a binary file that has been converted in machine language that can be reallocated through
relocatable assembly. (This is also the file that inputs the lk88.bat batch file to perform linking.)
3. Assembly list file: file_name.l
This is the file output as a list that corresponds to each source statement when the machine language
and the relocatable address (the head of the CODE or the DATA section is assumed as relative address
000000H) converted with the assembler.
4. Cross reference list file: file_name.x
This is the address list that contains the definition and references of symbols.
5. Error list file: file_name.e
This is the list of error taking place during assembling.