Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download
# file opened: syntax_w.asm1 0000 ; SYNTAX option "w":2 0000 ; w Warnings options: report warnings as errors3 00004 0000 ; verify regular syntax works as expected with default optionssyntax_w.asm(5): warning: value 0x1234 is truncated to 8bit value: 0x345 0000 3E 34 ld a,0x1234 ; warning about lost bytes6 0002 OPT push --syntax=w ; test the syntax option "w"syntax_w.asm(7): error: value 0x1234 is truncated to 8bit value: 0x347 0002 3E 34 ld a,0x1234 ; error about lost bytes8 0004 OPT pop ; test push+pop of new optionsyntax_w.asm(9): warning: value 0x1234 is truncated to 8bit value: 0x349 0004 3E 34 ld a,0x1234 ; warning about lost bytes10 0006 ASSERT 2 == 2 && 1 == 111 0006# file closed: syntax_w.asmValue Label------ - -----------------------------------------------------------