Epson S1C62 Family Computer Hardware User Manual


 
MELODY ASSEMBLER MLA628X
S1C62 FAMILY EPSON IV-1
DEVELOPMENT TOOL REFERENCE MANUAL
1 DIFFERENCES DEPENDING ON THE MODEL
The MLA628X is not included in the software tools for models (other than the S1C62N8X) that do
not have the melody function.
The melody ROM capacity varies depending on the model in models (S1C62N8X) having the melody
function. You should be aware that the number of melody data and their bit structure will vary, as a result.
The limiting items for each model are indicated in the "S5U1C62N8xD Manual".
2 MLA628X OUTLINE
2.1 Outline and Execution Flow
The Melody Assembler MLA628X is an assembler that
outputs melody ROM data of the 4-bit single-chip micro-
computers S1C628XX Series. MLA628X assembles the
source file which has been input by the user's editor and
outputs the object file in Intel-HEX format as well as the
assembly list file and document file.
The Melody Assembler's program name is
"MLA628X.EXE".
Figure 2.1.1 shows the flow of executing MLA628X.
A>EDLIN C28XYYY.MDT
Create the source file
A>MLA628X C28XYYY
Execute the melody assembler
C28XYYY
.MDT
C28XYYY
.MPR
C28XYYYA
.HEX
C28XYYYA
.DOC
Error
message
Error
message
Melody
assembly
list file
Source file
Melody
Hex file
Melody
document file
for evaluation board use
Fig. 2.1.1 MLA628X execution flow
2.2 MLA628X Input/Output Files
MLA628X inputs the source file, and after assembly it outputs the melody HEX file, assembly list file and
document file.
Source file (C28XYYY.MDT)
This is a source program file of the melody data. Generate the source file using an editor such as
EDLIN while referencing the Chapter 3.
Melody HEX file (C28XYYYA.HEX)
This is a melody data file (Intel hexa format) used for the evaluation board (S5U1C62N8xE). One
melody ROM is generated by writing this file with the ROM writer.
Also, this file can be loaded into the evaluation board through the ICE by using the OPTLD command.
Note: Set all unused ROM areas to FFH when writing the HEX file into EPROM.
When loaded with ICE, the file format is checked, and an error results when it outside the specifiable
range is specified. Refer to the "S5U1C62N8xD Manual" for the restrictions of each models.
Melody assembly list file (C28XYYY.MPR)
Melody ROM list file with melody ROM data and error messages (if any) added to each line of the
source file. The scale ROM table can be created at the end of the file.
Melody document file (C28XYYYA.DOC)
This is a data file used to generate the mask patterns. Combine the completed document file with the
program files and option document files using the mask data checker MDC628X, and submit to Seiko
Epson.