Rev 126 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download
offset_syntax.asm(19): error: [STRUCT] Forward reference
offset_syntax.asm(25): error: [STRUCT] Forward reference
offset_syntax.asm(19): error: [STRUCT] Forward reference
# file opened: offset_syntax.asm
1 0000 STRUCT S_s0 ; no offset specified
2 0000 ~ f1 DB '-'
3 0000 ~ f2 DW 0x2000
4 0000 ENDS
5 0000 2D 00 20 s0 S_s0
6 0003
7 0003 STRUCT S_s1, 2 ; correct way of offset specification
8 0003 ~ f1 DB 'x'
9 0003 ~ f2 DW 0x4000
10 0003 ENDS
11 0003 00 00 78 00 s1 S_s1
11 0007 40
12 0008
offset_syntax.asm(13): error: [STRUCT] syntax error, unexpected: 2
13 0008 STRUCT S_s2 2 ; syntax error (silently ignored in v1.13.0 = bug)
14 0008 ~ f1 DB 'y'
15 0008 ~ f2 DW 0x6000
16 0008 ENDS
17 0008 79 00 60 s2 S_s2
18 000B
offset_syntax.asm(19): error: Label not found: xx
19 000B STRUCT S_s3, xx ; offset by forward-reference of label = error (missing label)
20 000B ~ f1 DB 'z'
21 000B ~ f2 DW 0x8000
22 000B ENDS
23 000B 7A 00 80 s3 S_s3
24 000E
25 000E STRUCT S_s4, yy ; offset by forward-reference of label = error (existing)
26 000E ~ f1 DB 'z'
27 000E ~ f2 DW 0xA000
offset_syntax.asm(28): error: Label has different value in pass 2: S_s4
offset_syntax.asm(28): error: Label has different value in pass 2: S_s4.f1
offset_syntax.asm(28): error: Label has different value in pass 2: S_s4.f2
28 000E ENDS
offset_syntax.asm(29): error: Label has different value in pass 2: s4.f1
offset_syntax.asm(29): error: Label has different value in pass 2: s4.f2
29 000E 00 00 00 00 s4 S_s4
29 0012 00 00 00...
29 0016 7A 00 A0
offset_syntax.asm(30): warning: Label has different value in pass 3: previous value 34 not equal 51
30 0033 yy: ; this will move with every pass further down then = lot of errors
31 0033
# file closed: offset_syntax.asm
Value Label
------ - -----------------------------------------------------------
0x0003 X S_s0
0x0000 X S_s0.f1
0x0001 X S_s0.f2
0x0000 X s0
0x0000 X s0.f1
0x0001 X s0.f2
0x0005 X S_s1
0x0002 X S_s1.f1
0x0003 X S_s1.f2
0x0003 X s1
0x0005 X s1.f1
0x0006 X s1.f2
0x0003 X S_s2
0x0000 X S_s2.f1
0x0001 X S_s2.f2
0x0008 X s2
0x0008 X s2.f1
0x0009 X s2.f2
0x0003 X S_s3
0x0000 X S_s3.f1
0x0001 X S_s3.f2
0x000B X s3
0x000B X s3.f1
0x000C X s3.f2
0x0033 yy
0x0014 X S_s4
0x0011 X S_s4.f1
0x0012 X S_s4.f2
0x000E X s4
0x001F X s4.f1
0x0020 X s4.f2