- ; original File = C:\Users\前俊电子\Desktop\PIC16F73-2KW主板程序.txt
- processor 16F73
- #include <P16F73.INC>
- __config _CP_ALL & _BODEN_OFF & _PWRTE_OFF & _WDT_OFF & _HS_OSC ; 0x3FAA
- ; __idlocs 0xFF, 0xFF, 0xFF, 0xFF
- ; RAM-Variable
- LRAM_0x20 equ 0x20
- LRAM_0x22 equ 0x22
- LRAM_0x25 equ 0x25
- LRAM_0x26 equ 0x26
- LRAM_0x27 equ 0x27
- LRAM_0x29 equ 0x29
- LRAM_0x30 equ 0x30
- LRAM_0x31 equ 0x31
- LRAM_0x32 equ 0x32
- LRAM_0x33 equ 0x33
- LRAM_0x34 equ 0x34
- LRAM_0x35 equ 0x35
- LRAM_0x36 equ 0x36
- LRAM_0x37 equ 0x37
- LRAM_0x38 equ 0x38
- LRAM_0x39 equ 0x39
- LRAM_0x3A equ 0x3A
- LRAM_0x3C equ 0x3C
- LRAM_0x3D equ 0x3D
- LRAM_0x3E equ 0x3E
- LRAM_0x3F equ 0x3F
- LRAM_0x40 equ 0x40
- LRAM_0x41 equ 0x41
- LRAM_0x42 equ 0x42
- LRAM_0x43 equ 0x43
- LRAM_0x44 equ 0x44
- LRAM_0x45 equ 0x45
- LRAM_0x46 equ 0x46
- LRAM_0x47 equ 0x47
- LRAM_0x48 equ 0x48
- LRAM_0x49 equ 0x49
- LRAM_0x4A equ 0x4A
- LRAM_0x4B equ 0x4B
- LRAM_0x4C equ 0x4C
- LRAM_0x4D equ 0x4D
- LRAM_0x4E equ 0x4E
- LRAM_0x4F equ 0x4F
- LRAM_0x50 equ 0x50
- LRAM_0x51 equ 0x51
- LRAM_0x52 equ 0x52
- LRAM_0x53 equ 0x53
- LRAM_0x54 equ 0x54
- LRAM_0x55 equ 0x55
- LRAM_0x56 equ 0x56
- LRAM_0x57 equ 0x57
- LRAM_0x58 equ 0x58
- LRAM_0x59 equ 0x59
- LRAM_0x5A equ 0x5A
- LRAM_0x5B equ 0x5B
- LRAM_0x5C equ 0x5C
- LRAM_0x5D equ 0x5D
- LRAM_0x5E equ 0x5E
- LRAM_0x5F equ 0x5F
- LRAM_0x61 equ 0x61
- LRAM_0x62 equ 0x62
- LRAM_0x63 equ 0x63
- LRAM_0x64 equ 0x64
- LRAM_0x65 equ 0x65
- LRAM_0x66 equ 0x66
- LRAM_0x67 equ 0x67
- LRAM_0x68 equ 0x68
- LRAM_0x69 equ 0x69
- LRAM_0x6A equ 0x6A
- LRAM_0x6B equ 0x6B
- LRAM_0x6C equ 0x6C
- LRAM_0x6D equ 0x6D
- LRAM_0x6E equ 0x6E
- LRAM_0x71 equ 0x71
- LRAM_0x74 equ 0x74
- LRAM_0x77 equ 0x77
- LRAM_0x79 equ 0x79
- LRAM_0x7B equ 0x7B
- LRAM_0x7D equ 0x7D
- LRAM_0x7E equ 0x7E
- LRAM_0x7F equ 0x7F
- ; Program
- Org 0x0000
- ; Reset-Vector
- CLRF PCLATH ; !!Bank Program-Page-Select
- GOTO LADR_0x0010 ; !!Bank!! 0x0010 - 0x0810
- ADDLW 0xFF
- ADDLW 0xFF
- ; Interrupt-Vector
- GOTO LADR_0x04E7 ; !!Bank!! 0x04E7 - 0x0CE7
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- LADR_0x0010
- BCF INTCON,GIE
- BCF STATUS,IRP
- BCF STATUS,RP1 ; !!Bank Register-Bank(2/3)-Select
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- MOVLW 0x02
- MOVWF TMR1L ; !!Bank!! TMR1L - PCON - PMDATH - Unimplemented
- MOVLW 0x8F
- MOVWF TMR0 ; !!Bank!! TMR0 - OPTION_REG - TMR0 - OPTION_REG
- MOVLW 0x00
- MOVWF ADCON0 ; !!Bank!! ADCON0 - ADCON1 - Unimplemented - Unimplemented
- MOVLW 0xFF
- MOVWF PORTA ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF PORTB ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- MOVLW 0xF0
- MOVWF PORTC ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- MOVLW 0xF9
- MOVWF T2CON ; !!Bank!! T2CON - PR2 - Unimplemented - Unimplemented
- BCF PIR1,1 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- MOVLW 0x00
- MOVWF CCP1CON ; !!Bank!! CCP1CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR1L ; !!Bank!! CCPR1L - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCP2CON ; !!Bank!! CCP2CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR2L ; !!Bank!! CCPR2L - Unimplemented - Unimplemented - Unimplemented
- CLRF T2CON ; !!Bank!! T2CON - PR2 - Unimplemented - Unimplemented
- BSF T2CON,2 ; !!Bank!! T2CON - PR2 - Unimplemented - Unimplemented
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- MOVLW 0xFF
- MOVWF PORTA ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
- MOVLW 0xBB
- MOVWF PORTB ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- MOVLW 0x39
- MOVWF PORTC ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- MOVLW 0xFF
- MOVWF LRAM_0x36
- BSF PORTB,1 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTB,6 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTB,5 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTB,7 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTB,0 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- LADR_0x003C
- BSF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,2 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,1 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BSF PORTC,7 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- NOP
- BTFSC PORTC,7 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- GOTO LADR_0x003C ; !!Bank!! 0x003C - 0x083C
- NOP
- NOP
- DECFSZ LRAM_0x36,F
- GOTO LADR_0x003C ; !!Bank!! 0x003C - 0x083C
- MOVLW 0xFF
- MOVWF LRAM_0x36
- LADR_0x004A
- BSF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,2 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,1 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BSF PORTC,7 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- NOP
- BTFSS PORTC,7 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- GOTO LADR_0x004A ; !!Bank!! 0x004A - 0x084A
- NOP
- NOP
- DECFSZ LRAM_0x36,F
- GOTO LADR_0x004A ; !!Bank!! 0x004A - 0x084A
- MOVLW 0xFF
- MOVWF LRAM_0x36
- CLRF LRAM_0x30
- CLRF LRAM_0x31
- CLRF LRAM_0x32
- CLRF LRAM_0x33
- CLRF LRAM_0x34
- CLRF LRAM_0x36
- CLRF LRAM_0x37
- CLRF LRAM_0x38
- CLRF LRAM_0x39
- CLRF LRAM_0x3A
- CLRF LRAM_0x3C
- CLRF LRAM_0x3D
- CLRF LRAM_0x3E
- CLRF LRAM_0x3F
- CLRF LRAM_0x40
- CLRF LRAM_0x41
- CLRF LRAM_0x42
- CLRF LRAM_0x43
- CLRF LRAM_0x44
- CLRF LRAM_0x45
- CLRF LRAM_0x46
- CLRF LRAM_0x47
- CLRF LRAM_0x48
- CLRF LRAM_0x49
- CLRF LRAM_0x4A
- CLRF LRAM_0x4B
- CLRF LRAM_0x4C
- CLRF LRAM_0x4D
- CLRF LRAM_0x4E
- CLRF LRAM_0x4F
- CLRF LRAM_0x50
- CLRF LRAM_0x52
- CLRF LRAM_0x53
- CLRF LRAM_0x54
- CLRF LRAM_0x55
- CLRF LRAM_0x6B
- CLRF LRAM_0x6C
- MOVLW 0xFF
- MOVWF LRAM_0x6A
- MOVLW 0x50
- MOVWF LRAM_0x56
- MOVLW 0xFF
- MOVWF LRAM_0x57
- MOVLW 0xFF
- MOVWF LRAM_0x58
- MOVLW 0xFF
- MOVWF LRAM_0x59
- MOVLW 0x9D
- MOVWF LRAM_0x5A
- MOVLW 0x01
- MOVWF LRAM_0x61
- MOVLW 0x28
- MOVWF LRAM_0x5B
- BCF LRAM_0x63,0
- BCF LRAM_0x63,1
- BCF LRAM_0x63,2
- MOVLW 0x00
- MOVWF LRAM_0x64
- MOVLW 0x40
- MOVWF LRAM_0x65
- MOVLW 0x28
- MOVWF LRAM_0x5C
- MOVLW 0x00
- MOVWF LRAM_0x5D
- LADR_0x0098
- MOVLW 0xA0
- ADDWF LRAM_0x5D,W
- MOVWF FSR
- MOVLW 0x00
- MOVWF INDF
- MOVLW 0xD0
- ADDWF LRAM_0x5D,W
- MOVWF FSR
- MOVLW 0x20
- MOVWF INDF
- INCF LRAM_0x5D,F
- DECFSZ LRAM_0x5C,F
- GOTO LADR_0x0098 ; !!Bank!! 0x0098 - 0x0898
- NOP
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BCF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BCF INTCON,PEIE
- BCF INTCON,GIE
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BCF LRAM_0x37,0
- BSF LRAM_0x38,0
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- LADR_0x00B1
- NOP
- BCF PORTB,1 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTB,5 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BCF PORTC,0 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- BTFSS LRAM_0x6A,6
- GOTO LADR_0x00C6 ; !!Bank!! 0x00C6 - 0x08C6
- NOP
- BSF PORTC,6 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- NOP
- BTFSS PORTC,6 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- GOTO LADR_0x00C1 ; !!Bank!! 0x00C1 - 0x08C1
- CLRF LRAM_0x6B
- BSF LRAM_0x6A,6
- GOTO LADR_0x00D3 ; !!Bank!! 0x00D3 - 0x08D3
- LADR_0x00C1
- DECFSZ LRAM_0x6B,F
- GOTO LADR_0x00D3 ; !!Bank!! 0x00D3 - 0x08D3
- CLRF LRAM_0x6B
- BCF LRAM_0x6A,6
- GOTO LADR_0x00D3 ; !!Bank!! 0x00D3 - 0x08D3
- LADR_0x00C6
- BSF PORTC,6 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- NOP
- BTFSC PORTC,6 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- GOTO LADR_0x00CE ; !!Bank!! 0x00CE - 0x08CE
- CLRF LRAM_0x6B
- BCF LRAM_0x6A,6
- GOTO LADR_0x00D3 ; !!Bank!! 0x00D3 - 0x08D3
- LADR_0x00CE
- DECFSZ LRAM_0x6B,F
- GOTO LADR_0x00D3 ; !!Bank!! 0x00D3 - 0x08D3
- CLRF LRAM_0x6B
- BSF LRAM_0x6A,6
- GOTO LADR_0x00D3 ; !!Bank!! 0x00D3 - 0x08D3
- LADR_0x00D3
- NOP
- BTFSS LRAM_0x6A,5
- GOTO LADR_0x00E6 ; !!Bank!! 0x00E6 - 0x08E6
- NOP
- BSF PORTC,5 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- NOP
- BTFSS PORTC,5 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- GOTO LADR_0x00E0 ; !!Bank!! 0x00E0 - 0x08E0
- CLRF LRAM_0x6C
- BSF LRAM_0x6A,5
- BSF PORTB,0 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- GOTO LADR_0x00F5 ; !!Bank!! 0x00F5 - 0x08F5
- LADR_0x00E0
- DECFSZ LRAM_0x6C,F
- GOTO LADR_0x00F5 ; !!Bank!! 0x00F5 - 0x08F5
- CLRF LRAM_0x6C
- BCF LRAM_0x6A,5
- BCF PORTB,0 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- GOTO LADR_0x00F5 ; !!Bank!! 0x00F5 - 0x08F5
- LADR_0x00E6
- BSF PORTC,5 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- NOP
- BTFSC PORTC,5 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- GOTO LADR_0x00EF ; !!Bank!! 0x00EF - 0x08EF
- CLRF LRAM_0x6C
- BCF LRAM_0x6A,5
- BCF PORTB,0 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- GOTO LADR_0x00F5 ; !!Bank!! 0x00F5 - 0x08F5
- LADR_0x00EF
- DECFSZ LRAM_0x6C,F
- GOTO LADR_0x00F5 ; !!Bank!! 0x00F5 - 0x08F5
- CLRF LRAM_0x6C
- BSF LRAM_0x6A,5
- BSF PORTB,0 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- GOTO LADR_0x00F5 ; !!Bank!! 0x00F5 - 0x08F5
- LADR_0x00F5
- NOP
- GOTO LADR_0x0109 ; !!Bank!! 0x0109 - 0x0909
- NOP
- DECFSZ LRAM_0x57,F
- GOTO LADR_0x0109 ; !!Bank!! 0x0109 - 0x0909
- MOVLW 0xFF
- MOVWF LRAM_0x57
- DECFSZ LRAM_0x58,F
- GOTO LADR_0x0109 ; !!Bank!! 0x0109 - 0x0909
- MOVLW 0xFF
- MOVWF LRAM_0x58
- DECFSZ LRAM_0x59,F
- GOTO LADR_0x0109 ; !!Bank!! 0x0109 - 0x0909
- MOVLW 0xFF
- MOVWF LRAM_0x59
- DECFSZ LRAM_0x5A,F
- GOTO LADR_0x0109 ; !!Bank!! 0x0109 - 0x0909
- MOVLW 0xFF
- MOVWF LRAM_0x5A
- GOTO LADR_0x0010 ; !!Bank!! 0x0010 - 0x0810
- LADR_0x0109
- MOVLW 0xFF
- MOVWF LRAM_0x54
- BSF PORTC,4 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- NOP
- BTFSS PORTC,4 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- GOTO LADR_0x0114 ; !!Bank!! 0x0114 - 0x0914
- MOVLW 0xFF
- MOVWF LRAM_0x53
- MOVWF LRAM_0x55
- GOTO LADR_0x0147 ; !!Bank!! 0x0147 - 0x0947
- LADR_0x0114
- DECFSZ LRAM_0x53,F
- GOTO LADR_0x0147 ; !!Bank!! 0x0147 - 0x0947
- NOP
- LADR_0x0117
- NOP
- CLRF LRAM_0x54
- LADR_0x0119
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BCF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BCF INTCON,PEIE
- BCF INTCON,GIE
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- MOVLW 0x00
- MOVWF T1CON ; !!Bank!! T1CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF TMR1L ; !!Bank!! TMR1L - PCON - PMDATH - Unimplemented
- MOVLW 0x8B
- MOVWF TMR1H ; !!Bank!! TMR1H - Unimplemented - PMADRH - Unimplemented
- NOP
- BCF PORTB,2 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTB,3 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,2 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,1 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTB,5 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- NOP
- MOVLW 0x00
- MOVWF CCP1CON ; !!Bank!! CCP1CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR1L ; !!Bank!! CCPR1L - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCP2CON ; !!Bank!! CCP2CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR2L ; !!Bank!! CCPR2L - Unimplemented - Unimplemented - Unimplemented
- BSF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,2 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,1 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BSF PORTC,7 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- NOP
- BTFSC PORTC,7 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- GOTO LADR_0x0117 ; !!Bank!! 0x0117 - 0x0917
- NOP
- DECFSZ LRAM_0x54,F
- GOTO LADR_0x0119 ; !!Bank!! 0x0119 - 0x0919
- LADR_0x013F
- BSF PORTC,7 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- NOP
- BTFSS PORTC,7 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- GOTO LADR_0x013F ; !!Bank!! 0x013F - 0x093F
- NOP
- NOP
- GOTO LADR_0x0010 ; !!Bank!! 0x0010 - 0x0810
- LADR_0x0147
- NOP
- BSF PORTC,7 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- NOP
- BTFSS PORTC,7 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- GOTO LADR_0x0150 ; !!Bank!! 0x0150 - 0x0950
- MOVLW 0xFF
- MOVWF LRAM_0x36
- GOTO LADR_0x016F ; !!Bank!! 0x016F - 0x096F
- LADR_0x0150
- DECFSZ LRAM_0x36,F
- GOTO LADR_0x016F ; !!Bank!! 0x016F - 0x096F
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BCF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BCF INTCON,PEIE
- BCF INTCON,GIE
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BCF PORTB,2 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTB,3 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,2 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,1 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- MOVLW 0x00
- MOVWF CCP1CON ; !!Bank!! CCP1CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR1L ; !!Bank!! CCPR1L - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCP2CON ; !!Bank!! CCP2CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR2L ; !!Bank!! CCPR2L - Unimplemented - Unimplemented - Unimplemented
- LADR_0x0165
- BSF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,2 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,1 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BSF PORTC,7 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- NOP
- BTFSS PORTC,7 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- GOTO LADR_0x0165 ; !!Bank!! 0x0165 - 0x0965
- NOP
- GOTO LADR_0x0010 ; !!Bank!! 0x0010 - 0x0810
- LADR_0x016F
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- MOVLW 0xC1
- MOVWF ADCON0 ; !!Bank!! ADCON0 - ADCON1 - Unimplemented - Unimplemented
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- BSF ADCON0,2 ; !!Bank!! ADCON0 - ADCON1 - Unimplemented - Unimplemented
- LADR_0x0175
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- BTFSC ADCON0,2 ; !!Bank!! ADCON0 - ADCON1 - Unimplemented - Unimplemented
- GOTO LADR_0x0175 ; !!Bank!! 0x0175 - 0x0975
- MOVF ADRES,W ; !!Bank!! ADRES - Unimplemented - Unimplemented - Unimplemented
- ADDWF LRAM_0x30,F
- MOVF STATUS,W
- MOVWF LRAM_0x35
- RRF LRAM_0x30,F
- BTFSS LRAM_0x35,0
- GOTO LADR_0x0181 ; !!Bank!! 0x0181 - 0x0981
- BSF LRAM_0x30,7
- GOTO LADR_0x0183 ; !!Bank!! 0x0183 - 0x0983
- LADR_0x0181
- BCF LRAM_0x30,7
- GOTO LADR_0x0183 ; !!Bank!! 0x0183 - 0x0983
- LADR_0x0183
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- MOVLW 0xC9
- MOVWF ADCON0 ; !!Bank!! ADCON0 - ADCON1 - Unimplemented - Unimplemented
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- BSF ADCON0,2 ; !!Bank!! ADCON0 - ADCON1 - Unimplemented - Unimplemented
- LADR_0x0189
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- BTFSC ADCON0,2 ; !!Bank!! ADCON0 - ADCON1 - Unimplemented - Unimplemented
- GOTO LADR_0x0189 ; !!Bank!! 0x0189 - 0x0989
- MOVF ADRES,W ; !!Bank!! ADRES - Unimplemented - Unimplemented - Unimplemented
- ADDWF LRAM_0x31,F
- MOVF STATUS,W
- MOVWF LRAM_0x35
- RRF LRAM_0x31,F
- BTFSS LRAM_0x35,0
- GOTO LADR_0x0195 ; !!Bank!! 0x0195 - 0x0995
- BSF LRAM_0x31,7
- GOTO LADR_0x0197 ; !!Bank!! 0x0197 - 0x0997
- LADR_0x0195
- BCF LRAM_0x31,7
- GOTO LADR_0x0197 ; !!Bank!! 0x0197 - 0x0997
- LADR_0x0197
- NOP
- MOVLW 0xD1
- MOVWF ADCON0 ; !!Bank!! ADCON0 - ADCON1 - Unimplemented - Unimplemented
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- BSF ADCON0,2 ; !!Bank!! ADCON0 - ADCON1 - Unimplemented - Unimplemented
- LADR_0x019C
- BTFSC ADCON0,2 ; !!Bank!! ADCON0 - ADCON1 - Unimplemented - Unimplemented
- GOTO LADR_0x019C ; !!Bank!! 0x019C - 0x099C
- MOVF ADRES,W ; !!Bank!! ADRES - Unimplemented - Unimplemented - Unimplemented
- ADDWF LRAM_0x32,F
- MOVF STATUS,W
- MOVWF LRAM_0x35
- RRF LRAM_0x32,F
- BTFSS LRAM_0x35,0
- GOTO LADR_0x01A7 ; !!Bank!! 0x01A7 - 0x09A7
- BSF LRAM_0x32,7
- GOTO LADR_0x01A9 ; !!Bank!! 0x01A9 - 0x09A9
- LADR_0x01A7
- BCF LRAM_0x32,7
- GOTO LADR_0x01A9 ; !!Bank!! 0x01A9 - 0x09A9
- LADR_0x01A9
- NOP
- MOVLW 0xD9
- MOVWF ADCON0 ; !!Bank!! ADCON0 - ADCON1 - Unimplemented - Unimplemented
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- BSF ADCON0,2 ; !!Bank!! ADCON0 - ADCON1 - Unimplemented - Unimplemented
- LADR_0x01AE
- BTFSC ADCON0,2 ; !!Bank!! ADCON0 - ADCON1 - Unimplemented - Unimplemented
- GOTO LADR_0x01AE ; !!Bank!! 0x01AE - 0x09AE
- MOVF ADRES,W ; !!Bank!! ADRES - Unimplemented - Unimplemented - Unimplemented
- ADDWF LRAM_0x33,F
- MOVF STATUS,W
- MOVWF LRAM_0x35
- RRF LRAM_0x33,F
- BTFSS LRAM_0x35,0
- GOTO LADR_0x01B9 ; !!Bank!! 0x01B9 - 0x09B9
- BSF LRAM_0x33,7
- GOTO LADR_0x01BB ; !!Bank!! 0x01BB - 0x09BB
- LADR_0x01B9
- BCF LRAM_0x33,7
- GOTO LADR_0x01BB ; !!Bank!! 0x01BB - 0x09BB
- LADR_0x01BB
- NOP
- MOVLW 0xE1
- MOVWF ADCON0 ; !!Bank!! ADCON0 - ADCON1 - Unimplemented - Unimplemented
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- BSF ADCON0,2 ; !!Bank!! ADCON0 - ADCON1 - Unimplemented - Unimplemented
- LADR_0x01C0
- BTFSC ADCON0,2 ; !!Bank!! ADCON0 - ADCON1 - Unimplemented - Unimplemented
- GOTO LADR_0x01C0 ; !!Bank!! 0x01C0 - 0x09C0
- MOVF ADRES,W ; !!Bank!! ADRES - Unimplemented - Unimplemented - Unimplemented
- ADDWF LRAM_0x34,F
- MOVF STATUS,W
- MOVWF LRAM_0x35
- RRF LRAM_0x34,F
- BTFSS LRAM_0x35,0
- GOTO LADR_0x01CB ; !!Bank!! 0x01CB - 0x09CB
- BSF LRAM_0x34,7
- GOTO LADR_0x01CD ; !!Bank!! 0x01CD - 0x09CD
- LADR_0x01CB
- BCF LRAM_0x34,7
- GOTO LADR_0x01CD ; !!Bank!! 0x01CD - 0x09CD
- LADR_0x01CD
- NOP
- BTFSC LRAM_0x37,0
- GOTO LADR_0x01E9 ; !!Bank!! 0x01E9 - 0x09E9
- NOP
- BSF PORTB,6 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BCF PORTB,7 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BTFSS LRAM_0x6A,6
- GOTO LADR_0x027B ; !!Bank!! 0x027B - 0x0A7B
- NOP
- BTFSC LRAM_0x38,0
- GOTO LADR_0x0247 ; !!Bank!! 0x0247 - 0x0A47
- NOP
- MOVLW 0x46
- SUBWF LRAM_0x30,W
- BTFSS STATUS,C
- GOTO LADR_0x01E0 ; !!Bank!! 0x01E0 - 0x09E0
- MOVLW 0xFF
- MOVWF LRAM_0x49
- GOTO LADR_0x01E4 ; !!Bank!! 0x01E4 - 0x09E4
- LADR_0x01E0
- DECFSZ LRAM_0x49,F
- GOTO LADR_0x01E4 ; !!Bank!! 0x01E4 - 0x09E4
- NOP
- GOTO LADR_0x027B ; !!Bank!! 0x027B - 0x0A7B
- LADR_0x01E4
- NOP
- BTFSC LRAM_0x38,1
- GOTO LADR_0x02B8 ; !!Bank!! 0x02B8 - 0x0AB8
- NOP
- GOTO LADR_0x036A ; !!Bank!! 0x036A - 0x0B6A
- LADR_0x01E9
- BSF PORTB,7 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BTFSS LRAM_0x6A,6
- GOTO LADR_0x01FE ; !!Bank!! 0x01FE - 0x09FE
- MOVLW 0x4E
- SUBWF LRAM_0x30,W
- BTFSS STATUS,C
- GOTO LADR_0x01FE ; !!Bank!! 0x01FE - 0x09FE
- NOP
- DECFSZ LRAM_0x49,F
- GOTO LADR_0x0202 ; !!Bank!! 0x0202 - 0x0A02
- MOVLW 0xFF
- MOVWF LRAM_0x49
- DECFSZ LRAM_0x4C,F
- GOTO LADR_0x0202 ; !!Bank!! 0x0202 - 0x0A02
- NOP
- MOVLW 0xFF
- MOVWF LRAM_0x6D
- MOVLW 0x60
- MOVWF LRAM_0x6E
- NOP
- GOTO LADR_0x0208 ; !!Bank!! 0x0208 - 0x0A08
- LADR_0x01FE
- MOVLW 0xFF
- MOVWF LRAM_0x49
- MOVLW 0x80
- MOVWF LRAM_0x4C
- LADR_0x0202
- NOP
- BTFSC LRAM_0x3A,0
- GOTO LADR_0x03BC ; !!Bank!! 0x03BC - 0x0BBC
- NOP
- GOTO LADR_0x04B4 ; !!Bank!! 0x04B4 - 0x0CB4
- NOP
- LADR_0x0208
- NOP
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BCF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BCF INTCON,PEIE
- BCF INTCON,GIE
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BSF PORTB,2 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTB,3 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- MOVLW 0x00
- MOVWF CCP1CON ; !!Bank!! CCP1CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR1L ; !!Bank!! CCPR1L - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCP2CON ; !!Bank!! CCP2CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR2L ; !!Bank!! CCPR2L - Unimplemented - Unimplemented - Unimplemented
- BSF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,2 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,1 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF LRAM_0x37,0
- BSF LRAM_0x38,0
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- DECFSZ LRAM_0x6D,F
- GOTO LADR_0x0208 ; !!Bank!! 0x0208 - 0x0A08
- NOP
- MOVLW 0xFF
- MOVWF LRAM_0x6D
- DECFSZ LRAM_0x6E,F
- GOTO LADR_0x0208 ; !!Bank!! 0x0208 - 0x0A08
- MOVLW 0xFF
- MOVWF LRAM_0x6D
- MOVLW 0xFF
- MOVWF LRAM_0x6E
- LADR_0x022C
- BCF PORTB,2 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTB,3 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- MOVLW 0x00
- MOVWF CCP1CON ; !!Bank!! CCP1CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR1L ; !!Bank!! CCPR1L - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCP2CON ; !!Bank!! CCP2CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR2L ; !!Bank!! CCPR2L - Unimplemented - Unimplemented - Unimplemented
- BSF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,2 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,1 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- DECFSZ LRAM_0x6D,F
- GOTO LADR_0x022C ; !!Bank!! 0x022C - 0x0A2C
- NOP
- MOVLW 0xFF
- MOVWF LRAM_0x6D
- DECFSZ LRAM_0x6E,F
- GOTO LADR_0x022C ; !!Bank!! 0x022C - 0x0A2C
- NOP
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- LADR_0x0247
- NOP
- BCF PORTB,2 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTB,3 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,2 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,1 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- DECFSZ LRAM_0x3E,F
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- MOVLW 0x46
- SUBWF LRAM_0x30,W
- BTFSS STATUS,C
- GOTO LADR_0x027B ; !!Bank!! 0x027B - 0x0A7B
- MOVLW 0x04
- MOVWF LRAM_0x3E
- BCF LRAM_0x37,0
- BCF LRAM_0x38,0
- BSF LRAM_0x38,1
- MOVLW 0x00
- MOVWF LRAM_0x3C
- MOVLW 0x80
- MOVWF LRAM_0x3D
- MOVLW 0x00
- MOVWF LRAM_0x68
- MOVLW 0xFF
- MOVWF LRAM_0x69
- LADR_0x0260
- BSF PORTA,4 ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
- NOP
- BTFSC PORTA,4 ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
- GOTO LADR_0x0260 ; !!Bank!! 0x0260 - 0x0A60
- NOP
- LADR_0x0265
- BSF PORTA,4 ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
- NOP
- BTFSS PORTA,4 ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
- GOTO LADR_0x0265 ; !!Bank!! 0x0265 - 0x0A65
- NOP
- LADR_0x026A
- BSF PORTA,4 ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
- NOP
- BTFSC PORTA,4 ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
- GOTO LADR_0x026A ; !!Bank!! 0x026A - 0x0A6A
- NOP
- LADR_0x026F
- BSF PORTA,4 ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
- NOP
- BTFSS PORTA,4 ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
- GOTO LADR_0x026F ; !!Bank!! 0x026F - 0x0A6F
- NOP
- LADR_0x0274
- BSF PORTA,4 ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
- NOP
- BTFSC PORTA,4 ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
- GOTO LADR_0x0274 ; !!Bank!! 0x0274 - 0x0A74
- BCF LRAM_0x39,0
- BSF LRAM_0x39,1
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- LADR_0x027B
- NOP
- BSF PORTB,2 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTB,3 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,2 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,1 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BSF LRAM_0x37,0
- BSF LRAM_0x3A,0
- BSF LRAM_0x3F,1
- BCF LRAM_0x3F,0
- BCF LRAM_0x3F,2
- MOVLW 0x01
- MOVWF T1CON ; !!Bank!! T1CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0xFE
- MOVWF TMR1H ; !!Bank!! TMR1H - Unimplemented - PMADRH - Unimplemented
- MOVLW 0x0B
- MOVWF TMR1L ; !!Bank!! TMR1L - PCON - PMDATH - Unimplemented
- MOVLW 0x01
- MOVWF LRAM_0x61
- MOVLW 0x28
- MOVWF LRAM_0x5B
- BCF LRAM_0x63,0
- BCF LRAM_0x63,1
- BCF LRAM_0x63,2
- MOVLW 0x00
- MOVWF LRAM_0x64
- MOVLW 0x28
- MOVWF LRAM_0x5C
- MOVLW 0x00
- MOVWF LRAM_0x5D
- LADR_0x0299
- MOVLW 0xA0
- ADDWF LRAM_0x5D,W
- MOVWF FSR
- MOVLW 0x00
- MOVWF INDF
- MOVLW 0xD0
- ADDWF LRAM_0x5D,W
- MOVWF FSR
- MOVLW 0x20
- MOVWF INDF
- INCF LRAM_0x5D,F
- DECFSZ LRAM_0x5C,F
- GOTO LADR_0x0299 ; !!Bank!! 0x0299 - 0x0A99
- BSF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- MOVLW 0x3C
- MOVWF CCP1CON ; !!Bank!! CCP1CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR1L ; !!Bank!! CCPR1L - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x3C
- MOVWF CCP2CON ; !!Bank!! CCP2CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR2L ; !!Bank!! CCPR2L - Unimplemented - Unimplemented - Unimplemented
- NOP
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BSF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BSF INTCON,PEIE
- BSF INTCON,GIE
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- NOP
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- LADR_0x02B8
- MOVLW 0x94
- SUBWF LRAM_0x32,W
- BTFSS STATUS,C
- GOTO LADR_0x02C8 ; !!Bank!! 0x02C8 - 0x0AC8
- NOP
- DECFSZ LRAM_0x4B,F
- GOTO LADR_0x02CA ; !!Bank!! 0x02CA - 0x0ACA
- BCF PORTB,2 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTB,3 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,2 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,1 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF LRAM_0x37,0
- BCF LRAM_0x38,0
- BCF LRAM_0x38,1
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- LADR_0x02C8
- MOVLW 0xFF
- MOVWF LRAM_0x4B
- LADR_0x02CA
- NOP
- BCF PORTB,2 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,2 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,1 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- DECFSZ LRAM_0x3E,F
- GOTO LADR_0x0309 ; !!Bank!! 0x0309 - 0x0B09
- MOVLW 0x04
- MOVWF LRAM_0x3E
- MOVLW 0x99
- SUBWF LRAM_0x33,W
- BTFSS STATUS,C
- GOTO LADR_0x02DA ; !!Bank!! 0x02DA - 0x0ADA
- NOP
- GOTO LADR_0x0247 ; !!Bank!! 0x0247 - 0x0A47
- LADR_0x02DA
- MOVLW 0x8A
- SUBWF LRAM_0x32,W
- BTFSS STATUS,C
- GOTO LADR_0x02E0 ; !!Bank!! 0x02E0 - 0x0AE0
- NOP
- GOTO LADR_0x02E8 ; !!Bank!! 0x02E8 - 0x0AE8
- LADR_0x02E0
- MOVLW 0x33
- SUBWF LRAM_0x33,W
- BTFSS STATUS,C
- GOTO LADR_0x02E6 ; !!Bank!! 0x02E6 - 0x0AE6
- NOP
- GOTO LADR_0x02E8 ; !!Bank!! 0x02E8 - 0x0AE8
- LADR_0x02E6
- NOP
- GOTO LADR_0x02F9 ; !!Bank!! 0x02F9 - 0x0AF9
- LADR_0x02E8
- MOVLW 0x01
- SUBWF LRAM_0x3C,F
- BTFSC STATUS,C
- GOTO LADR_0x0309 ; !!Bank!! 0x0309 - 0x0B09
- MOVLW 0xFF
- MOVWF LRAM_0x3C
- MOVLW 0x01
- SUBWF LRAM_0x3D,F
- MOVLW 0x8B
- SUBWF LRAM_0x3D,W
- BTFSC STATUS,C
- GOTO LADR_0x0309 ; !!Bank!! 0x0309 - 0x0B09
- MOVLW 0x00
- MOVWF LRAM_0x3C
- MOVLW 0x8B
- MOVWF LRAM_0x3D
- GOTO LADR_0x0309 ; !!Bank!! 0x0309 - 0x0B09
- LADR_0x02F9
- MOVLW 0x01
- ADDWF LRAM_0x3C,F
- BTFSS STATUS,C
- GOTO LADR_0x0309 ; !!Bank!! 0x0309 - 0x0B09
- MOVLW 0x01
- ADDWF LRAM_0x3D,F
- MOVLW 0xC5
- SUBWF LRAM_0x3D,W
- BTFSS STATUS,C
- GOTO LADR_0x0309 ; !!Bank!! 0x0309 - 0x0B09
- NOP
- MOVLW 0xFF
- MOVWF LRAM_0x3C
- MOVLW 0xC4
- MOVWF LRAM_0x3D
- GOTO LADR_0x0309 ; !!Bank!! 0x0309 - 0x0B09
- LADR_0x0309
- BTFSS LRAM_0x39,0
- GOTO LADR_0x033B ; !!Bank!! 0x033B - 0x0B3B
- NOP
- NOP
- BTFSC LRAM_0x39,1
- GOTO LADR_0x0327 ; !!Bank!! 0x0327 - 0x0B27
- NOP
- BTFSS LRAM_0x68,5
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- BSF PORTB,3 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BCF LRAM_0x68,5
- BSF LRAM_0x39,0
- BSF LRAM_0x39,1
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- LADR_0x0327
- BSF PORTA,4 ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
- NOP
- NOP
- BTFSC PORTA,4 ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- MOVLW 0x01
- MOVWF T1CON ; !!Bank!! T1CON - Unimplemented - Unimplemented - Unimplemented
- MOVF LRAM_0x3D,W
- MOVWF TMR1H ; !!Bank!! TMR1H - Unimplemented - PMADRH - Unimplemented
- MOVF LRAM_0x3C,W
- MOVWF TMR1L ; !!Bank!! TMR1L - PCON - PMDATH - Unimplemented
- NOP
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BSF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BSF INTCON,PEIE
- BSF INTCON,GIE
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BCF LRAM_0x39,0
- BCF LRAM_0x39,1
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- LADR_0x033B
- NOP
- BTFSC LRAM_0x39,1
- GOTO LADR_0x0356 ; !!Bank!! 0x0356 - 0x0B56
- NOP
- BTFSS LRAM_0x68,5
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- CALL LADR_0x04E2 ; !!Bank!! 0x04E2 - 0x0CE2
- NOP
- BSF PORTB,3 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BCF LRAM_0x68,5
- BCF LRAM_0x39,0
- BSF LRAM_0x39,1
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- LADR_0x0356
- BSF PORTA,4 ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
- NOP
- NOP
- BTFSS PORTA,4 ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- MOVLW 0x01
- MOVWF T1CON ; !!Bank!! T1CON - Unimplemented - Unimplemented - Unimplemented
- MOVF LRAM_0x3D,W
- MOVWF TMR1H ; !!Bank!! TMR1H - Unimplemented - PMADRH - Unimplemented
- MOVF LRAM_0x3C,W
- MOVWF TMR1L ; !!Bank!! TMR1L - PCON - PMDATH - Unimplemented
- NOP
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BSF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BSF INTCON,PEIE
- BSF INTCON,GIE
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BSF LRAM_0x39,0
- BCF LRAM_0x39,1
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- LADR_0x036A
- MOVLW 0x9E
- SUBWF LRAM_0x32,W
- BTFSS STATUS,C
- GOTO LADR_0x0394 ; !!Bank!! 0x0394 - 0x0B94
- NOP
- DECFSZ LRAM_0x4D,F
- GOTO LADR_0x0396 ; !!Bank!! 0x0396 - 0x0B96
- NOP
- LADR_0x0372
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BCF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BCF INTCON,PEIE
- BCF INTCON,GIE
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- MOVLW 0x00
- MOVWF T1CON ; !!Bank!! T1CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF TMR1L ; !!Bank!! TMR1L - PCON - PMDATH - Unimplemented
- MOVLW 0x8B
- MOVWF TMR1H ; !!Bank!! TMR1H - Unimplemented - PMADRH - Unimplemented
- BSF PORTB,2 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTB,3 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,2 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,1 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- BSF PORTC,7 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- NOP
- BTFSS PORTC,7 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- GOTO LADR_0x038B ; !!Bank!! 0x038B - 0x0B8B
- MOVLW 0xFF
- MOVWF LRAM_0x36
- GOTO LADR_0x0372 ; !!Bank!! 0x0372 - 0x0B72
- LADR_0x038B
- DECFSZ LRAM_0x36,F
- GOTO LADR_0x0372 ; !!Bank!! 0x0372 - 0x0B72
- LADR_0x038D
- BSF PORTC,7 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- NOP
- NOP
- BTFSS PORTC,7 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- GOTO LADR_0x038D ; !!Bank!! 0x038D - 0x0B8D
- NOP
- GOTO LADR_0x0010 ; !!Bank!! 0x0010 - 0x0810
- LADR_0x0394
- MOVLW 0xFF
- MOVWF LRAM_0x4D
- LADR_0x0396
- MOVLW 0x80
- SUBWF LRAM_0x32,W
- BTFSC STATUS,C
- GOTO LADR_0x03A0 ; !!Bank!! 0x03A0 - 0x0BA0
- NOP
- DECFSZ LRAM_0x4B,F
- GOTO LADR_0x03A2 ; !!Bank!! 0x03A2 - 0x0BA2
- BCF LRAM_0x37,0
- BSF LRAM_0x38,0
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- LADR_0x03A0
- MOVLW 0xFF
- MOVWF LRAM_0x4B
- LADR_0x03A2
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BCF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BCF INTCON,PEIE
- BCF INTCON,GIE
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- MOVLW 0x00
- MOVWF T1CON ; !!Bank!! T1CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF TMR1L ; !!Bank!! TMR1L - PCON - PMDATH - Unimplemented
- MOVLW 0x8B
- MOVWF TMR1H ; !!Bank!! TMR1H - Unimplemented - PMADRH - Unimplemented
- NOP
- BCF PORTB,2 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTB,3 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- MOVLW 0x00
- MOVWF CCP1CON ; !!Bank!! CCP1CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR1L ; !!Bank!! CCPR1L - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCP2CON ; !!Bank!! CCP2CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR2L ; !!Bank!! CCPR2L - Unimplemented - Unimplemented - Unimplemented
- BSF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,2 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,1 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- LADR_0x03BC
- BSF PORTB,2 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTB,3 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- NOP
- MOVLW 0xCC
- SUBWF LRAM_0x34,W
- BTFSS STATUS,C
- GOTO LADR_0x03DE ; !!Bank!! 0x03DE - 0x0BDE
- LADR_0x03C3
- NOP
- BSF PORTB,3 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- MOVLW 0x00
- MOVWF CCP1CON ; !!Bank!! CCP1CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR1L ; !!Bank!! CCPR1L - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCP2CON ; !!Bank!! CCP2CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR2L ; !!Bank!! CCPR2L - Unimplemented - Unimplemented - Unimplemented
- BSF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,2 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,1 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BCF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BCF INTCON,PEIE
- BCF INTCON,GIE
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BSF PORTB,2 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTB,3 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,2 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,1 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BSF LRAM_0x3A,7
- BSF LRAM_0x37,0
- BCF LRAM_0x3A,0
- GOTO LADR_0x04B4 ; !!Bank!! 0x04B4 - 0x0CB4
- LADR_0x03DE
- MOVLW 0x66
- SUBWF LRAM_0x34,W
- BTFSS STATUS,C
- GOTO LADR_0x03EE ; !!Bank!! 0x03EE - 0x0BEE
- NOP
- DECFSZ LRAM_0x4F,F
- GOTO LADR_0x03F2 ; !!Bank!! 0x03F2 - 0x0BF2
- MOVLW 0xFF
- MOVWF LRAM_0x4F
- DECFSZ LRAM_0x50,F
- GOTO LADR_0x03F2 ; !!Bank!! 0x03F2 - 0x0BF2
- NOP
- BSF LRAM_0x3A,7
- BSF LRAM_0x37,0
- BCF LRAM_0x3A,0
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- LADR_0x03EE
- MOVLW 0xFF
- MOVWF LRAM_0x4F
- MOVLW 0x64
- MOVWF LRAM_0x50
- LADR_0x03F2
- BSF PORTB,6 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BTFSS LRAM_0x6A,5
- GOTO LADR_0x0401 ; !!Bank!! 0x0401 - 0x0C01
- MOVLW 0x62
- SUBWF LRAM_0x32,W
- BTFSC STATUS,C
- GOTO LADR_0x0401 ; !!Bank!! 0x0401 - 0x0C01
- NOP
- DECFSZ LRAM_0x4A,F
- GOTO LADR_0x0403 ; !!Bank!! 0x0403 - 0x0C03
- NOP
- BCF LRAM_0x3A,7
- BSF LRAM_0x37,0
- BCF LRAM_0x3A,0
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- LADR_0x0401
- MOVLW 0xFF
- MOVWF LRAM_0x4A
- LADR_0x0403
- BTFSS LRAM_0x63,0
- GOTO LADR_0x00B1 ; !!Bank!! 0x00B1 - 0x08B1
- NOP
- BCF LRAM_0x63,0
- DECFSZ LRAM_0x65,F
- GOTO LADR_0x00B1 ; !!Bank!! 0x00B1 - 0x08B1
- MOVLW 0xA0
- MOVWF LRAM_0x56
- GOTO LADR_0x0410 ; !!Bank!! 0x0410 - 0x0C10
- DECFSZ LRAM_0x56,F
- GOTO LADR_0x0410 ; !!Bank!! 0x0410 - 0x0C10
- NOP
- GOTO LADR_0x03C3 ; !!Bank!! 0x03C3 - 0x0BC3
- LADR_0x0410
- MOVLW 0x02
- MOVWF LRAM_0x65
- MOVLW 0xD0
- SUBWF LRAM_0x31,W
- BTFSC STATUS,C
- GOTO LADR_0x0430 ; !!Bank!! 0x0430 - 0x0C30
- MOVLW 0xC0
- SUBWF LRAM_0x31,W
- BTFSS STATUS,C
- GOTO LADR_0x0472 ; !!Bank!! 0x0472 - 0x0C72
- MOVLW 0xC8
- SUBWF LRAM_0x31,W
- BTFSS STATUS,C
- GOTO LADR_0x0427 ; !!Bank!! 0x0427 - 0x0C27
- NOP
- MOVLW 0x10
- MOVWF LRAM_0x66
- DECFSZ LRAM_0x67,F
- GOTO LADR_0x00B1 ; !!Bank!! 0x00B1 - 0x08B1
- MOVLW 0x10
- MOVWF LRAM_0x67
- MOVWF LRAM_0x66
- GOTO LADR_0x0430 ; !!Bank!! 0x0430 - 0x0C30
- LADR_0x0427
- NOP
- MOVLW 0x10
- MOVWF LRAM_0x67
- DECFSZ LRAM_0x66,F
- GOTO LADR_0x00B1 ; !!Bank!! 0x00B1 - 0x08B1
- MOVLW 0x10
- MOVWF LRAM_0x66
- MOVWF LRAM_0x67
- GOTO LADR_0x0472 ; !!Bank!! 0x0472 - 0x0C72
- LADR_0x0430
- MOVLW 0x10
- SUBWF LRAM_0x64,W
- BTFSS STATUS,C
- GOTO LADR_0x00B1 ; !!Bank!! 0x00B1 - 0x08B1
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BCF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BCF INTCON,PEIE
- BCF INTCON,GIE
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- DECF LRAM_0x64,F
- MOVLW 0x28
- MOVWF LRAM_0x5C
- MOVLW 0x00
- MOVWF LRAM_0x5D
- LADR_0x043E
- BCF STATUS,RP1 ; !!Bank Register-Bank(2/3)-Select
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- MOVLW 0x08
- BSF STATUS,RP1 ; !!Bank Register-Bank(2/3)-Select
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- MOVWF TMR1H ; !!Bank!! TMR1H - Unimplemented - PMADRH - Unimplemented
- BCF STATUS,RP1 ; !!Bank Register-Bank(2/3)-Select
- MOVF LRAM_0x5D,W
- BSF STATUS,RP1 ; !!Bank Register-Bank(2/3)-Select
- MOVWF PIR2 ; !!Bank!! PIR2 - PIE2 - PMADR - Unimplemented
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BSF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- NOP
- NOP
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- MOVF PIR1,W ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BCF STATUS,RP1 ; !!Bank Register-Bank(2/3)-Select
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- MOVWF LRAM_0x5E
- BCF STATUS,IRP
- MOVLW 0xA0
- ADDWF LRAM_0x5D,W
- MOVWF FSR
- MOVF INDF,W
- MOVWF LRAM_0x5F
- MOVF LRAM_0x5E,W
- BCF STATUS,C
- SUBWF LRAM_0x5F,F
- BTFSC STATUS,C
- GOTO LADR_0x0462 ; !!Bank!! 0x0462 - 0x0C62
- BCF STATUS,IRP
- MOVLW 0xD0
- ADDWF LRAM_0x5D,W
- MOVWF FSR
- DECF INDF,F
- GOTO LADR_0x0462 ; !!Bank!! 0x0462 - 0x0C62
- LADR_0x0462
- BCF STATUS,IRP
- MOVLW 0xA0
- ADDWF LRAM_0x5D,W
- MOVWF FSR
- MOVF LRAM_0x5F,W
- MOVWF INDF
- INCF LRAM_0x5D,F
- DECFSZ LRAM_0x5C,F
- GOTO LADR_0x043E ; !!Bank!! 0x043E - 0x0C3E
- NOP
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BSF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BSF INTCON,PEIE
- BSF INTCON,GIE
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- GOTO LADR_0x00B1 ; !!Bank!! 0x00B1 - 0x08B1
- LADR_0x0472
- MOVLW 0xD0
- SUBWF LRAM_0x64,W
- BTFSC STATUS,C
- GOTO LADR_0x00B1 ; !!Bank!! 0x00B1 - 0x08B1
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BCF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BCF INTCON,PEIE
- BCF INTCON,GIE
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- INCF LRAM_0x64,F
- MOVLW 0x28
- MOVWF LRAM_0x5C
- MOVLW 0x00
- MOVWF LRAM_0x5D
- LADR_0x0480
- BCF STATUS,RP1 ; !!Bank Register-Bank(2/3)-Select
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- MOVLW 0x08
- BSF STATUS,RP1 ; !!Bank Register-Bank(2/3)-Select
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- MOVWF TMR1H ; !!Bank!! TMR1H - Unimplemented - PMADRH - Unimplemented
- BCF STATUS,RP1 ; !!Bank Register-Bank(2/3)-Select
- MOVF LRAM_0x5D,W
- BSF STATUS,RP1 ; !!Bank Register-Bank(2/3)-Select
- MOVWF PIR2 ; !!Bank!! PIR2 - PIE2 - PMADR - Unimplemented
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BSF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- NOP
- NOP
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- MOVF PIR1,W ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BCF STATUS,RP1 ; !!Bank Register-Bank(2/3)-Select
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- MOVWF LRAM_0x5E
- BCF STATUS,IRP
- MOVLW 0xA0
- ADDWF LRAM_0x5D,W
- MOVWF FSR
- MOVF INDF,W
- MOVWF LRAM_0x5F
- MOVF LRAM_0x5E,W
- BCF STATUS,C
- ADDWF LRAM_0x5F,F
- BTFSS STATUS,C
- GOTO LADR_0x04A4 ; !!Bank!! 0x04A4 - 0x0CA4
- BCF STATUS,IRP
- MOVLW 0xD0
- ADDWF LRAM_0x5D,W
- MOVWF FSR
- INCF INDF,F
- GOTO LADR_0x04A4 ; !!Bank!! 0x04A4 - 0x0CA4
- LADR_0x04A4
- BCF STATUS,IRP
- MOVLW 0xA0
- ADDWF LRAM_0x5D,W
- MOVWF FSR
- MOVF LRAM_0x5F,W
- MOVWF INDF
- INCF LRAM_0x5D,F
- DECFSZ LRAM_0x5C,F
- GOTO LADR_0x0480 ; !!Bank!! 0x0480 - 0x0C80
- NOP
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BSF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BSF INTCON,PEIE
- BSF INTCON,GIE
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- GOTO LADR_0x00B1 ; !!Bank!! 0x00B1 - 0x08B1
- LADR_0x04B4
- NOP
- NOP
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BCF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BCF INTCON,PEIE
- BCF INTCON,GIE
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- MOVLW 0x00
- MOVWF T1CON ; !!Bank!! T1CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF TMR1L ; !!Bank!! TMR1L - PCON - PMDATH - Unimplemented
- MOVLW 0x8B
- MOVWF TMR1H ; !!Bank!! TMR1H - Unimplemented - PMADRH - Unimplemented
- NOP
- BCF PORTB,2 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF PORTB,3 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- MOVLW 0x00
- MOVWF CCP1CON ; !!Bank!! CCP1CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR1L ; !!Bank!! CCPR1L - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCP2CON ; !!Bank!! CCP2CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR2L ; !!Bank!! CCPR2L - Unimplemented - Unimplemented - Unimplemented
- BSF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,2 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BCF PORTC,1 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- BSF LRAM_0x37,0
- BCF LRAM_0x3A,0
- MOVLW 0x00
- MOVWF CCP1CON ; !!Bank!! CCP1CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR1L ; !!Bank!! CCPR1L - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCP2CON ; !!Bank!! CCP2CON - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR2L ; !!Bank!! CCPR2L - Unimplemented - Unimplemented - Unimplemented
- BTFSS LRAM_0x3A,7
- GOTO LADR_0x04DE ; !!Bank!! 0x04DE - 0x0CDE
- NOP
- BCF PORTB,6 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- LADR_0x04DE
- NOP
- GOTO LADR_0x04E0 ; !!Bank!! 0x04E0 - 0x0CE0
- LADR_0x04E0
- NOP
- GOTO LADR_0x00B1 ; !!Bank!! 0x00B1 - 0x08B1
- LADR_0x04E2
- MOVLW 0x0F
- MOVWF LRAM_0x20
- LADR_0x04E4
- DECFSZ LRAM_0x20,F
- GOTO LADR_0x04E4 ; !!Bank!! 0x04E4 - 0x0CE4
- RETURN
- LADR_0x04E7
- MOVWF LRAM_0x25
- MOVF STATUS,W
- MOVWF LRAM_0x26
- MOVF FSR,W
- MOVWF LRAM_0x27
- BCF STATUS,RP1 ; !!Bank Register-Bank(2/3)-Select
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BTFSS PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- GOTO LADR_0x0549 ; !!Bank!! 0x0549 - 0x0D49
- CLRWDT
- BCF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BTFSC LRAM_0x37,0
- GOTO LADR_0x0512 ; !!Bank!! 0x0512 - 0x0D12
- NOP
- BTFSC LRAM_0x68,0
- GOTO LADR_0x0507 ; !!Bank!! 0x0507 - 0x0D07
- NOP
- DECFSZ LRAM_0x69,F
- GOTO LADR_0x04FC ; !!Bank!! 0x04FC - 0x0CFC
- NOP
- GOTO LADR_0x0507 ; !!Bank!! 0x0507 - 0x0D07
- LADR_0x04FC
- BCF LRAM_0x68,0
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BCF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BCF INTCON,PEIE
- BCF INTCON,GIE
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BSF PORTB,3 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF LRAM_0x68,5
- MOVLW 0x00
- MOVWF T1CON ; !!Bank!! T1CON - Unimplemented - Unimplemented - Unimplemented
- GOTO LADR_0x0549 ; !!Bank!! 0x0549 - 0x0D49
- LADR_0x0507
- BSF LRAM_0x68,0
- BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BCF PIR1,0 ; !!Bank!! PIR1 - PIE1 - PMDATA - PMCON
- BCF INTCON,PEIE
- BCF INTCON,GIE
- BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
- BCF PORTB,3 ; !!Bank!! PORTB - TRISB - PORTB - TRISB
- BSF LRAM_0x68,5
- MOVLW 0x00
- MOVWF T1CON ; !!Bank!! T1CON - Unimplemented - Unimplemented - Unimplemented
- GOTO LADR_0x0549 ; !!Bank!! 0x0549 - 0x0D49
- LADR_0x0512
- MOVLW 0xFE
- MOVWF TMR1H ; !!Bank!! TMR1H - Unimplemented - PMADRH - Unimplemented
- MOVLW 0x25
- MOVWF TMR1L ; !!Bank!! TMR1L - PCON - PMDATH - Unimplemented
- BTFSS LRAM_0x63,1
- GOTO LADR_0x052E ; !!Bank!! 0x052E - 0x0D2E
- NOP
- DECFSZ LRAM_0x5B,F
- GOTO LADR_0x0527 ; !!Bank!! 0x0527 - 0x0D27
- MOVLW 0x00
- MOVWF LRAM_0x61
- MOVLW 0x28
- MOVWF LRAM_0x5B
- BCF LRAM_0x63,1
- BTFSS LRAM_0x63,2
- GOTO LADR_0x0524 ; !!Bank!! 0x0524 - 0x0D24
- BCF LRAM_0x63,2
- GOTO LADR_0x0537 ; !!Bank!! 0x0537 - 0x0D37
- LADR_0x0524
- BSF LRAM_0x63,2
- BCF PORTC,3 ; !!Bank!! PORTC - TRISC - Unimplemented - Unimplemented
- GOTO LADR_0x0537 ; !!Bank!! 0x0537 - 0x0D37
- LADR_0x0527
- MOVLW 0xD0
- ADDWF LRAM_0x61,W
- MOVWF FSR
- MOVF INDF,W
- MOVWF LRAM_0x62
- DECF LRAM_0x61,F
- GOTO LADR_0x053E ; !!Bank!! 0x053E - 0x0D3E
- LADR_0x052E
- DECFSZ LRAM_0x5B,F
- GOTO LADR_0x0537 ; !!Bank!! 0x0537 - 0x0D37
- MOVLW 0x27
- MOVWF LRAM_0x61
- MOVLW 0x28
- MOVWF LRAM_0x5B
- BSF LRAM_0x63,1
- BSF LRAM_0x63,0
- GOTO LADR_0x0527 ; !!Bank!! 0x0527 - 0x0D27
- LADR_0x0537
- MOVLW 0xD0
- ADDWF LRAM_0x61,W
- MOVWF FSR
- MOVF INDF,W
- MOVWF LRAM_0x62
- INCF LRAM_0x61,F
- GOTO LADR_0x053E ; !!Bank!! 0x053E - 0x0D3E
- LADR_0x053E
- BTFSS LRAM_0x63,2
- GOTO LADR_0x0545 ; !!Bank!! 0x0545 - 0x0D45
- MOVF LRAM_0x62,W
- MOVWF CCPR1L ; !!Bank!! CCPR1L - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR2L ; !!Bank!! CCPR2L - Unimplemented - Unimplemented - Unimplemented
- GOTO LADR_0x0549 ; !!Bank!! 0x0549 - 0x0D49
- LADR_0x0545
- MOVF LRAM_0x62,W
- MOVWF CCPR2L ; !!Bank!! CCPR2L - Unimplemented - Unimplemented - Unimplemented
- MOVLW 0x00
- MOVWF CCPR1L ; !!Bank!! CCPR1L - Unimplemented - Unimplemented - Unimplemented
- LADR_0x0549
- MOVF LRAM_0x27,W
- MOVWF FSR
- MOVF LRAM_0x26,W
- MOVWF STATUS
- MOVF LRAM_0x25,W
- RETFIE
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- ADDLW 0xFF
- …………
- …………
- …………限于本文篇幅 余下代码请从51黑下载附件…………
|