beautypg.com

Appendix sample files, Sample files, Appendix – Epson S1C62 Family User Manual

Page 66

background image

MELODY ASSEMBLER MLA628X

IV-8

EPSON

S1C62 FAMILY

DEVELOPMENT TOOL REFERENCE MANUAL

APPENDIX

SAMPLE FILES

The following input/output files are an example for the MLA6282 case and the data size, etc. will

vary depending on the model.

Example of Source File

.TEMPC0=5
.TEMPC1=8
.OCTAVE=32
;
1 1 C3 ;
0 4 D4 ;
0 4 F4 ;
0 2 F5 ;
0 3 G5# ;
1 7 A4 ;
1 5 B4 ;
0 6 A4# 1 ; 1st Melody
;
ORG 10H
;
1 2 $C3 ;
0 3 $45 ;
0 7 $E3 ;
1 6 $97 ;
0 5 C6 ;
0 7 A5# ;
1 3 $42 1 ; 2nd Melody

Example of Assembly List

LISTING OF MLA6282 C282YYY.MPR 1991-6-01 14:25...PAGE 1

Time

ADRS CODE SOURCE

Date
File specifier of melody assembly list

.TEMPC0 = 5
.TEMPC1 = 8
.OCTAVE = 32
;
00 3C0 1 1 C3 ;
01 102 0 4 D4 ;
02 104 0 4 F4 ;
03 186 0 2 F5 ;
04 148 0 3 G5# ;
05 24A 1 7 A4 ;
06 2CC 1 5 B4 ;
07 08F 0 6 A4# 1 ; 1st Melody
;
ORG 10H
;
10 390 1 2 $C3 ;
11 152 0 3 $45 ;
12 054 0 7 $E3 ;
13 296 1 6 $97 ;
14 0D8 0 5 C6 ;
15 05A 0 7 A5# ;
16 35D 1 3 $42 1 ; 2nd Melody

0 ERROR(S) DETECTED