?login_element?

Subversion Repositories NedoOS

Rev

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

# file opened: dir_opt.asm
 1    0000              ; requires --dirbol on command line (for testing purposes of last OPT pop restoring it)
dir_opt.asm(2): warning: [OPT] no previous syntax found
 2    0000              OPT pop                     ; warn about no previous syntax in stack
 3    0000 60 69 50 59      ld      hl,bc,de,bc
dir_opt.asm(4): error: Z80N instructions are currently disabled: mirror  a
 4    0004                  mirror  a               ; error (Z80N instruction)
 5    0004
 6    0004                  ; try all possible options
 7    0004              OPT push reset --nofakes --syntax=a --zxnext=cspect --reversepop --dirbol
dir_opt.asm(8): error: Fake instructions are not enabled: ld      hl,bc,,de,bc
 8    0004                  ld      hl,bc,,de,bc    ; error because --nofakes (!)
 9    0004 90 91            sub     a,b,,c
10    0006 ED 24            mirror  a
10    0008 DD 01          break       ; next enabled, including CSpect emulator extras
11    000A C1 E1            pop     hl,,bc          ; pop bc : pop hl (--reversepop)
12    000C C1               pop     bc  ; validation
dir_opt.asm(13): error: Syntax option not implemented yet: l
13    000D              OPT push reset --syntax=aBfl    ; this one can be at beggining of line (--dirbol)
14    000D              OPT = 1
14    000D 00             nop
14    000E                OPT --dirbol  ; first is label, instruction, adding --dirbol back (no push/reset)
dir_opt.asm(15): warning[fake]: Fake instruction: ld      hl,bc,,de,bc
dir_opt.asm(15): warning[fake]: Fake instruction: ld      hl,bc,,de,bc
15    000E 60 69 50 59      ld      hl,bc,,de,bc    ; 2x warning about fAkEs (suppression is case sensitive)
16    0012 60 69            ld      hl,bc           ; fake with suppressed warning
dir_opt.asm(17): error: Z80N instructions are currently disabled: mirror  a
17    0014                  mirror  a               ; error (Z80N instruction)
18    0014 E1 C1            pop     hl,,bc          ; pop hl : pop bc
19    0016 E1               pop     hl  ; validation
20    0017              OPT pop
20    0017                OPT pop           ; pop syntax two times (and verify --dirbol works)
21    0017 60 69 50 59      ld      hl,bc,de,bc
dir_opt.asm(22): warning: [OPT] no previous syntax found
22    001B              OPT pop
22    001B                OPT reset         ; warn about no previous syntax in stack, then reset (but no options)
23    001B              OPT = 2
23    001B 00             nop               ; this one is no more dirbol, but just a label
24    001C
dir_opt.asm(25): error: [OPT] invalid/failed option: --nologo
25    001C                  OPT --nologo 1 2 3 4 5 6 7 8 9 A B C D E F G ; invalid option(s) and many of them
26    001C
dir_opt.asm(27): error: [OPT] invalid command (valid commands: push, pop, reset, liston, listoff, listall, listact, listmc): unknown
27    001C                  OPT unknown             ; error about invalid command
dir_opt.asm(28): warning: [OPT] pushing syntax status after reset
28    001C                  OPT reset push          ; warn about pushing default syntax
29    001C
30    001C                  ; verify if -Wfake/Wno-fake works similarly to --syntax=f
31    001C 44 4D            ld      bc,hl           ; no warning in default syntax
32    001E                  OPT push -Wfake
dir_opt.asm(33): warning[fake]: Fake instruction: ld      bc,hl
33    001E 44 4D            ld      bc,hl           ; warning
34    0020 44 4D            ld      bc,hl           ; warning suppressed by fake-ok
35    0022                  OPT push -Wno-fake
36    0022 44 4D            ld      bc,hl           ; no warning
37    0024                  OPT pop
dir_opt.asm(38): warning[fake]: Fake instruction: ld      bc,hl
38    0024 44 4D            ld      bc,hl           ; warning from previous state
39    0026                  OPT pop
40    0026 44 4D            ld      bc,hl           ; no warning in default
41    0028
# file closed: dir_opt.asm

Value    Label
------ - -----------------------------------------------------------
0x0002 X OPT