?login_element?

Subversion Repositories NedoOS

Rev

Rev 539 | Blame | Compare with Previous | Last modification | View Log | Download

# file opened: dir_end/dir_end1.a80
 1    0000              // another simple file, but second on command line
 2    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 file
 4    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 xxx
 7    0009 ~                nop
 8    0009              ENDM
 9    0009                      xxx
 9    0009 00          >    nop
dir_end/dir_end1.a80(10): error: Unrecognized instruction: some_error to check file paths output
10    000A                  some_error to check file paths output
11    000A                      END End.end
# file closed: dir_end/dir_end1.a80
# file opened: dir_end/dir_end2.a80
 1    000A              // has single include dir_end/dir_end2.i.asm (which ENDs)
 2    000A 21 22 00             ld      hl,End.end
 3    000D              INCLUDE "dir_end2.i.asm"    ; INCLUDE works relatively to current dir!
# file opened: dir_end/dir_end2.i.asm
 1+   000D              // include file for dir_end2.a80
 2+   000D 21 26 00             ld      hl,verifyLabel      ; label from first file
 3+   0010 11 1F 00             ld      de,verifyLabelFrom_dir_end3.a80
dir_end/dir_end2.i.asm(4): error: Unrecognized instruction: some_error to check file paths output
 4+   0013                  some_error to check file paths output
 5+   0013                      END
# file closed: dir_end/dir_end2.i.asm
# file closed: dir_end/dir_end2.a80
# file opened: dir_end/dir_end3.a80
 1    0013              // has single include dir_end/dir_end3.i.asm (which does not END)
 2    0013                  MACRO E_in_macro
 3    0013 ~                    END
 4    0013                  ENDM
 5    0013 21 22 00             ld      hl,End.end
 6    0016              INCLUDE "dir_end/dir_end3.i.asm"
# file opened: ./dir_end/dir_end3.i.asm
 1+   0016              // include file for dir_end3.a80
 2+   0016 01 26 00             ld      bc,verifyLabel      ; label from first file
 3+   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 output
 4+   001C                  some_error to check file paths output
 5+   001C
 6+   001C                      ; do not END here : END : not here */ : END
 7+   001C 37                    scf
 7+   001D 3F            ccf ; these are LIVE
 8+   001E                  // : /* END : END : */ : END // END : END
 9+   001E                      xxx     ; MACRO from dir_end1.a80
 9+   001E 00          >    nop
10+   001F
# file closed: ./dir_end/dir_end3.i.asm
 7    001F              verifyLabelFrom_dir_end3.a80:
 8    001F                  E_in_macro
 8    001F             >        END
# file closed: dir_end/dir_end3.a80
# file opened: dir_end.asm
 1    001F 21 24 00             ld      hl,end
 2    0022              End             ; mixed case = label (not directive)
 3    0022 00 00        .end    ALIGN   ; .END should not work at first column, not even with --dirbol enabled
 4    0024              end     DUP 2   ; END should not work at first column, not even with --dirbol enabled
 5    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                      EDUP
 7    0026              verifyLabel:
 8    0026 06 01       > ld      b,1         ; China number one!
 8    0028 06 01       > ld      b,1
 9    002A 0E FF       > ld      c,-1        ; Taiwan number dash one!
 9    002C 0E FF       > ld      c,-1
dir_end.asm(10): error: Unrecognized instruction: some_error to check file paths output
10    002E                  some_error to check file paths output
11    002E                      END
# file closed: dir_end.asm

Value    Label
------ - -----------------------------------------------------------
0x0022   End
0x0024   end
0x0022   End.end
0x0026   verifyLabel
0x001F   verifyLabelFrom_dir_end3.a80