Blame | Last modification | View Log | Download
PR122_LABELSLIST_virtualAdr.asm(4): error: [LABELSLIST] Syntax error in <virtual labels>: LABELSLIST "PR122_LABELSLIST_virtualAdr.lbl", @# file opened: PR122_LABELSLIST_virtualAdr.asm1 0000 DEVICE zxspectrum1282 00003 0000 ; check syntax error report for virtual labels argument4 0000 LABELSLIST "PR122_LABELSLIST_virtualAdr.lbl", @5 00006 0000 ORG 07 0000 ADR_0: ; at ROM addresses the "bank 7" is paged in ZX128 device, so page 78 0000 ADR_1 EQU $FEDC, 2 ; force page 2 to the label ADR_19 0000 ADR_2 EQU $1FEDC, 3 ; out of 64ki range, and page 310 0000 ADR_3 EQU -123 ; "out of bounds" page11 000012 0000 ; verify that labels have the designed pages13 0000 ASSERT 7 == $$ADR_014 0000 ASSERT 2 == $$ADR_115 0000 ASSERT 3 == $$ADR_216 0000 ASSERT 8 <= $$ADR_3 ; "out of bounds" is currently $7F80, but that may change in future, just check for >= 817 000018 0000 ; emit labelslist with "virtual labels", so:19 0000 ; * the page info should be not listed at all20 0000 ; * the values are truncated to full 64ki range21 0000 LABELSLIST "PR122_LABELSLIST_virtualAdr.lbl", 122 000023 0000 ~ /*24 0000 ~ ;;;; the expected output is (no pages, 64ki range):25 0000 ~26 0000 ~ :0000 ADR_027 0000 ~ :FEDC ADR_128 0000 ~ :FEDC ADR_229 0000 ~ :FF85 ADR_330 0000 ~31 0000 ~32 0000 ~ ;;;; without virtual labels the output would look like this (pages + truncated to 16ki range)33 0000 ~34 0000 ~ 07:0000 ADR_035 0000 ~ 02:3EDC ADR_136 0000 ~ 03:3EDC ADR_237 0000 ~ :3F85 ADR_338 0000 ~39 0000 ~ */40 0000# file closed: PR122_LABELSLIST_virtualAdr.asmValue Label------ - -----------------------------------------------------------0x0000 ADR_00xFEDC ADR_10x1FEDC ADR_20xFFFFFF85 ADR_3