MELODY ASSEMBLER MLA628X
S1C62 FAMILY EPSON IV-5
DEVELOPMENT TOOL REFERENCE MANUAL
(3) Scale field
The scale field can be filled in with any scale (C3 through C6#).
When inputting the scale data directly, prefix the data with "$". In this case, the input data range is 00H
through FDH.
Moreover, the rest may be selected by describes "RR" in the scale field.
The number of specifiable scales varies depending on the model.
(Refer to the "S5U1C62N8xD Manual".)
(4) End bit field
The instruction indicating the end of the melody is written in the end bit field. When "1" is written, the
melody finishes with the melody data of that address. Otherwise, write "0", or omit it altogether.
(5) Comment field
Any comment, such as the program index or processing details, can be written in the comment field,
with no affect on the object file created with the assembler.
The comment field is the area between the semicolon ";" and the CR code at the end of the line.
A line can be made up of a comment field alone. However, if the comment extends into two or more
lines, each line must be headed with a semicolon.
(6) Fields and corresponding melody data
* Melody data
MSB 3 bits Number of bit is difference depending the model LSB
1/0 0–8 0–X (Refer to the "S5U1C62N8xD Manual".) 1/0
Attack Note Scale address End
data data data data
• End data Becomes "0" when "0" is entered or no entry is made; otherwise, "1".
• Scale address data
• Attack data "0" or "1" written in the attack field becomes the attack data.
Scale
Scale Data
S7 S6 S5 S4 S3 S2 S1 S0
0000010004C3
0001001012C3#
0010000020D3
001011112FD3#
001110113BE3
0100010044F3
0101000151F3#
010110115BG3
0110010165G3#
011011006CA3
0111010074A3#
011111007CB3
1000010084C4
100011018DC4#
1001001092D4
1001100098D4#
100111109EE4
10100100A4F4
10101011ABF4#
Hex.
Scale
Scale Data
S7 S6 S5 S4 S3 S2 S1 S0
10110001B1G4
10110101B5G4#
10111000B8A4
10111100BC
A4#
11000000C0B4
11000100C4C5
11001000C8C5#
11001101CDD5
11001110CED5#
11010011D3E5
11010100D4F5
11011001D9F5#
11011011DBG5
11011100DCG5#
11011110DEA5
11100000E0A5#
11100010E2B5
11100100E4C6
11100110E6C6#
Hex.
Note Data
Note
111 110 101 100 011 010 001 000
• Note data
Table 4.2.3
Correspondence between scale and scale data
The scale or scale data written in the scale
field is loaded into the scale ROM, and the
address of the loaded scale data becomes
the scale address data.
Table 4.2.4
Correspondence between notes and note data
The correspondence between notes and
note data are as follows.