APPENDIX C ASSEMBLY TOOL REFERENCE <sap88>
274
EPSON
S5U1C88000C MANUAL II
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
C.1 Structured Preprocessor <sap88>
PROGRAM NAME
sap88.exe
SUMMARY
The structured preprocessor sap88 adds the macro functions to the cross assembler asm88.
The sap88 expands the macro and structured control statements included in the specified S1C88
assembly source file into a format that can be assembled by the asm88, and outputs it. At this time, the
sap88 also executes the processing for including of the modularized S1C88 assembly source files and
conditional assembly.
When file name has not been specified, the sap88 reads from the standard input (console).
INPUT/OUTPUT FILE
• Execution flow
• Input file
Structured assembly source file: file_name.s
This is a structured assembly source file which is created by
an editor such as EDLIN.
• Output file
Assembly source file: file_name.ms
This is the output file in which the macros in the structured
assembly source file are expanded into the S1C88 instruc-
tions that can be assembled by the asm88. This file becomes
an input file of the asm88. The output file extension should
be made as ".ms".
sap88 execution flow
Assembly source file
file_name.ms
Structured assembly source files
sap88
file_name.s
START-UP FORMAT
sap88 -[d*^ l* o* q] [
drive:
]
<file>
flags:
Character strings enclosed with [ ] mean flags. Explanations for each flag are discussed later.
drive:
In case the input file is not in current drive, input the drive name in front of the input file name. It can be omitted if
the input file is in current drive.
file:
Specify the file name to be input to the sap88. This file name can be input using either capital letters or small letters.
When <file> has not been specified, the sap88 reads from the standard input.
Note: The extension for the structured assembly source file should be made as ".s".