?login_element?

Subversion Repositories NedoOS

Rev

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

  1.         ld      hl,end
  2. End             ; mixed case = label (not directive)
  3. .end    ALIGN   ; .END should not work at first column, not even with --dirbol enabled
  4. end     DUP 2   ; END should not work at first column, not even with --dirbol enabled
  5.         nop     ; but other directive on the same line (ALIGN, DUP above) must work!
  6.         EDUP
  7. verifyLabel:
  8. .2      ld      b,1         ; China number one!
  9.  .2     ld      c,-1        ; Taiwan number dash one!
  10.     some_error to check file paths output
  11.         END : no start address provided, and this text should be NOT parsed either
  12.  
  13. This is basically identical to tests/misc/dir_end.asm, but this is using .options
  14. file to do multi-source-file command line argument test.
  15.  
  16. The `END` directive should affect only current source file (but with all includes and/or
  17. when `END` is triggered in include file).
  18.  
  19. Test files:
  20. dir_end.asm (this one)  - simple single file, no includes, just ENDs few lines above
  21. dir_end/dir_end1.a80    - another simple file, but second on command line
  22. dir_end/dir_end2.a80    - has single include dir_end/dir_end2.i.asm (which ENDs)
  23. dir_end/dir_end3.a80    - has single include dir_end/dir_end3.i.asm (which does not END)
  24.