Rev 539 | Blame | Compare with Previous | Last modification | View Log | Download
# file opened: syntax_mM.asm1 0000 ; SYNTAX options "M":2 0000 ; m - removed in v1.20.0, use `-Wno-rdlow` instead3 0000 ; M Alias "m" and "M" for "(hl)" to cover 8080-like syntax: ADD A,M4 00005 0000 ; verify regular syntax works as expected with default optionssyntax_mM.asm(6): error: Label not found: m6 0000 C6 00 add a,m ; label not found7 0002 86 add a,(hl) ; regular add instruction8 0003 OPT push --syntax=M ; test the syntax options "M"9 0003 86 add a,m ; (hl) used10 0004 86 add a,M ; (hl) used11 0005 86 add a,(hl) ; regular add instruction12 0006 OPT pop ; test push+pop of new optionssyntax_mM.asm(13): error: Label not found: M13 0006 C6 00 add a,M ; label not found14 0008 86 add a,(hl) ; regular add instruction15 0009 ASSERT 0 == 0 && 2 == 216 0009# file closed: syntax_mM.asmValue Label------ - -----------------------------------------------------------