;;; AUTO GENERATED FILE
;;; generated by: gen_z80 -i -u -C Z80 -o gen_z80.inc -l gen_z80.lst
      NOP
      LD    BC, 0302H
      LD    (BC), A
      INC   BC
      INC   B
      DEC   B
      LD    B, 7
      RLCA
      EX    AF, AF'
      ADD   HL, BC
      LD    A, (BC)
      DEC   BC
      INC   C
      DEC   C
      LD    C, 15
      RRCA
      DJNZ  $+19
      LD    DE, 1312H
      LD    (DE), A
      INC   DE
      INC   D
      DEC   D
      LD    D, 23
      RLA
      JR    $+27
      ADD   HL, DE
      LD    A, (DE)
      DEC   DE
      INC   E
      DEC   E
      LD    E, 31
      RRA
      JR    NZ, $+35
      LD    HL, 2322H
      LD    (2423H), HL
      INC   HL
      INC   H
      DEC   H
      LD    H, 27H
      DAA
      JR    Z, $+43
      ADD   HL, HL
      LD    HL, (2C2BH)
      DEC   HL
      INC   L
      DEC   L
      LD    L, 2FH
      CPL
      JR    NC, $+51
      LD    SP, 3332H
      LD    (3433H), A
      INC   SP
      INC   (HL)
      DEC   (HL)
      LD    (HL), 37H
      SCF
      JR    C, $+59
      ADD   HL, SP
      LD    A, (3C3BH)
      DEC   SP
      INC   A
      DEC   A
      LD    A, 3FH
      CCF
      LD    B, B
      LD    B, C
      LD    B, D
      LD    B, E
      LD    B, H
      LD    B, L
      LD    B, (HL)
      LD    B, A
      LD    C, B
      LD    C, C
      LD    C, D
      LD    C, E
      LD    C, H
      LD    C, L
      LD    C, (HL)
      LD    C, A
      LD    D, B
      LD    D, C
      LD    D, D
      LD    D, E
      LD    D, H
      LD    D, L
      LD    D, (HL)
      LD    D, A
      LD    E, B
      LD    E, C
      LD    E, D
      LD    E, E
      LD    E, H
      LD    E, L
      LD    E, (HL)
      LD    E, A
      LD    H, B
      LD    H, C
      LD    H, D
      LD    H, E
      LD    H, H
      LD    H, L
      LD    H, (HL)
      LD    H, A
      LD    L, B
      LD    L, C
      LD    L, D
      LD    L, E
      LD    L, H
      LD    L, L
      LD    L, (HL)
      LD    L, A
      LD    (HL), B
      LD    (HL), C
      LD    (HL), D
      LD    (HL), E
      LD    (HL), H
      LD    (HL), L
      HALT
      LD    (HL), A
      LD    A, B
      LD    A, C
      LD    A, D
      LD    A, E
      LD    A, H
      LD    A, L
      LD    A, (HL)
      LD    A, A
      ADD   A, B
      ADD   A, C
      ADD   A, D
      ADD   A, E
      ADD   A, H
      ADD   A, L
      ADD   A, (HL)
      ADD   A, A
      ADC   A, B
      ADC   A, C
      ADC   A, D
      ADC   A, E
      ADC   A, H
      ADC   A, L
      ADC   A, (HL)
      ADC   A, A
      SUB   B
      SUB   C
      SUB   D
      SUB   E
      SUB   H
      SUB   L
      SUB   (HL)
      SUB   A
      SBC   A, B
      SBC   A, C
      SBC   A, D
      SBC   A, E
      SBC   A, H
      SBC   A, L
      SBC   A, (HL)
      SBC   A, A
      AND   B
      AND   C
      AND   D
      AND   E
      AND   H
      AND   L
      AND   (HL)
      AND   A
      XOR   B
      XOR   C
      XOR   D
      XOR   E
      XOR   H
      XOR   L
      XOR   (HL)
      XOR   A
      OR    B
      OR    C
      OR    D
      OR    E
      OR    H
      OR    L
      OR    (HL)
      OR    A
      CP    B
      CP    C
      CP    D
      CP    E
      CP    H
      CP    L
      CP    (HL)
      CP    A
      RET   NZ
      POP   BC
      JP    NZ, 0C4C3H
      JP    0C5C4H
      CALL  NZ, 0C6C5H
      PUSH  BC
      ADD   A, 0C7H
      RST   0
      RET   Z
      RET
      JP    Z, 0CCCBH
      SET   1, H
      SET   1, L
      SET   1, (HL)
      SET   1, A
      SET   2, B
      SET   2, C
      SET   2, D
      SET   2, E
      RLC   B
      RLC   C
      RLC   D
      RLC   E
      RLC   H
      RLC   L
      RLC   (HL)
      RLC   A
      RRC   B
      RRC   C
      RRC   D
      RRC   E
      RRC   H
      RRC   L
      RRC   (HL)
      RRC   A
      RL    B
      RL    C
      RL    D
      RL    E
      RL    H
      RL    L
      RL    (HL)
      RL    A
      RR    B
      RR    C
      RR    D
      RR    E
      RR    H
      RR    L
      RR    (HL)
      RR    A
      SLA   B
      SLA   C
      SLA   D
      SLA   E
      SLA   H
      SLA   L
      SLA   (HL)
      SLA   A
      SRA   B
      SRA   C
      SRA   D
      SRA   E
      SRA   H
      SRA   L
      SRA   (HL)
      SRA   A
      SRL   B
      SRL   C
      SRL   D
      SRL   E
      SRL   H
      SRL   L
      SRL   (HL)
      SRL   A
      BIT   0, B
      BIT   0, C
      BIT   0, D
      BIT   0, E
      BIT   0, H
      BIT   0, L
      BIT   0, (HL)
      BIT   0, A
      RES   0, B
      RES   0, C
      RES   0, D
      RES   0, E
      RES   0, H
      RES   0, L
      RES   0, (HL)
      RES   0, A
      CALL  Z, 0CECDH
      CALL  0CFCEH
      ADC   A, 0CFH
      RET   NC
      POP   DE
      JP    NC, 0D4D3H
      OUT   (0D4H), A
      CALL  NC, 0D6D5H
      PUSH  DE
      SUB   0D7H
      RET   C
      EXX
      JP    C, 0DCDBH
      IN    A, (0DCH)
      CALL  C, 0DEDDH
      POP   IX
      EX    (SP), IX
      PUSH  IX
      JP    (IX)
      LD    SP, IX
      ADD   IX, BC
      ADD   IX, DE
      LD    IX, 2322H
      LD    (2423H), IX
      INC   IX
      ADD   IX, IX
      LD    IX, (2C2BH)
      DEC   IX
      INC   (IX+53)
      INC   (IX-128)
      DEC   (IX+54)
      DEC   (IX-128)
      LD    (IX+55), 38H
      LD    (IX-128), 81H
      ADD   IX, SP
      LD    B, (IX+71)
      LD    B, (IX-128)
      LD    C, (IX+79)
      LD    C, (IX-128)
      LD    D, (IX+87)
      LD    D, (IX-128)
      LD    E, (IX+95)
      LD    E, (IX-128)
      LD    H, (IX+103)
      LD    H, (IX-128)
      LD    L, (IX+111)
      LD    L, (IX-128)
      LD    (IX+113), B
      LD    (IX-128), B
      LD    (IX+114), C
      LD    (IX-128), C
      LD    (IX+115), D
      LD    (IX-128), D
      LD    (IX+116), E
      LD    (IX-128), E
      LD    (IX+117), H
      LD    (IX-128), H
      LD    (IX+118), L
      LD    (IX-128), L
      LD    (IX+120), A
      LD    (IX-128), A
      LD    A, (IX+127)
      LD    A, (IX-128)
      ADD   A, (IX-121)
      ADD   A, (IX+0)
      ADC   A, (IX-113)
      ADC   A, (IX+0)
      SUB   (IX-105)
      SUB   (IX+0)
      SBC   A, (IX-97)
      SBC   A, (IX+0)
      AND   (IX-89)
      AND   (IX+0)
      XOR   (IX-81)
      XOR   (IX+0)
      OR    (IX-73)
      OR    (IX+0)
      CP    (IX-65)
      CP    (IX+0)
      SET   1, (IX-52)
      RLC   (IX-52)
      RRC   (IX-52)
      RL    (IX-52)
      RR    (IX-52)
      SLA   (IX-52)
      SRA   (IX-52)
      SRL   (IX-52)
      BIT   0, (IX-52)
      RES   0, (IX-52)
      RLC   (IX+0)
      RRC   (IX+0)
      RL    (IX+0)
      RR    (IX+0)
      SLA   (IX+0)
      SRA   (IX+0)
      SRL   (IX+0)
      BIT   0, (IX+0)
      RES   0, (IX+0)
      SET   0, (IX+0)
      SBC   A, 0DFH
      RET   PO
      POP   HL
      JP    PO, 0E4E3H
      EX    (SP), HL
      CALL  PO, 0E6E5H
      PUSH  HL
      AND   0E7H
      RET   PE
      JP    (HL)
      JP    PE, 0ECEBH
      EX    DE, HL
      CALL  PE, 0EEEDH
      IN    B, (C)
      OUT   (C), B
      SBC   HL, BC
      LD    (4544H), BC
      NEG
      RETN
      IM    0
      LD    I, A
      IN    C, (C)
      OUT   (C), C
      ADC   HL, BC
      LD    BC, (4D4CH)
      RETI
      LD    R, A
      IN    D, (C)
      OUT   (C), D
      SBC   HL, DE
      LD    (5554H), DE
      LD    A, I
      IN    E, (C)
      OUT   (C), E
      ADC   HL, DE
      LD    DE, (5D5CH)
      LD    A, R
      IN    H, (C)
      OUT   (C), H
      SBC   HL, HL
      RRD
      IN    L, (C)
      OUT   (C), L
      ADC   HL, HL
      RLD
      SBC   HL, SP
      LD    (7574H), SP
      IN    A, (C)
      OUT   (C), A
      ADC   HL, SP
      LD    SP, (7D7CH)
      LDI
      CPI
      INI
      OUTI
      LDD
      CPD
      IND
      OUTD
      LDIR
      CPIR
      INIR
      OTIR
      LDDR
      CPDR
      INDR
      OTDR
      XOR   0EFH
      RET   P
      POP   AF
      JP    P, 0F4F3H
      DI
      CALL  P, 0F6F5H
      PUSH  AF
      OR    0F7H
      RET   M
      LD    SP, HL
      JP    M, 0FCFBH
      EI
      CALL  M, 0FEFDH
      ADD   IY, BC
      ADD   IY, DE
      LD    IY, 2322H
      LD    (2423H), IY
      INC   IY
      ADD   IY, IY
      LD    IY, (2C2BH)
      DEC   IY
      INC   (IY+53)
      INC   (IY-128)
      DEC   (IY+54)
      DEC   (IY-128)
      LD    (IY+55), 38H
      LD    (IY-128), 81H
      ADD   IY, SP
      LD    B, (IY+71)
      LD    B, (IY-128)
      LD    C, (IY+79)
      LD    C, (IY-128)
      LD    D, (IY+87)
      LD    D, (IY-128)
      LD    E, (IY+95)
      LD    E, (IY-128)
      LD    H, (IY+103)
      LD    H, (IY-128)
      LD    L, (IY+111)
      LD    L, (IY-128)
      LD    (IY+113), B
      LD    (IY-128), B
      LD    (IY+114), C
      LD    (IY-128), C
      LD    (IY+115), D
      LD    (IY-128), D
      LD    (IY+116), E
      LD    (IY-128), E
      LD    (IY+117), H
      LD    (IY-128), H
      LD    (IY+118), L
      LD    (IY-128), L
      LD    (IY+120), A
      LD    (IY-128), A
      LD    A, (IY+127)
      LD    A, (IY-128)
      ADD   A, (IY-121)
      ADD   A, (IY+0)
      ADC   A, (IY-113)
      ADC   A, (IY+0)
      SUB   (IY-105)
      SUB   (IY+0)
      SBC   A, (IY-97)
      SBC   A, (IY+0)
      AND   (IY-89)
      AND   (IY+0)
      XOR   (IY-81)
      XOR   (IY+0)
      OR    (IY-73)
      OR    (IY+0)
      CP    (IY-65)
      CP    (IY+0)
      SET   1, (IY-52)
      RLC   (IY-52)
      RRC   (IY-52)
      RL    (IY-52)
      RR    (IY-52)
      SLA   (IY-52)
      SRA   (IY-52)
      SRL   (IY-52)
      BIT   0, (IY-52)
      RES   0, (IY-52)
      RLC   (IY+0)
      RRC   (IY+0)
      RL    (IY+0)
      RR    (IY+0)
      SLA   (IY+0)
      SRA   (IY+0)
      SRL   (IY+0)
      BIT   0, (IY+0)
      RES   0, (IY+0)
      SET   0, (IY+0)
      POP   IY
      EX    (SP), IY
      PUSH  IY
      JP    (IY)
      LD    SP, IY
      CP    0FFH
