Login

Subversion Repositories NedoOS

Rev

Rev 129 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

# file opened: define.asm
 1    0000                      device zxspectrum128
 2    0000
 3    0000                      org #8000
 4    8000
 5    8000                      DEFINE Scalar db 1
define.asm(6): error: [DEFARRAY] missing space between <id> and first <item>: ,db 2,db 3,db 4
 6    8000                      DEFARRAY Array,db 2,db 3,db 4
 7    8000
 8    8000 01                   db 1
define.asm(9): error: Unrecognized instruction: Array[3]
 9    8001                      Array[3]
define.asm(10): error: Unrecognized instruction: Array[2]
10    8001                      Array[2]
define.asm(11): error: Unrecognized instruction: Array[1]
11    8001                      Array[1]
define.asm(12): error: Unrecognized instruction: Array[0]
12    8001                      Array[0]
define.asm(13): error: Unrecognized instruction: Array
13    8001                      Array
14    8001
15    8001              ; original test has invalid syntax of DEFARRAY (by Docs definition), when "fixed":
16    8001                      DEFARRAY Array2 db 2,db 3,db 4
define.asm(17): error: [ARRAY] index not in 0..<Size-1> range: Array2[3]
17    8001 ~                    Array2[3]
18    8001 04                   db 4
19    8002 03                   db 3
20    8003 02                   db 2
define.asm(21): error: [ARRAY] Expression error: Array2
21    8004                      Array2
22    8004
# file closed: define.asm

Value    Label
------ - -----------------------------------------------------------