Blame | Last modification | View Log | Download
# file opened: equ_with_explicit_page.asm1 0000 DEVICE ZXSPECTRUM10242 0000 ORG $80003 8000 regular:4 80005 8000 equClassic: EQU $40006 8000 ; actually in current v1.17.0 this will still receive "page 5" page based7 8000 ; on the current memory mapping and the address value, but in docs it's8 8000 ; described as "irrelevant". This test is documenting the behaviour for9 8000 ; the sake of the test, not making it official/guaranteed, avoid using it10 800011 8000 equWithPage: EQU $4001 , 112 800013 8000 ASSERT $8000 == regular && 2 == $$regular14 8000 ASSERT $4000 == equClassic && 5 == $$equClassic15 8000 ASSERT $4001 == equWithPage && 1 == $$equWithPage16 8000equ_with_explicit_page.asm(17): error: Expression error:17 8000 errorEqu1 EQU $4002 ,equ_with_explicit_page.asm(18): error: Expression error: @equ_with_explicit_page.asm(18): error: Unexpected: @18 8000 errorEqu2 EQU $4003 , @19 8000# file closed: equ_with_explicit_page.asmValue Label------ - -----------------------------------------------------------0x4000 equClassic0x4001 equWithPage0x4002 X errorEqu10x4003 X errorEqu20x8000 regular