?login_element?

Subversion Repositories NedoOS

Rev

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

# file opened: comments.asm
 1    0000                  ;; defines to require multi define-substitution
 2    0000                  DEFINE _zzzzz _zzzz
 3    0000                  DEFINE _zzzz _zzz
 4    0000                  DEFINE _zzz _zz
 5    0000                  DEFINE _zz _z
 6    0000                  DEFINE _z hl
 7    0000
 8    0000                  MACRO xxx
 9    0000 ~                    /* /*
10    0000 ~                    /* 3x nested
11    0000 ~                    block
12    0000 ~                    comment */ */
13    0000 ~                    */
14    0000 ~                    halt
15    0000                  ENDM
16    0000 ~            /*  ld _zzzzz,0
17    0000 ~            /* 2x nested block comment
18    0000 ~              assdada */ ld _zzzzz,0
19    0000 ~            /*
20    0000 ~              ass dada */ ld _zzzzz,0
21    0000 ~            */
22    0000                  DUP   2
23    0000 C9          >    ret
24    0001 ~           >    zzz
25    0001 21 00 00    > ld  hl,0
26    0004             >    xxx     ; emit macro
26    0004 ~           >        /* /*
26    0004 ~           >        /* 3x nested
26    0004 ~           >        block
26    0004 ~           >        comment */ */
26    0004 ~           >        */
26    0004 76          >        halt
23    0005 C9          >    ret
24    0006 ~           >    zzz
25    0006 21 00 00    > ld  hl,0
26    0009             >    xxx     ; emit macro
26    0009 ~           >        /* /*
26    0009 ~           >        /* 3x nested
26    0009 ~           >        block
26    0009 ~           >        comment */ */
26    0009 ~           >        */
26    0009 76          >        halt
27    000A                  EDUP
28    000A
29    000A                  // similar test, but outside of DUP
30    000A
31    000A 2F                cpl
32    000B C9               ret
33    000C ~                zzz
34    000C 21 00 00      ld  hl,0
35    000F                  xxx
35    000F ~           >        /* /*
35    000F ~           >        /* 3x nested
35    000F ~           >        block
35    000F ~           >        comment */ */
35    000F ~           >        */
35    000F 76          >        halt
35    0010 ED A0         ldi
35    0012
35    0012 ED A8         ldd
35    0014 ED B0         ldir
35    0016 ~             /*:"*/
35    0016 ED B8         lddr
36    0018
comments.asm(37): error: Invalid labelname:
37    0018 27           :   daa
38    0019 ~            /* END ... // : block comment */
38    0019 00             nop ; LIVE instr!
comments.asm(39): error: Unrecognized instruction: */
39    001A                    */
39    001A                ; and no <EOL> here
# file closed: comments.asm

Value    Label
------ - -----------------------------------------------------------