?login_element?

Subversion Repositories NedoOS

Rev

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

  1. ; SYNTAX option "abfl@":
  2. ;  @ is error "unrecognized" (but outside of list file!)
  3. ;  l is "unimplemented yet" (comments below are for future implementation)
  4.     ld      bc,hl       ; warning
  5.     ld      bc,hl       ; warning removed by using "fake" in this comment
  6.     sub     a,b         ; sub b
  7.     sub     a,,b        ; sub a : sub b
  8.     ld      b,h,,c,l    ; ld b,h : ld c,l (same as first fake)
  9.     ld      b,h, c,l    ; error
  10. hl:                     ; warning
  11.     ld      a,(hl)      ; OK: memory reference
  12.     ld      a,[hl]      ; OK: memory reference
  13.     add     a,(5)       ; error (memory reference = illegal instruction)
  14.     add     a,[6]       ; error (memory reference = illegal instruction)
  15.     add     a,7         ; OK
  16.     ld      b,(8)       ; error (memory reference = illegal instruction)
  17.     ld      b,[9]       ; error (memory reference = illegal instruction)
  18.     ld      b,10        ; OK
  19.  
  20.     ld      bc,hl       ;fake (warning suppressed by "fake")
  21.     ld      bc,hl       ;ok (removed, doesn't suppress any more)
  22.