?login_element?

Subversion Repositories NedoOS

Rev

Rev 129 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

# 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
Syntax option not implemented yet: l
13    000D              OPT push reset --syntax=aBfl    ; this one can be at beggining of line (--dirbol)
14    000D 00           OPT = 1 nop
14    000E                OPT --dirbol  ; first is label, instruction, adding --dirbol back (no push/reset)
dir_opt.asm(15): warning: Fake instruction: ld      hl,bc,,de,bc    
dir_opt.asm(15): warning: 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 00           OPT = 2 nop                 ; this one is no more dirbol, but just a label
24    001C
dir_opt.asm(25): warning: [OPT] too many options
dir_opt.asm(25): error: [OPT] invalid/failed option: --nologo
dir_opt.asm(25): error: Unexpected: G 
25    001C                  OPT --nologo 1 2 3 4 5 6 7 8 9 A B C D E F G ; invalid option(s) and too many of them
26    001C
dir_opt.asm(27): error: [OPT] invalid command (valid commands: push, pop, reset, liston, listoff): 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
# file closed: dir_opt.asm

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