6 error symbols – Epson S5U1C63000A User Manual

Page 290

Advertising
background image

CHAPTER 11: MELODY ASSEMBLER

276

EPSON

S5U1C63000A MANUAL

(S1C63 FAMILY ASSEMBLER PACKAGE)

11.6 Error Symbols

When an error occurs during assembling, the error symbols listed below or an error message is output to
the assembly list file (ELG file).
The error symbol is placed at the beginning of the statement in which an error occurred. If two or more
errors occur, all the error statements have an error symbol.
Example: S (Syntax Error)

LISTING OF ERRORLOG

zzzzzzzz.elg 2000-12-22

TEMPO
; m0-tempo 0,1
TEMPO 0

0 = 1

END

MAIN
;adr cnt1 note scale jump tempo
;m0 For Elize
S 0 1 4 C4 0 0

Error statement

S 2 1 4 D4 0 0

Error statement

2 1 4 E4 0 0
:

The following lists the error symbols in the order of descending priorities.

S

(Syntax Error)

• There is a fatal syntax error.
• The control data is placed antecedent to the main data.
• There is control data even though main data is not described.

Errors in tempo data

Melody No.:

The melody No. is out of the range (0–15),
or not described in ascending order.

Tempo No.:

The tempo No. is not 0 or 1.

Tempo data:

The tempo data is out of the range (0–15).

Errors in main data

Main data No.:

The main data No. is out of the range (0–494),
or not described in ascending order.

Control bit:

The control bit is out of the range (0–3).
The control bit for a rest (pitch data = RR) is not 2 or 3.
The control bit at the end of a melody is not 3.

Note data:

The note data is out of the range (0–7).

Pitch data:

The pitch data is out of the range
(D4–D7#/38.4kHz or C4–G6/32.768kHz).

Jump bit:

The jump bit is not 0 or 1.

Tempo No.:

The tempo No. is not 0 or 1.

Errors in control data

Melody No.:

The melody No. is out of the range (m0–m15),
or not described in ascending order.

Melody data No.: The melody data No. is out of the range set in the main data.

O

(ROM Overflow)

The definition exceeded the scale ROM capacity (17 or more pitches are defined).
The definition exceeded the tempo ROM capacity (17 or more melodies are defined).
The definition exceeded the main ROM capacity (496 or more main data are defined).
The definition exceeded the control ROM capacity (97 or more control data are defined).

R

(Range Error)

The location counter value or the specified location exceeded the upper limit of the
melody ROM capacity.

W

(Warning)

Warning

Advertising