Blame | Last modification | View Log | Download
# file opened: disabling_subword_subs.asm1 0000 mac1 MACRO x2 0000 ~ ld c,x3 0000 ~ label_x: dec c4 0000 ~ jr nz,label_x5 0000 ENDM6 00007 0000 DEFINE y 348 00009 0000 ; by default the substitions work also on subwords10 0000 mac1 12 ; expected "ld c,12" and "label_12"10 0000 0E 0C > ld c,1210 0002 0D >label_12: dec c10 0003 20 FD > jr nz,label_1211 0005 06 22 ld b,34 ; expected "ld b,34" and "label_34"12 0007 label_34:13 0007 05 dec b14 0008 20 FD jr nz,label_3415 000A16 000A ; switch sub-word substitions OFF17 000A OPT --syntax=s18 000A mac1 23 ; expected "ld c,23" and "label_x"18 000A 0E 17 > ld c,2318 000C 0D >label_x: dec c18 000D 20 FD > jr nz,label_x19 000F 06 22 ld b,34 ; expected "ld b,34" and "label_y"20 0011 label_y:21 0011 05 dec b22 0012 20 FD jr nz,label_y23 0014# file closed: disabling_subword_subs.asmValue Label------ - -----------------------------------------------------------0x0002 label_120x0007 label_340x000C label_x0x0011 label_y