    #include <p16c73b.inc>
processor p16c73b

; -----------------------------------------------------------------------
; code memory
org 0x0000
    goto	0x188
    movlw	0xf
    movwf	0x27
    decfsz	0x27, f
    goto	0x3
    return
    bcf	0x3, 0x5
    bsf	0x6, 0x2
    btfsc	0x25, 0
    call	0x177
    btfss	0x25, 0
    call	0x17a
    nop
    nop
    btfss	0x24, 0
    goto	0x12
    bcf	0x6, 0x1
    goto	0x14
    bsf	0x6, 0x1
    nop
    btfsc	0x5, 0x2
    bsf	0x29, 0
    goto	0x33
    clrw
    bcf	0x29, 0
    incf	0x28, f
    movlw	0xfc
    addwf	0x28, w
    btfss	0x3, 0
    goto	0x20
    call	0x63
    goto	0x37
    addlw	0x1
    btfss	0x3, 0
    goto	0x25
    call	0x6b
    goto	0x37
    addlw	0x1
    btfss	0x3, 0
    goto	0x2a
    call	0x73
    goto	0x37
    addlw	0x1
    btfss	0x3, 0
    goto	0x2f
    call	0x7b
    goto	0x37
    addlw	0x1
    btfss	0x3, 0
    call	0x83
    goto	0x37
    btfsc	0x29, 0
    btfsc	0x5, 0x2
    goto	0x37
    goto	0x17
    nop
    btfsc	0x5, 0x4
    bsf	0x2a, 0
    goto	0x5e
    bcf	0x28, 0x7
    bcf	0x28, 0x6
    bcf	0x28, 0x5
    bcf	0x28, 0x4
    bcf	0x28, 0x3
    clrw
    bcf	0x2a, 0
    addwf	0x28, w
    btfss	0x3, 0x2
    goto	0x47
    call	0x83
    return
    decf	0x28, f
    btfss	0x3, 0x2
    goto	0x4c
    call	0x83
    return
    decf	0x28, f
    btfss	0x3, 0x2
    goto	0x51
    call	0x7b
    return
    decf	0x28, f
    btfss	0x3, 0x2
    goto	0x56
    call	0x73
    return
    decf	0x28, f
    btfss	0x3, 0x2
    goto	0x5b
    call	0x6b
    return
    decf	0x28, f
    btfsc	0x3, 0x2
    call	0x63
    btfsc	0x2a, 0
    btfsc	0x5, 0x4
    return
    goto	0x3b
    return
    bsf	0x6, 0x4
    bsf	0x28, 0x2
    bsf	0x6, 0
    bcf	0x28, 0x1
    bsf	0x7, 0x1
    bcf	0x28, 0
    bsf	0x7, 0
    return
    bcf	0x6, 0x4
    bcf	0x28, 0x2
    bsf	0x6, 0
    bsf	0x28, 0x1
    bsf	0x7, 0x1
    bsf	0x28, 0
    bsf	0x7, 0
    return
    bcf	0x6, 0x4
    bcf	0x28, 0x2
    bcf	0x6, 0
    bsf	0x28, 0x1
    bsf	0x7, 0x1
    bcf	0x28, 0
    bsf	0x7, 0
    return
    bcf	0x6, 0x4
    bcf	0x28, 0x2
    bcf	0x6, 0
    bcf	0x28, 0x1
    bcf	0x7, 0x1
    bsf	0x28, 0
    bsf	0x7, 0
    return
    bcf	0x6, 0x4
    bcf	0x28, 0x2
    bcf	0x6, 0
    bcf	0x28, 0x1
    bcf	0x7, 0x1
    bcf	0x28, 0
    bcf	0x7, 0
    return
    clrw
    bcf	0x3, 0x5
    bcf	0x6, 0x2
    btfsc	0x25, 0
    call	0x177
    btfss	0x25, 0
    call	0x17a
    nop
    nop
    btfss	0x24, 0
    goto	0x98
    bcf	0x6, 0x1
    goto	0x9a
    bsf	0x6, 0x1
    nop
    bsf	0x3, 0x5
    movlw	0x5
    movwf	0x1f
    bcf	0x3, 0x5
    movlw	0x41
    movwf	0x1f
    call	0x1
    bsf	0x1f, 0x2
    btfsc	0x1f, 0x2
    goto	0xa2
    movf	0x1e, w
    addlw	0x20
    btfss	0x3, 0
    goto	0xaa
    call	0x63
    return
    clrw
    movf	0x1e, w
    addlw	0x60
    btfss	0x3, 0
    goto	0xb1
    call	0x6b
    return
    clrw
    movf	0x1e, w
    addlw	0xa0
    btfss	0x3, 0
    goto	0xb8
    call	0x73
    return
    clrw
    movf	0x1e, w
    addlw	0xe0
    btfss	0x3, 0
    goto	0xbf
    call	0x7b
    return
    call	0x83
    return
    bcf	0x6, 0x6
    incf	0x20, f
    return
    bsf	0x6, 0x6
    incf	0x20, f
    return
    bcf	0x6, 0x7
    incf	0x20, f
    return
    bsf	0x6, 0x7
    incf	0x20, f
    return
    bcf	0x6, 0x6
    bcf	0x6, 0x7
    incf	0x20, f
    return
    bsf	0x6, 0x6
    bsf	0x6, 0x7
    incf	0x20, f
    return
    nop
    bcf	0x3, 0x5
    bsf	0x12, 0x2
    btfsc	0x20, 0
    goto	0xdc
    bcf	0x6, 0x6
    goto	0xde
    bsf	0x6, 0x6
    nop
    btfss	0x24, 0
    goto	0xe2
    bcf	0x6, 0x1
    goto	0xe4
    bsf	0x6, 0x1
    nop
    btfsc	0x5, 0x5
    bsf	0x26, 0
    call	0x17d
    btfsc	0x7, 0x7
    goto	0x100
    bsf	0x6, 0x5
    btfss	0xc, 0x1
    goto	0xd8
    bcf	0xc, 0x1
    incf	0x2b, f
    movlw	0x1
    addwf	0x2b, w
    btfss	0x3, 0
    goto	0xd8
    btfsc	0x20, 0
    goto	0xfa
    call	0xc1
    btfsc	0x26, 0
    btfsc	0x5, 0x5
    goto	0xd8
    call	0x180
    goto	0xd8
    call	0xc4
    btfsc	0x26, 0
    btfsc	0x5, 0x5
    goto	0xd8
    call	0x180
    goto	0xd8
    bcf	0x12, 0x2
    bcf	0x6, 0x5
    bcf	0x6, 0x6
    clrf	0x2b
    clrf	0x20
    clrw
    movlw	0
    movwf	0x21
    return
    nop
    clrw
    movlw	0x2
    movwf	0x21
    btfsc	0x7, 0x6
    goto	0x110
    goto	0x113
    call	0x136
    btfsc	0x21, 0
    return
    nop
    bcf	0x3, 0x5
    bsf	0x12, 0x2
    btfsc	0x20, 0
    goto	0x11a
    bcf	0x6, 0x7
    goto	0x11c
    bsf	0x6, 0x7
    nop
    btfsc	0x7, 0x5
    goto	0x12d
    bsf	0x6, 0x5
    btfss	0xc, 0x1
    return
    bcf	0xc, 0x1
    incf	0x2b, f
    movlw	0x1
    addwf	0x2b, w
    btfss	0x3, 0
    return
    btfsc	0x20, 0
    goto	0x12b
    call	0xc7
    return
    call	0xca
    return
    bcf	0x12, 0x2
    bcf	0x6, 0x7
    bcf	0x6, 0x5
    clrf	0x2b
    clrf	0x20
    clrw
    movlw	0
    movwf	0x21
    return
    nop
    clrw
    movlw	0x3
    movwf	0x21
    bcf	0xc, 0x1
    bsf	0x12, 0x2
    bsf	0x6, 0x5
    btfsc	0x20, 0
    goto	0x142
    bcf	0x6, 0x6
    bcf	0x6, 0x7
    goto	0x145
    bsf	0x6, 0x6
    bsf	0x6, 0x7
    nop
    btfss	0x24, 0
    goto	0x149
    bcf	0x6, 0x1
    goto	0x14b
    bsf	0x6, 0x1
    nop
    btfsc	0x5, 0x5
    bsf	0x26, 0
    call	0x17d
    btfsc	0x7, 0x5
    goto	0x168
    btfsc	0x7, 0x7
    goto	0x170
    btfss	0xc, 0x1
    goto	0x13c
    bcf	0xc, 0x1
    incf	0x2b, f
    movlw	0x1
    addwf	0x2b, w
    btfss	0x3, 0
    goto	0x13c
    btfsc	0x20, 0
    goto	0x162
    call	0xcd
    btfsc	0x26, 0
    btfsc	0x5, 0x5
    goto	0x13c
    call	0x180
    goto	0x13c
    call	0xd1
    btfsc	0x26, 0
    btfsc	0x5, 0x5
    goto	0x13c
    call	0x180
    goto	0x13c
    bcf	0x12, 0x2
    bcf	0x6, 0x7
    bcf	0x6, 0x5
    clrf	0x2b
    clrw
    movlw	0x1
    movwf	0x21
    return
    nop
    bcf	0x6, 0x6
    bcf	0x6, 0x5
    clrw
    movlw	0x2
    movwf	0x21
    return
    bcf	0x6, 0x3
    bsf	0x25, 0
    return
    bsf	0x6, 0x3
    bcf	0x25, 0
    return
    bsf	0x6, 0x3
    bsf	0x25, 0
    return
    incf	0x24, f
    bcf	0x26, 0
    btfss	0x24, 0
    goto	0x186
    bcf	0x6, 0x1
    return
    bsf	0x6, 0x1
    return
    nop
    nop
    movlw	0xff
    movwf	0x22
    movlw	0xff
    movwf	0x23
    decfsz	0x23, f
    goto	0x18e
    nop
    decfsz	0x22, f
    goto	0x18c
    nop
    bcf	0x3, 0x5
    clrf	0x5
    bsf	0x3, 0x5
    movlw	0x3f
    tris	0x65
    bcf	0x3, 0x5
    clrf	0x6
    bsf	0x3, 0x5
    movlw	0
    tris	0x66
    bcf	0x3, 0x5
    clrf	0x7
    bsf	0x3, 0x5
    movlw	0xfc
    tris	0x67
    bcf	0x3, 0x5
    movlw	0x7
    movwf	0x12
    clrw
    bsf	0x3, 0x5
    movlw	0xff
    movwf	0x12
    bcf	0x3, 0x5
    bsf	0x6, 0x3
    nop
    nop
    bcf	0x6, 0x2
    nop
    nop
    bsf	0x6, 0x1
    clrf	0x11
    clrf	0x20
    clrf	0x24
    clrf	0x25
    clrf	0x26
    clrf	0x21
    clrf	0x27
    clrf	0x2b
    clrf	0x29
    clrf	0x28
    clrf	0x2a
    clrf	0x2d
    clrf	0x2e
    bcf	0x6, 0x2
    clrwdt
    btfss	0x24, 0
    goto	0x1c5
    bcf	0x6, 0x1
    goto	0x1c7
    bsf	0x6, 0x1
    nop
    btfsc	0x25, 0
    call	0x177
    btfss	0x25, 0
    call	0x17a
    nop
    btfsc	0x5, 0x5
    bsf	0x26, 0
    btfsc	0x21, 0x1
    goto	0x1d4
    btfsc	0x7, 0x6
    call	0xd5
    btfsc	0x21, 0
    goto	0x1d1
    btfss	0x7, 0x4
    btfsc	0x21, 0x1
    call	0x109
    btfsc	0x21, 0
    goto	0x1d1
    nop
    btfss	0x24, 0
    goto	0x1de
    bcf	0x6, 0x1
    goto	0x1e0
    bsf	0x6, 0x1
    nop
    btfsc	0x7, 0x3
    goto	0x1ec
    btfsc	0x25, 0
    call	0x177
    btfss	0x25, 0
    call	0x17a
    btfsc	0x7, 0x3
    call	0x177
    btfsc	0x7, 0x2
    call	0x17a
    nop
    goto	0x1ed
    call	0x177
    btfsc	0x26, 0
    btfsc	0x5, 0x5
    goto	0x1f1
    call	0x180
    nop
    btfss	0x2e, 0
    call	0x8b
    btfsc	0x2e, 0
    call	0x6
    btfsc	0x2d, 0
    goto	0x1fc
    btfsc	0x5, 0x2
    btfss	0x5, 0x4
    goto	0x1c1
    bsf	0x2d, 0
    btfss	0x5, 0x2
    btfsc	0x5, 0x4
    goto	0x1c1
    bcf	0x2d, 0
    incf	0x2e, f
    goto	0x1c1
org 0x07FF
    goto	0x188

; -----------------------------------------------------------------------
; eeprom memory
end
