Blame | Last modification | View Log | Download
various_W.asm(4): warning[opkeyword]: Label collides with one of the operator keywords, try capitalizing it or other name: absvarious_W.asm(11): warning[fwdref]: forward reference of symbol: IF fwd_ref_labelvarious_W.asm(83): warning[fwdref]: forward reference of symbol: IF fwd_ref_label# file opened: various_W.asm1 0000 ; various -W<warning_id> combinations (hopefully all of them, if possible)2 00003 0000 ; the default is "enabled" for all warnings - exercise all of them4 0000 21 00 00 abs: ld hl,@abs ; placeholder for removed `ld hl,abs` (-Wabs removed in v1.20.0)various_W.asm(5): warning[noramtop]: current device doesn't init memory in any way (RAMTOP is ignored)5 0003 DEVICE ZXSPECTRUMNEXT, $8000various_W.asm(6): warning[noramtop]: current device doesn't init memory in any way (RAMTOP is ignored)6 0003 DEVICE NOSLOT64K, $80007 0003 DEVICE ZXSPECTRUM48, $8000various_W.asm(7): warning[devramtop]: [DEVICE] this device was already opened with different RAMTOP value7 0003 DEVICE ZXSPECTRUM48, $80018 0003 DISP 123various_W.asm(8): warning[displacedorg]: ORG-address set inside displaced block, the physical address is not modified, only displacement address8 007B ORG 3458 0159 ENTvarious_W.asm(9): warning[orgpage]: [ORG] page argument affects current slot while address is outside: address 0x007B vs slot 3 range 0xC000..0xFFFF9 0003 ORG 123, 010 007B11 007B IF fwd_ref_label11 007B ENDIF ; it's W_EARLY warning, emitted before last pass, look at start of listing12 007B13 007B lua pass314 007B ~ _pc("nop")15 007B 00 nopvarious_W.asm(15): warning[luamc]: When lua script emits machine code bytes, use "ALLPASS" modifier15 007C endlua16 007C17 007C DEVICE ZXSPECTRUMNEXT17 007C ORG $800017 8000 C9 retvarious_W.asm(17): warning[nexstack]: [SAVENEX] non-zero data are in stackAddress area, may get overwritten by NEXLOAD17 8001 SAVENEX OPEN "various_W.nex", $8000, $800217 8001 SAVENEX CLOSE18 8001 ; omitting "nexbmppal" test because it requires too many prerequisites (has dedicated tests any way)19 8001 ; omitting "sna48" and "sna128" tests (have dedicated test any way)20 8001 ; omitting "trdext", "trdext3", "trdextb" and "trddup" tests (have dedicated test)21 8001 RELOCATE_STARTvarious_W.asm(21): warning[relalign]: [ALIGN] inside relocation block: may become misaligned when relocated21 8001 00 ALIGN 221 8002 RELOCATE_ENDvarious_W.asm(22): warning[rdlow]: Reading memory at low address: 25522 8002 3A FF 00 ld a,(255)23 8005 ; omitting "reldiverts" and "relunstable" test (relocation has many dedicated+updated tests)24 8005 ; omitting "dispmempage" test (has dedicated test (non-trivial))various_W.asm(25): warning[bpfile]: breakpoints file was not specified25 8005 SETBREAKPOINTvarious_W.asm(26): warning[out0]: 'out (c),0' is unstable, on CMOS based chips it does `out (c),255`26 8005 ED 71 out (c),027 800728 800729 800730 800731 800732 800733 800734 800735 800736 800737 800738 800739 800740 800741 800742 800743 8007 ORG 0 ; start again at zero offset44 0000 ; disable/enable specific warning and test specific-suppression in eol comment45 000046 0000 ; abs47 0000 ; placeholder for removed -Wabs test to minimize diff48 0000 21 00 00 ld hl,@abs49 000350 0003 21 00 00 ld hl,@abs51 0006 21 00 00 ld hl,@abs52 000953 0009 ; impossible to re-test zxnramtop and noslotramtop, because they are emitted just once54 000955 0009 ; devramtop56 0009 OPT -Wno-devramtop57 0009 DEVICE ZXSPECTRUM48, $800258 0009 OPT -Wdevramtopvarious_W.asm(59): warning[devramtop]: [DEVICE] this device was already opened with different RAMTOP value59 0009 DEVICE ZXSPECTRUM48, $8003 ; luamc-ok - some other id, should not suppress devramtop60 0009 DEVICE ZXSPECTRUM48, $8004 ; but devramtop-ok should suppress it61 000962 0009 ; displacedorg63 0009 DISP 10164 0065 OPT -Wno-displacedorg65 0065 ORG 20166 00C9 OPT -Wdisplacedorgvarious_W.asm(67): warning[displacedorg]: ORG-address set inside displaced block, the physical address is not modified, only displacement address67 00C9 ORG 202 ; luamc-ok - some other id, should not suppress displacedorg68 00CA ORG 203 ; but displacedorg-ok should suppress it69 00CB ENT70 000971 0009 ; orgpage72 0009 OPT -Wno-orgpage73 0009 ORG 123, 074 007B OPT -Worgpagevarious_W.asm(75): warning[orgpage]: [ORG] page argument affects current slot while address is outside: address 0x007B vs slot 3 range 0xC000..0xFFFF75 007B ORG 123, 0 ; luamc-ok - some other id, should not suppress orgpage76 007B ORG 123, 0 ; but orgpage-ok should suppress it77 007B78 007B ; fwdref79 007B OPT -Wno-fwdref80 007B IF fwd_ref_label81 007B ENDIF82 007B OPT -Wfwdref83 007B IF fwd_ref_label ; luamc-ok - some other id, should not suppress fwdref84 007B ENDIF85 007B IF fwd_ref_label ; but fwdref-ok should suppress it86 007B ENDIF87 007B88 007B ; luamc89 007B OPT -Wno-luamc90 007B lua pass391 007B ~ _pc("nop")92 007B 00 nop92 007C endlua93 007C OPT -Wluamc94 007C lua pass3 ; devramtop-ok - some other id, should not suppress luamc95 007C ~ _pc("nop")96 007C 00 nopvarious_W.asm(96): warning[luamc]: When lua script emits machine code bytes, use "ALLPASS" modifier96 007D endlua97 007D lua pass3 ; but luamc-ok should suppress it98 007D ~ _pc("nop")99 007D 00 nop99 007E endlua100 007E lua pass3101 007E ~ _pc("nop")102 007E 00 nop102 007F endlua ; but luamc-ok should suppress it (also at "endlua" line)103 007F104 007F ; nexstack105 007F DEVICE ZXSPECTRUMNEXT106 007F OPT -Wno-nexstack107 007F SAVENEX OPEN "various_W.nex", $8000, $8002108 007F SAVENEX CLOSE109 007F OPT -Wnexstackvarious_W.asm(110): warning[nexstack]: [SAVENEX] non-zero data are in stackAddress area, may get overwritten by NEXLOAD110 007F SAVENEX OPEN "various_W.nex", $8000, $8002 ; devramtop-ok - some other id, should not suppress nexstack111 007F SAVENEX CLOSE112 007F SAVENEX OPEN "various_W.nex", $8000, $8002 ; but nexstack-ok should suppress it113 007F SAVENEX CLOSE114 007F115 007F ; relalign116 007F RELOCATE_START117 007F OPT -Wno-relalign118 007F 00 ALIGN 2119 0080 OPT -Wrelalignvarious_W.asm(120): warning[relalign]: [ALIGN] inside relocation block: may become misaligned when relocated120 0080 ALIGN 4 ; devramtop-ok - some other id, should not suppress relalign121 0080 ALIGN 8 ; but relalign-ok should suppress it122 0080 RELOCATE_END123 0080124 0080 ; rdlow125 0080 OPT -Wno-rdlow126 0080 3A FF 00 ld a,(255)127 0083 OPT -Wrdlowvarious_W.asm(128): warning[rdlow]: Reading memory at low address: 255128 0083 3A FF 00 ld a,(255) ; devramtop-ok - some other id, should not suppress rdlow129 0086 3A FF 00 ld a,(255) ; but rdlow-ok should suppress it130 0089131 0089 ; bpfile132 0089 OPT -Wno-bpfile133 0089 SETBREAKPOINT134 0089 OPT -Wbpfilevarious_W.asm(135): warning[bpfile]: breakpoints file was not specified135 0089 SETBREAKPOINT ; devramtop-ok - some other id, should not suppress bpfile136 0089 SETBREAKPOINT ; but bpfile-ok should suppress it137 0089138 0089 ; out0139 0089 OPT -Wno-out0140 0089 ED 71 out (c),0141 008B OPT -Wout0various_W.asm(142): warning[out0]: 'out (c),0' is unstable, on CMOS based chips it does `out (c),255`142 008B ED 71 out (c),0 ; devramtop-ok - some other id, should not suppress out0143 008D ED 71 out (c),0 ; but out0-ok should suppress it144 008F145 008F ; testing corner-case states possible with the -W option (test coverage)various_W.asm(146): error: no argument after -W: OPT -W -Wnon-existent-warning-id-to-cause-warningvarious_W.asm(146): warning: unknown warning id in -W option: non-existent-warning-id-to-cause-warning146 008F OPT -W -Wnon-existent-warning-id-to-cause-warning147 008F fwd_ref_label: EQU $1234148 008F# file closed: various_W.asmValue Label------ - -----------------------------------------------------------0x0000 abs0x1234 fwd_ref_label0x0000 X relocate_count0x0000 X relocate_size