?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1.     OUTPUT "op_C0_FF.bin" : OPT --syntax=a
  2.  
  3.     ret     nz
  4.     pop     bc
  5.     jp      nz,$4241
  6.     jp      $4241
  7.     call    nz,$4241
  8.     push    bc
  9.     add     a,$43
  10.     rst     00h
  11.     ret     z
  12.     ret
  13.     jp      z,$4241
  14.     bit     0,h     ; BITS 0xCB prefix + 0x44
  15.     call    z,$4241
  16.     call    $4241
  17.     adc     a,$43
  18.     rst     0x08
  19.     ret     nc
  20.     pop     de
  21.     jp      nc,$4241
  22.     ;; D3 = *nothing*
  23.     call    nc,$4241
  24.     push    de
  25.     sub     $43
  26.     rst     $10
  27.     ret     c
  28.     ;; D9 = reti
  29.     jp      c,$4241
  30.     ;; DB = *nothing*
  31.     call    c,$4241
  32.     ;; DD = *nothing*
  33.     sbc     a,$43
  34.     rst     #18
  35.     ;; E0 = ldh (a8),a
  36.     pop     hl
  37.     ;; E2 = ld (c),a
  38.     ;; E3 = *nothing*
  39.     ;; E4 = *nothing*
  40.     push    hl
  41.     and     $43
  42.     rst     32
  43.     ;; E8 = add sp,r8
  44.     jp      (hl)
  45.     ;; EA = ld (a16),a
  46.     ;; EB = *nothing*
  47.     ;; EC = *nothing*
  48.     ;; ED = *nothing*
  49.     xor     $43
  50.     rst     28h
  51.     ;; F0 = ldh a,(a8)
  52.     pop     af
  53.     ;; F2 = ld a,(c)
  54.     di
  55.     ;; F4 = *nothing*
  56.     push    af
  57.     or      $43
  58.     rst     #30
  59.     ;; F8 = ld hl,sp+r8
  60.     ld      sp,hl
  61.     ;; FA = ld a,(a16)
  62.     ei
  63.     ;; FC = *nothing*
  64.     ;; FD = *nothing*
  65.     cp      $43
  66.     rst     $38
  67.  
  68.     ; illegal on LR35902
  69.     out     ($43),a
  70.     exx
  71.     in      a,($43)
  72.     inc     ix  ; IX 0xDD prefix + 0x44
  73.     ret     po
  74.     jp      po,$4241
  75.     ex      (sp),hl
  76.     call    po,$4241
  77.     ret     pe
  78.     jp      pe,$4241
  79.     ex      de,hl
  80.     call    pe,$4241
  81.     neg         ; EXTD 0xED prefix + 0x44
  82.     ret     p
  83.     jp      p,$4241
  84.     call    p,$4241
  85.     ret     m
  86.     jp      m,$4241
  87.     call    m,$4241
  88.     dec     iy  ; IY 0xFD prefix + 0x44
  89.  
  90.     ; different opcode on LR35902
  91.