MELODY ASSEMBLER MLA628X

(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

Scale

 

 

 

Scale Data

 

 

 

S7

S6

S5

S4

S3

S2

S1

S0

Hex.

C3

0

0

0

 

0

0

1

 

0

0

04

C3#

0

0

0

 

1

0

0

 

1

0

12

D3

0

0

1

 

0

0

0

 

0

0

20

D3#

0

0

1

 

0

1

1

 

1

1

2F

E3

0

0

1

 

1

1

0

 

1

1

3B

F3

0

1

0

 

0

0

1

 

0

0

44

F3#

0

1

0

 

1

0

0

 

0

1

51

G3

0

1

0

 

1

1

0

 

1

1

5B

G3#

0

1

1

 

0

0

1

 

0

1

65

A3

0

1

1

 

0

1

1

 

0

0

6C

A3#

0

1

1

 

1

0

1

 

0

0

74

B3

0

1

1

 

1

1

1

 

0

0

7C

C4

1

0

0

 

0

0

1

 

0

0

84

C4#

1

0

0

 

0

1

1

 

0

1

8D

D4

1

0

0

 

1

0

0

 

1

0

92

D4#

1

0

0

 

1

1

0

 

0

0

98

E4

1

0

0

 

1

1

1

 

1

0

9E

F4

1

0

1

 

0

0

1

 

0

0

A4

F4#

1

0

1

 

0

1

0

 

1

1

AB

Scale

 

 

 

Scale Data

 

 

 

S7

S6

S5

S4

S3

S2

S1

S0

Hex.

G4

1

0

1

 

1

0

0

 

0

1

B1

G4#

1

0

1

 

1

0

1

 

0

1

B5

A4

1

0

1

 

1

1

0

 

0

0

B8

A4#

1

0

1

 

1

1

1

 

0

0

BC

B4

1

1

0

 

0

0

0

 

0

0

C0

C5

1

1

0

 

0

0

1

 

0

0

C4

C5#

1

1

0

 

0

1

0

 

0

0

C8

D5

1

1

0

 

0

1

1

 

0

1

CD

D5#

1

1

0

 

0

1

1

 

1

0

CE

E5

1

1

0

 

1

0

0

 

1

1

D3

F5

1

1

0

 

1

0

1

 

0

0

D4

F5#

1

1

0

 

1

1

0

 

0

1

D9

G5

1

1

0

 

1

1

0

 

1

1

DB

G5#

1

1

0

 

1

1

1

 

0

0

DC

A5

1

1

0

 

1

1

1

 

1

0

DE

A5#

1

1

1

 

0

0

0

 

0

0

E0

B5

1

1

1

 

0

0

0

 

1

0

E2

C6

1

1

1

 

0

0

1

 

0

0

E4

C6#

1

1

1

 

0

0

1

 

1

0

E6

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.

• Note data

Table 4.2.4

Note Data

111

110

101

100

011

010

001

000

Correspondence between notes and note data

Note

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The correspondence between notes and

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

note data are as follows.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Attack data "0" or "1" written in the attack field becomes the attack data.

S1C62 FAMILY

EPSON

IV-5

DEVELOPMENT TOOL REFERENCE MANUAL