50 EPSON S5U1C62000A MANUAL
(S1C60/62 FAMILY ASSEMBLER PACKAGE)
CHAPTER 5: ASSEMBLER
5.4 Messages
The assembler delivers all its messages through the Standard Output (stdout).
Start-up message
The assembler outputs only the following message when it starts up.
Assembler 62 Ver x.xx
Copyright (C) SEIKO EPSON CORP. 199x
End message
The assembler outputs the following messages to indicate which files have been created when it ends
normally.
Created preprocessed source file <FILENAME.MS>
Created relocatable object file <FILENAME.O>
Created relocatable list file <FILENAME.LST>
Created error log file <FILENAME.ERR>
Assembly 0 error(s) 0 warning(s)
Usage output
If no file name was specified or the option was not specified correctly, the assembler ends after
delivering the following message concerning the usage:
Usage: as62 [options] <file name>
Options: -d <symbol> Add preprocess definition
-e Output error log file (.ERR)
-g Add source debug information in object
-l Output relocatable list file (.LST)
-o <file name> Specify output file name (.O or no extension)
File name: Source file name (.DAT, .S, or .MS)
When error/warning occurs
If an error is produced, an error message will appear before the end message shows up.
Example:
TEST.S(5) Error: Illegal syntax
Assembly 1 erros(s) 0 warning(s)
In the case of an error, the assembler ends without creating an output file. If an error occurs at the
preprocessing stage in the assembler, the assembler stops processing and outputs preprocess-level
errors only.
If a warning is issued, a warning message will appear before the end message shows up.
Example:
TEST.S(6) Warning: Expression out of range
Assembly 0 error(s) 1 warning(s)
In the case of a warning, the assembler ends after creating an output file.
The source file name that was specified in the command line will appear at the beginning of the error
and warning messages.
For details on errors and warnings, refer to Section 5.11, "Error/Warning Messages".