Rev 539 | Blame | Compare with Previous | Last modification | View Log | Download
# file opened: dir_end/dir_end1.a801 0000 // another simple file, but second on command line2 0000 21 24 00 ld hl,end ; loads label from first file!3 0003 11 22 00 ld de,End ; also second label from first file4 0006 01 26 00 ld bc,verifyLabel ; third label from first file (which is behind "end" label)5 0009 // verify --dirbol was used to compile this (define MACRO on start of the line)6 0009 MACRO xxx7 0009 ~ nop8 0009 ENDM9 0009 xxx9 0009 00 > nopdir_end/dir_end1.a80(10): error: Unrecognized instruction: some_error to check file paths output10 000A some_error to check file paths output11 000A END End.end# file closed: dir_end/dir_end1.a80# file opened: dir_end/dir_end2.a801 000A // has single include dir_end/dir_end2.i.asm (which ENDs)2 000A 21 22 00 ld hl,End.end3 000D INCLUDE "dir_end2.i.asm" ; INCLUDE works relatively to current dir!# file opened: dir_end/dir_end2.i.asm1+ 000D // include file for dir_end2.a802+ 000D 21 26 00 ld hl,verifyLabel ; label from first file3+ 0010 11 1F 00 ld de,verifyLabelFrom_dir_end3.a80dir_end/dir_end2.i.asm(4): error: Unrecognized instruction: some_error to check file paths output4+ 0013 some_error to check file paths output5+ 0013 END# file closed: dir_end/dir_end2.i.asm# file closed: dir_end/dir_end2.a80# file opened: dir_end/dir_end3.a801 0013 // has single include dir_end/dir_end3.i.asm (which does not END)2 0013 MACRO E_in_macro3 0013 ~ END4 0013 ENDM5 0013 21 22 00 ld hl,End.end6 0016 INCLUDE "dir_end/dir_end3.i.asm"# file opened: ./dir_end/dir_end3.i.asm1+ 0016 // include file for dir_end3.a802+ 0016 01 26 00 ld bc,verifyLabel ; label from first file3+ 0019 11 1F 00 ld de,verifyLabelFrom_dir_end3.a80./dir_end/dir_end3.i.asm(4): error: Unrecognized instruction: some_error to check file paths output4+ 001C some_error to check file paths output5+ 001C6+ 001C ; do not END here : END : not here */ : END7+ 001C 37 scf7+ 001D 3F ccf ; these are LIVE8+ 001E // : /* END : END : */ : END // END : END9+ 001E xxx ; MACRO from dir_end1.a809+ 001E 00 > nop10+ 001F# file closed: ./dir_end/dir_end3.i.asm7 001F verifyLabelFrom_dir_end3.a80:8 001F E_in_macro8 001F > END# file closed: dir_end/dir_end3.a80# file opened: dir_end.asm1 001F 21 24 00 ld hl,end2 0022 End ; mixed case = label (not directive)3 0022 00 00 .end ALIGN ; .END should not work at first column, not even with --dirbol enabled4 0024 end DUP 2 ; END should not work at first column, not even with --dirbol enabled5 0024 00 > nop ; but other directive on the same line (ALIGN, DUP above) must work!5 0025 00 > nop ; but other directive on the same line (ALIGN, DUP above) must work!6 0026 EDUP7 0026 verifyLabel:8 0026 06 01 > ld b,1 ; China number one!8 0028 06 01 > ld b,19 002A 0E FF > ld c,-1 ; Taiwan number dash one!9 002C 0E FF > ld c,-1dir_end.asm(10): error: Unrecognized instruction: some_error to check file paths output10 002E some_error to check file paths output11 002E END# file closed: dir_end.asmValue Label------ - -----------------------------------------------------------0x0022 End0x0024 end0x0022 End.end0x0026 verifyLabel0x001F verifyLabelFrom_dir_end3.a80