Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download
# file opened: labels_syntax_and_find.asm1 0000 OUTPUT "labels_syntax_and_find.bin"2 00003 0000 MODULE mod13 0000 ORG $31304 3130 label:5 3130 2B dec hl6 3131 .local:7 3131 2C inc l8 31329 3132 30 31 dw label10 3134 31 31 dw .local11 3136 31 31 dw label.local12 3138 31 31 dw mod1.label.local13 313A 31 31 dw @mod1.label.local14 313C ; global one!15 313C 34 35 dw @label16 313E 35 35 dw @label.local17 3140 6A 35 dw @unique18 3142 6A 35 dw unique19 3144 ; mod1 unique20 3144 4A 31 dw mod1unique21 3146 4A 31 dw mod1.mod1unique22 3148 4A 31 dw @mod1.mod1unique23 314A mod1unique:24 314A ; mod2 uniquelabels_syntax_and_find.asm(25): error: Label not found: mod1.mod2unique25 314A 21 21 dw '!!'+mod2unique ; should be error, searching only: mod1.mod2unique, @mod2unique26 314C 4C 33 dw mod2.mod2unique27 314E 4C 33 dw @mod2.mod2unique28 3150 ; mod1 nested29 3150 6E 31 dw nested.label30 3152 6F 31 dw nested.label.local31 3154 6F 31 dw mod1.nested.label.local32 3156 6F 31 dw @mod1.nested.label.locallabels_syntax_and_find.asm(33): error: Label not found: mod1.nest1unique33 3158 21 21 dw '!!'+nest1unique ; should be error34 315A 70 31 dw nested.nest1unique35 315C 70 31 dw mod1.nested.nest1unique36 315E 70 31 dw @mod1.nested.nest1unique37 3160 ; mod2 nested38 3160 70 33 dw mod2.nested.label39 3162 70 33 dw @mod2.nested.label40 3164 71 33 dw mod2.nested.label.local41 3166 71 33 dw @mod2.nested.label.locallabels_syntax_and_find.asm(42): error: Label not found: mod1.nested.nest2unique42 3168 21 21 dw '!!'+nested.nest2unique ; should be error43 316A 72 33 dw mod2.nested.nest2unique44 316C 72 33 dw @mod2.nested.nest2unique45 316E46 316E MODULE nested47 316E label:48 316E 2D dec l49 316F .local:50 316F 2F cpl51 3170 nest1unique:52 3170 ENDMODULE53 317054 3170 ENDMODULE55 317056 3170 MODULE mod256 3170 ORG $333257 3332 label:58 3332 29 add hl,hl59 3333 .local:60 3333 27 daa61 333462 3334 32 33 dw label63 3336 33 33 dw .local64 3338 33 33 dw label.local65 333A 33 33 dw mod2.label.local66 333C 33 33 dw @mod2.label.local67 333E ; global one!68 333E 34 35 dw @label69 3340 35 35 dw @label.local70 3342 6A 35 dw @unique71 3344 6A 35 dw unique72 3346 ; mod2 unique73 3346 4C 33 dw mod2unique74 3348 4C 33 dw mod2.mod2unique75 334A 4C 33 dw @mod2.mod2unique76 334C mod2unique:77 334C ; mod1 uniquelabels_syntax_and_find.asm(78): error: Label not found: mod2.mod1unique78 334C 21 21 dw '!!'+mod1unique ; should be error, searching only: mod2.mod1unique, @mod1unique79 334E 4A 31 dw mod1.mod1unique80 3350 4A 31 dw @mod1.mod1unique81 3352 ; mod2 nested82 3352 70 33 dw nested.label83 3354 71 33 dw nested.label.local84 3356 71 33 dw mod2.nested.label.local85 3358 71 33 dw @mod2.nested.label.locallabels_syntax_and_find.asm(86): error: Label not found: mod2.nest2unique86 335A 21 21 dw '!!'+nest2unique ; should be error87 335C 72 33 dw nested.nest2unique88 335E 72 33 dw mod2.nested.nest2unique89 3360 72 33 dw @mod2.nested.nest2unique90 3362 ; mod1 nested91 3362 6E 31 dw mod1.nested.label92 3364 6E 31 dw @mod1.nested.label93 3366 6F 31 dw mod1.nested.label.local94 3368 6F 31 dw @mod1.nested.label.locallabels_syntax_and_find.asm(95): error: Label not found: mod2.nested.nest1unique95 336A 21 21 dw '!!'+nested.nest1unique ; should be error96 336C 70 31 dw mod1.nested.nest1unique97 336E 70 31 dw @mod1.nested.nest1unique98 337099 3370 MODULE nested100 3370 label:101 3370 24 inc h102 3371 .local:103 3371 25 dec h104 3372 nest2unique:105 3372 ENDMODULE106 3372107 3372 ENDMODULE108 3372109 3372 ORG $3534110 3534 label:111 3534 2B dec hl112 3535 .local:113 3535 2C inc l114 3536115 3536 34 35 dw label116 3538 35 35 dw .local117 353A 35 35 dw label.local118 353C 35 35 dw @label.local119 353E 31 31 dw mod1.label.local120 3540 31 31 dw @mod1.label.local121 3542 33 33 dw mod2.label.local122 3544 33 33 dw @mod2.label.local123 3546 ; uniques124 3546 6A 35 dw unique125 3548 6A 35 dw @uniquelabels_syntax_and_find.asm(126): error: Label not found: mod1unique126 354A 21 21 dw '!!'+mod1unique ; should be error127 354C 4A 31 dw mod1.mod1unique128 354E 4A 31 dw @mod1.mod1unique129 3550 70 31 dw mod1.nested.nest1unique130 3552 70 31 dw @mod1.nested.nest1uniquelabels_syntax_and_find.asm(131): error: Label not found: mod2unique131 3554 21 21 dw '!!'+mod2unique ; should be error132 3556 4C 33 dw mod2.mod2unique133 3558 4C 33 dw @mod2.mod2unique134 355A 72 33 dw mod2.nested.nest2unique135 355C 72 33 dw @mod2.nested.nest2unique136 355E ; nestedlabels_syntax_and_find.asm(137): error: Label not found: nested.label137 355E 21 21 dw '!!'+nested.label ; should be errorlabels_syntax_and_find.asm(138): error: Label not found: nested.label.local138 3560 21 21 dw '!!'+nested.label.local ; should be error139 3562 6E 31 dw mod1.nested.label140 3564 6E 31 dw @mod1.nested.label141 3566 71 33 dw mod2.nested.label.local142 3568 71 33 dw @mod2.nested.label.local143 356A144 356A unique:145 356A 2D dec l146 356Blabels_syntax_and_find.asm(147): error: Invalid labelname: .invalidLabelName147 356B ..invalidLabelName:labels_syntax_and_find.asm(148): error: Invalid labelname: .invalidLabelName148 356B @.invalidLabelName:labels_syntax_and_find.asm(149): error: Invalid labelname: @invalidLabelName149 356B .@invalidLabelName:labels_syntax_and_find.asm(150): error: Invalid labelname: 1nvalidLabelName150 356B .1nvalidLabelName:labels_syntax_and_find.asm(151): error: Invalid labelname: 1nvalidLabelName151 356B @1nvalidLabelName:labels_syntax_and_find.asm(152): error: Invalid labelname: @1nvalidLabelName152 356B .@1nvalidLabelName:labels_syntax_and_find.asm(153): error: Invalid labelname: .1nvalidLabelName153 356B @.1nvalidLabelName:labels_syntax_and_find.asm(154): error: Invalid temporary label (not a number): 1nvalidLabelNamelabels_syntax_and_find.asm(154): error: Local label not found: 1B154 356B 20 00 1nvalidLabelName: jr nz,1Blabels_syntax_and_find.asm(155): error: Invalid labelname: Inv&lidL&belN&me155 356D Inv&lidL&belN&me155 356Dlabels_syntax_and_find.asm(156): error: Number labels are allowed as address labels only, not for DEFL/=/EQU: 100156 356D 100 equ should not worklabels_syntax_and_find.asm(157): error: Number labels are allowed as address labels only, not for DEFL/=/EQU: 101157 356D 101 = should not worklabels_syntax_and_find.asm(158): error: Number labels are allowed as address labels only, not for DEFL/=/EQU: 102158 356D 102 defl should not worklabels_syntax_and_find.asm(159): error: Number labels are allowed as address labels only, not for DEFL/=/EQU: 103159 356D 103: equ should not worklabels_syntax_and_find.asm(160): error: Number labels are allowed as address labels only, not for DEFL/=/EQU: 104160 356D 104: = should not worklabels_syntax_and_find.asm(161): error: Number labels are allowed as address labels only, not for DEFL/=/EQU: 105161 356D 105: defl should not work162 356D# file closed: labels_syntax_and_find.asmValue Label------ - -----------------------------------------------------------0x3130 mod1.label0x3131 mod1.label.local0x3534 label0x3535 label.local0x356A unique0x314A mod1.mod1unique0x334C mod2.mod2unique0x316E mod1.nested.label0x316F mod1.nested.label.local0x3170 mod1.nested.nest1unique0x3370 mod2.nested.label0x3371 mod2.nested.label.local0x3372 mod2.nested.nest2unique0x3332 mod2.label0x3333 mod2.label.local