;*********************************** ; disassembled by HellFire v4.00.0 b00 ; 16 Jun 14 17:34:32 ;*********************************** ; Input file I?ioeaea.HEX ; Processor pic12f629 ;========================================================================== ; ; Register Definitions ; ;========================================================================== W EQU H'0000' F EQU H'0001' ;----- Register Files------------------------------------------------------ INDF equ H'0000' TMR0 equ H'0001' PCL equ H'0002' STATUS equ H'0003' FSR equ H'0004' GPIO equ H'0005' PORTB equ H'0006' PCLATH equ H'000A' INTCON equ H'000B' PIR1 equ H'000C' TMR1L equ H'000E' TMR1H equ H'000F' T1CON equ H'0010' CMCON equ H'0019' ADRESH equ H'001E' ADCON0 equ H'001F' OPTION_REG equ H'0081' TRISO equ H'0085' PIE1 equ H'008C' PCON equ H'008E' OSCCAL equ H'0090' WPU equ H'0095' IOCB equ H'0096' VRCON equ H'0099' EEDATA equ H'009A' EEADR equ H'009B' EECON1 equ H'009C' EECON2 equ H'009D' ADRESL equ H'009E' ANSEL equ H'009F' ;---- STATUS bits ---- C equ H'0000' DC equ H'0001' Z equ H'0002' _PD equ H'0003' _TP equ H'0004' RP0 equ H'0005' RP1 equ H'0006' IRP equ H'0007' ;---- GPIO bits ---- GP0 equ H'0000' GP1 equ H'0001' GP2 equ H'0002' GP3 equ H'0003' GP4 equ H'0004' GP5 equ H'0005' ;---- INTCON bits ---- GPIF equ H'0000' INTF equ H'0001' T0IF equ H'0002' GPIE equ H'0003' INTE equ H'0004' T0IE equ H'0005' PEIE equ H'0006' GIE equ H'0007' ;---- PIR1 bits ---- T1IF equ H'0000' CMIF equ H'0003' ADIF equ H'0006' EEIF equ H'0007' ;---- T1CON bits ---- TMR1ON equ H'0000' TMR1CS equ H'0001' _T1SYNC equ H'0002' T1OSCEN equ H'0003' T1CKPS0 equ H'0004' T1CKPS1 equ H'0005' TMR1GE equ H'0006' ;---- CMCON bits ---- CM0 equ H'0000' CM1 equ H'0001' CM2 equ H'0002' CIS equ H'0003' CINV equ H'0004' COUT equ H'0006' ;---- ADCON0 bits ---- ADON equ H'0000' GO equ H'0001' CHS0 equ H'0002' CHS1 equ H'0003' VCFG equ H'0006' ADFM equ H'0007' ;---- OPTION_REG bits ---- PS0 equ H'0000' PS1 equ H'0001' PS2 equ H'0002' PSA equ H'0003' T0SE equ H'0004' T0CS equ H'0005' INTEDG equ H'0006' _GPPU equ H'0007' ;---- PIE1 bits ---- T1IE equ H'0000' CMIE equ H'0003' ADIE equ H'0006' EEIE equ H'0007' ;---- PCON bits ---- _BOD equ H'0000' _POR equ H'0001' ;---- OSCCAL bits ---- CAL0 equ H'0002' CAL1 equ H'0003' CAL2 equ H'0004' CAL3 equ H'0005' CAL4 equ H'0006' CAL5 equ H'0007' ;---- IOCB bits ---- IOCB0 equ H'0000' IOCB1 equ H'0001' IOCB2 equ H'0002' IOCB3 equ H'0003' IOCB4 equ H'0004' IOCB5 equ H'0005' ;---- VRCON bits ---- VR0 equ H'0000' VR1 equ H'0001' VR2 equ H'0002' VR3 equ H'0003' VRR equ H'0005' VREN equ H'0007' ;---- EECON1 bits ---- RD equ H'0000' WR equ H'0001' WREN equ H'0002' WRERR equ H'0003' ;---- ANSEL bits ---- ANS0 equ H'0000' ANS1 equ H'0001' ANS2 equ H'0002' ANS3 equ H'0003' ADCS0 equ H'0004' ADCS1 equ H'0005' ADCS2 equ H'0006' ; Used General Purpose Register REG020 equ H'020' REG021 equ H'021' REG022 equ H'022' REG024 equ H'024' REG025 equ H'025' REG028 equ H'028' REG029 equ H'029' REG02A equ H'02A' REG02B equ H'02B' REG02C equ H'02C' REG02D equ H'02D' REG030 equ H'030' ; Configuration bits __config 0x01C4 ; Eeprom memory dump org 0x002100 de 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF de 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF de 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF de 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF de 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF de 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF de 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF de 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF de 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF de 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF de 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF de 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF de 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF de 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF de 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF de 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF org 0x0000 ResetVector: goto L_0354 HighInterruptVector: btfsc INTCON,GPIF goto L_030B btfsc INTCON,T0IF goto L_0342 retfie L_0009: bcf GPIO,GP0 bcf GPIO,GP1 bcf REG029,3 btfsc REG029,0 goto L_0009 L_000E: bcf REG029,3 bcf REG029,6 movlw 0x07 ;b'0000 0111',' ',.07 movwf REG02B L_0012: movlw 0x03 ;b'0000 0011',' ',.03 movwf REG02C movlw 0x04 ;b'0000 0100',' ',.04 movwf REG028 L_0016: bsf GPIO,GP0 call L_02E3 bcf GPIO,GP1 bcf GPIO,GP0 call L_02E3 decfsz REG02C,F goto L_001E bsf GPIO,GP1 L_001E: btfsc REG029,3 goto L_0050 btfsc REG029,6 goto L_027F decfsz REG028,F goto L_0016 call L_02E3 movlw 0x03 ;b'0000 0011',' ',.03 movwf REG02D L_0027: call L_02F6 bsf GPIO,GP0 bsf GPIO,GP1 call L_02F6 bcf GPIO,GP0 bcf GPIO,GP1 call L_02F6 bsf GPIO,GP0 bsf GPIO,GP1 call L_02F6 bcf GPIO,GP0 bcf GPIO,GP1 btfsc REG029,3 goto L_0050 btfsc REG029,6 goto L_027F decfsz REG02D,F goto L_0027 movlw 0x04 ;b'0000 0100',' ',.04 movwf REG028 movlw 0x03 ;b'0000 0011',' ',.03 movwf REG02C L_003D: bsf GPIO,GP1 bcf GPIO,GP0 call L_02E3 bcf GPIO,GP1 call L_02E3 decfsz REG02C,F goto L_0045 bsf GPIO,GP0 L_0045: decfsz REG028,F goto L_003D call L_02E3 btfsc REG029,3 goto L_0050 btfsc REG029,6 goto L_027F decfsz REG02B,F goto L_0012 btfsc REG029,5 goto L_000E L_0050: bcf REG029,3 bcf REG029,6 movlw 0x09 ;b'0000 1001',' ',.09 movwf REG02B L_0054: call L_0300 bsf GPIO,GP0 bsf GPIO,GP1 call L_02ED bcf GPIO,GP0 bcf GPIO,GP1 call L_02ED bsf GPIO,GP0 bsf GPIO,GP1 btfsc REG029,3 goto L_0073 btfsc REG029,6 goto L_000E call L_02E3 bcf GPIO,GP0 bcf GPIO,GP1 call L_02ED bsf GPIO,GP0 bsf GPIO,GP1 call L_02ED bcf GPIO,GP0 bcf GPIO,GP1 call L_02BD btfsc REG029,3 goto L_0073 btfsc REG029,6 goto L_000E decfsz REG02B,F goto L_0054 btfsc REG029,5 goto L_0050 L_0073: bcf REG029,3 bcf REG029,6 movlw 0x07 ;b'0000 0111',' ',.07 movwf REG02B L_0077: movlw 0x02 ;b'0000 0010',' ',.02 movwf REG02C L_0079: bsf GPIO,GP0 call L_02ED bcf GPIO,GP0 call L_02ED btfsc REG029,3 goto L_0094 btfsc REG029,6 goto L_0050 decfsz REG02C,F goto L_0079 call L_02D8 movlw 0x02 ;b'0000 0010',' ',.02 movwf REG02C L_0086: bsf GPIO,GP1 call L_02ED bcf GPIO,GP1 call L_02ED btfsc REG029,3 goto L_0094 btfsc REG029,6 goto L_0050 decfsz REG02C,F goto L_0086 decfsz REG02B,F goto L_0077 btfsc REG029,5 goto L_0073 L_0094: bcf REG029,3 bcf REG029,6 movlw 0x0C ;b'0000 1100',' ',.12 movwf REG02B L_0098: bsf GPIO,GP1 call L_02E3 bcf GPIO,GP1 bsf GPIO,GP0 call L_02D8 bsf GPIO,GP1 call L_02E3 bsf GPIO,GP1 bcf GPIO,GP0 call L_02D8 btfsc REG029,3 goto L_00AA btfsc REG029,6 goto L_0073 decfsz REG02B,F goto L_0098 btfsc REG029,5 goto L_0094 L_00AA: bcf REG029,3 bcf REG029,6 movlw 0x0C ;b'0000 1100',' ',.12 movwf REG02B L_00AE: movlw 0x03 ;b'0000 0011',' ',.03 movwf REG028 L_00B0: bsf GPIO,GP1 call L_02ED bsf GPIO,GP0 call L_02ED bcf GPIO,GP1 call L_02ED bcf GPIO,GP0 call L_02ED btfsc REG029,3 goto L_00D4 btfsc REG029,6 goto L_0094 decfsz REG028,F goto L_00B0 call L_02D8 call L_02D8 movlw 0x03 ;b'0000 0011',' ',.03 movwf REG028 L_00C2: bsf GPIO,GP0 call L_02ED bsf GPIO,GP1 call L_02ED bcf GPIO,GP0 call L_02ED bcf GPIO,GP1 call L_02ED btfsc REG029,3 goto L_00D4 btfsc REG029,6 goto L_0094 decfsz REG028,F goto L_00C2 decfsz REG02B,F goto L_00AE btfsc REG029,5 goto L_00AA L_00D4: bcf REG029,3 bcf REG029,6 movlw 0x07 ;b'0000 0111',' ',.07 movwf REG02B L_00D8: movlw 0x03 ;b'0000 0011',' ',.03 movwf REG02C movlw 0x04 ;b'0000 0100',' ',.04 movwf REG028 L_00DC: bsf GPIO,GP0 call L_02E3 bcf GPIO,GP1 bcf GPIO,GP0 call L_02E3 decfsz REG02C,F goto L_00E4 bsf GPIO,GP1 L_00E4: btfsc REG029,3 goto L_0102 btfsc REG029,6 goto L_00AA decfsz REG028,F goto L_00DC call L_02E3 movlw 0x04 ;b'0000 0100',' ',.04 movwf REG028 movlw 0x03 ;b'0000 0011',' ',.03 movwf REG02C L_00EF: bsf GPIO,GP1 bcf GPIO,GP0 call L_02E3 bcf GPIO,GP1 call L_02E3 decfsz REG02C,F goto L_00F7 bsf GPIO,GP0 L_00F7: btfsc REG029,3 goto L_0102 btfsc REG029,6 goto L_00AA decfsz REG028,F goto L_00EF call L_02E3 decfsz REG02B,F goto L_00D8 btfsc REG029,5 goto L_00D4 L_0102: bcf REG029,3 bcf REG029,6 movlw 0x0A ;b'0000 1010',' ',.10 movwf REG028 L_0106: movlw 0x05 ;b'0000 0101',' ',.05 movwf REG02B L_0108: bcf GPIO,GP0 bsf GPIO,GP1 call L_02E3 bcf GPIO,GP1 bsf GPIO,GP0 call L_02E3 btfsc REG029,3 goto L_0119 btfsc REG029,6 goto L_00D4 decfsz REG02B,F goto L_0108 call L_02D8 decfsz REG028,F goto L_0106 btfsc REG029,5 goto L_0102 L_0119: bcf REG029,3 bcf REG029,6 movlw 0x0C ;b'0000 1100',' ',.12 movwf REG02B L_011D: bsf GPIO,GP1 call L_02E3 bsf GPIO,GP0 call L_02E3 bcf GPIO,GP1 call L_02E3 bcf GPIO,GP0 call L_02E3 call L_02D8 call L_02D8 btfsc REG029,3 goto L_013D btfsc REG029,6 goto L_0102 bsf GPIO,GP0 call L_02E3 bsf GPIO,GP1 call L_02E3 bcf GPIO,GP0 call L_02E3 bcf GPIO,GP1 call L_02E3 call L_02D8 call L_02D8 btfsc REG029,3 goto L_013D btfsc REG029,6 goto L_0102 decfsz REG02B,F goto L_011D btfsc REG029,5 goto L_0119 L_013D: bcf REG029,3 bcf REG029,6 movlw 0x06 ;b'0000 0110',' ',.06 movwf REG02B L_0141: bsf GPIO,GP1 call L_02E3 bcf GPIO,GP1 call L_02BD call L_02BD bsf GPIO,GP0 call L_02E3 bcf GPIO,GP0 call L_02BD call L_02BD btfsc REG029,3 goto L_0153 btfsc REG029,6 goto L_0119 decfsz REG02B,F goto L_0141 btfsc REG029,5 goto L_013D L_0153: bcf REG029,3 bcf REG029,6 movlw 0x0A ;b'0000 1010',' ',.10 movwf REG02B L_0157: bsf GPIO,GP1 call L_02E3 bcf GPIO,GP1 bsf GPIO,GP0 call L_02E3 bcf GPIO,GP0 call L_02BD call L_02BD btfsc REG029,3 goto L_0167 btfsc REG029,6 goto L_013D decfsz REG02B,F goto L_0157 btfsc REG029,5 goto L_0153 L_0167: bcf REG029,3 bcf REG029,6 movlw 0x0A ;b'0000 1010',' ',.10 movwf REG02B L_016B: bsf GPIO,GP1 bsf GPIO,GP0 call L_02CA bcf GPIO,GP0 bcf GPIO,GP1 call L_02D8 bsf GPIO,GP1 bsf GPIO,GP0 call L_02CA bcf GPIO,GP0 bcf GPIO,GP1 call L_02BD bsf GPIO,GP1 bsf GPIO,GP0 call L_02E3 bcf GPIO,GP0 bcf GPIO,GP1 call L_02E3 bsf GPIO,GP1 bsf GPIO,GP0 call L_02E3 bcf GPIO,GP0 bcf GPIO,GP1 call L_02E3 bsf GPIO,GP1 bsf GPIO,GP0 call L_02E3 bcf GPIO,GP0 bcf GPIO,GP1 call L_02BD call L_02BD btfsc REG029,3 goto L_0192 btfsc REG029,6 goto L_0153 decfsz REG02B,F goto L_016B btfsc REG029,5 goto L_0167 L_0192: bcf REG029,3 bcf REG029,6 movlw 0x07 ;b'0000 0111',' ',.07 movwf REG02B L_0196: bsf GPIO,GP0 call L_02CA bcf GPIO,GP0 call L_02D8 bsf GPIO,GP0 call L_02CA bcf GPIO,GP0 call L_02BD bsf GPIO,GP0 call L_02E3 bcf GPIO,GP0 call L_02F6 bsf GPIO,GP0 bsf GPIO,GP1 call L_02E3 bcf GPIO,GP0 bcf GPIO,GP1 call L_02F6 bsf GPIO,GP0 bsf GPIO,GP1 call L_02E3 bcf GPIO,GP0 bcf GPIO,GP1 call L_02BD call L_02BD bsf GPIO,GP1 call L_02CA bcf GPIO,GP1 call L_02D8 bsf GPIO,GP1 call L_02CA bcf GPIO,GP1 call L_02BD bsf GPIO,GP1 bsf GPIO,GP0 call L_02E3 bcf GPIO,GP1 bcf GPIO,GP0 call L_02E3 bsf GPIO,GP1 bsf GPIO,GP0 call L_02E3 bcf GPIO,GP1 bcf GPIO,GP0 call L_02E3 bsf GPIO,GP1 bsf GPIO,GP0 call L_02E3 bcf GPIO,GP1 bcf GPIO,GP0 call L_02BD call L_02BD btfsc REG029,3 goto L_01D2 btfsc REG029,6 goto L_0167 decfsz REG02B,F goto L_0196 btfsc REG029,5 goto L_0192 L_01D2: bcf REG029,3 bcf REG029,6 movlw 0x0A ;b'0000 1010',' ',.10 movwf REG02B L_01D6: bsf GPIO,GP1 bcf GPIO,GP0 call L_02D8 bsf GPIO,GP1 bsf GPIO,GP0 call L_02D8 bsf GPIO,GP0 bcf GPIO,GP1 call L_02D8 bcf GPIO,GP1 bcf GPIO,GP0 call L_02D8 bsf GPIO,GP1 bcf GPIO,GP0 call L_02D8 bsf GPIO,GP1 bsf GPIO,GP0 call L_02D8 bsf GPIO,GP0 bcf GPIO,GP1 call L_02D8 bcf GPIO,GP1 bcf GPIO,GP0 call L_02D8 bsf GPIO,GP1 bcf GPIO,GP0 call L_02D8 bcf GPIO,GP1 bsf GPIO,GP0 call L_02D8 bcf GPIO,GP0 bsf GPIO,GP1 call L_02D8 bcf GPIO,GP1 bsf GPIO,GP0 call L_02D8 bsf GPIO,GP1 bcf GPIO,GP0 call L_02D8 bcf GPIO,GP1 bsf GPIO,GP0 call L_02E3 bsf GPIO,GP1 bsf GPIO,GP0 call L_02E3 bcf GPIO,GP0 bcf GPIO,GP1 call L_02E3 bsf GPIO,GP1 bsf GPIO,GP0 call L_02E3 bcf GPIO,GP0 bcf GPIO,GP1 call L_02E3 bsf GPIO,GP1 bsf GPIO,GP0 call L_02E3 bcf GPIO,GP0 bcf GPIO,GP1 call L_02E3 bsf GPIO,GP1 bsf GPIO,GP0 call L_02E3 bcf GPIO,GP0 bcf GPIO,GP1 call L_02E3 bsf GPIO,GP1 bsf GPIO,GP0 call L_02E3 bcf GPIO,GP0 bcf GPIO,GP1 call L_02E3 bsf GPIO,GP1 bsf GPIO,GP0 call L_02E3 bcf GPIO,GP0 bcf GPIO,GP1 call L_02E3 bsf GPIO,GP1 bsf GPIO,GP0 call L_02E3 bcf GPIO,GP0 bcf GPIO,GP1 call L_02E3 bsf GPIO,GP1 bcf GPIO,GP0 call L_02D8 bcf GPIO,GP1 bsf GPIO,GP0 call L_02D8 bcf GPIO,GP0 bsf GPIO,GP1 call L_02D8 bcf GPIO,GP1 bsf GPIO,GP0 call L_02D8 bsf GPIO,GP1 bcf GPIO,GP0 call L_02D8 bcf GPIO,GP1 bsf GPIO,GP0 call L_02D8 btfsc REG029,3 goto L_0244 btfsc REG029,6 goto L_0192 decfsz REG02B,F goto L_01D6 btfsc REG029,5 goto L_01D2 L_0244: bcf REG029,3 bcf REG029,6 movlw 0x0A ;b'0000 1010',' ',.10 movwf REG02B L_0248: bsf GPIO,GP1 call L_02D8 bcf GPIO,GP1 call L_02D8 bsf GPIO,GP1 call L_02D8 bcf GPIO,GP1 call L_02D8 bsf GPIO,GP1 call L_02D8 bcf GPIO,GP1 call L_02D8 bsf GPIO,GP0 bsf GPIO,GP1 call L_02D8 bcf GPIO,GP0 call L_02D8 bsf GPIO,GP0 call L_02D8 bcf GPIO,GP0 call L_02D8 bsf GPIO,GP0 call L_02D8 bcf GPIO,GP0 call L_02D8 bsf GPIO,GP0 call L_02D8 bcf GPIO,GP0 bcf GPIO,GP1 call L_02D8 bsf GPIO,GP0 bsf GPIO,GP1 call L_02D8 bcf GPIO,GP0 bcf GPIO,GP1 call L_02D8 bsf GPIO,GP0 bsf GPIO,GP1 call L_02D8 bcf GPIO,GP0 bcf GPIO,GP1 call L_02D8 bsf GPIO,GP0 bsf GPIO,GP1 call L_02D8 bcf GPIO,GP0 bcf GPIO,GP1 btfsc REG029,3 goto L_027F btfsc REG029,6 goto L_01D2 decfsz REG02B,F goto L_0248 btfsc REG029,5 goto L_0244 L_027F: bcf REG029,3 bcf REG029,6 movlw 0x03 ;b'0000 0011',' ',.03 movwf REG030 L_0283: movlw 0x03 ;b'0000 0011',' ',.03 movwf REG02B L_0285: bsf GPIO,GP1 call L_02E3 bsf GPIO,GP0 call L_02E3 bcf GPIO,GP1 call L_02E3 bcf GPIO,GP0 call L_02E3 call L_02D8 call L_02D8 btfsc REG029,3 goto L_000E btfsc REG029,6 goto L_0244 bsf GPIO,GP0 call L_02E3 bsf GPIO,GP1 call L_02E3 bcf GPIO,GP0 call L_02E3 bcf GPIO,GP1 call L_02E3 call L_02D8 call L_02D8 decfsz REG02B,F goto L_0285 movlw 0x03 ;b'0000 0011',' ',.03 movwf REG02D L_02A1: call L_02F6 bsf GPIO,GP0 bsf GPIO,GP1 call L_02F6 bcf GPIO,GP0 bcf GPIO,GP1 call L_02F6 bsf GPIO,GP0 bsf GPIO,GP1 call L_02F6 bcf GPIO,GP0 bcf GPIO,GP1 call L_02F6 btfsc REG029,3 goto L_000E btfsc REG029,6 goto L_0244 decfsz REG02D,F goto L_02A1 btfsc REG029,3 goto L_000E btfsc REG029,6 goto L_0244 decfsz REG030,F goto L_0283 btfsc REG029,5 goto L_027F goto L_000E L_02BD: movlw 0x99 ;b'1001 1001','?',.153 movwf REG020 movlw 0x86 ;b'1000 0110','?',.134 movwf REG021 movlw 0x02 ;b'0000 0010',' ',.02 movwf REG022 L_02C3: decfsz REG020,F goto L_02C3 decfsz REG021,F goto L_02C3 decfsz REG022,F goto L_02C3 return L_02CA: movlw 0xBA ;b'1011 1010','?',.186 movwf REG020 movlw 0x04 ;b'0000 0100',' ',.04 movwf REG021 movlw 0x02 ;b'0000 0010',' ',.02 movwf REG022 L_02D0: decfsz REG020,F goto L_02D0 decfsz REG021,F goto L_02D0 decfsz REG022,F goto L_02D0 nop return L_02D8: movlw 0xDD ;b'1101 1101','Y',.221 movwf REG020 movlw 0x82 ;b'1000 0010','?',.130 movwf REG021 L_02DC: decfsz REG020,F goto L_02DC decfsz REG021,F goto L_02DC nop nop return L_02E3: movlw 0xEE ;b'1110 1110','i',.238 movwf REG020 movlw 0x41 ;b'0100 0001','A',.65 movwf REG021 L_02E7: decfsz REG020,F goto L_02E7 decfsz REG021,F goto L_02E7 nop return L_02ED: movlw 0xF5 ;b'1111 0101','o',.245 movwf REG020 movlw 0x27 ;b'0010 0111',''',.39 movwf REG021 L_02F1: decfsz REG020,F goto L_02F1 decfsz REG021,F goto L_02F1 return L_02F6: movlw 0xF8 ;b'1111 1000','o',.248 movwf REG020 movlw 0x1A ;b'0001 1010','',.26 movwf REG021 L_02FA: decfsz REG020,F goto L_02FA decfsz REG021,F goto L_02FA nop return L_0300: movlw 0xFB ;b'1111 1011','u',.251 movwf REG020 movlw 0x0D ;b'0000 1101',' ',.13 movwf REG021 L_0304: decfsz REG020,F goto L_0304 decfsz REG021,F goto L_0304 nop nop return L_030B: movwf REG024 swapf STATUS,W movwf REG025 bcf STATUS,RP0 movf GPIO,W btfsc GPIO,GP5 goto L_0313 goto L_033C L_0313: btfsc GPIO,GP4 goto L_0316 goto L_031C L_0316: btfsc GPIO,GP3 goto L_032E bsf REG029,3 bsf REG029,5 bcf REG029,0 goto L_032E L_031C: bcf REG029,0 call L_02D8 btfsc REG029,2 goto L_0322 bsf REG029,2 goto L_032E L_0322: bcf GPIO,GP0 bcf GPIO,GP1 L_0324: btfss GPIO,GP4 goto L_0324 L_0326: btfss GPIO,GP3 goto L_0339 btfss GPIO,GP5 goto L_033C call L_02D8 btfsc GPIO,GP4 goto L_0326 bcf REG029,5 L_032E: movlw 0x00 ;b'0000 0000',' ',.00 movwf TMR0 bcf INTCON,T0IF bsf INTCON,T0IE bcf INTCON,GPIE bcf INTCON,GPIF swapf REG025,W movwf STATUS swapf REG024,F swapf REG024,W retfie L_0339: bsf REG029,5 bsf REG029,2 goto L_032E L_033C: bsf REG029,6 bsf REG029,5 bcf REG029,3 bcf REG029,0 bsf REG029,2 goto L_032E L_0342: movwf REG024 swapf STATUS,W movwf REG025 bcf STATUS,RP0 decfsz REG02A,F goto L_034D bsf INTCON,GPIE bcf INTCON,T0IE bcf INTCON,GPIF movlw 0x0A ;b'0000 1010',' ',.10 movwf REG02A L_034D: bcf INTCON,T0IF bcf INTCON,GPIF swapf REG025,W movwf STATUS swapf REG024,F swapf REG024,W retfie L_0354: bsf STATUS,RP0 call L_03FF movwf OSCCAL bcf STATUS,RP0 movlw 0x11 ;b'0001 0001','',.17 movwf T1CON movlw 0x07 ;b'0000 0111',' ',.07 movwf CMCON bsf STATUS,RP0 clrf IOCB movlw 0x38 ;b'0011 1000','8',.56 movwf TRISO movlw 0xAF ;b'1010 1111','?',.175 movwf VRCON movlw 0x87 ;b'1000 0111','?',.135 movwf OPTION_REG bcf STATUS,RP0 bsf STATUS,RP0 bsf WPU,4 bsf IOCB,IOCB5 bsf IOCB,IOCB4 bsf IOCB,IOCB3 bcf STATUS,RP0 movlw 0x88 ;b'1000 1000','?',.136 movwf INTCON clrf GPIO bsf REG029,0 movlw 0x0A ;b'0000 1010',' ',.10 movwf REG02A goto L_0009 end ; directive 'end of program'