Esta é uma pré-visualização de arquivo. Entre para ver o arquivo original
Calculator/Pronto/Calculator/Calculator.asm
_LCD:
;Calculator.c,17 :: void LCD(char texto[16]){
;Calculator.c,18 :: Lcd_Cmd(_LCD_CLEAR);
MOVLW 1
MOVWF FARG_Lcd_Cmd_out_char+0
CALL _Lcd_Cmd+0, 0
;Calculator.c,19 :: Lcd_Out(1,4,texto);
MOVLW 1
MOVWF FARG_Lcd_Out_row+0
MOVLW 4
MOVWF FARG_Lcd_Out_column+0
MOVF FARG_LCD_texto+0, 0
MOVWF FARG_Lcd_Out_text+0
MOVF FARG_LCD_texto+1, 0
MOVWF FARG_Lcd_Out_text+1
CALL _Lcd_Out+0, 0
;Calculator.c,20 :: }
L_end_LCD:
RETURN 0
; end of _LCD
_main:
;Calculator.c,26 :: void main() {
;Calculator.c,27 :: Lcd_Cmd(_LCD_CLEAR);
MOVLW 1
MOVWF FARG_Lcd_Cmd_out_char+0
CALL _Lcd_Cmd+0, 0
;Calculator.c,28 :: ADCON1=0x0f; //desativa portas AD
MOVLW 15
MOVWF ADCON1+0
;Calculator.c,29 :: trisd=0x0f; //ob00001111
MOVLW 15
MOVWF TRISD+0
;Calculator.c,30 :: portb=0xff; //ob11111111
MOVLW 255
MOVWF PORTB+0
;Calculator.c,31 :: trisb=0xf8; //ob11111000
MOVLW 248
MOVWF TRISB+0
;Calculator.c,32 :: Lcd_Init();
CALL _Lcd_Init+0, 0
;Calculator.c,33 :: Lcd_Cmd(_LCD_CURSOR_OFF); //Desabilita o cursor
MOVLW 12
MOVWF FARG_Lcd_Cmd_out_char+0
CALL _Lcd_Cmd+0, 0
;Calculator.c,36 :: while(1){
L_main0:
;Calculator.c,39 :: while(aux1==-1){
L_main2:
MOVLW 255
XORWF _aux1+1, 0
BTFSS STATUS+0, 2
GOTO L__main56
MOVLW 255
XORWF _aux1+0, 0
L__main56:
BTFSS STATUS+0, 2
GOTO L_main3
;Calculator.c,40 :: portb.rb1=0; //ativa a segunda coluna
BCF PORTB+0, 1
;Calculator.c,41 :: if (portd.rd0==0){
BTFSC PORTD+0, 0
GOTO L_main4
;Calculator.c,43 :: aux1=0;
CLRF _aux1+0
CLRF _aux1+1
;Calculator.c,44 :: }else if (portd.rd1==0){
GOTO L_main5
L_main4:
BTFSC PORTD+0, 1
GOTO L_main6
;Calculator.c,46 :: aux1=8;
MOVLW 8
MOVWF _aux1+0
MOVLW 0
MOVWF _aux1+1
;Calculator.c,47 :: }else if (portd.rd2==0){
GOTO L_main7
L_main6:
BTFSC PORTD+0, 2
GOTO L_main8
;Calculator.c,49 :: aux1 = 5;
MOVLW 5
MOVWF _aux1+0
MOVLW 0
MOVWF _aux1+1
;Calculator.c,50 :: }else if (portd.rd3==0){
GOTO L_main9
L_main8:
BTFSC PORTD+0, 3
GOTO L_main10
;Calculator.c,52 :: aux1 = 2;}
MOVLW 2
MOVWF _aux1+0
MOVLW 0
MOVWF _aux1+1
L_main10:
L_main9:
L_main7:
L_main5:
;Calculator.c,53 :: portb.rb1=1; //desativa a segunda coluna
BSF PORTB+0, 1
;Calculator.c,55 :: portb.rb2=0; //ativa a terceira coluna
BCF PORTB+0, 2
;Calculator.c,56 :: if (portd.rd0==0);
BTFSC PORTD+0, 0
GOTO L_main11
GOTO L_main12
L_main11:
;Calculator.c,58 :: else if (portd.rd1==0){
BTFSC PORTD+0, 1
GOTO L_main13
;Calculator.c,60 :: aux1 = 9;
MOVLW 9
MOVWF _aux1+0
MOVLW 0
MOVWF _aux1+1
;Calculator.c,61 :: }else if (portd.rd2==0){
GOTO L_main14
L_main13:
BTFSC PORTD+0, 2
GOTO L_main15
;Calculator.c,63 :: aux1 = 6;
MOVLW 6
MOVWF _aux1+0
MOVLW 0
MOVWF _aux1+1
;Calculator.c,64 :: }else if (portd.rd3==0){
GOTO L_main16
L_main15:
BTFSC PORTD+0, 3
GOTO L_main17
;Calculator.c,66 :: aux1 = 3;}
MOVLW 3
MOVWF _aux1+0
MOVLW 0
MOVWF _aux1+1
L_main17:
L_main16:
L_main14:
L_main12:
;Calculator.c,67 :: portb.rb2=1; //desativa a terceira coluna
BSF PORTB+0, 2
;Calculator.c,69 :: portb.rb0=0; //ativa a primeira coluna
BCF PORTB+0, 0
;Calculator.c,70 :: if (portd.rd0==0);
BTFSC PORTD+0, 0
GOTO L_main18
GOTO L_main19
L_main18:
;Calculator.c,72 :: else if (portd.rd1==0){
BTFSC PORTD+0, 1
GOTO L_main20
;Calculator.c,74 :: aux1 = 7;
MOVLW 7
MOVWF _aux1+0
MOVLW 0
MOVWF _aux1+1
;Calculator.c,75 :: }else if (portd.rd2==0){
GOTO L_main21
L_main20:
BTFSC PORTD+0, 2
GOTO L_main22
;Calculator.c,77 :: aux1 = 4;
MOVLW 4
MOVWF _aux1+0
MOVLW 0
MOVWF _aux1+1
;Calculator.c,78 :: }else if (portd.rd3==0){
GOTO L_main23
L_main22:
BTFSC PORTD+0, 3
GOTO L_main24
;Calculator.c,80 :: aux1 = 1;}
MOVLW 1
MOVWF _aux1+0
MOVLW 0
MOVWF _aux1+1
L_main24:
L_main23:
L_main21:
L_main19:
;Calculator.c,81 :: portb.rb0=1; //desativa a primeira coluna
BSF PORTB+0, 0
;Calculator.c,83 :: };
GOTO L_main2
L_main3:
;Calculator.c,84 :: Lcd_Cmd(_LCD_CLEAR);
MOVLW 1
MOVWF FARG_Lcd_Cmd_out_char+0
CALL _Lcd_Cmd+0, 0
;Calculator.c,85 :: inttostr(aux1,H);
MOVF _aux1+0, 0
MOVWF FARG_IntToStr_input+0
MOVF _aux1+1, 0
MOVWF FARG_IntToStr_input+1
MOVLW _H+0
MOVWF FARG_IntToStr_output+0
MOVLW hi_addr(_H+0)
MOVWF FARG_IntToStr_output+1
CALL _IntToStr+0, 0
;Calculator.c,86 :: Lcd_Out(1,1,H);
MOVLW 1
MOVWF FARG_Lcd_Out_row+0
MOVLW 1
MOVWF FARG_Lcd_Out_column+0
MOVLW _H+0
MOVWF FARG_Lcd_Out_text+0
MOVLW hi_addr(_H+0)
MOVWF FARG_Lcd_Out_text+1
CALL _Lcd_Out+0, 0
;Calculator.c,87 :: delay_ms(200);
MOVLW 3
MOVWF R11, 0
MOVLW 8
MOVWF R12, 0
MOVLW 119
MOVWF R13, 0
L_main25:
DECFSZ R13, 1, 1
BRA L_main25
DECFSZ R12, 1, 1
BRA L_main25
DECFSZ R11, 1, 1
BRA L_main25
;Calculator.c,88 :: LCD_Out(2,1,"->");
MOVLW 2
MOVWF FARG_Lcd_Out_row+0
MOVLW 1
MOVWF FARG_Lcd_Out_column+0
MOVLW ?lstr1_Calculator+0
MOVWF FARG_Lcd_Out_text+0
MOVLW hi_addr(?lstr1_Calculator+0)
MOVWF FARG_Lcd_Out_text+1
CALL _Lcd_Out+0, 0
;Calculator.c,90 :: while(aux2==-1){
L_main26:
MOVLW 255
XORWF _aux2+1, 0
BTFSS STATUS+0, 2
GOTO L__main57
MOVLW 255
XORWF _aux2+0, 0
L__main57:
BTFSS STATUS+0, 2
GOTO L_main27
;Calculator.c,91 :: portb.rb1=0; //ativa a segunda coluna
BCF PORTB+0, 1
;Calculator.c,92 :: if (portd.rd0==0){
BTFSC PORTD+0, 0
GOTO L_main28
;Calculator.c,94 :: aux2=0;
CLRF _aux2+0
CLRF _aux2+1
;Calculator.c,95 :: }else if (portd.rd1==0){
GOTO L_main29
L_main28:
BTFSC PORTD+0, 1
GOTO L_main30
;Calculator.c,97 :: aux2=8;
MOVLW 8
MOVWF _aux2+0
MOVLW 0
MOVWF _aux2+1
;Calculator.c,98 :: }else if (portd.rd2==0){
GOTO L_main31
L_main30:
BTFSC PORTD+0, 2
GOTO L_main32
;Calculator.c,100 :: aux2 = 5;
MOVLW 5
MOVWF _aux2+0
MOVLW 0
MOVWF _aux2+1
;Calculator.c,101 :: }else if (portd.rd3==0){
GOTO L_main33
L_main32:
BTFSC PORTD+0, 3
GOTO L_main34
;Calculator.c,103 :: aux2 = 2;}
MOVLW 2
MOVWF _aux2+0
MOVLW 0
MOVWF _aux2+1
L_main34:
L_main33:
L_main31:
L_main29:
;Calculator.c,104 :: portb.rb1=1; //desativa a segunda coluna
BSF PORTB+0, 1
;Calculator.c,106 :: portb.rb2=0; //ativa a terceira coluna
BCF PORTB+0, 2
;Calculator.c,107 :: if (portd.rd0==0);
BTFSC PORTD+0, 0
GOTO L_main35
GOTO L_main36
L_main35:
;Calculator.c,109 :: else if (portd.rd1==0){
BTFSC PORTD+0, 1
GOTO L_main37
;Calculator.c,110 :: aux2 = 9;
MOVLW 9
MOVWF _aux2+0
MOVLW 0
MOVWF _aux2+1
;Calculator.c,111 :: }else if (portd.rd2==0){
GOTO L_main38
L_main37:
BTFSC PORTD+0, 2
GOTO L_main39
;Calculator.c,113 :: aux2 = 6;
MOVLW 6
MOVWF _aux2+0
MOVLW 0
MOVWF _aux2+1
;Calculator.c,114 :: }else if (portd.rd3==0){
GOTO L_main40
L_main39:
BTFSC PORTD+0, 3
GOTO L_main41
;Calculator.c,116 :: aux2 = 3;}
MOVLW 3
MOVWF _aux2+0
MOVLW 0
MOVWF _aux2+1
L_main41:
L_main40:
L_main38:
L_main36:
;Calculator.c,117 :: portb.rb2=1; //desativa a terceira coluna
BSF PORTB+0, 2
;Calculator.c,119 :: portb.rb0=0; //ativa a primeira coluna
BCF PORTB+0, 0
;Calculator.c,120 :: if (portd.rd0==0);
BTFSC PORTD+0, 0
GOTO L_main42
GOTO L_main43
L_main42:
;Calculator.c,122 :: else if (portd.rd1==0){
BTFSC PORTD+0, 1
GOTO L_main44
;Calculator.c,124 :: aux2 = 7;
MOVLW 7
MOVWF _aux2+0
MOVLW 0
MOVWF _aux2+1
;Calculator.c,125 :: }else if (portd.rd2==0){
GOTO L_main45
L_main44:
BTFSC PORTD+0, 2
GOTO L_main46
;Calculator.c,127 :: aux2 = 4;
MOVLW 4
MOVWF _aux2+0
MOVLW 0
MOVWF _aux2+1
;Calculator.c,128 :: }else if (portd.rd3==0){
GOTO L_main47
L_main46:
BTFSC PORTD+0, 3
GOTO L_main48
;Calculator.c,130 :: aux2 = 1;}
MOVLW 1
MOVWF _aux2+0
MOVLW 0
MOVWF _aux2+1
L_main48:
L_main47:
L_main45:
L_main43:
;Calculator.c,131 :: portb.rb0=1; //desativa a primeira coluna
BSF PORTB+0, 0
;Calculator.c,133 :: };
GOTO L_main26
L_main27:
;Calculator.c,134 :: inttostr(aux2,H);
MOVF _aux2+0, 0
MOVWF FARG_IntToStr_input+0
MOVF _aux2+1, 0
MOVWF FARG_IntToStr_input+1
MOVLW _H+0
MOVWF FARG_IntToStr_output+0
MOVLW hi_addr(_H+0)
MOVWF FARG_IntToStr_output+1
CALL _IntToStr+0, 0
;Calculator.c,135 :: Lcd_Out(2,1,H);
MOVLW 2
MOVWF FARG_Lcd_Out_row+0
MOVLW 1
MOVWF FARG_Lcd_Out_column+0
MOVLW _H+0
MOVWF FARG_Lcd_Out_text+0
MOVLW hi_addr(_H+0)
MOVWF FARG_Lcd_Out_text+1
CALL _Lcd_Out+0, 0
;Calculator.c,136 :: while(flag == -1){
L_main49:
MOVLW 255
XORWF _flag+1, 0
BTFSS STATUS+0, 2
GOTO L__main58
MOVLW 255
XORWF _flag+0, 0
L__main58:
BTFSS STATUS+0, 2
GOTO L_main50
;Calculator.c,137 :: portb.rb2=0; //ativa a terceira coluna
BCF PORTB+0, 2
;Calculator.c,138 :: if (portd.rd0==0){
BTFSC PORTD+0, 0
GOTO L_main51
;Calculator.c,139 :: res = aux1 + aux2;
MOVF _aux2+0, 0
ADDWF _aux1+0, 0
MOVWF R0
MOVF _aux2+1, 0
ADDWFC _aux1+1, 0
MOVWF R1
MOVF R0, 0
MOVWF _res+0
MOVF R1, 0
MOVWF _res+1
;Calculator.c,140 :: inttostr(res,H);
MOVF R0, 0
MOVWF FARG_IntToStr_input+0
MOVF R1, 0
MOVWF FARG_IntToStr_input+1
MOVLW _H+0
MOVWF FARG_IntToStr_output+0
MOVLW hi_addr(_H+0)
MOVWF FARG_IntToStr_output+1
CALL _IntToStr+0, 0
;Calculator.c,141 :: LCD(H);
MOVLW _H+0
MOVWF FARG_LCD_texto+0
MOVLW hi_addr(_H+0)
MOVWF FARG_LCD_texto+1
CALL _LCD+0, 0
;Calculator.c,142 :: flag = 0;}
CLRF _flag+0
CLRF _flag+1
L_main51:
;Calculator.c,143 :: portb.rb2=1; //desativa a terceira coluna
BSF PORTB+0, 2
;Calculator.c,145 :: portb.rb0=0; //ativa a primeira coluna
BCF PORTB+0, 0
;Calculator.c,146 :: if (portd.rd0==0){
BTFSC PORTD+0, 0
GOTO L_main52
;Calculator.c,147 :: res = aux1 - aux2;
MOVF _aux2+0, 0
SUBWF _aux1+0, 0
MOVWF R0
MOVF _aux2+1, 0
SUBWFB _aux1+1, 0
MOVWF R1
MOVF R0, 0
MOVWF _res+0
MOVF R1, 0
MOVWF _res+1
;Calculator.c,148 :: inttostr(res,H);
MOVF R0, 0
MOVWF FARG_IntToStr_input+0
MOVF R1, 0
MOVWF FARG_IntToStr_input+1
MOVLW _H+0
MOVWF FARG_IntToStr_output+0
MOVLW hi_addr(_H+0)
MOVWF FARG_IntToStr_output+1
CALL _IntToStr+0, 0
;Calculator.c,149 :: LCD(H);
MOVLW _H+0
MOVWF FARG_LCD_texto+0
MOVLW hi_addr(_H+0)
MOVWF FARG_LCD_texto+1
CALL _LCD+0, 0
;Calculator.c,150 :: flag = 0;}
CLRF _flag+0
CLRF _flag+1
L_main52:
;Calculator.c,151 :: portb.rb0=1; //desativa a primeira coluna
BSF PORTB+0, 0
;Calculator.c,153 :: };
GOTO L_main49
L_main50:
;Calculator.c,154 :: flag = -1;
MOVLW 255
MOVWF _flag+0
MOVLW 255
MOVWF _flag+1
;Calculator.c,155 :: aux1 = -1;
MOVLW 255
MOVWF _aux1+0
MOVLW 255
MOVWF _aux1+1
;Calculator.c,156 :: aux2 = -1;
MOVLW 255
MOVWF _aux2+0
MOVLW 255
MOVWF _aux2+1
;Calculator.c,157 :: res = 0;
CLRF _res+0
CLRF _res+1
;Calculator.c,158 :: delay_ms(1000);
MOVLW 11
MOVWF R11, 0
MOVLW 38
MOVWF R12, 0
MOVLW 93
MOVWF R13, 0
L_main53:
DECFSZ R13, 1, 1
BRA L_main53
DECFSZ R12, 1, 1
BRA L_main53
DECFSZ R11, 1, 1
BRA L_main53
NOP
NOP
;Calculator.c,159 :: Lcd_Out(1,1,"End");
MOVLW 1
MOVWF FARG_Lcd_Out_row+0
MOVLW 1
MOVWF FARG_Lcd_Out_column+0
MOVLW ?lstr2_Calculator+0
MOVWF FARG_Lcd_Out_text+0
MOVLW hi_addr(?lstr2_Calculator+0)
MOVWF FARG_Lcd_Out_text+1
CALL _Lcd_Out+0, 0
;Calculator.c,160 :: }
GOTO L_main0
;Calculator.c,161 :: }
L_end_main:
GOTO $+0
; end of _main
Calculator/Pronto/Calculator/Calculator.bmk
<BOOKMARKS/>
Calculator/Pronto/Calculator/Calculator.brk
<BREAKS/>
Calculator/Pronto/Calculator/Calculator.c
// LCD module connections
sbit LCD_RS at RE2_bit;
sbit LCD_EN at RE1_bit;
sbit LCD_D4 at RD4_bit;
sbit LCD_D5 at RD5_bit;
sbit LCD_D6 at RD6_bit;
sbit LCD_D7 at RD7_bit;
sbit LCD_RS_Direction at TRISE2_bit;
sbit LCD_EN_Direction at TRISE1_bit;
sbit LCD_D4_Direction at TRISD4_bit;
sbit LCD_D5_Direction at TRISD5_bit;
sbit LCD_D6_Direction at TRISD6_bit;
sbit LCD_D7_Direction at TRISD7_bit;
// End LCD mocule connection
// funcao para escrever no LCD
void LCD(char texto[16]){
Lcd_Cmd(_LCD_CLEAR);
Lcd_Out(1,4,texto);
}
//declaracao de variaveis
int aux1 = -1;
int aux2 = -1;
int flag = -1;
int res = 0;
char H[7];
void main() {
Lcd_Cmd(_LCD_CLEAR); //limpa o LCD
ADCON1=0x0f; //desativa portas AD
trisd=0x0f; //ob00001111
portb=0xff; //ob11111111
trisb=0xf8; //ob11111000
Lcd_Init(); //inicializa o LCD
Lcd_Cmd(_LCD_CURSOR_OFF); //Desabilita o cursor
while(1){
// while para captura do primeiro digito
while(aux1==-1){
portb.rb1=0; //ativa a segunda coluna
if (portd.rd0==0){
aux1=0;
}else if (portd.rd1==0){
aux1=8;
}else if (portd.rd2==0){
aux1 = 5;
}else if (portd.rd3==0){
aux1 = 2;}
portb.rb1=1; //desativa a segunda coluna
portb.rb2=0; //ativa a terceira coluna
if (portd.rd0==0);
else if (portd.rd1==0){
aux1 = 9;
}else if (portd.rd2==0){
aux1 = 6;
}else if (portd.rd3==0){
aux1 =
3;}
portb.rb2=1; //desativa a terceira coluna
portb.rb0=0; //ativa a primeira coluna
if (portd.rd0==0);
else if (portd.rd1==0){
aux1 = 7;
}else if (portd.rd2==0){
aux1 = 4;
}else if (portd.rd3==0){
aux1 = 1;}
portb.rb0=1; //desativa a primeira coluna
};
Lcd_Cmd(_LCD_CLEAR); // limpa o LCD
inttostr(aux1,H); // converte o primeiro digito para uma string
Lcd_Out(1,1,H); // escreve o primeiro digito no LCD
delay_ms(200); // delay
LCD_Out(2,1,"->"); // indica que o software esta pronto para capturar o segundo digito
// while para captura do segundo digito
while(aux2==-1){
portb.rb1=0; //ativa a segunda coluna
if (portd.rd0==0){
aux2=0;
}else if (portd.rd1==0){
aux2=8;
}else if (portd.rd2==0){
aux2 = 5;
}else if (portd.rd3==0){
aux2 = 2;}
portb.rb1=1; //desativa a segunda coluna
portb.rb2=0; //ativa a terceira coluna
if (portd.rd0==0);
else if (portd.rd1==0){
aux2 = 9;
}else if (portd.rd2==0){
aux2 = 6;
}else if (portd.rd3==0){
aux2 = 3;}
portb.rb2=1; //desativa a terceira coluna
portb.rb0=0; //ativa a primeira coluna
if (portd.rd0==0);
else if (portd.rd1==0){
aux2 = 7;
}else if (portd.rd2==0){
aux2 = 4;
}else if (portd.rd3==0){
aux2 = 1;}
portb.rb0=1; //desativa a primeira coluna
};
inttostr(aux2,H); // converte o segundo digito para uma string
Lcd_Out(2,1,H); // escreve o segundo digito no LCD
// while para capturar a operacao matematica
while(flag == -1){
portb.rb2=0; //ativa a terceira coluna
if (portd.rd0==0){
res = aux1 + aux2; // faz a operecao de soma
inttostr(res,H); // converte o resultado da operacao para uma string
LCD(H); // escreve o resultado da operacao no LCD
flag = 0;} // reseta o valor da flag
portb.rb2=1; //desativa a terceira coluna
portb.rb0=0; //ativa a primeira coluna
if (portd.rd0==0){
res = aux1 - aux2; // faz a operecao de subtracao
inttostr(res,H); // converte o resultado da operacao para uma string
LCD(H); // escreve o resultado da operacao no LCD
flag = 0;} // reseta o valor da flag
portb.rb0=1; //desativa a primeira coluna
};
// reseta os valores das variaveis
flag = -1;
aux1 = -1;
aux2 = -1;
res = 0;
delay_ms(1000); // delay
Lcd_Out(1,1,"End"); // indica que o programa chegou ao fim e esta pronot para fazer outra conta
}
}
Calculator/Pronto/Calculator/Calculator.c.ini
[Position]
Line=44
Column=6
[FoldedLines]
Count=0
Calculator/Pronto/Calculator/Calculator.cfg
P18F4550
12
$300000:$0001
$300001:$000C
$300002:$0019
$300003:$001E
$300005:$0000
$300006:$0080
$300008:$000F
$300009:$00C0
$30000A:$000F
$30000B:$00E0
$30000C:$000F
$30000D:$0040
Calculator/Pronto/Calculator/Calculator.cp
#line 1 "C:/Users/Aluno/Desktop/Calculator/Calculator.c"
sbit LCD_RS at RE2_bit;
sbit LCD_EN at RE1_bit;
sbit LCD_D4 at RD4_bit;
sbit LCD_D5 at RD5_bit;
sbit LCD_D6 at RD6_bit;
sbit LCD_D7 at RD7_bit;
sbit LCD_RS_Direction at TRISE2_bit;
sbit LCD_EN_Direction at TRISE1_bit;
sbit LCD_D4_Direction at TRISD4_bit;
sbit LCD_D5_Direction at TRISD5_bit;
sbit LCD_D6_Direction at TRISD6_bit;
sbit LCD_D7_Direction at TRISD7_bit;
void LCD(char texto[16]){
Lcd_Cmd(_LCD_CLEAR);
Lcd_Out(1,4,texto);
}
int aux1 = -1;
int aux2 = -1;
int flag = -1;
int res = 0;
char H[7];
void main() {
Lcd_Cmd(_LCD_CLEAR);
ADCON1=0x0f;
trisd=0x0f;
portb=0xff;
trisb=0xf8;
Lcd_Init();
Lcd_Cmd(_LCD_CURSOR_OFF);
while(1){
while(aux1==-1){
portb.rb1=0;
if (portd.rd0==0){
aux1=0;
}else if (portd.rd1==0){
aux1=8;
}else if (portd.rd2==0){
aux1 = 5;
}else if (portd.rd3==0){
aux1 = 2;}
portb.rb1=1;
portb.rb2=0;
if (portd.rd0==0);
else if (portd.rd1==0){
aux1 = 9;
}else if (portd.rd2==0){
aux1 = 6;
}else if (portd.rd3==0){
aux1 = 3;}
portb.rb2=1;
portb.rb0=0;
if (portd.rd0==0);
else if (portd.rd1==0){
aux1 = 7;
}else if (portd.rd2==0){
aux1 = 4;
}else if (portd.rd3==0){
aux1 = 1;}
portb.rb0=1;
};
Lcd_Cmd(_LCD_CLEAR);
inttostr(aux1,H);
Lcd_Out(1,1,H);
delay_ms(200);
LCD_Out(2,1,"->");
while(aux2==-1){
portb.rb1=0;
if (portd.rd0==0){
aux2=0;
}else if (portd.rd1==0){
aux2=8;
}else if (portd.rd2==0){
aux2 = 5;
}else if (portd.rd3==0){
aux2 = 2;}
portb.rb1=1;
portb.rb2=0;
if (portd.rd0==0);
else if (portd.rd1==0){
aux2 = 9;
}else if (portd.rd2==0){
aux2 = 6;
}else if (portd.rd3==0){
aux2 = 3;}
portb.rb2=1;
portb.rb0=0;
if (portd.rd0==0);
else if (portd.rd1==0){
aux2 = 7;
}else if (portd.rd2==0){
aux2 = 4;
}else if (portd.rd3==0){
aux2 = 1;}
portb.rb0=1;
};
inttostr(aux2,H);
Lcd_Out(2,1,H);
while(flag == -1){
portb.rb2=0;
if (portd.rd0==0){
res = aux1 + aux2;
inttostr(res,H);
LCD(H);
flag = 0;}
portb.rb2=1;
portb.rb0=0;
if (portd.rd0==0){
res = aux1 - aux2;
inttostr(res,H);
LCD(H);
flag = 0;}
portb.rb0=1;
};
flag = -1;
aux1 = -1;
aux2 = -1;
res = 0;
delay_ms(1000);
Lcd_Out(1,1,"End");
}
}
Calculator/Pronto/Calculator/Calculator.dbg
Calculator/Pronto/Calculator/Calculator.dct
______
____doifc
___boot_delay128k
___boot_delay12k
___boot_delay16k
___boot_delay24k
___boot_delay32k
___boot_delay48k
___boot_delay4k
___boot_delay64k
___boot_delay8k
___mdb4
___mdb5
___mdb6
___mdb7
___menable
___mrs
__ca2aw
__cc2d
__cc2dw
__cca2aw
__ccs2s
__cs2s
__f16_errno
__flash_size
__fzins
__low_savebsr
__low_savestatus
__low_savewreg
__ps2_caps
__ps2_num
__ps2_scroll
__ps2_shift
__spi_lcd8_db0
__spi_lcd8_db1
__spi_lcd8_db2
__spi_lcd8_db3
__spi_lcd8_db4
__spi_lcd8_db5
__spi_lcd8_db6
__spi_lcd8_db7
__spi_lcd8_enable
__spi_lcd8_rs
__spi_lcd8_rw
_canspi_config_all_msg
_canspi_config_all_valid_msg
_canspi_config_dbl_buffer_bit
_canspi_config_dbl_buffer_off
_canspi_config_dbl_buffer_on
_canspi_config_default
_canspi_config_line_filter_bit
_canspi_config_line_filter_off
_canspi_config_line_filter_on
_canspi_config_msg_bits
_canspi_config_msg_type_bit
_canspi_config_phseg2_prg_bit
_canspi_config_phseg2_prg_off
_canspi_config_phseg2_prg_on
_canspi_config_sample_bit
_canspi_config_sample_once
_canspi_config_sample_thrice
_canspi_config_std_msg
_canspi_config_valid_std_msg
_canspi_config_valid_xtd_msg
_canspi_config_xtd_msg
_canspi_filter_b1_f1
_canspi_filter_b1_f2
_canspi_filter_b2_f1
_canspi_filter_b2_f2
_canspi_filter_b2_f3
_canspi_filter_b2_f4
_canspi_mask_b1
_canspi_mask_b2
_canspi_mode_bits
_canspi_mode_config
_canspi_mode_listen
_canspi_mode_loop
_canspi_mode_normal
_canspi_mode_sleep
_canspi_rx_dbl_buffered
_canspi_rx_filter_1
_canspi_rx_filter_2
_canspi_rx_filter_3
_canspi_rx_filter_4
_canspi_rx_filter_5
_canspi_rx_filter_6
_canspi_rx_filter_bits
_canspi_rx_invalid_msg
_canspi_rx_overflow
_canspi_rx_rtr_frame
_canspi_rx_xtd_frame
_canspi_tx_frame_bit
_canspi_tx_no_rtr_frame
_canspi_tx_priority_0
_canspi_tx_priority_1
_canspi_tx_priority_2
_canspi_tx_priority_3
_canspi_tx_priority_bits
_canspi_tx_rtr_bit
_canspi_tx_rtr_frame
_canspi_tx_std_frame
_canspi_tx_xtd_frame
_cf_command
_cf_cyl_hi
_cf_cyl_lo
_cf_data
_cf_error
_cf_features
_cf_head
_cf_identify_cmd
_cf_read_sec_cmd
_cf_sec_cnt
_cf_sec_num
_cf_status
_cf_write_sec_cmd
_ch
_command
_doprntf
_doprnti
_doprntl
_doprntout
_flash_erase
_flash_write_latch
_glcd_horizontal
_glcd_vertical
_i2c_ack
_i2c_nack
_lcd_blink_cursor_on
_lcd_clear
_lcd_cursor_off
_lcd_first_row
_lcd_fourth_row
_lcd_move_cursor_left
_lcd_move_cursor_right
_lcd_return_home
_lcd_second_row
_lcd_shift_left
_lcd_shift_right
_lcd_third_row
_lcd_turn_off
_lcd_turn_on
_lcd_underline_on
_rs485_start_byte
_rs485_stop_byte
_s1d13700_horizontal
_s1d13700_vertical
_sin_deg
_spi_clk_idle_high
_spi_clk_idle_low
_spi_data_sample_end
_spi_data_sample_middle
_spi_ethernet_24j600_broadcast
_spi_ethernet_24j600_crc
_spi_ethernet_24j600_multicast
_spi_ethernet_24j600_unicast
_spi_ethernet_broadcast
_spi_ethernet_crc
_spi_ethernet_multicast
_spi_ethernet_unicast
_spi_glcd_horizontal
_spi_glcd_vertical
_spi_high_2_low
_spi_low_2_high
_spi_master_osc_div16
_spi_master_osc_div4
_spi_master_osc_div64
_spi_master_tmr2
_spi_slave_ss_dis
_spi_slave_ss_enable
_spi_t6963c_horizontal
_spi_t6963c_vertical
_t6963c_horizontal
_t6963c_vertical
a
abchannelhsampfactor
abchannelhuffactablemap
abchannelhuffdctablemap
abchannelmap
abchannelquanttablemap
abchanneltype
abchannelvsampfactor
abdatabuffer
abden
abden_bit
abdovf
abdovf_bit
abhuffacsymbol
abhuffacsymlen
abhuffdcsymbol
abhuffdcsymlen
abs
access
ackdt
ackdt_bit
acken
acken_bit
ackstat
ackstat_bit
acos
acqt0
acqt0_bit
acqt1
acqt1_bit
acqt2
acqt2_bit
actvie
actvie_bit
actvif
actvif_bit
adc_get_sample
adc_get_sample_ptr
adc_init
adc_read
adcon0
adcon1
adcon2
adcs0
adcs0_bit
adcs1
adcs1_bit
adcs2
adcs2_bit
add_32x32_fp
adden
adden_bit
addr0
addr0_bit
addr0_uaddr_bit
addr1
addr1_bit
addr1_uaddr_bit
addr2
addr2_bit
addr2_uaddr_bit
addr3
addr3_bit
addr3_uaddr_bit
addr4
addr4_bit
addr5
addr5_bit
addr6
addr6_bit
aden
aden_bit
adfm
adfm_bit
adie
adie_bit
adif
adif_bit
adip
adip_bit
adon
adon_bit
adres
adresh
adresl
an0
an0_bit
an1
an1_bit
an2
an2_bit
an3
an3_bit
an4
an4_bit
asin
asoneblock
asprevdcvalue
atan
atan2
atof
atoi
atol
aux1
aux2
awhuffacsymstart
awhuffdcsymstart
awquanttable
b0
b1
b2
b3
b4
b5
b6
b7
banked
baudcon
baudctl
bbitsavailable
bblocksinonepass
bcd2dec
bcd2dec16
bchannels
bclie
bclie_bit
bclif
bclif_bit
bclip
bclip_bit
bdatabits
berror
bf
bf_bit
bfirstbit
bgst
bgst_bit
bhufftables
bljfif
blquantuses16bits
bmajorrev
bminorrev
bor
bor_bit
brg16
brg16_bit
brgh
brgh_bit
bsr
bsubsampletype
btoee
btoee_bit
btoef
btoef_bit
btsee
btsee_bit
btsef
btsef_bit
button
byte2double
bytetohex
bytetostr
c
c_bit
c1inv
c1inv_bit
c1out
c1out_bit
c2inv
c2inv_bit
c2out
c2out_bit
canspigetoperationmode
canspiinitialize
canspiread
canspisetbaudrate
canspisetfilter
canspisetmask
canspisetoperationmode
canspiwrite
ccp1
ccp1_bit
ccp1as
ccp1con
ccp1del
ccp1ie
ccp1ie_bit
ccp1if
ccp1if_bit
ccp1ip
ccp1ip_bit
ccp1m0
ccp1m0_bit
ccp1m1
ccp1m1_bit
ccp1m2
ccp1m2_bit
ccp1m3
ccp1m3_bit
ccp2con
ccp2ie
ccp2ie_bit
ccp2if
ccp2if_bit
ccp2ip
ccp2ip_bit
ccp2m0
ccp2m0_bit
ccp2m1
ccp2m1_bit
ccp2m2
ccp2m2_bit
ccp2m3
ccp2m3_bit
ccpr1
ccpr1h
ccpr1l
ccpr2
ccpr2h
ccpr2l
ceil
cf_detect
cf_disable
cf_enable
cf_fat_append
cf_fat_assign
cf_fat_delete
cf_fat_get_file_date
cf_fat_get_file_date_modified
cf_fat_get_file_size
cf_fat_get_swap_file
cf_fat_init
cf_fat_quickformat
cf_fat_read
cf_fat_reset
cf_fat_rewrite
cf_fat_set_file_date
cf_fat_write
cf_init
cf_issue_id_command
cf_read_byte
cf_read_init
cf_read_sector
cf_write_byte
cf_write_init
cf_write_sector
cfgs
cfgs_bit
character8x7
chs0
chs0_bit
chs1
chs1_bit
chs2
chs2_bit
chs3
chs3_bit
cis
cis_bit
ck
ck_bit
ck1spp
ck1spp_bit
ck2spp
ck2spp_bit
cke
cke_bit
ckp
ckp_bit
cl_aqua
cl_aqua_16bit
cl_black
cl_black_16bit
cl_blue
cl_blue_16bit
cl_fuchsia
cl_fuchsia_16bit
cl_gray
cl_gray_16bit
cl_green
cl_green_16bit
cl_lime
cl_lime_16bit
cl_maroon
cl_maroon_16bit
cl_navy
cl_navy_16bit
cl_olive
cl_olive_16bit
cl_purple
cl_purple_16bit
cl_red
cl_red_16bit
cl_silver
cl_silver_16bit
cl_teal
cl_teal_16bit
cl_white
cl_white_16bit
cl_yellow
cl_yellow_16bit
clk1en
clk1en_bit
clkcfg0
clkcfg0_bit
clkcfg1
clkcfg1_bit
cm0
cm0_bit
cm1
cm1_bit
cm2
cm2_bit
cmcon
cmie
cmie_bit
cmif
cmif_bit
cmip
cmip_bit
comfrem
compare_double
cos
cose3
cosh
cr
crc16ee
crc16ee_bit
crc16ef
crc16ef_bit
crc5ee
crc5ee_bit
crc5ef
crc5ef_bit
cren
cren_bit
crlf
csen
csen_bit
csrc
csrc_bit
cvr0
cvr0_bit
cvr1
cvr1_bit
cvr2
cvr2_bit
cvr3
cvr3_bit
cvrcon
cvref
cvref_bit
cvren
cvren_bit
cvroe
cvroe_bit
cvrr
cvrr_bit
cvrss
cvrss_bit
d
d_a
d_a_bit
d_bit
d_not_a
d_not_a_bit
data_address
data_address_bit
dc
dc_bit
dc1b0
dc1b0_bit
dc1b1
dc1b1_bit
dc2b0
dc2b0_bit
dc2b1
dc2b1_bit
dec2bcd
dec2bcd16
delay_100ms
delay_10ms
delay_10us
delay_1ms
delay_1sec
delay_1us
delay_22us
delay_500us
delay_50us
delay_5500us
delay_5ms
delay_80us
delay_8ms
delay_cyc
dfn8ee
dfn8ee_bit
dfn8ef
dfn8ef_bit
dir_
dir__bit
div
div_16x16_s
div_16x16_s_l
div_16x16_u
div_32x32_fp
div_32x32_s
div_32x32_u
div_8x8_s
div_8x8_u
done
done_bit
double2byte
double2int
double2longint
double2longword
double2word
eccp1as
eccp1con
eccp1del
eccpas0
eccpas0_bit
eccpas1
eccpas1_bit
eccpas2
eccpas2_bit
eccpase
eccpase_bit
eeadr
eecon1
eecon2
eedata
eeie
eeie_bit
eeif
eeif_bit
eeip
eeip_bit
eepgd
eepgd_bit
eeprom_read
eeprom_write
endp0
endp0_bit
endp1
endp1_bit
endp2
endp2_bit
endp3
endp3_bit
epcondis
epcondis_bit
epcondis_uep1_bit
epcondis_uep10_bit
epcondis_uep11_bit
epcondis_uep12_bit
epcondis_uep13_bit
epcondis_uep14_bit
epcondis_uep15_bit
epcondis_uep2_bit
epcondis_uep3_bit
epcondis_uep4_bit
epcondis_uep5_bit
epcondis_uep6_bit
epcondis_uep7_bit
epcondis_uep8_bit
epcondis_uep9_bit
ephshk
ephshk_bit
ephshk_uep1_bit
ephshk_uep10_bit
ephshk_uep11_bit
ephshk_uep12_bit
ephshk_uep13_bit
ephshk_uep14_bit
ephshk_uep15_bit
ephshk_uep2_bit
ephshk_uep3_bit
ephshk_uep4_bit
ephshk_uep5_bit
ephshk_uep6_bit
ephshk_uep7_bit
ephshk_uep8_bit
ephshk_uep9_bit
epinen
epinen_bit
epinen_uep1_bit
epinen_uep10_bit
epinen_uep11_bit
epinen_uep12_bit
epinen_uep13_bit
epinen_uep14_bit
epinen_uep15_bit
epinen_uep2_bit
epinen_uep3_bit
epinen_uep4_bit
epinen_uep5_bit
epinen_uep6_bit
epinen_uep7_bit
epinen_uep8_bit
epinen_uep9_bit
epouten
epouten_bit
epouten_uep1_bit
epouten_uep10_bit
epouten_uep11_bit
epouten_uep12_bit
epouten_uep13_bit
epouten_uep14_bit
epouten_uep15_bit
epouten_uep2_bit
epouten_uep3_bit
epouten_uep4_bit
epouten_uep5_bit
epouten_uep6_bit
epouten_uep7_bit
epouten_uep8_bit
epouten_uep9_bit
epstall
epstall_bit
epstall_uep1_bit
epstall_uep10_bit
epstall_uep11_bit
epstall_uep12_bit
epstall_uep13_bit
epstall_uep14_bit
epstall_uep15_bit
epstall_uep2_bit
epstall_uep3_bit
epstall_uep4_bit
epstall_uep5_bit
epstall_uep6_bit
epstall_uep7_bit
epstall_uep8_bit
epstall_uep9_bit
equals_double
exp
expander_init
expander_init_advanced
expander_read_byte
expander_read_porta
expander_read_portab
expander_read_portb
expander_set_directionporta
expander_set_directionportab
expander_set_directionportb
expander_set_pullupsporta
expander_set_pullupsportab
expander_set_pullupsportb
expander_write_byte
expander_write_porta
expander_write_portab
expander_write_portb
f
f16_boot_template
f16_filedesc
f16_sector
fabs
fast
ferr
ferr_bit
fixsign32
flag
flash_erase_64
flash_erase_write_64
flash_read
flash_read_n_bytes
flash_write_32
floattostr
floor
flts
flts_bit
fo_horizontal
fo_horizontal_16bit
fo_vertical
fo_vertical_16bit
font_glcd_5x7
font_glcd_character8x7
font_glcd_system3x5
font_glcd_system5x7
font5x7
fontsystem5x7_v2
freadneedsupdate
free
free_bit
freemem
frexp
frm0
frm0_bit
frm1
frm1_bit
frm10
frm10_bit
frm2
frm2_bit
frm3
frm3_bit
frm4
frm4_bit
frm5
frm5_bit
frm6
frm6_bit
frm7
frm7_bit
frm8
frm8_bit
frm9
frm9_bit
fsect
fsen
fsen_bit
fsr0
fsr0h
fsr0l
fsr0ptr
fsr1
fsr1h
fsr1l
fsr1ptr
fsr2
fsr2h
fsr2l
fsr2ptr
fullbits
gcen
gcen_bit
gen_enable
gen_read
gen_write
get_fosc_khz
gie
gie_bit
gie_gieh
gie_gieh_bit
gieh
gieh_bit
giel
giel_bit
glcd_box
glcd_circle
glcd_circle_fill
glcd_defaultfont
glcd_dot
glcd_ext_image
glcd_ext_partialimage
glcd_fill
glcd_get_ext_data_ptr
glcd_h_line
glcd_image
glcd_init
glcd_line
glcd_partialimage
glcd_read_data
glcd_rectangle
glcd_rectangle_round_edges
glcd_rectangle_round_edges_fill
glcd_set_ext_buffer
glcd_set_ext_font_adv
glcd_set_font
glcd_set_font_adv
glcd_set_page
glcd_set_side
glcd_set_x
glcd_v_line
glcd_write_char
glcd_write_char_adv
glcd_write_const_text
glcd_write_const_text_adv
glcd_write_const_text_return_pos
glcd_write_data
glcd_write_text
glcd_write_text_adv
glcd_write_text_return_pos
go
go_bit
go_done
go_done_bit
go_not_done
go_not_done_bit
h
halfbits
hid_disable
hid_enable
hid_read
hid_write
hlvdcon
hlvden
hlvden_bit
hlvdie
hlvdie_bit
hlvdif
hlvdif_bit
hlvdin
hlvdin_bit
hlvdip
hlvdip_bit
hlvdl0
hlvdl0_bit
hlvdl1
hlvdl1_bit
hlvdl2
hlvdl2_bit
hlvdl3
hlvdl3_bit
i2c_dat
i2c_dat_bit
i2c_read
i2c_read_bit
i2c_start_
i2c_start__bit
i2c_stop_
i2c_stop__bit
i2c1_init
i2c1_is_idle
i2c1_rd
i2c1_repeated_start
i2c1_start
i2c1_stop
i2c1_wr
ics_auto
ics_off
idleie
idleie_bit
idleif
idleif_bit
idlen
idlen_bit
imagefileasarray
indf0
indf1
indf2
int0
int0_bit
int0e
int0e_bit
int0f
int0f_bit
int0ie
int0ie_bit
int0if
int0if_bit
int1
int1_bit
int1e
int1e_bit
int1f
int1f_bit
int1ie
int1ie_bit
int1if
int1if_bit
int1ip
int1ip_bit
int1p
int1p_bit
int2
int2_bit
int2double
int2e
int2e_bit
int2f
int2f_bit
int2ie
int2ie_bit
int2if
int2if_bit
int2ip
int2ip_bit
int2p
int2p_bit
intcon
intcon2
intcon3
intedg0
intedg0_bit
intedg1
intedg1_bit
intedg2
intedg2_bit
intsrc
intsrc_bit
inttohex
inttostr
inttostrwithzeros
iofs
iofs_bit
ipen
ipen_bit
ipr1
ipr2
ircf0
ircf0_bit
ircf1
ircf1_bit
ircf2
ircf2_bit
irvst
irvst_bit
isalnum
isalpha
iscntrl
isdigit
isgraph
islower
ispunct
isspace
isupper
isxdigit
ivrst
ivrst_bit
jpegdecoder
jpegdecoder_16bit
keypad_init
keypad_key_click
keypad_key_press
labs
lata
lata0
lata0_bit
lata1
lata1_bit
lata2
lata2_bit
lata3
lata3_bit
lata4
lata4_bit
lata5
lata5_bit
lata6
lata6_bit
latb
latb0
latb0_bit
latb1
latb1_bit
latb2
latb2_bit
latb3
latb3_bit
latb4
latb4_bit
latb5
latb5_bit
latb6
latb6_bit
latb7
latb7_bit
latc
latc0
latc0_bit
latc1
latc1_bit
latc2
latc2_bit
latc6
latc6_bit
latc7
latc7_bit
latd
latd0
latd0_bit
latd1
latd1_bit
latd2
latd2_bit
latd3
latd3_bit
latd4
latd4_bit
latd5
latd5_bit
latd6
latd6_bit
latd7
latd7_bit
late
late0
late0_bit
late1
late1_bit
late2
late2_bit
lcd
lcd_chr
lcd_chr_cp
lcd_cmd
lcd_d4
lcd_d4_direction
lcd_d5
lcd_d5_direction
lcd_d6
lcd_d6_direction
lcd_d7
lcd_d7_direction
lcd_en
lcd_en_direction
lcd_init
lcd_out
lcd_out_cp
lcd_rs
lcd_rs_direction
ldexp
ldiv
left_to_right
left_to_right_16bit
lf
log
log10
longint2double
longinttohex
longinttostrwithzeros
longjmp
longtostr
longword2double
longwordtohex
longwordtostr
longwordtostrwithzeros
ltrim
lvdcon
lvden
lvden_bit
lvdie
lvdie_bit
lvdif
lvdif_bit
lvdin
lvdin_bit
lvdip
lvdip_bit
lvdl0
lvdl0_bit
lvdl1
lvdl1_bit
lvdl2
lvdl2_bit
lvdl3
lvdl3_bit
lvv0
lvv0_bit
lvv1
lvv1_bit
lvv2
lvv2_bit
lvv3
lvv3_bit
main
malloc
man_break
man_receive
man_receive_init
man_send
man_send_init
man_synchro
max
max_files
memchr
memcmp
memcpy
memmove
memset
min
mm_error_
mm_freememtable
mm_init
mm_largestfreememblock
mm_nrfreeblocksused
mm_possiblyfragmented
mm_totalfreememsize
mmc_fat_activate
mmc_fat_append
mmc_fat_assign
mmc_fat_changedir
mmc_fat_close
mmc_fat_delete
mmc_fat_dir
mmc_fat_eof
mmc_fat_exists
mmc_fat_get_file_date
mmc_fat_get_file_date_modified
mmc_fat_get_file_size
mmc_fat_get_swap_file
mmc_fat_init
mmc_fat_makedir
mmc_fat_open
mmc_fat_quickformat
mmc_fat_read
mmc_fat_readn
mmc_fat_removedir
mmc_fat_rename
mmc_fat_renamedir
mmc_fat_reset
mmc_fat_rewrite
mmc_fat_seek
mmc_fat_set_file_date
mmc_fat_tell
mmc_fat_write
mmc_get_file_write_sector
mmc_init
mmc_init_vars
mmc_multi_read_sector
mmc_multi_read_start
mmc_multi_read_stop
mmc_read_cid
mmc_read_csd
mmc_read_sector
mmc_write_sector
modf
mul_16x16_s
mul_16x16_u
mul_32x32_fp
mul_32x32_s
mul_32x32_u
mul_8x8_s
n
n_bit
not_a
not_a_bit
not_address
not_address_bit
not_bor
not_bor_bit
not_done
not_done_bit
not_ipen
not_ipen_bit
not_pd
not_pd_bit
not_por
not_por_bit
not_rbpu
not_rbpu_bit
not_ri
not_ri_bit
not_t1sync
not_t1sync_bit
not_t3sync
not_t3sync_bit
not_to
not_to_bit
not_w
not_w_bit
not_write
not_write_bit
nr_free_blocks
nrm3232
nrm4032
oerr
oerr_bit
oespp
oespp_bit
osc2
osc2_bit
osccon
oscfie
oscfie_bit
oscfif
oscfif_bit
oscfip
oscfip_bit
osctune
osts
osts_bit
ov
ov_bit
ow_read
ow_reset
ow_write
p
p_bit
p1a
p1a_bit
p1m0
p1m0_bit
p1m1
p1m1_bit
pbcurrenthuffsymboltable
pbcurrenthuffsymlentable
pc
pcfg0
pcfg0_bit
pcfg1
pcfg1_bit
pcfg2
pcfg2_bit
pcfg3
pcfg3_bit
pcl
pclath
pclatu
pcu0
pcu0_bit
pcu1
pcu1_bit
pcu2
pcu2_bit
pcu3
pcu3_bit
pcu4
pcu4_bit
pd
pd_bit
pdc0
pdc0_bit
pdc1
pdc1_bit
pdc2
pdc2_bit
pdc3
pdc3_bit
pdc4
pdc4_bit
pdc5
pdc5_bit
pdc6
pdc6_bit
peie
peie_bit
peie_giel
peie_giel_bit
pen
pen_bit
pgc
pgc_bit
pgd
pgd_bit
pgm
pgm_bit
pidee
pidee_bit
pidef
pidef_bit
pie1
pie2
pir1
pir2
pktdis
pktdis_bit
plusw0
plusw1
plusw2
por
por_bit
porta
portb
portc
portd
porte
postdec0
postdec1
postdec2
postinc0
postinc1
postinc2
pow
ppb0
ppb0_bit
ppb1
ppb1_bit
ppbi
ppbi_bit
ppbrst
ppbrst_bit
pr2
preinc0
preinc1
preinc2
printout
prod
prodh
prodl
prsen
prsen_bit
ps2_config
ps2_key_read
psa
psa_bit
pssac0
pssac0_bit
pssac1
pssac1_bit
pssbd0
pssbd0_bit
pssbd1
pssbd1_bit
pwcurrenthuffsymstarttable
pwcurrentquanttable
pwm1_init
pwm1_set_duty
pwm1_start
pwm1_stop
pwm2_init
pwm2_set_duty
pwm2_start
pwm2_stop
r
r_bit
r_not_w
r_not_w_bit
r_w
r_w_bit
r0
r1
r10
r11
r12
r13
r14
r15
r16
r17
r18
r19
r2
r20
r3
r4
r5
r6
r7
r8
r9
ra0
ra0_bit
ra1
ra1_bit
ra2
ra2_bit
ra3
ra3_bit
ra4
ra4_bit
ra5
ra5_bit
ra6
ra6_bit
rand
rb0
rb0_bit
rb1
rb1_bit
rb2
rb2_bit
rb3
rb3_bit
rb4
rb4_bit
rb5
rb5_bit
rb6
rb6_bit
rb7
rb7_bit
rbie
rbie_bit
rbif
rbif_bit
rbip
rbip_bit
rbpu
rbpu_bit
rc0
rc0_bit
rc1
rc1_bit
rc2
rc2_bit
rc4
rc4_bit
rc5
rc5_bit
rc6
rc6_bit
rc7
rc7_bit
rcen
rcen_bit
rcidl
rcidl_bit
rcie
rcie_bit
rcif
rcif_bit
rcip
rcip_bit
rcmt
rcmt_bit
rcon
rcreg
rcsta
rd
rd_bit
rd0
rd0_bit
rd1
rd1_bit
rd16
rd16_bit
rd16_t1con_bit
rd2
rd2_bit
rd3
rd3_bit
rd4
rd4_bit
rd5
rd5_bit
rd6
rd6_bit
rd7
rd7_bit
rdpu
rdpu_bit
rdpu_porte_bit
rdspp
rdspp_bit
re0
re0_bit
re1
re1_bit
re2
re2_bit
re3
re3_bit
read_write
read_write_bit
res
res032
resume_
resume__bit
ri
ri_bit
rs485master_init
rs485master_receive
rs485master_send
rs485slave_init
rs485slave_receive
rs485slave_send
rsen
rsen_bit
rtrim
rx_
rx__bit
rx9
rx9_bit
rx9d
rx9d_bit
rxdtp
rxdtp_bit
s
s_bit
s1d13700_black
s1d13700_box
s1d13700_cgram_adr
s1d13700_circle
s1d13700_circle_fill
s1d13700_cs_down
s1d13700_cs_left
s1d13700_cs_right
s1d13700_cs_up
s1d13700_csrform
s1d13700_csrr
s1d13700_csrw
s1d13700_cursor_block
s1d13700_cursor_flash_1hz
s1d13700_cursor_flash_2hz
s1d13700_cursor_off
s1d13700_cursor_on
s1d13700_cursor_underscore
s1d13700_defaultfont
s1d13700_disp_off
s1d13700_disp_on
s1d13700_display_cursor
s1d13700_display_grlayer
s1d13700_display_txtlayer
s1d13700_dot
s1d13700_ext_image
s1d13700_ext_partialimage
s1d13700_fill
s1d13700_get_ext_data_ptr
s1d13700_grayscale
s1d13700_grfill
s1d13700_h_line
s1d13700_hdot_scr
s1d13700_image
s1d13700_init
s1d13700_layer_flash_16hz
s1d13700_layer_flash_2hz
s1d13700_layer_off
s1d13700_layer_on
s1d13700_line
s1d13700_memread
s1d13700_memwrite
s1d13700_overlay_and
s1d13700_overlay_or
s1d13700_overlay_xor
s1d13700_ovlay
s1d13700_partialimage
s1d13700_power_save
s1d13700_read_parameter
s1d13700_rectangle
s1d13700_rectangle_round_edges
s1d13700_rectangle_round_edges_fill
s1d13700_scroll
s1d13700_set_cursor
s1d13700_set_ext_buffer
s1d13700_set_ext_font_adv
s1d13700_set_font_adv
s1d13700_system_set
s1d13700_txtfill
s1d13700_v_line
s1d13700_white
s1d13700_write_char
s1d13700_write_char_adv
s1d13700_write_command
s1d13700_write_const_text
s1d13700_write_const_text_adv
s1d13700_write_const_text_return_pos
s1d13700_write_parameter
s1d13700_write_text
s1d13700_write_text_adv
s1d13700_write_text_return_pos
sboren
sboren_bit
sckp
sckp_bit
scs0
scs0_bit
scs1
scs1_bit
sdiv3232l
se0
se0_bit
sen
sen_bit
sendb
sendb_bit
setfdz32
setfov32
setfun32
setiov3224
setjmp
shorttohex
shorttostr
sin
sine3
sinh
smp
smp_bit
sofie
sofie_bit
sofif
sofif_bit
soft_i2c_break
soft_i2c_init
soft_i2c_read
soft_i2c_start
soft_i2c_stop
soft_i2c_write
soft_spi_init
soft_spi_read
soft_spi_write
soft_uart_break
soft_uart_init
soft_uart_read
soft_uart_write
sound_init
sound_play
spbrg
spbrgh
spen
spen_bit
spi_ethernet_24j600_arpcache
spi_ethernet_24j600_arpresolve
spi_ethernet_24j600_checksum
spi_ethernet_24j600_clearbitreg
spi_ethernet_24j600_confnetwork
spi_ethernet_24j600_delay
spi_ethernet_24j600_dhcpmsg
spi_ethernet_24j600_dhcpreceive
spi_ethernet_24j600_disable
spi_ethernet_24j600_dnsipaddr
spi_ethernet_24j600_dnsresolve
spi_ethernet_24j600_doarp
spi_ethernet_24j600_dodhcp
spi_ethernet_24j600_dodhcpleasetime
spi_ethernet_24j600_dodns
spi_ethernet_24j600_dopacket
spi_ethernet_24j600_dotcp
spi_ethernet_24j600_doudp
spi_ethernet_24j600_enable
spi_ethernet_24j600_ff
spi_ethernet_24j600_getbyte
spi_ethernet_24j600_getbytes
spi_ethernet_24j600_getdnsipaddress
spi_ethernet_24j600_getgwipaddress
spi_ethernet_24j600_getipaddress
spi_ethernet_24j600_getipmask
spi_ethernet_24j600_gwipaddr
spi_ethernet_24j600_init
spi_ethernet_24j600_init2
spi_ethernet_24j600_initdhcp
spi_ethernet_24j600_ipaddr
spi_ethernet_24j600_ipmask
spi_ethernet_24j600_ipswap
spi_ethernet_24j600_macaddr
spi_ethernet_24j600_macswap
spi_ethernet_24j600_memcmp
spi_ethernet_24j600_memcpy
spi_ethernet_24j600_pktlen
spi_ethernet_24j600_putbyte
spi_ethernet_24j600_putbytes
spi_ethernet_24j600_putconstbytes
spi_ethernet_24j600_putconststring
spi_ethernet_24j600_putstring
spi_ethernet_24j600_ramcopy
spi_ethernet_24j600_readaddr
spi_ethernet_24j600_readmem
spi_ethernet_24j600_readpacket
spi_ethernet_24j600_readphy
spi_ethernet_24j600_readreg
spi_ethernet_24j600_renewdhcp
spi_ethernet_24j600_rmtipaddr
spi_ethernet_24j600_sendudp
spi_ethernet_24j600_sendudp2
spi_ethernet_24j600_setbitreg
spi_ethernet_24j600_setrxreadaddress
spi_ethernet_24j600_subnetbroadcast
spi_ethernet_24j600_txpacket
spi_ethernet_24j600_usertimersec
spi_ethernet_24j600_writeaddr
spi_ethernet_24j600_writemem
spi_ethernet_24j600_writememory
spi_ethernet_24j600_writememory2
spi_ethernet_24j600_writephy
spi_ethernet_24j600_writereg
spi_ethernet_arpcache
spi_ethernet_arpresolve
spi_ethernet_checksum
spi_ethernet_clearbitreg
spi_ethernet_confnetwork
spi_ethernet_delay
spi_ethernet_dhcpmsg
spi_ethernet_dhcpreceive
spi_ethernet_disable
spi_ethernet_dnsipaddr
spi_ethernet_dnsresolve
spi_ethernet_doarp
spi_ethernet_dodhcp
spi_ethernet_dodhcpleasetime
spi_ethernet_dodns
spi_ethernet_dopacket
spi_ethernet_dotcp
spi_ethernet_doudp
spi_ethernet_enable
spi_ethernet_ff
spi_ethernet_getbyte
spi_ethernet_getbytes
spi_ethernet_getdnsipaddress
spi_ethernet_getgwipaddress
spi_ethernet_getipaddress
spi_ethernet_getipmask
spi_ethernet_gwipaddr
spi_ethernet_init
spi_ethernet_init2
spi_ethernet_initdhcp
spi_ethernet_ipaddr
spi_ethernet_ipmask
spi_ethernet_ipswap
spi_ethernet_macaddr
spi_ethernet_macswap
spi_ethernet_memcmp
spi_ethernet_memcpy
spi_ethernet_pktlen
spi_ethernet_putbyte
spi_ethernet_putbytes
spi_ethernet_putconstbytes
spi_ethernet_putconststring
spi_ethernet_putstring
spi_ethernet_ramcopy
spi_ethernet_readmem
spi_ethernet_readpacket
spi_ethernet_readphy
spi_ethernet_readreg
spi_ethernet_renewdhcp
spi_ethernet_rmtipaddr
spi_ethernet_sendudp
spi_ethernet_sendudp2
spi_ethernet_setbitreg
spi_ethernet_setrxreadaddress
spi_ethernet_subnetbroadcast
spi_ethernet_txpacket
spi_ethernet_usertimersec
spi_ethernet_writeaddr
spi_ethernet_writemem
spi_ethernet_writememory
spi_ethernet_writememory2
spi_ethernet_writephy
spi_ethernet_writereg
spi_glcd_box
spi_glcd_circle
spi_glcd_circle_fill
spi_glcd_const_write_text
spi_glcd_dot
spi_glcd_ext_image
spi_glcd_ext_partialimage
spi_glcd_fill
spi_glcd_get_ext_data_ptr
spi_glcd_h_line
spi_glcd_image
spi_glcd_init
spi_glcd_line
spi_glcd_partialimage
spi_glcd_read_data
spi_glcd_rectangle
spi_glcd_rectangle_round_edges
spi_glcd_rectangle_round_edges_fill
spi_glcd_set_ext_buffer
spi_glcd_set_ext_font_adv
spi_glcd_set_font
spi_glcd_set_font_adv
spi_glcd_set_page
spi_glcd_set_side
spi_glcd_set_x
spi_glcd_v_line
spi_glcd_write_char
spi_glcd_write_char_adv
spi_glcd_write_const_text_adv
spi_glcd_write_const_text_return_pos
spi_glcd_write_data
spi_glcd_write_text
spi_glcd_write_text_adv
spi_glcd_write_text_return_pos
spi_lcd_chr
spi_lcd_chr_cp
spi_lcd_cmd
spi_lcd_config
spi_lcd_out
spi_lcd_out_cp
spi_lcd8_chr
spi_lcd8_chr_cp
spi_lcd8_cmd
spi_lcd8_config
spi_lcd8_out
spi_lcd8_out_cp
spi_rd_ptr
spi_read
spi_set_active
spi_t6963c_box
spi_t6963c_circle
spi_t6963c_circle_fill
spi_t6963c_clearbit
spi_t6963c_config
spi_t6963c_defaultfont
spi_t6963c_display
spi_t6963c_dot
spi_t6963c_ext_image
spi_t6963c_ext_partialimage
spi_t6963c_fill
spi_t6963c_fontwidth
spi_t6963c_get_ext_data_ptr
spi_t6963c_grheight
spi_t6963c_grhomeaddr
spi_t6963c_grmemsize
spi_t6963c_grwidth
spi_t6963c_image
spi_t6963c_line
spi_t6963c_negbit
spi_t6963c_partialimage
spi_t6963c_rectangle
spi_t6963c_rectangle_round_edges
spi_t6963c_rectangle_round_edges_fill
spi_t6963c_set_cursor
spi_t6963c_set_ext_buffer
spi_t6963c_set_ext_font_adv
spi_t6963c_set_font_adv
spi_t6963c_setbit
spi_t6963c_setptr
spi_t6963c_sprite
spi_t6963c_texthomeaddr
spi_t6963c_txtcols
spi_t6963c_txtmemsize
spi_t6963c_waitready
spi_t6963c_write_char
spi_t6963c_write_char_adv
spi_t6963c_write_const_text
spi_t6963c_write_const_text_adv
spi_t6963c_write_const_text_return_pos
spi_t6963c_write_text
spi_t6963c_write_text_adv
spi_t6963c_write_text_return_pos
spi_t6963c_writecommand
spi_t6963c_writedata
spi_wr_ptr
spi_write
spi1_init
spi1_init_advanced
spi1_read
spi1_write
spp0
spp0_bit
spp1
spp1_bit
spp2
spp2_bit
spp3
spp3_bit
spp4
spp4_bit
spp5
spp5_bit
spp6
spp6_bit
spp7
spp7_bit
sppbusy
sppbusy_bit
sppcfg
sppcon
sppdata
sppen
sppen_bit
sppeps
sppie
sppie_bit
sppif
sppif_bit
sppip
sppip_bit
sppown
sppown_bit
sprintf
sprinti
sprintl
sqrt
srand
sren
sren_bit
sspadd
sspbuf
sspcon1
sspcon2
sspen
sspen_bit
sspie
sspie_bit
sspif
sspif_bit
sspip
sspip_bit
sspm0
sspm0_bit
sspm1
sspm1_bit
sspm2
sspm2_bit
sspm3
sspm3_bit
sspov
sspov_bit
sspstat
stallie
stallie_bit
stallif
stallif_bit
status
stkful
stkful_bit
stkovf
stkovf_bit
stkptr
stkptr0
stkptr0_bit
stkptr1
stkptr1_bit
stkptr2
stkptr2_bit
stkptr3
stkptr3_bit
stkptr4
stkptr4_bit
stkunf
stkunf_bit
strcat
strchr
strcmp
strcpy
strcspn
strlen
strncat
strncmp
strncpy
strpbrk
strrchr
strspn
strstr
strtok
sub_32x32_fp
suspnd
suspnd_bit
swap
swdte
swdte_bit
swdten
swdten_bit
sync
sync_bit
system3x5
t08bit
t08bit_bit
t0cki
t0cki_bit
t0con
t0cs
t0cs_bit
t0ie
t0ie_bit
t0if
t0if_bit
t0ip
t0ip_bit
t0ps0
t0ps0_bit
t0ps1
t0ps1_bit
t0ps2
t0ps2_bit
t0se
t0se_bit
t13cki
t13cki_bit
t1ckps0
t1ckps0_bit
t1ckps1
t1ckps1_bit
t1con
t1oscen
t1oscen_bit
t1osi
t1osi_bit
t1oso
t1oso_bit
t1run
t1run_bit
t1sync
t1sync_bit
t2ckps0
t2ckps0_bit
t2ckps1
t2ckps1_bit
t2con
t2outps0
t2outps0_bit
t2outps1
t2outps1_bit
t2outps2
t2outps2_bit
t2outps3
t2outps3_bit
t3ccp1
t3ccp1_bit
t3ccp2
t3ccp2_bit
t3ckps0
t3ckps0_bit
t3ckps1
t3ckps1_bit
t3con
t3nsync
t3nsync_bit
t3sync
t3sync_bit
t6963c_box
t6963c_circle
t6963c_circle_fill
t6963c_defaultfont
t6963c_display
t6963c_dot
t6963c_ext_image
t6963c_ext_partialimage
t6963c_fill
t6963c_fontwidth
t6963c_get_ext_data_ptr
t6963c_grheight
t6963c_grhomeaddr
t6963c_grmemsize
t6963c_grwidth
t6963c_image
t6963c_init
t6963c_line
t6963c_partialimage
t6963c_rectangle
t6963c_rectangle_round_edges
t6963c_rectangle_round_edges_fill
t6963c_set_cursor
t6963c_set_ext_buffer
t6963c_set_ext_font_adv
t6963c_set_font_adv
t6963c_setptr
t6963c_sprite
t6963c_texthomeaddr
t6963c_txtcols
t6963c_txtmemsize
t6963c_waitready
t6963c_write_char
t6963c_write_char_adv
t6963c_write_const_text
t6963c_write_const_text_adv
t6963c_write_const_text_return_pos
t6963c_write_text
t6963c_write_text_adv
t6963c_write_text_return_pos
t6963c_writecommand
t6963c_writedata
tablat
tan
tanh
tblptr
tblptrh
tblptrl
tblptru
tft_16bit_circle
tft_16bit_color16bittorgb
tft_16bit_defaultfont
tft_16bit_dot
tft_16bit_ext_image
tft_16bit_ext_partial_image
tft_16bit_fill_screen
tft_16bit_get_ext_data_ptr
tft_16bit_getcurrentcolor
tft_16bit_h_line
tft_16bit_image
tft_16bit_image_jpeg
tft_16bit_line
tft_16bit_partial_image
tft_16bit_rectangle
tft_16bit_rectangle_round_edges
tft_16bit_rgbtocolor16bit
tft_16bit_rotate_180
tft_16bit_set_active
tft_16bit_set_address_ptr
tft_16bit_set_brush
tft_16bit_set_default_mode
tft_16bit_set_ext_buffer
tft_16bit_set_ext_font
tft_16bit_set_font
tft_16bit_set_index
tft_16bit_set_index_ptr
tft_16bit_set_pen
tft_16bit_set_reg
tft_16bit_v_line
tft_16bit_write_char
tft_16bit_write_command
tft_16bit_write_command_ptr
tft_16bit_write_const_text
tft_16bit_write_const_text_return_pos
tft_16bit_write_data
tft_16bit_write_data_ptr
tft_16bit_write_text
tft_16bit_write_text_return_pos
tft_circle
tft_color16bittorgb
tft_defaultfont
tft_dot
tft_ext_image
tft_ext_partial_image
tft_fill_screen
tft_get_ext_data_ptr
tft_getcurrentcolor
tft_h_line
tft_image
tft_image_jpeg
tft_init
tft_init_hx8347g
tft_init_hx8352a
tft_init_ili9340
tft_init_ili9342
tft_init_ili9481
tft_init_r61526
tft_init_ssd1963
tft_init_ssd1963_8bit
tft_init_sst7715r
tft_line
tft_partial_image
tft_rectangle
tft_rectangle_round_edges
tft_rgbtocolor16bit
tft_rotate_180
tft_set_active
tft_set_address_ptr
tft_set_brush
tft_set_default_mode
tft_set_ext_buffer
tft_set_ext_font
tft_set_font
tft_set_index
tft_set_index_ptr
tft_set_pen
tft_set_reg
tft_ssd1963_8bit_set_index
tft_ssd1963_8bit_set_reg
tft_ssd1963_8bit_write_data
tft_ssd1963yt_8bit_write_command
tft_v_line
tft_write_char
tft_write_command
tft_write_command_ptr
tft_write_const_text
tft_write_const_text_return_pos
tft_write_data
tft_write_data_ptr
tft_write_text
tft_write_text_return_pos
time_datetoepoch
time_epochtodate
time_jd1970
tmr0h
tmr0ie
tmr0ie_bit
tmr0if
tmr0if_bit
tmr0ip
tmr0ip_bit
tmr0l
tmr0on
tmr0on_bit
tmr1cs
tmr1cs_bit
tmr1h
tmr1ie
tmr1ie_bit
tmr1if
tmr1if_bit
tmr1ip
tmr1ip_bit
tmr1l
tmr1on
tmr1on_bit
tmr2
tmr2ie
tmr2ie_bit
tmr2if
tmr2if_bit
tmr2ip
tmr2ip_bit
tmr2on
tmr2on_bit
tmr3cs
tmr3cs_bit
tmr3h
tmr3ie
tmr3ie_bit
tmr3if
tmr3if_bit
tmr3ip
tmr3ip_bit
tmr3l
tmr3on
tmr3on_bit
to_
to__bit
tolower
top_to_bottom
top_to_bottom_16bit
tosh
tosl
tosu
toupper
toutps0
toutps0_bit
toutps1
toutps1_bit
toutps2
toutps2_bit
toutps3
toutps3_bit
tp_calibrate_bottom_left
tp_calibrate_upper_right
tp_get_calibration_consts
tp_get_coordinates
tp_init
tp_press_detect
tp_set_adc_threshold
tp_set_calibration_consts
tp_tft_calibrate_max
tp_tft_calibrate_min
tp_tft_get_calibration_consts
tp_tft_get_coordinates
tp_tft_init
tp_tft_press_detect
tp_tft_rotate_180
tp_tft_set_adc_threshold
tp_tft_set_calibration_consts
tp_tft_set_default_mode
trisa
trisa0
trisa0_bit
trisa1
trisa1_bit
trisa2
trisa2_bit
trisa3
trisa3_bit
trisa4
trisa4_bit
trisa5
trisa5_bit
trisa6
trisa6_bit
trisb
trisb0
trisb0_bit
trisb1
trisb1_bit
trisb2
trisb2_bit
trisb3
trisb3_bit
trisb4
trisb4_bit
trisb5
trisb5_bit
trisb6
trisb6_bit
trisb7
trisb7_bit
trisc
trisc0
trisc0_bit
trisc1
trisc1_bit
trisc2
trisc2_bit
trisc6
trisc6_bit
trisc7
trisc7_bit
trisd
trisd0
trisd0_bit
trisd1
trisd1_bit
trisd2
trisd2_bit
trisd3
trisd3_bit
trisd4
trisd4_bit
trisd5
trisd5_bit
trisd6
trisd6_bit
trisd7
trisd7_bit
trise
trise0
trise0_bit
trise1
trise1_bit
trise2
trise2_bit
trmt
trmt_bit
trnie
trnie_bit
trnif
trnif_bit
tun0
tun0_bit
tun1
tun1_bit
tun2
tun2_bit
tun3
tun3_bit
tun4
tun4_bit
tx
tx_bit
tx9
tx9_bit
tx9d
tx9d_bit
txckp
txckp_bit
txen
txen_bit
txie
txie_bit
txif
txif_bit
txip
txip_bit
txreg
txsta
ua
ua_bit
uaddr
uart_data_ready
uart_rd_ptr
uart_rdy_ptr
uart_read
uart_read_text
uart_set_active
uart_tx_idle
uart_tx_idle_ptr
uart_wr_ptr
uart_write
uart_write_text
uart1_data_ready
uart1_init
uart1_read
uart1_read_text
uart1_tx_idle
uart1_write
uart1_write_text
ucfg
ucon
ueie
ueir
uep0
uep1
uep10
uep11
uep12
uep13
uep14
uep15
uep2
uep3
uep4
uep5
uep6
uep7
uep8
uep9
uerrie
uerrie_bit
uerrif
uerrif_bit
ufrmh
ufrml
uie
uir
uldiv
uoemon
uoemon_bit
upuen
upuen_bit
urstie
urstie_bit
urstif
urstif_bit
usb_break
usb_interrupt_proc
usb_polling_proc
usben
usben_bit
usbie
usbie_bit
usbif
usbif_bit
usbip
usbip_bit
ustat
uteye
uteye_bit
utrdis
utrdis_bit
vcfg0
vcfg0_bit
vcfg1
vcfg1_bit
vdelay_advanced_ms
vdelay_ms
vdirmag
vdirmag_bit
vrefm
vrefm_bit
vrefp
vrefp_bit
w
wblocknumber
wbufferindex
wbufferlen
wcol
wcol_bit
wdtcon
wheight
word2double
wordtohex
wordtostr
wordtostrwithzeros
wprevx
wprevy
wr
wr_bit
wreg
wren
wren_bit
wrerr
wrerr_bit
wrestartinterval
wrspp
wrspp_bit
ws0
ws0_bit
ws1
ws1_bit
ws2
ws2_bit
ws3
ws3_bit
wue
wue_bit
wwidth
wworkbits
xtoi
z
z_bit
Calculator/Pronto/Calculator/Calculator.dlt
Calculator/Pronto/Calculator/Calculator.docx
// Sistemas Embarcados
//Rodrigo Reviglio Weishaupt
//201020656
//Calculadora
// LCD module connections
sbit LCD_RS at RE2_bit;
sbit LCD_EN at RE1_bit;
sbit LCD_D4 at RD4_bit;
sbit LCD_D5 at RD5_bit;
sbit LCD_D6 at RD6_bit;
sbit LCD_D7 at RD7_bit;
sbit LCD_RS_Direction at TRISE2_bit;
sbit LCD_EN_Direction at TRISE1_bit;
sbit LCD_D4_Direction at TRISD4_bit;
sbit LCD_D5_Direction at TRISD5_bit;
sbit LCD_D6_Direction at TRISD6_bit;
sbit LCD_D7_Direction at TRISD7_bit;
// End LCD mocule connection
// funcao para escrever no LCD
void LCD(char texto[16]){
Lcd_Cmd(_LCD_CLEAR);
Lcd_Out(1,4,texto);
}
//declaracao de variaveis
int aux1 = -1;
int aux2 = -1;
int flag = -1;
int res = 0;
char H[7];
void main() {
Lcd_Cmd(_LCD_CLEAR); //limpa o LCD
ADCON1=0x0f; //desativa portas AD
trisd=0x0f; //ob00001111
portb=0xff; //ob11111111
trisb=0xf8; //ob11111000
Lcd_Init(); //inicializa o LCD
Lcd_Cmd(_LCD_CURSOR_OFF); //Desabilita o cursor
while(1){
// while para captura do primeiro digito
while(aux1==-1){
portb.rb1=0; //ativa a segunda coluna
if (portd.rd0==0){
aux1=0;
}else if (portd.rd1==0){
aux1=8;
}else if (portd.rd2==0){
aux1 = 5;
}else if (portd.rd3==0){
aux1 = 2;}
portb.rb1=1; //desativa a segunda coluna
portb.rb2=0; //ativa a terceira coluna
if (portd.rd0==0);
else if (portd.rd1==0){
aux1 = 9;
}else if (portd.rd2==0){
aux1 = 6;
}else if (portd.rd3==0){
aux1 = 3;}
portb.rb2=1; //desativa a terceira coluna
portb.rb0=0; //ativa a primeira coluna
if (portd.rd0==0);
else if (portd.rd1==0){
aux1 = 7;
}else if (portd.rd2==0){
aux1 = 4;
}else if (portd.rd3==0){
aux1 = 1;}
portb.rb0=1; //desativa a primeira coluna
};
Lcd_Cmd(_LCD_CLEAR); // limpa o LCD
inttostr(aux1,H); // converte o primeiro digito para uma string
Lcd_Out(1,1,H); // escreve o primeiro digito no LCD
delay_ms(200); // delay
LCD_Out(2,1,"->"); // indica que o software esta pronto para capturar o segundo digito
// while para captura do segundo digito
while(aux2==-1){
portb.rb1=0; //ativa a segunda coluna
if (portd.rd0==0){
aux2=0;
}else if (portd.rd1==0){
aux2=8;
}else if (portd.rd2==0){
aux2 = 5;
}else if (portd.rd3==0){
aux2 = 2;}
portb.rb1=1; //desativa a segunda coluna
portb.rb2=0; //ativa a terceira coluna
if (portd.rd0==0);
else if (portd.rd1==0){
aux2 = 9;
}else if (portd.rd2==0){
aux2 = 6;
}else if (portd.rd3==0){
aux2 = 3;}
portb.rb2=1; //desativa a terceira coluna
portb.rb0=0; //ativa a primeira coluna
if (portd.rd0==0);
else if (portd.rd1==0){
aux2 = 7;
}else if (portd.rd2==0){
aux2 = 4;
}else if (portd.rd3==0){
aux2 = 1;}
portb.rb0=1; //desativa a primeira coluna
};
inttostr(aux2,H); // converte o segundo digito para uma string
Lcd_Out(2,1,H); // escreve o segundo digito no LCD
// while para capturar a operacao matematica
while(flag == -1){
portb.rb2=0; //ativa a terceira coluna
if (portd.rd0==0){
res = aux1 + aux2; // faz a operecao de soma
inttostr(res,H); // converte o resultado da operacao para uma string
LCD(H); // escreve o resultado da operacao no LCD
flag = 0;} // reseta o valor da flag
portb.rb2=1; //desativa a terceira coluna
portb.rb0=0; //ativa a primeira coluna
if (portd.rd0==0){
res = aux1 - aux2; // faz a operecao de subtracao
inttostr(res,H); // converte o resultado da operacao para uma string
LCD(H); // escreve o resultado da operacao no LCD
flag = 0;} // reseta o valor da flag
portb.rb0=1; //desativa a primeira coluna
};
// reseta os valores das variaveis
flag = -1;
aux1 = -1;
aux2 = -1;
res = 0;
delay_ms(1000); // delay
Lcd_Out(1,1,"End"); // indica que o programa chegou ao fim e esta pronot para fazer outra conta
}
}
Calculator/Pronto/Calculator/Calculator.hex
:10000000D1EF01F00000000000EF00F00000000060
:0A0010000000000000000000F3D71C
:06001C00000000001200CC
:100022000F0E0C6E470E0D6E0D2EFED70C2EFCD74A
:06003200000000001200B6
:0A003800210E0D6E0D2EFED71200F2
:100042003EBE02D0839E01D0838E3EBC02D0839CF2
:1000520001D0838C3EBA02D0839A01D0838A3EB803
:1000620002D0839801D0838824B002D0848401D046
:1000720084948482D2DF84923EB602D0839E01D0E1
:10008200838E3EB402D0839C01D0838C3EB202D0D8
:10009200839A01D0838A3EB002D0839801D08388AC
:1000A20024B002D0848401D084948482B6DF849206
:0C00B20024A002D0B5DF01D0BEDF120098
:1000BE00086A096A100E0C6E0134083609360450AF
:1000CE00085E0550D8A0053C095ED8B007D0045094
:1000DE0008260550D8B0053C0926D89000360136C2
:0600EE000C2EEAD71200FF
:0C00F40024903DC03EF0A3DF24801200E9
:100100000FD0800E366E19D0C00E366E16D0940EFB
:10011000366E13D0D40E366E10D0800E366E0DD0E3
:100120003650010AEEE03650020AEEE03650030A7D
:10013000EEE03650040AEEE0F0D73704006E365099
:10014000002600C036F000C03EF07BDF24903A6A03
:100150003A503824E96E000E3920EA6EEE520BE078
:100160003A503824E96E000E3920EA6EEECF3DF0A9
:0A017000C1DF3A2AEDD72480120007
:10017A003A6A050E3A5C0AE23A503824E16E000EF9
:10018A003920E26E200EE66E3A2AF3D73A50382426
:10019A00E16E000E3920E26EE66A3A063A503824D9
:1001AA003B6E000E39203C6E0A0E046E000E056E80
:1001BA0036C000F037C001F07DDF08C000F009C08A
:1001CA0001F0300E00263BC0E1FF3CC0E2FF00C058
:1001DA00E6FF0A0E046E000E056E36C000F037C048
:1001EA0001F068DF00C036F001C037F0000E0118D8
:1001FA0002E1000E001801E102D03A06CFD7120040
:10020A00969296949598959A959C959E84928494A4
:10021A00839E839C839A8398FFDEFEDEFDDE838ABB
:10022A0083888482F6DE8492F7DE8482F2DE849208
:10023A00F3DE8482EEDE8492EFDE83988482E9DE46
:10024A008492EADE8482E5DE8492839A838E8482B3
:10025A00E0DE8492E1DE839E83888482DADE849201
:10026A0083988482D6DE8492D7DE8482D2DE849218
:10027A0083888482CEDE8492CFDE83988482C9DE2C
:10028A008492838E838C838A83888482C2DE84925A
:06029A00C3DE2480120007
:1002A0000900F5CFE6FF0006FBE10106F9E11200C7
:1002B000010E3E6EC6DE010E366E040E376E2CC089
:0A02C00038F02DC039F01CDF1200E9
:1002CA00326A336A2CC034F02DC035F0800E2D18F6
:1002DA00006E800E005C02E1000E2C5C0BE2010E47
:1002EA00326E000E336E2C500008346E2DC035F07D
:1002FA00000E355634C036F035C037F02EC038F00F
:10030A002FC039F035DF060E306E000E316E000E4A
:10031A00006E3150005C02E13050000819E23050A2
:10032A002E24E16E31502F20E26E010E305C006EF9
:10033A00000E3158016E00502E24E96E01502F2014
:10034A00EA6EEECFE6FF010E305E000E315ADFD7BD
:10035A002EC0E1FF2FC0E2FF200EE66E32503310AE
:10036A001AE0306A316A30502E24E96E31502F205B
:10037A00EA6EEE50200A03E1304A312AF4D7010E20
:10038A00305E000E315A30502E24E16E31502F204B
:08039A00E26E2D0EE66E12006A
:1003A200FF0E156EFF0E166EFF0E176EFF0E186E05
:1003B200450E196E6E0E1A6E640E1B6E1C6A1D6A55
:1003C2001E6A2D0E1F6E3E0E206E216AFF0E226ED9
:1003D200FF0E236E010E3E6E33DE0F0EC16E0F0E48
:1003E200956EFF0E816EF80E936E0EDF0C0E3E6E52
:1003F20027DEFF0E231802E1FF0E22184EE1819242
:1004020083B003D0226A236A14D083B205D0080EC7
:10041200226E000E236E0DD083B405D0050E226E1F
:10042200000E236E06D083B604D0020E226E000E9A
:10043200236E8182819483B001D014D083B205D01F
:10044200090E226E000E236E0DD083B405D0060E67
:10045200226E000E236E06D083B604D0030E226EE7
:10046200000E236E8184819083B001D014D083B2B8
:1004720005D0070E226E000E236E0DD083B405D078
:10048200040E226E000E236E06D083B604D0010E37
:10049200226E000E236E8180ACD7010E3E6ED0DD3F
:1004A20022C02CF023C02DF0250E2E6E000E2F6ED2
:1004B2000BDF010E366E010E376E250E386E000E02
:1004C200396E1DDE030E0B6E080E0C6E770E0D6E6E
:1004D2000D2EFED70C2EFCD70B2EFAD7020E366E3F
:1004E200010E376E1F0E386E000E396E08DEFF0EDB
:1004F200161802E1FF0E15184EE1819283B003D067
:10050200156A166A14D083B205D0080E156E000E55
:10051200166E0DD083B405D0050E156E000E166E44
:1005220006D083B604D0020E156E000E166E8182BE
:10053200819483B001D014D083B205D0090E156E18
:10054200000E166E0DD083B405D0060E156E000E89
:10055200166E06D083B604D0030E156E000E166E0C
:100562008184819083B001D014D083B205D0070E6C
:10057200156E000E166E0DD083B405D0040E156EE6
:10058200000E166E06D083B604D0010E156E000E54
:10059200166E8180ACD715C02CF016C02DF0250E3A
:1005A2002E6E000E2F6E90DE020E366E010E376E2C
:1005B200250E386E000E396EA2DDFF0E181802E10C
:1005C200FF0E17183DE1819483B01AD015502224F2
:1005D200006E16502320016E00C01DF001C01EF0F7
:1005E20000C02CF001C02DF0250E2E6E000E2F6ED5
:1005F2006BDE250E2C6E000E2D6E59DE176A186A00
:100602008184819083B01AD01550225C006E1650FE
:100612002358016E00C01DF001C01EF000C02CF076
:1006220001C02DF0250E2E6E000E2F6E4DDE250E12
:100632002C6E000E2D6E3BDE176A186A8180BDD7C4
:10064200FF0E176EFF0E186EFF0E226EFF0E236E48
:10065200FF0E156EFF0E166E1D6A1E6A0B0E0B6ED6
:10066200260E0C6E5D0E0D6E0D2EFED70C2EFCD7D7
:100672000B2EFAD700000000010E366E010E376E07
:0E068200190E386E000E396E3ADDB3D6FFD772
:020000040030CA
:0E000000010C191EFF0080FF0FC00FE00F4023
:00000001FF
Calculator/Pronto/Calculator/Calculator.log
0 1 mikroCPIC1618.exe -MSF -DBG -pP18F4550 -DL -O11111114 -fo8 -N"C:\Users\Aluno\Desktop\Calculator\Calculator.mcppi" -SP"C:\Program Files (x86)\mikroC PRO for PIC\defs\" -SP"C:\Program Files (x86)\mikroC PRO for PIC\uses\P18\" -SP"C:\Users\Aluno\Desktop\Calculator\" -SP"C:\Users\Aluno\Desktop\" "Calculator.c" "Calculator.c" "__Lib_Math.mcl" "__Lib_MathDouble.mcl" "__Lib_System.mcl" "__Lib_Delays.mcl" "__Lib_CType.mcl" "__Lib_CString.mcl" "__Lib_CStdlib.mcl" "__Lib_CMath.mcl" "__Lib_MemManager.mcl" "__Lib_Conversions.mcl" "__Lib_Sprintf.mcl" "__Lib_PrintOut.mcl" "__Lib_Sprinti.mcl" "__Lib_Sprintl.mcl" "__Lib_Time.mcl" "__Lib_Trigonometry.mcl" "__Lib_Button.mcl" "__Lib_Keypad4x4.mcl" "__Lib_Manchester.mcl" "__Lib_OneWire.mcl" "__Lib_PS2.mcl" "__Lib_Sound.mcl" "__Lib_SoftI2C.mcl" "__Lib_SoftSPI.mcl" "__Lib_SoftUART.mcl" "__Lib_ADC_A_D.mcl" "__Lib_EEPROM_256.mcl" "__Lib_FLASH_w32_e64.mcl" "__Lib_I2C_b10.mcl" "__Lib_PWM_c21.mcl" "__Lib_SPI_b10c7.mcl" "__Lib_UART_c67.mcl" "__Lib_USB_genHID.mcl" "__Lib_PortExpander.mcl" "__Lib_CANSPI.mcl" "__Lib_CF.mcl" "__Lib_CFFat16.mcl" "__Lib_GlcdFonts.mcl" "__Lib_Glcd.mcl" "__Lib_LcdConsts.mcl" "__Lib_Lcd.mcl" "__Lib_Mmc.mcl" "__Lib_MmcFat16.mcl" "__Lib_MmcFat16Constants.mcl" "__Lib_RS485.mcl" "__Lib_S1D13700.mcl" "__Lib_T6963C.mcl" "__Lib_SPIGlcd.mcl" "__Lib_SPILcd.mcl" "__Lib_SPILcd8.mcl" "__Lib_SPIT6963C.mcl" "__Lib_EthEnc28j60.mcl" "__Lib_TFT.mcl" "__Lib_TFT_16bit.mcl" "__Lib_TouchPanel_TFT.mcl" "__Lib_EthEnc24j600.mcl" "__Lib_TouchPanel.mcl"
diagnostics: 0 126 All files Preprocessed in 31 ms
diagnostics: 0 122 Compilation Started Calculator.c
diagnostics: 161 123 Compiled Successfully Calculator.c
diagnostics: 0 122 Compilation Started Calculator.c
diagnostics: 161 123 Compiled Successfully Calculator.c
diagnostics: 0 127 All files Compiled in 78 ms
diagnostics: 0 125 Project Linked Successfully Calculator.mcppi
diagnostics: 0 128 Linked in 328 ms
diagnostics: 0 129 Project 'Calculator.mcppi' completed: 531 ms
diagnostics: 0 103 Finished successfully: 08 abr 2015, 10:54:18 Calculator.mcppi
Calculator/Pronto/Calculator/Calculator.lst
; LST file generated by mikroListExporter - v.2.0
; Date/Time: 08/04/2015 10:54:18
;----------------------------------------------
;Address Opcode ASM
0x0000 0xF001EFD1 GOTO 930
0x0004 0x0000 NOP
0x0006 0x0000 NOP
0x0008 0xF000EF00 GOTO 0
0x000C 0x0000 NOP
0x000E 0x0000 NOP
0x0010 0x0000 NOP
0x0012 0x0000 NOP
0x0014 0x0000 NOP
0x0016 0x0000 NOP
0x0018 0xD7F3 BRA 0
_Delay_1us:
;__Lib_Delays.c,7 :: void Delay_1us() {
;__Lib_Delays.c,8 :: Delay_us(1);
0x001C 0x0000 NOP
0x001E 0x0000 NOP
;__Lib_Delays.c,9 :: }
L_end_Delay_1us:
0x0020 0x0012 RETURN 0
; end of _Delay_1us
_Delay_5500us:
;__Lib_Delays.c,31 :: void Delay_5500us() {
;__Lib_Delays.c,32 :: Delay_us(5500);
0x0022 0x0E0F MOVLW 15
0x0024 0x6E0C MOVWF R12, 0
0x0026 0x0E47 MOVLW 71
0x0028 0x6E0D MOVWF R13, 0
L_Delay_5500us5:
0x002A 0x2E0D DECFSZ R13, 1, 0
0x002C 0xD7FE BRA L_Delay_5500us5
0x002E 0x2E0C DECFSZ R12, 1, 0
0x0030 0xD7FC BRA L_Delay_5500us5
0x0032 0x0000 NOP
0x0034 0x0000 NOP
;__Lib_Delays.c,33 :: }
L_end_Delay_5500us:
0x0036 0x0012 RETURN 0
; end of _Delay_5500us
_Delay_50us:
;__Lib_Delays.c,19 :: void Delay_50us() {
;__Lib_Delays.c,20 :: Delay_us(50);
0x0038 0x0E21 MOVLW 33
0x003A 0x6E0D MOVWF R13, 0
L_Delay_50us2:
0x003C 0x2E0D DECFSZ R13, 1, 0
0x003E 0xD7FE BRA L_Delay_50us2
;__Lib_Delays.c,21 :: }
L_end_Delay_50us:
0x0040 0x0012 RETURN 0
; end of _Delay_50us
_Lcd_Cmd:
;__Lib_Lcd.c,18 ::
;__Lib_Lcd.c,20 ::
0x0042 0xBE3E BTFSC FARG_Lcd_Cmd_out_char, 7
0x0044 0xD002 BRA L__Lcd_Cmd21
0x0046 0x9E83 BCF LCD_D7, BitPos(LCD_D7+0)
0x0048 0xD001 BRA L__Lcd_Cmd22
L__Lcd_Cmd21:
0x004A 0x8E83 BSF LCD_D7, BitPos(LCD_D7+0)
L__Lcd_Cmd22:
;__Lib_Lcd.c,21 ::
0x004C 0xBC3E BTFSC FARG_Lcd_Cmd_out_char, 6
0x004E 0xD002 BRA L__Lcd_Cmd23
0x0050 0x9C83 BCF LCD_D6, BitPos(LCD_D6+0)
0x0052 0xD001 BRA L__Lcd_Cmd24
L__Lcd_Cmd23:
0x0054 0x8C83 BSF LCD_D6, BitPos(LCD_D6+0)
L__Lcd_Cmd24:
;__Lib_Lcd.c,22 ::
0x0056 0xBA3E BTFSC FARG_Lcd_Cmd_out_char, 5
0x0058 0xD002 BRA L__Lcd_Cmd25
0x005A 0x9A83 BCF LCD_D5, BitPos(LCD_D5+0)
0x005C 0xD001 BRA L__Lcd_Cmd26
L__Lcd_Cmd25:
0x005E 0x8A83 BSF LCD_D5, BitPos(LCD_D5+0)
L__Lcd_Cmd26:
;__Lib_Lcd.c,23 ::
0x0060 0xB83E BTFSC FARG_Lcd_Cmd_out_char, 4
0x0062 0xD002 BRA L__Lcd_Cmd27
0x0064 0x9883 BCF LCD_D4, BitPos(LCD_D4+0)
0x0066 0xD001 BRA L__Lcd_Cmd28
L__Lcd_Cmd27:
0x0068 0x8883 BSF LCD_D4, BitPos(LCD_D4+0)
L__Lcd_Cmd28:
;__Lib_Lcd.c,25 ::
0x006A 0xB024 BTFSC __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0)
0x006C 0xD002 BRA L__Lcd_Cmd29
0x006E 0x8484 BSF LCD_RS, BitPos(LCD_RS+0)
0x0070 0xD001 BRA L__Lcd_Cmd30
L__Lcd_Cmd29:
0x0072 0x9484 BCF LCD_RS, BitPos(LCD_RS+0)
L__Lcd_Cmd30:
;__Lib_Lcd.c,28 ::
0x0074 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,29 ::
0x0076 0xDFD2 RCALL _Delay_1us
;__Lib_Lcd.c,30 ::
0x0078 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,33 ::
0x007A 0xB63E BTFSC FARG_Lcd_Cmd_out_char, 3
0x007C 0xD002 BRA L__Lcd_Cmd31
0x007E 0x9E83 BCF LCD_D7, BitPos(LCD_D7+0)
0x0080 0xD001 BRA L__Lcd_Cmd32
L__Lcd_Cmd31:
0x0082 0x8E83 BSF LCD_D7, BitPos(LCD_D7+0)
L__Lcd_Cmd32:
;__Lib_Lcd.c,34 ::
0x0084 0xB43E BTFSC FARG_Lcd_Cmd_out_char, 2
0x0086 0xD002
BRA L__Lcd_Cmd33
0x0088 0x9C83 BCF LCD_D6, BitPos(LCD_D6+0)
0x008A 0xD001 BRA L__Lcd_Cmd34
L__Lcd_Cmd33:
0x008C 0x8C83 BSF LCD_D6, BitPos(LCD_D6+0)
L__Lcd_Cmd34:
;__Lib_Lcd.c,35 ::
0x008E 0xB23E BTFSC FARG_Lcd_Cmd_out_char, 1
0x0090 0xD002 BRA L__Lcd_Cmd35
0x0092 0x9A83 BCF LCD_D5, BitPos(LCD_D5+0)
0x0094 0xD001 BRA L__Lcd_Cmd36
L__Lcd_Cmd35:
0x0096 0x8A83 BSF LCD_D5, BitPos(LCD_D5+0)
L__Lcd_Cmd36:
;__Lib_Lcd.c,36 ::
0x0098 0xB03E BTFSC FARG_Lcd_Cmd_out_char, 0
0x009A 0xD002 BRA L__Lcd_Cmd37
0x009C 0x9883 BCF LCD_D4, BitPos(LCD_D4+0)
0x009E 0xD001 BRA L__Lcd_Cmd38
L__Lcd_Cmd37:
0x00A0 0x8883 BSF LCD_D4, BitPos(LCD_D4+0)
L__Lcd_Cmd38:
;__Lib_Lcd.c,38 ::
0x00A2 0xB024 BTFSC __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0)
0x00A4 0xD002 BRA L__Lcd_Cmd39
0x00A6 0x8484 BSF LCD_RS, BitPos(LCD_RS+0)
0x00A8 0xD001 BRA L__Lcd_Cmd40
L__Lcd_Cmd39:
0x00AA 0x9484 BCF LCD_RS, BitPos(LCD_RS+0)
L__Lcd_Cmd40:
;__Lib_Lcd.c,40 ::
0x00AC 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,41 ::
0x00AE 0xDFB6 RCALL _Delay_1us
;__Lib_Lcd.c,42 ::
0x00B0 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,44 ::
0x00B2 0xA024 BTFSS __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0)
0x00B4 0xD002 BRA L_Lcd_Cmd0
;__Lib_Lcd.c,45 ::
0x00B6 0xDFB5 RCALL _Delay_5500us
0x00B8 0xD001 BRA L_Lcd_Cmd1
L_Lcd_Cmd0:
;__Lib_Lcd.c,47 ::
0x00BA 0xDFBE RCALL _Delay_50us
L_Lcd_Cmd1:
;__Lib_Lcd.c,48 ::
L_end_Lcd_Cmd:
0x00BC 0x0012 RETURN 0
; end of _Lcd_Cmd
_Div_16x16_U:
;__Lib_Math.c,102 ::
;__Lib_Math.c,109 ::
0x00BE 0x6A08 CLRF R8, 0
;__Lib_Math.c,110 ::
0x00C0 0x6A09 CLRF R9, 0
;__Lib_Math.c,111 ::
0x00C2 0x0E10 MOVLW 16
;__Lib_Math.c,112 ::
0x00C4 0x6E0C MOVWF R12, 0
;__Lib_Math.c,113 ::
0x00C6 0x3401 RLCF R1, 0, 0
;__Lib_Math.c,114 ::
0x00C8 0x3608 RLCF R8, 1, 0
;__Lib_Math.c,115 ::
0x00CA 0x3609 RLCF R9, 1, 0
;__Lib_Math.c,116 ::
0x00CC 0x5004 MOVF R4, 0, 0
;__Lib_Math.c,117 ::
0x00CE 0x5E08 SUBWF R8, 1, 0
;__Lib_Math.c,118 ::
0x00D0 0x5005 MOVF R5, 0, 0
;__Lib_Math.c,119 ::
0x00D2 0xA0D8 BTFSS STATUS, 0, 0
;__Lib_Math.c,120 ::
0x00D4 0x3C05 INCFSZ R5, 0, 0
;__Lib_Math.c,121 ::
0x00D6 0x5E09 SUBWF R9, 1, 0
;__Lib_Math.c,122 ::
0x00D8 0xB0D8 BTFSC STATUS, 0, 0
;__Lib_Math.c,123 ::
0x00DA 0xD007 BRA $+16
;__Lib_Math.c,124 ::
0x00DC 0x5004 MOVF R4, 0, 0
;__Lib_Math.c,125 ::
0x00DE 0x2608 ADDWF R8, 1, 0
;__Lib_Math.c,126 ::
0x00E0 0x5005 MOVF R5, 0, 0
;__Lib_Math.c,127 ::
0x00E2 0xB0D8 BTFSC STATUS, 0, 0
;__Lib_Math.c,128 ::
0x00E4 0x3C05 INCFSZ R5, 0, 0
;__Lib_Math.c,129 ::
0x00E6 0x2609 ADDWF R9, 1, 0
;__Lib_Math.c,130 ::
0x00E8 0x90D8 BCF STATUS, 0, 0
;__Lib_Math.c,131 ::
0x00EA 0x3600 RLCF R0, 1, 0
;__Lib_Math.c,132 ::
0x00EC 0x3601 RLCF R1, 1, 0
;__Lib_Math.c,133 ::
0x00EE 0x2E0C DECFSZ R12, 1, 0
;__Lib_Math.c,134 ::
0x00F0 0xD7EA BRA $-42
;__Lib_Math.c,136 ::
L_end_Div_16x16_U:
0x00F2 0x0012 RETURN 0
; end of _Div_16x16_U
_Lcd_Chr_CP:
;__Lib_Lcd.c,50 ::
;__Lib_Lcd.c,52 ::
0x00F4 0x9024 BCF __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0)
;__Lib_Lcd.c,53 ::
0x00F6 0xF03EC03D MOVFF FARG_Lcd_Chr_CP_out_char, FARG_Lcd_Cmd_out_char
0x00FA 0xDFA3 RCALL _Lcd_Cmd
;__Lib_Lcd.c,54 ::
0x00FC 0x8024 BSF __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0)
;__Lib_Lcd.c,55 ::
L_end_Lcd_Chr_CP:
0x00FE 0x0012 RETURN 0
; end of _Lcd_Chr_CP
_Lcd_Out:
;__Lib_Lcd.c,184 ::
;__Lib_Lcd.c,187 ::
0x0100 0xD00F BRA L_Lcd_Out11
;__Lib_Lcd.c,188 ::
L_Lcd_Out13:
0x0102 0x0E80 MOVLW 128
0x0104 0x6E36 MOVWF FARG_Lcd_Out_row
0x0106 0xD019 BRA L_Lcd_Out12
;__Lib_Lcd.c,189 ::
L_Lcd_Out14:
0x0108 0x0EC0 MOVLW 192
0x010A 0x6E36 MOVWF FARG_Lcd_Out_row
0x010C 0xD016 BRA L_Lcd_Out12
;__Lib_Lcd.c,190 ::
L_Lcd_Out15:
0x010E 0x0E94 MOVLW 148
0x0110 0x6E36 MOVWF FARG_Lcd_Out_row
0x0112 0xD013 BRA L_Lcd_Out12
;__Lib_Lcd.c,191 ::
L_Lcd_Out16:
0x0114 0x0ED4 MOVLW 212
0x0116 0x6E36 MOVWF FARG_Lcd_Out_row
0x0118 0xD010 BRA L_Lcd_Out12
;__Lib_Lcd.c,192 ::
L_Lcd_Out17:
0x011A 0x0E80 MOVLW 128
0x011C 0x6E36 MOVWF FARG_Lcd_Out_row
;__Lib_Lcd.c,193 ::
0x011E 0xD00D BRA L_Lcd_Out12
L_Lcd_Out11:
0x0120 0x5036 MOVF FARG_Lcd_Out_row, 0
0x0122 0x0A01 XORLW 1
0x0124 0xE0EE BZ L_Lcd_Out13
0x0126 0x5036 MOVF FARG_Lcd_Out_row, 0
0x0128 0x0A02 XORLW 2
0x012A 0xE0EE BZ L_Lcd_Out14
0x012C 0x5036 MOVF FARG_Lcd_Out_row, 0
0x012E 0x0A03 XORLW 3
0x0130 0xE0EE BZ L_Lcd_Out15
0x0132 0x5036 MOVF FARG_Lcd_Out_row, 0
0x0134 0x0A04 XORLW 4
0x0136 0xE0EE BZ L_Lcd_Out16
0x0138 0xD7F0 BRA L_Lcd_Out17
L_Lcd_Out12:
;__Lib_Lcd.c,194 ::
0x013A 0x0437 DECF FARG_Lcd_Out_column, 0
0x013C 0x6E00 MOVWF R0
0x013E 0x5036 MOVF FARG_Lcd_Out_row, 0
0x0140 0x2600 ADDWF R0, 1
0x0142 0xF036C000 MOVFF R0, FARG_Lcd_Out_row
;__Lib_Lcd.c,196 ::
0x0146 0xF03EC000 MOVFF R0, FARG_Lcd_Cmd_out_char
0x014A 0xDF7B RCALL _Lcd_Cmd
;__Lib_Lcd.c,197 ::
0x014C 0x9024 BCF __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0)
;__Lib_Lcd.c,198 ::
0x014E 0x6A3A CLRF Lcd_Out_i_L0
;__Lib_Lcd.c,199 ::
L_Lcd_Out18:
0x0150 0x503A MOVF Lcd_Out_i_L0, 0
0x0152 0x2438 ADDWF FARG_Lcd_Out_text, 0
0x0154 0x6EE9 MOVWF FSR0L
0x0156 0x0E00 MOVLW 0
0x0158 0x2039 ADDWFC FARG_Lcd_Out_text+1, 0
0x015A 0x6EEA MOVWF FSR0H
0x015C 0x52EE MOVF POSTINC0, 1
0x015E 0xE00B BZ L_Lcd_Out19
;__Lib_Lcd.c,200 ::
0x0160 0x503A MOVF Lcd_Out_i_L0, 0
0x0162 0x2438 ADDWF FARG_Lcd_Out_text, 0
0x0164 0x6EE9 MOVWF FSR0L
0x0166 0x0E00 MOVLW 0
0x0168 0x2039 ADDWFC FARG_Lcd_Out_text+1, 0
0x016A 0x6EEA MOVWF FSR0H
0x016C 0xF03DCFEE MOVFF POSTINC0, FARG_Lcd_Chr_CP_out_char
0x0170 0xDFC1 RCALL _Lcd_Chr_CP
0x0172 0x2A3A INCF Lcd_Out_i_L0, 1
0x0174 0xD7ED BRA L_Lcd_Out18
L_Lcd_Out19:
;__Lib_Lcd.c,201 ::
0x0176 0x8024 BSF __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0)
;__Lib_Lcd.c,202 ::
L_end_Lcd_Out:
0x0178 0x0012 RETURN 0
; end of _Lcd_Out
_WordToStr:
;__Lib_Conversions.c,84 ::
;__Lib_Conversions.c,89 ::
0x017A 0x6A3A CLRF WordToStr_len_L0
L_WordToStr6:
0x017C 0x0E05 MOVLW 5
0x017E 0x5C3A SUBWF WordToStr_len_L0, 0
0x0180 0xE20A BC L_WordToStr7
;__Lib_Conversions.c,90 ::
0x0182 0x503A MOVF WordToStr_len_L0, 0
0x0184 0x2438 ADDWF FARG_WordToStr_output, 0
0x0186 0x6EE1 MOVWF FSR1L
0x0188
0x0E00 MOVLW 0
0x018A 0x2039 ADDWFC FARG_WordToStr_output+1, 0
0x018C 0x6EE2 MOVWF FSR1H
0x018E 0x0E20 MOVLW 32
0x0190 0x6EE6 MOVWF POSTINC1
;__Lib_Conversions.c,89 ::
0x0192 0x2A3A INCF WordToStr_len_L0, 1
;__Lib_Conversions.c,90 ::
0x0194 0xD7F3 BRA L_WordToStr6
L_WordToStr7:
;__Lib_Conversions.c,91 ::
0x0196 0x503A MOVF WordToStr_len_L0, 0
0x0198 0x2438 ADDWF FARG_WordToStr_output, 0
0x019A 0x6EE1 MOVWF FSR1L
0x019C 0x0E00 MOVLW 0
0x019E 0x2039 ADDWFC FARG_WordToStr_output+1, 0
0x01A0 0x6EE2 MOVWF FSR1H
0x01A2 0x6AE6 CLRF POSTINC1
0x01A4 0x063A DECF WordToStr_len_L0, 1
;__Lib_Conversions.c,93 ::
L_WordToStr9:
;__Lib_Conversions.c,94 ::
0x01A6 0x503A MOVF WordToStr_len_L0, 0
0x01A8 0x2438 ADDWF FARG_WordToStr_output, 0
0x01AA 0x6E3B MOVWF FLOC__WordToStr
0x01AC 0x0E00 MOVLW 0
0x01AE 0x2039 ADDWFC FARG_WordToStr_output+1, 0
0x01B0 0x6E3C MOVWF FLOC__WordToStr+1
0x01B2 0x0E0A MOVLW 10
0x01B4 0x6E04 MOVWF R4
0x01B6 0x0E00 MOVLW 0
0x01B8 0x6E05 MOVWF R5
0x01BA 0xF000C036 MOVFF FARG_WordToStr_input, R0
0x01BE 0xF001C037 MOVFF FARG_WordToStr_input+1, R1
0x01C2 0xDF7D RCALL _Div_16x16_U
0x01C4 0xF000C008 MOVFF R8, R0
0x01C8 0xF001C009 MOVFF R9, R1
0x01CC 0x0E30 MOVLW 48
0x01CE 0x2600 ADDWF R0, 1
0x01D0 0xFFE1C03B MOVFF FLOC__WordToStr, FSR1L
0x01D4 0xFFE2C03C MOVFF FLOC__WordToStr+1, FSR1H
0x01D8 0xFFE6C000 MOVFF R0, POSTINC1
;__Lib_Conversions.c,95 ::
0x01DC 0x0E0A MOVLW 10
0x01DE 0x6E04 MOVWF R4
0x01E0 0x0E00 MOVLW 0
0x01E2 0x6E05 MOVWF R5
0x01E4 0xF000C036 MOVFF FARG_WordToStr_input, R0
0x01E8 0xF001C037 MOVFF FARG_WordToStr_input+1, R1
0x01EC 0xDF68 RCALL _Div_16x16_U
0x01EE 0xF036C000 MOVFF R0, FARG_WordToStr_input
0x01F2 0xF037C001 MOVFF R1, FARG_WordToStr_input+1
;__Lib_Conversions.c,96 ::
0x01F6 0x0E00 MOVLW 0
0x01F8 0x1801 XORWF R1, 0
0x01FA 0xE102 BNZ L__WordToStr109
0x01FC 0x0E00 MOVLW 0
0x01FE 0x1800 XORWF R0, 0
L__WordToStr109:
0x0200 0xE101 BNZ L_WordToStr11
;__Lib_Conversions.c,97 ::
0x0202 0xD002 BRA L_WordToStr10
L_WordToStr11:
;__Lib_Conversions.c,98 ::
0x0204 0x063A DECF WordToStr_len_L0, 1
;__Lib_Conversions.c,99 ::
0x0206 0xD7CF BRA L_WordToStr9
L_WordToStr10:
;__Lib_Conversions.c,100 ::
L_end_WordToStr:
0x0208 0x0012 RETURN 0
; end of _WordToStr
_Lcd_Init:
;__Lib_Lcd.c,84 ::
;__Lib_Lcd.c,86 ::
0x020A 0x9296 BCF LCD_EN_Direction, BitPos(LCD_EN_Direction+0)
;__Lib_Lcd.c,87 ::
0x020C 0x9496 BCF LCD_RS_Direction, BitPos(LCD_RS_Direction+0)
;__Lib_Lcd.c,88 ::
0x020E 0x9895 BCF LCD_D4_Direction, BitPos(LCD_D4_Direction+0)
;__Lib_Lcd.c,89 ::
0x0210 0x9A95 BCF LCD_D5_Direction, BitPos(LCD_D5_Direction+0)
;__Lib_Lcd.c,90 ::
0x0212 0x9C95 BCF LCD_D6_Direction, BitPos(LCD_D6_Direction+0)
;__Lib_Lcd.c,91 ::
0x0214 0x9E95 BCF LCD_D7_Direction, BitPos(LCD_D7_Direction+0)
;__Lib_Lcd.c,93 ::
0x0216 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,94 ::
0x0218 0x9484 BCF LCD_RS, BitPos(LCD_RS+0)
;__Lib_Lcd.c,95 ::
0x021A 0x9E83 BCF LCD_D7, BitPos(LCD_D7+0)
;__Lib_Lcd.c,96 ::
0x021C 0x9C83 BCF LCD_D6, BitPos(LCD_D6+0)
;__Lib_Lcd.c,97 ::
0x021E 0x9A83 BCF LCD_D5, BitPos(LCD_D5+0)
;__Lib_Lcd.c,98 ::
0x0220 0x9883 BCF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,100 ::
0x0222 0xDEFF RCALL _Delay_5500us
;__Lib_Lcd.c,101 ::
0x0224 0xDEFE RCALL _Delay_5500us
;__Lib_Lcd.c,102 ::
0x0226 0xDEFD RCALL _Delay_5500us
;__Lib_Lcd.c,105 ::
0x0228 0x8A83 BSF LCD_D5, BitPos(LCD_D5+0)
;__Lib_Lcd.c,106 ::
0x022A 0x8883 BSF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,107 ::
0x022C 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,108 ::
0x022E 0xDEF6 RCALL _Delay_1us
;__Lib_Lcd.c,109 ::
0x0230 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,110 ::
0x0232 0xDEF7 RCALL _Delay_5500us
;__Lib_Lcd.c,112 ::
0x0234 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,113 ::
0x0236 0xDEF2 RCALL _Delay_1us
;__Lib_Lcd.c,114 ::
0x0238 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,115 ::
0x023A 0xDEF3 RCALL _Delay_5500us
;__Lib_Lcd.c,117 ::
0x023C 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,118 ::
0x023E 0xDEEE RCALL _Delay_1us
;__Lib_Lcd.c,119 ::
0x0240 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,120 ::
0x0242 0xDEEF RCALL _Delay_5500us
;__Lib_Lcd.c,123 ::
0x0244 0x9883 BCF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,124 ::
0x0246 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,125 ::
0x0248 0xDEE9 RCALL _Delay_1us
;__Lib_Lcd.c,126 ::
0x024A 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,127 ::
0x024C 0xDEEA RCALL _Delay_5500us
;__Lib_Lcd.c,130 ::
0x024E 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,131 ::
0x0250 0xDEE5 RCALL _Delay_1us
;__Lib_Lcd.c,132 ::
0x0252 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,134 ::
0x0254 0x9A83 BCF LCD_D5, BitPos(LCD_D5+0)
;__Lib_Lcd.c,135 ::
0x0256 0x8E83 BSF LCD_D7, BitPos(LCD_D7+0)
;__Lib_Lcd.c,136 ::
0x0258 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,137 ::
0x025A 0xDEE0 RCALL _Delay_1us
;__Lib_Lcd.c,138 ::
0x025C 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,139 ::
0x025E 0xDEE1 RCALL _Delay_5500us
;__Lib_Lcd.c,142 ::
0x0260 0x9E83 BCF LCD_D7, BitPos(LCD_D7+0)
;__Lib_Lcd.c,143 ::
0x0262 0x8883 BSF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,144 ::
0x0264 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,145 ::
0x0266 0xDEDA RCALL _Delay_1us
;__Lib_Lcd.c,146 ::
0x0268 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,148 ::
0x026A 0x9883 BCF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,149 ::
0x026C 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,150 ::
0x026E 0xDED6 RCALL _Delay_1us
;__Lib_Lcd.c,151 ::
0x0270 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,152 ::
0x0272 0xDED7 RCALL _Delay_5500us
;__Lib_Lcd.c,155 ::
0x0274 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,156 ::
0x0276 0xDED2 RCALL _Delay_1us
;__Lib_Lcd.c,157 ::
0x0278 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,159 ::
0x027A 0x8883 BSF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,160 ::
0x027C 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,161 ::
0x027E 0xDECE RCALL _Delay_1us
;__Lib_Lcd.c,162 ::
0x0280 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,163 ::
0x0282 0xDECF RCALL _Delay_5500us
;__Lib_Lcd.c,166 ::
0x0284 0x9883 BCF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,167 ::
0x0286 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,168 ::
0x0288 0xDEC9 RCALL _Delay_1us
;__Lib_Lcd.c,169 ::
0x028A 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,171 ::
0x028C 0x8E83 BSF LCD_D7, BitPos(LCD_D7+0)
;__Lib_Lcd.c,172 ::
0x028E 0x8C83 BSF LCD_D6, BitPos(LCD_D6+0)
;__Lib_Lcd.c,173 ::
0x0290 0x8A83 BSF LCD_D5, BitPos(LCD_D5+0)
;__Lib_Lcd.c,174 ::
0x0292 0x8883 BSF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,175 ::
0x0294 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,176 ::
0x0296 0xDEC2 RCALL _Delay_1us
;__Lib_Lcd.c,177 ::
0x0298 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,179 ::
0x029A 0xDEC3 RCALL _Delay_5500us
;__Lib_Lcd.c,181 ::
0x029C 0x8024 BSF __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0)
;__Lib_Lcd.c,182 ::
L_end_Lcd_Init:
0x029E 0x0012 RETURN 0
; end of _Lcd_Init
___CC2DW:
;__Lib_System.c,21 ::
;__Lib_System.c,23 ::
_CC2DL_Loop1:
;__Lib_System.c,24 ::
0x02A0 0x0009 TBLRD*+
;__Lib_System.c,25 ::
0x02A2 0xFFE6CFF5 MOVFF TABLAT, POSTINC1
;__Lib_System.c,26 ::
0x02A6 0x0600 DECF R0, 1, 0
;__Lib_System.c,27 ::
0x02A8 0xE1FB BNZ _CC2DL_Loop1
;__Lib_System.c,28 ::
0x02AA 0x0601 DECF R1, 1, 0
;__Lib_System.c,29 ::
0x02AC 0xE1F9 BNZ _CC2DL_Loop1
;__Lib_System.c,31 ::
L_end___CC2DW:
0x02AE 0x0012 RETURN 0
; end of ___CC2DW
_LCD:
;Calculator.c,17 :: void LCD(char texto[16]){
;Calculator.c,18 :: Lcd_Cmd(_LCD_CLEAR);
0x02B0 0x0E01 MOVLW 1
0x02B2 0x6E3E MOVWF FARG_Lcd_Cmd_out_char
0x02B4 0xDEC6 RCALL _Lcd_Cmd
;Calculator.c,19 :: Lcd_Out(1,4,texto);
0x02B6 0x0E01 MOVLW 1
0x02B8 0x6E36 MOVWF FARG_Lcd_Out_row
0x02BA 0x0E04 MOVLW 4
0x02BC 0x6E37 MOVWF FARG_Lcd_Out_column
0x02BE 0xF038C02C MOVFF FARG_LCD_texto, FARG_Lcd_Out_text
0x02C2 0xF039C02D MOVFF FARG_LCD_texto+1, FARG_Lcd_Out_text+1
0x02C6 0xDF1C RCALL _Lcd_Out
;Calculator.c,20 :: }
L_end_LCD:
0x02C8 0x0012 RETURN 0
; end of _LCD
_IntToStr:
;__Lib_Conversions.c,146 ::
;__Lib_Conversions.c,152 ::
0x02CA 0x6A32 CLRF IntToStr_negative_L0
0x02CC 0x6A33 CLRF IntToStr_negative_L0+1
;__Lib_Conversions.c,153 ::
0x02CE 0xF034C02C MOVFF FARG_IntToStr_input, IntToStr_inword_L0
0x02D2 0xF035C02D MOVFF FARG_IntToStr_input+1, IntToStr_inword_L0+1
;__Lib_Conversions.c,154 ::
0x02D6 0x0E80 MOVLW 128
0x02D8 0x182D XORWF FARG_IntToStr_input+1, 0
0x02DA 0x6E00 MOVWF R0
0x02DC 0x0E80 MOVLW 128
0x02DE 0x5C00 SUBWF R0, 0
0x02E0 0xE102 BNZ L__IntToStr115
0x02E2 0x0E00 MOVLW 0
0x02E4 0x5C2C SUBWF FARG_IntToStr_input, 0
L__IntToStr115:
0x02E6 0xE20B BC L_IntToStr23
;__Lib_Conversions.c,155 ::
0x02E8 0x0E01 MOVLW 1
0x02EA 0x6E32 MOVWF IntToStr_negative_L0
0x02EC 0x0E00 MOVLW 0
0x02EE 0x6E33 MOVWF IntToStr_negative_L0+1
;__Lib_Conversions.c,156 ::
0x02F0 0x502C MOVF FARG_IntToStr_input, 0
0x02F2 0x0800 SUBLW 0
0x02F4 0x6E34 MOVWF IntToStr_inword_L0
0x02F6 0xF035C02D MOVFF FARG_IntToStr_input+1, IntToStr_inword_L0+1
0x02FA 0x0E00 MOVLW 0
0x02FC 0x5635 SUBFWB IntToStr_inword_L0+1, 1
;__Lib_Conversions.c,157 ::
L_IntToStr23:
;__Lib_Conversions.c,158 ::
0x02FE 0xF036C034 MOVFF IntToStr_inword_L0, FARG_WordToStr_input
0x0302 0xF037C035 MOVFF IntToStr_inword_L0+1, FARG_WordToStr_input+1
0x0306 0xF038C02E MOVFF FARG_IntToStr_output, FARG_WordToStr_output
0x030A 0xF039C02F MOVFF FARG_IntToStr_output+1, FARG_WordToStr_output+1
0x030E 0xDF35 RCALL _WordToStr
;__Lib_Conversions.c,160 ::
0x0310 0x0E06 MOVLW 6
0x0312 0x6E30 MOVWF IntToStr_i_L0
0x0314 0x0E00 MOVLW 0
0x0316 0x6E31 MOVWF IntToStr_i_L0+1
;__Lib_Conversions.c,161 ::
L_IntToStr24:
0x0318 0x0E00 MOVLW 0
0x031A 0x6E00 MOVWF R0
0x031C 0x5031 MOVF IntToStr_i_L0+1, 0
0x031E 0x5C00 SUBWF R0, 0
0x0320 0xE102 BNZ L__IntToStr116
0x0322 0x5030 MOVF IntToStr_i_L0, 0
0x0324 0x0800 SUBLW 0
L__IntToStr116:
0x0326 0xE219 BC L_IntToStr25
;__Lib_Conversions.c,162 ::
0x0328 0x5030 MOVF IntToStr_i_L0, 0
0x032A 0x242E ADDWF FARG_IntToStr_output, 0
0x032C 0x6EE1 MOVWF FSR1L
0x032E 0x5031 MOVF IntToStr_i_L0+1, 0
0x0330 0x202F ADDWFC FARG_IntToStr_output+1, 0
0x0332 0x6EE2 MOVWF FSR1H
0x0334 0x0E01 MOVLW 1
0x0336 0x5C30 SUBWF IntToStr_i_L0, 0
0x0338 0x6E00 MOVWF R0
0x033A 0x0E00 MOVLW 0
0x033C 0x5831 SUBWFB IntToStr_i_L0+1, 0
0x033E 0x6E01 MOVWF R1
0x0340 0x5000 MOVF R0, 0
0x0342 0x242E ADDWF FARG_IntToStr_output, 0
0x0344 0x6EE9 MOVWF FSR0L
0x0346 0x5001 MOVF R1, 0
0x0348 0x202F ADDWFC FARG_IntToStr_output+1, 0
0x034A 0x6EEA MOVWF FSR0H
0x034C 0xFFE6CFEE MOVFF POSTINC0, POSTINC1
;__Lib_Conversions.c,163 ::
0x0350 0x0E01 MOVLW 1
0x0352 0x5E30 SUBWF IntToStr_i_L0, 1
0x0354 0x0E00 MOVLW 0
0x0356 0x5A31 SUBWFB IntToStr_i_L0+1, 1
;__Lib_Conversions.c,164 ::
0x0358 0xD7DF BRA L_IntToStr24
L_IntToStr25:
;__Lib_Conversions.c,165 ::
0x035A 0xFFE1C02E MOVFF FARG_IntToStr_output, FSR1L
0x035E 0xFFE2C02F MOVFF FARG_IntToStr_output+1, FSR1H
0x0362 0x0E20 MOVLW 32
0x0364 0x6EE6 MOVWF POSTINC1
;__Lib_Conversions.c,166 ::
0x0366 0x5032 MOVF IntToStr_negative_L0, 0
0x0368 0x1033 IORWF IntToStr_negative_L0+1, 0
0x036A 0xE01A BZ L_IntToStr26
;__Lib_Conversions.c,167 ::
0x036C 0x6A30 CLRF IntToStr_i_L0
0x036E 0x6A31 CLRF IntToStr_i_L0+1
;__Lib_Conversions.c,168 ::
L_IntToStr27:
0x0370 0x5030 MOVF IntToStr_i_L0, 0
0x0372 0x242E ADDWF FARG_IntToStr_output, 0
0x0374 0x6EE9 MOVWF FSR0L
0x0376 0x5031 MOVF IntToStr_i_L0+1, 0
0x0378 0x202F ADDWFC FARG_IntToStr_output+1, 0
0x037A 0x6EEA MOVWF FSR0H
0x037C 0x50EE MOVF POSTINC0, 0
0x037E 0x0A20 XORLW 32
0x0380 0xE103 BNZ L_IntToStr28
0x0382 0x4A30 INFSNZ IntToStr_i_L0, 1
0x0384 0x2A31 INCF IntToStr_i_L0+1, 1
0x0386 0xD7F4 BRA L_IntToStr27
L_IntToStr28:
;__Lib_Conversions.c,169 ::
0x0388 0x0E01 MOVLW 1
0x038A 0x5E30 SUBWF IntToStr_i_L0, 1
0x038C 0x0E00 MOVLW 0
0x038E 0x5A31 SUBWFB IntToStr_i_L0+1, 1
;__Lib_Conversions.c,170 ::
0x0390 0x5030 MOVF IntToStr_i_L0, 0
0x0392 0x242E ADDWF FARG_IntToStr_output, 0
0x0394 0x6EE1 MOVWF FSR1L
0x0396 0x5031 MOVF IntToStr_i_L0+1, 0
0x0398 0x202F ADDWFC FARG_IntToStr_output+1, 0
0x039A 0x6EE2 MOVWF FSR1H
0x039C 0x0E2D MOVLW 45
0x039E 0x6EE6 MOVWF POSTINC1
L_IntToStr26:
;__Lib_Conversions.c,171 ::
L_end_IntToStr:
0x03A0 0x0012 RETURN 0
; end of _IntToStr
_main:
0x03A2 0x0EFF MOVLW 255
0x03A4 0x6E15 MOVWF _aux2
0x03A6 0x0EFF MOVLW 255
0x03A8 0x6E16 MOVWF 22
0x03AA 0x0EFF
MOVLW 255
0x03AC 0x6E17 MOVWF _flag
0x03AE 0x0EFF MOVLW 255
0x03B0 0x6E18 MOVWF 24
0x03B2 0x0E45 MOVLW 69
0x03B4 0x6E19 MOVWF ?lstr2_Calculator
0x03B6 0x0E6E MOVLW 110
0x03B8 0x6E1A MOVWF 26
0x03BA 0x0E64 MOVLW 100
0x03BC 0x6E1B MOVWF 27
0x03BE 0x6A1C CLRF 28
0x03C0 0x6A1D CLRF _res
0x03C2 0x6A1E CLRF 30
0x03C4 0x0E2D MOVLW 45
0x03C6 0x6E1F MOVWF ?lstr1_Calculator
0x03C8 0x0E3E MOVLW 62
0x03CA 0x6E20 MOVWF 32
0x03CC 0x6A21 CLRF 33
0x03CE 0x0EFF MOVLW 255
0x03D0 0x6E22 MOVWF _aux1
0x03D2 0x0EFF MOVLW 255
0x03D4 0x6E23 MOVWF 35
;Calculator.c,26 :: void main() {
;Calculator.c,27 :: Lcd_Cmd(_LCD_CLEAR);
0x03D6 0x0E01 MOVLW 1
0x03D8 0x6E3E MOVWF FARG_Lcd_Cmd_out_char
0x03DA 0xDE33 RCALL _Lcd_Cmd
;Calculator.c,28 :: ADCON1=0x0f; //desativa portas AD
0x03DC 0x0E0F MOVLW 15
0x03DE 0x6EC1 MOVWF ADCON1
;Calculator.c,29 :: trisd=0x0f; //ob00001111
0x03E0 0x0E0F MOVLW 15
0x03E2 0x6E95 MOVWF TRISD
;Calculator.c,30 :: portb=0xff; //ob11111111
0x03E4 0x0EFF MOVLW 255
0x03E6 0x6E81 MOVWF PORTB
;Calculator.c,31 :: trisb=0xf8; //ob11111000
0x03E8 0x0EF8 MOVLW 248
0x03EA 0x6E93 MOVWF TRISB
;Calculator.c,32 :: Lcd_Init();
0x03EC 0xDF0E RCALL _Lcd_Init
;Calculator.c,33 :: Lcd_Cmd(_LCD_CURSOR_OFF); //Desabilita o cursor
0x03EE 0x0E0C MOVLW 12
0x03F0 0x6E3E MOVWF FARG_Lcd_Cmd_out_char
0x03F2 0xDE27 RCALL _Lcd_Cmd
;Calculator.c,36 :: while(1){
L_main0:
;Calculator.c,39 :: while(aux1==-1){
L_main2:
0x03F4 0x0EFF MOVLW 255
0x03F6 0x1823 XORWF _aux1+1, 0
0x03F8 0xE102 BNZ L__main56
0x03FA 0x0EFF MOVLW 255
0x03FC 0x1822 XORWF _aux1, 0
L__main56:
0x03FE 0xE14E BNZ L_main3
;Calculator.c,40 :: portb.rb1=0; //ativa a segunda coluna
0x0400 0x9281 BCF PORTB, 1
;Calculator.c,41 :: if (portd.rd0==0){
0x0402 0xB083 BTFSC PORTD, 0
0x0404 0xD003 BRA L_main4
;Calculator.c,43 :: aux1=0;
0x0406 0x6A22 CLRF _aux1
0x0408 0x6A23 CLRF _aux1+1
;Calculator.c,44 :: }else if (portd.rd1==0){
0x040A 0xD014 BRA L_main5
L_main4:
0x040C 0xB283 BTFSC PORTD, 1
0x040E 0xD005 BRA L_main6
;Calculator.c,46 :: aux1=8;
0x0410 0x0E08 MOVLW 8
0x0412 0x6E22 MOVWF _aux1
0x0414 0x0E00 MOVLW 0
0x0416 0x6E23 MOVWF _aux1+1
;Calculator.c,47 :: }else if (portd.rd2==0){
0x0418 0xD00D BRA L_main7
L_main6:
0x041A 0xB483 BTFSC PORTD, 2
0x041C 0xD005 BRA L_main8
;Calculator.c,49 :: aux1 = 5;
0x041E 0x0E05 MOVLW 5
0x0420 0x6E22 MOVWF _aux1
0x0422 0x0E00 MOVLW 0
0x0424 0x6E23 MOVWF _aux1+1
;Calculator.c,50 :: }else if (portd.rd3==0){
0x0426 0xD006 BRA L_main9
L_main8:
0x0428 0xB683 BTFSC PORTD, 3
0x042A 0xD004 BRA L_main10
;Calculator.c,52 :: aux1 = 2;}
0x042C 0x0E02 MOVLW 2
0x042E 0x6E22 MOVWF _aux1
0x0430 0x0E00 MOVLW 0
0x0432 0x6E23 MOVWF _aux1+1
L_main10:
L_main9:
L_main7:
L_main5:
;Calculator.c,53 :: portb.rb1=1; //desativa a segunda coluna
0x0434 0x8281 BSF PORTB, 1
;Calculator.c,55 :: portb.rb2=0; //ativa a terceira coluna
0x0436 0x9481 BCF PORTB, 2
;Calculator.c,56 :: if (portd.rd0==0);
0x0438 0xB083 BTFSC PORTD, 0
0x043A 0xD001 BRA L_main11
0x043C 0xD014 BRA L_main12
L_main11:
;Calculator.c,58 :: else if (portd.rd1==0){
0x043E 0xB283 BTFSC PORTD, 1
0x0440 0xD005 BRA L_main13
;Calculator.c,60 :: aux1 = 9;
0x0442 0x0E09 MOVLW 9
0x0444 0x6E22 MOVWF _aux1
0x0446 0x0E00 MOVLW 0
0x0448 0x6E23 MOVWF _aux1+1
;Calculator.c,61 :: }else if (portd.rd2==0){
0x044A 0xD00D BRA L_main14
L_main13:
0x044C 0xB483 BTFSC PORTD, 2
0x044E 0xD005 BRA L_main15
;Calculator.c,63 :: aux1 = 6;
0x0450 0x0E06 MOVLW 6
0x0452 0x6E22 MOVWF _aux1
0x0454 0x0E00 MOVLW 0
0x0456 0x6E23 MOVWF _aux1+1
;Calculator.c,64 :: }else if (portd.rd3==0){
0x0458 0xD006 BRA L_main16
L_main15:
0x045A 0xB683 BTFSC PORTD, 3
0x045C 0xD004 BRA L_main17
;Calculator.c,66 :: aux1 = 3;}
0x045E 0x0E03 MOVLW 3
0x0460 0x6E22 MOVWF _aux1
0x0462 0x0E00 MOVLW 0
0x0464 0x6E23 MOVWF _aux1+1
L_main17:
L_main16:
L_main14:
L_main12:
;Calculator.c,67 :: portb.rb2=1; //desativa a terceira coluna
0x0466 0x8481 BSF PORTB, 2
;Calculator.c,69 :: portb.rb0=0; //ativa a primeira coluna
0x0468 0x9081 BCF PORTB, 0
;Calculator.c,70 :: if (portd.rd0==0);
0x046A 0xB083 BTFSC PORTD, 0
0x046C 0xD001 BRA L_main18
0x046E 0xD014 BRA L_main19
L_main18:
;Calculator.c,72 :: else if (portd.rd1==0){
0x0470 0xB283 BTFSC PORTD, 1
0x0472 0xD005 BRA L_main20
;Calculator.c,74 :: aux1 = 7;
0x0474 0x0E07 MOVLW 7
0x0476 0x6E22 MOVWF _aux1
0x0478 0x0E00 MOVLW 0
0x047A 0x6E23 MOVWF _aux1+1
;Calculator.c,75 :: }else if (portd.rd2==0){
0x047C 0xD00D BRA L_main21
L_main20:
0x047E 0xB483 BTFSC PORTD, 2
0x0480 0xD005 BRA L_main22
;Calculator.c,77 :: aux1 = 4;
0x0482 0x0E04 MOVLW 4
0x0484 0x6E22 MOVWF _aux1
0x0486 0x0E00 MOVLW 0
0x0488 0x6E23 MOVWF _aux1+1
;Calculator.c,78 :: }else if (portd.rd3==0){
0x048A 0xD006 BRA L_main23
L_main22:
0x048C 0xB683 BTFSC PORTD, 3
0x048E 0xD004 BRA L_main24
;Calculator.c,80 :: aux1 = 1;}
0x0490 0x0E01 MOVLW 1
0x0492 0x6E22 MOVWF _aux1
0x0494 0x0E00 MOVLW 0
0x0496 0x6E23 MOVWF _aux1+1
L_main24:
L_main23:
L_main21:
L_main19:
;Calculator.c,81 :: portb.rb0=1; //desativa a primeira coluna
0x0498 0x8081 BSF PORTB, 0
;Calculator.c,83 :: };
0x049A 0xD7AC BRA L_main2
L_main3:
;Calculator.c,84 :: Lcd_Cmd(_LCD_CLEAR);
0x049C 0x0E01 MOVLW 1
0x049E 0x6E3E MOVWF FARG_Lcd_Cmd_out_char
0x04A0 0xDDD0 RCALL _Lcd_Cmd
;Calculator.c,85 :: inttostr(aux1,H);
0x04A2 0xF02CC022 MOVFF _aux1, FARG_IntToStr_input
0x04A6 0xF02DC023 MOVFF _aux1+1, FARG_IntToStr_input+1
0x04AA 0x0E25 MOVLW _H
0x04AC 0x6E2E MOVWF FARG_IntToStr_output
0x04AE 0x0E00 MOVLW hi_addr(_H)
0x04B0 0x6E2F MOVWF FARG_IntToStr_output+1
0x04B2 0xDF0B RCALL _IntToStr
;Calculator.c,86 :: Lcd_Out(1,1,H);
0x04B4 0x0E01 MOVLW 1
0x04B6 0x6E36 MOVWF FARG_Lcd_Out_row
0x04B8 0x0E01 MOVLW 1
0x04BA 0x6E37 MOVWF FARG_Lcd_Out_column
0x04BC 0x0E25 MOVLW _H
0x04BE 0x6E38 MOVWF FARG_Lcd_Out_text
0x04C0 0x0E00 MOVLW hi_addr(_H)
0x04C2 0x6E39 MOVWF FARG_Lcd_Out_text+1
0x04C4 0xDE1D RCALL _Lcd_Out
;Calculator.c,87 :: delay_ms(200);
0x04C6 0x0E03 MOVLW 3
0x04C8 0x6E0B MOVWF R11, 0
0x04CA 0x0E08 MOVLW
8
0x04CC 0x6E0C MOVWF R12, 0
0x04CE 0x0E77 MOVLW 119
0x04D0 0x6E0D MOVWF R13, 0
L_main25:
0x04D2 0x2E0D DECFSZ R13, 1, 0
0x04D4 0xD7FE BRA L_main25
0x04D6 0x2E0C DECFSZ R12, 1, 0
0x04D8 0xD7FC BRA L_main25
0x04DA 0x2E0B DECFSZ R11, 1, 0
0x04DC 0xD7FA BRA L_main25
;Calculator.c,88 :: LCD_Out(2,1,"->");
0x04DE 0x0E02 MOVLW 2
0x04E0 0x6E36 MOVWF FARG_Lcd_Out_row
0x04E2 0x0E01 MOVLW 1
0x04E4 0x6E37 MOVWF FARG_Lcd_Out_column
0x04E6 0x0E1F MOVLW ?lstr1_Calculator
0x04E8 0x6E38 MOVWF FARG_Lcd_Out_text
0x04EA 0x0E00 MOVLW hi_addr(?lstr1_Calculator)
0x04EC 0x6E39 MOVWF FARG_Lcd_Out_text+1
0x04EE 0xDE08 RCALL _Lcd_Out
;Calculator.c,90 :: while(aux2==-1){
L_main26:
0x04F0 0x0EFF MOVLW 255
0x04F2 0x1816 XORWF _aux2+1, 0
0x04F4 0xE102 BNZ L__main57
0x04F6 0x0EFF MOVLW 255
0x04F8 0x1815 XORWF _aux2, 0
L__main57:
0x04FA 0xE14E BNZ L_main27
;Calculator.c,91 :: portb.rb1=0; //ativa a segunda coluna
0x04FC 0x9281 BCF PORTB, 1
;Calculator.c,92 :: if (portd.rd0==0){
0x04FE 0xB083 BTFSC PORTD, 0
0x0500 0xD003 BRA L_main28
;Calculator.c,94 :: aux2=0;
0x0502 0x6A15 CLRF _aux2
0x0504 0x6A16 CLRF _aux2+1
;Calculator.c,95 :: }else if (portd.rd1==0){
0x0506 0xD014 BRA L_main29
L_main28:
0x0508 0xB283 BTFSC PORTD, 1
0x050A 0xD005 BRA L_main30
;Calculator.c,97 :: aux2=8;
0x050C 0x0E08 MOVLW 8
0x050E 0x6E15 MOVWF _aux2
0x0510 0x0E00 MOVLW 0
0x0512 0x6E16 MOVWF _aux2+1
;Calculator.c,98 :: }else if (portd.rd2==0){
0x0514 0xD00D BRA L_main31
L_main30:
0x0516 0xB483 BTFSC PORTD, 2
0x0518 0xD005 BRA L_main32
;Calculator.c,100 :: aux2 = 5;
0x051A 0x0E05 MOVLW 5
0x051C 0x6E15 MOVWF _aux2
0x051E 0x0E00 MOVLW 0
0x0520 0x6E16 MOVWF _aux2+1
;Calculator.c,101 :: }else if (portd.rd3==0){
0x0522 0xD006 BRA L_main33
L_main32:
0x0524 0xB683 BTFSC PORTD, 3
0x0526 0xD004 BRA L_main34
;Calculator.c,103 :: aux2 = 2;}
0x0528 0x0E02 MOVLW 2
0x052A 0x6E15 MOVWF _aux2
0x052C 0x0E00 MOVLW 0
0x052E 0x6E16 MOVWF _aux2+1
L_main34:
L_main33:
L_main31:
L_main29:
;Calculator.c,104 :: portb.rb1=1; //desativa a segunda coluna
0x0530 0x8281 BSF PORTB, 1
;Calculator.c,106 :: portb.rb2=0; //ativa a terceira coluna
0x0532 0x9481 BCF PORTB, 2
;Calculator.c,107 :: if (portd.rd0==0);
0x0534 0xB083 BTFSC PORTD, 0
0x0536 0xD001 BRA L_main35
0x0538 0xD014 BRA L_main36
L_main35:
;Calculator.c,109 :: else if (portd.rd1==0){
0x053A 0xB283 BTFSC PORTD, 1
0x053C 0xD005 BRA L_main37
;Calculator.c,110 :: aux2 = 9;
0x053E 0x0E09 MOVLW 9
0x0540 0x6E15 MOVWF _aux2
0x0542 0x0E00 MOVLW 0
0x0544 0x6E16 MOVWF _aux2+1
;Calculator.c,111 :: }else if (portd.rd2==0){
0x0546 0xD00D BRA L_main38
L_main37:
0x0548 0xB483 BTFSC PORTD, 2
0x054A 0xD005 BRA L_main39
;Calculator.c,113 :: aux2 = 6;
0x054C 0x0E06 MOVLW 6
0x054E 0x6E15 MOVWF _aux2
0x0550 0x0E00 MOVLW 0
0x0552 0x6E16 MOVWF _aux2+1
;Calculator.c,114 :: }else if (portd.rd3==0){
0x0554 0xD006 BRA L_main40
L_main39:
0x0556 0xB683 BTFSC PORTD, 3
0x0558 0xD004 BRA L_main41
;Calculator.c,116 :: aux2 = 3;}
0x055A 0x0E03 MOVLW 3
0x055C 0x6E15 MOVWF _aux2
0x055E 0x0E00 MOVLW 0
0x0560 0x6E16 MOVWF _aux2+1
L_main41:
L_main40:
L_main38:
L_main36:
;Calculator.c,117 :: portb.rb2=1; //desativa a terceira coluna
0x0562 0x8481 BSF PORTB, 2
;Calculator.c,119 :: portb.rb0=0; //ativa a primeira coluna
0x0564 0x9081 BCF PORTB, 0
;Calculator.c,120 :: if (portd.rd0==0);
0x0566 0xB083 BTFSC PORTD, 0
0x0568 0xD001 BRA L_main42
0x056A 0xD014 BRA L_main43
L_main42:
;Calculator.c,122 :: else if (portd.rd1==0){
0x056C 0xB283 BTFSC PORTD, 1
0x056E 0xD005 BRA L_main44
;Calculator.c,124 :: aux2 = 7;
0x0570 0x0E07 MOVLW 7
0x0572 0x6E15 MOVWF _aux2
0x0574 0x0E00 MOVLW 0
0x0576 0x6E16 MOVWF _aux2+1
;Calculator.c,125 :: }else if (portd.rd2==0){
0x0578 0xD00D BRA L_main45
L_main44:
0x057A 0xB483 BTFSC PORTD, 2
0x057C 0xD005 BRA L_main46
;Calculator.c,127 :: aux2 = 4;
0x057E 0x0E04 MOVLW 4
0x0580 0x6E15 MOVWF _aux2
0x0582 0x0E00 MOVLW 0
0x0584 0x6E16 MOVWF _aux2+1
;Calculator.c,128 :: }else if (portd.rd3==0){
0x0586 0xD006 BRA L_main47
L_main46:
0x0588 0xB683 BTFSC PORTD, 3
0x058A 0xD004 BRA L_main48
;Calculator.c,130 :: aux2 = 1;}
0x058C 0x0E01 MOVLW 1
0x058E 0x6E15 MOVWF _aux2
0x0590 0x0E00 MOVLW 0
0x0592 0x6E16 MOVWF _aux2+1
L_main48:
L_main47:
L_main45:
L_main43:
;Calculator.c,131 :: portb.rb0=1; //desativa a primeira coluna
0x0594 0x8081 BSF PORTB, 0
;Calculator.c,133 :: };
0x0596 0xD7AC BRA L_main26
L_main27:
;Calculator.c,134 :: inttostr(aux2,H);
0x0598 0xF02CC015 MOVFF _aux2, FARG_IntToStr_input
0x059C 0xF02DC016 MOVFF _aux2+1, FARG_IntToStr_input+1
0x05A0 0x0E25 MOVLW _H
0x05A2 0x6E2E MOVWF FARG_IntToStr_output
0x05A4 0x0E00 MOVLW hi_addr(_H)
0x05A6 0x6E2F MOVWF FARG_IntToStr_output+1
0x05A8 0xDE90 RCALL _IntToStr
;Calculator.c,135 :: Lcd_Out(2,1,H);
0x05AA 0x0E02 MOVLW 2
0x05AC 0x6E36 MOVWF FARG_Lcd_Out_row
0x05AE 0x0E01 MOVLW 1
0x05B0 0x6E37 MOVWF FARG_Lcd_Out_column
0x05B2 0x0E25 MOVLW _H
0x05B4 0x6E38 MOVWF FARG_Lcd_Out_text
0x05B6 0x0E00 MOVLW hi_addr(_H)
0x05B8 0x6E39 MOVWF FARG_Lcd_Out_text+1
0x05BA 0xDDA2 RCALL _Lcd_Out
;Calculator.c,136 :: while(flag == -1){
L_main49:
0x05BC 0x0EFF MOVLW 255
0x05BE 0x1818 XORWF _flag+1, 0
0x05C0 0xE102 BNZ L__main58
0x05C2 0x0EFF MOVLW 255
0x05C4 0x1817 XORWF _flag, 0
L__main58:
0x05C6 0xE13D BNZ L_main50
;Calculator.c,137 :: portb.rb2=0; //ativa a terceira coluna
0x05C8 0x9481 BCF PORTB, 2
;Calculator.c,138 :: if (portd.rd0==0){
0x05CA 0xB083 BTFSC PORTD, 0
0x05CC 0xD01A BRA L_main51
;Calculator.c,139 :: res = aux1 + aux2;
0x05CE 0x5015 MOVF _aux2, 0
0x05D0 0x2422 ADDWF _aux1, 0
0x05D2 0x6E00 MOVWF R0
0x05D4 0x5016 MOVF _aux2+1, 0
0x05D6 0x2023 ADDWFC _aux1+1, 0
0x05D8 0x6E01 MOVWF R1
0x05DA 0xF01DC000 MOVFF R0, _res
0x05DE 0xF01EC001 MOVFF R1, _res+1
;Calculator.c,140 :: inttostr(res,H);
0x05E2 0xF02CC000 MOVFF R0, FARG_IntToStr_input
0x05E6 0xF02DC001 MOVFF R1, FARG_IntToStr_input+1
0x05EA 0x0E25 MOVLW _H
0x05EC 0x6E2E MOVWF FARG_IntToStr_output
0x05EE 0x0E00 MOVLW hi_addr(_H)
0x05F0 0x6E2F MOVWF FARG_IntToStr_output+1
0x05F2 0xDE6B RCALL _IntToStr
;Calculator.c,141
:: LCD(H);
0x05F4 0x0E25 MOVLW _H
0x05F6 0x6E2C MOVWF FARG_LCD_texto
0x05F8 0x0E00 MOVLW hi_addr(_H)
0x05FA 0x6E2D MOVWF FARG_LCD_texto+1
0x05FC 0xDE59 RCALL _LCD
;Calculator.c,142 :: flag = 0;}
0x05FE 0x6A17 CLRF _flag
0x0600 0x6A18 CLRF _flag+1
L_main51:
;Calculator.c,143 :: portb.rb2=1; //desativa a terceira coluna
0x0602 0x8481 BSF PORTB, 2
;Calculator.c,145 :: portb.rb0=0; //ativa a primeira coluna
0x0604 0x9081 BCF PORTB, 0
;Calculator.c,146 :: if (portd.rd0==0){
0x0606 0xB083 BTFSC PORTD, 0
0x0608 0xD01A BRA L_main52
;Calculator.c,147 :: res = aux1 - aux2;
0x060A 0x5015 MOVF _aux2, 0
0x060C 0x5C22 SUBWF _aux1, 0
0x060E 0x6E00 MOVWF R0
0x0610 0x5016 MOVF _aux2+1, 0
0x0612 0x5823 SUBWFB _aux1+1, 0
0x0614 0x6E01 MOVWF R1
0x0616 0xF01DC000 MOVFF R0, _res
0x061A 0xF01EC001 MOVFF R1, _res+1
;Calculator.c,148 :: inttostr(res,H);
0x061E 0xF02CC000 MOVFF R0, FARG_IntToStr_input
0x0622 0xF02DC001 MOVFF R1, FARG_IntToStr_input+1
0x0626 0x0E25 MOVLW _H
0x0628 0x6E2E MOVWF FARG_IntToStr_output
0x062A 0x0E00 MOVLW hi_addr(_H)
0x062C 0x6E2F MOVWF FARG_IntToStr_output+1
0x062E 0xDE4D RCALL _IntToStr
;Calculator.c,149 :: LCD(H);
0x0630 0x0E25 MOVLW _H
0x0632 0x6E2C MOVWF FARG_LCD_texto
0x0634 0x0E00 MOVLW hi_addr(_H)
0x0636 0x6E2D MOVWF FARG_LCD_texto+1
0x0638 0xDE3B RCALL _LCD
;Calculator.c,150 :: flag = 0;}
0x063A 0x6A17 CLRF _flag
0x063C 0x6A18 CLRF _flag+1
L_main52:
;Calculator.c,151 :: portb.rb0=1; //desativa a primeira coluna
0x063E 0x8081 BSF PORTB, 0
;Calculator.c,153 :: };
0x0640 0xD7BD BRA L_main49
L_main50:
;Calculator.c,154 :: flag = -1;
0x0642 0x0EFF MOVLW 255
0x0644 0x6E17 MOVWF _flag
0x0646 0x0EFF MOVLW 255
0x0648 0x6E18 MOVWF _flag+1
;Calculator.c,155 :: aux1 = -1;
0x064A 0x0EFF MOVLW 255
0x064C 0x6E22 MOVWF _aux1
0x064E 0x0EFF MOVLW 255
0x0650 0x6E23 MOVWF _aux1+1
;Calculator.c,156 :: aux2 = -1;
0x0652 0x0EFF MOVLW 255
0x0654 0x6E15 MOVWF _aux2
0x0656 0x0EFF MOVLW 255
0x0658 0x6E16 MOVWF _aux2+1
;Calculator.c,157 :: res = 0;
0x065A 0x6A1D CLRF _res
0x065C 0x6A1E CLRF _res+1
;Calculator.c,158 :: delay_ms(1000);
0x065E 0x0E0B MOVLW 11
0x0660 0x6E0B MOVWF R11, 0
0x0662 0x0E26 MOVLW 38
0x0664 0x6E0C MOVWF R12, 0
0x0666 0x0E5D MOVLW 93
0x0668 0x6E0D MOVWF R13, 0
L_main53:
0x066A 0x2E0D DECFSZ R13, 1, 0
0x066C 0xD7FE BRA L_main53
0x066E 0x2E0C DECFSZ R12, 1, 0
0x0670 0xD7FC BRA L_main53
0x0672 0x2E0B DECFSZ R11, 1, 0
0x0674 0xD7FA BRA L_main53
0x0676 0x0000 NOP
0x0678 0x0000 NOP
;Calculator.c,159 :: Lcd_Out(1,1,"End");
0x067A 0x0E01 MOVLW 1
0x067C 0x6E36 MOVWF FARG_Lcd_Out_row
0x067E 0x0E01 MOVLW 1
0x0680 0x6E37 MOVWF FARG_Lcd_Out_column
0x0682 0x0E19 MOVLW ?lstr2_Calculator
0x0684 0x6E38 MOVWF FARG_Lcd_Out_text
0x0686 0x0E00 MOVLW hi_addr(?lstr2_Calculator)
0x0688 0x6E39 MOVWF FARG_Lcd_Out_text+1
0x068A 0xDD3A RCALL _Lcd_Out
;Calculator.c,160 :: }
0x068C 0xD6B3 BRA L_main0
;Calculator.c,161 :: }
L_end_main:
0x068E 0xD7FF BRA $+0
; end of _main
Symbol List:
//** Routines locations **
//ADDRESS SIZE PROCEDURE
//----------------------------------------------
0x001C [6] _Delay_1us
0x0022 [22] _Delay_5500us
0x0038 [10] _Delay_50us
0x0042 [124] _Lcd_Cmd
0x00BE [54] _Div_16x16_U
0x00F4 [12] _Lcd_Chr_CP
0x0100 [122] _Lcd_Out
0x017A [144] _WordToStr
0x020A [150] _Lcd_Init
0x02A0 [16] ___CC2DW
0x02B0 [26] _LCD
0x02CA [216] _IntToStr
0x03A2 [750] _main
//** Variables locations **
//ADDRESS SIZE VARIABLE
//----------------------------------------------
0x0000 [1] FLASH_Erase_64_SaveINTCON_L0
0x0000 [1] EEPROM_Write_SaveINTCON_L0
0x0000 [1] __Lib_SoftI2C_PutZerosToLATScl_temp_scl_L0
0x0000 [1] SPI1_Write_tmp_L0
0x0000 [1] R0
0x0000 [1] __Lib_SoftI2C_PutZerosToLATSda_temp_sda_L0
0x0000 [1] UART1_Init_tmp_L0
0x0001 [1] __Lib_PS2_Wait_Falling_nsample_L0
0x0001 [1] FLASH_Write_32_i_L0
0x0001 [1] FLASH_Erase_Write_64_i_L0
0x0001 [1] ispunct_rslt_L0
0x0001 [1] __Lib_TFT_JPEG_FileReadBytes_Result_L0
0x0001 [1] __Lib_TFT_JPEG_FileRead_i_L0
0x0001 [1] __Lib_TFT_16bit_JPEG_FileRead_i_L0
0x0001 [1] UART1_Read___tmp_UART1_Read_L0
0x0001 [1] __Lib_TFT_16bit_JPEG_FileReadBytes_Result_L0
0x0001 [2] FLASH_Read_N_Bytes_i_L0
0x0001 [1] I2C1_Rd_tmp_L0
0x0001 [1] R1
0x0002 [2] memchr_s_L0
0x0002 [1] FLASH_Erase_Write_64_j_L0
0x0002 [1] __Lib_USB_genHID_USB_CtrlTrf_Rx_Service_byteToRead_L0
0x0002 [1] R2
0x0002 [1] FLASH_Write_32_SaveINTCON_L0
0x0002 [2] memset_pp_L0
0x0002 [2] strlen_cp_L0
0x0002 [2] memcpy_dd_L0
0x0002 [2] __Lib_USB_genHID_memset_usb_pp_L0
0x0002 [2] __Lib_USB_genHID_memset_usb_int_pp_L0
0x0003 [2] __Lib_MmcFat16_f16_toInt_l_L0
0x0003 [2] Ltrim_original_L0
0x0003 [1] R3
0x0003 [1] MM_Init_i_L0
0x0003 [1] __Lib_USB_genHID_USB_CtrlTrf_Rx_Service_i_L0
0x0003 [2] memmove_tt_L0
0x0003 [2] __Lib_USB_genHID_USB_CtrlTrf_Tx_Service_byteToSend_L0
0x0003 [1] FLASH_Erase_Write_64_SaveINTCON_L0
0x0003 [2] MM_TotalFreeMemSize_Tot_L0
0x0004 [2] memcpy_ss_L0
0x0004 [2] strncat_cp_L0
0x0004 [2] strncpy_cp_L0
0x0004 [2] strcat_cp_L0
0x0004 [2] strcpy_cp_L0
0x0004 [1] R4
0x0004 [2] __Lib_USB_genHID_USB_Get_Status_Handler_p_L2
0x0004 [2] __Lib_MemManager_MM_GetMemAlign_P_L0
0x0004 [2] frexp_pom_L0
0x0004 [2] __Lib_USB_genHID_USB_Std_Feature_Req_Handler_p_L0
0x0004 [2] __Lib_USB_genHID_USB_Transfer_Packet_handle_L0
0x0004 [2] __Lib_USB_genHID_USB_Transfer_Packet_Int_handle_L0
0x0005 [1] MM_TotalFreeMemSize_i_L0
0x0005 [2] LongWordToHex_input_half_L0
0x0005 [2] __Lib_USB_genHID_USB_Configure_Endpoint_handle_L0
0x0005 [2] Ltrim_p_L0
0x0005 [2] memmove_ff_L0
0x0005 [1] R5
0x0005 [2] LongIntToHex_input_half_L0
0x0006 [1] R6
0x0006 [1] __Lib_MemManager_MM_GetMemAlign_i_L0
0x0007 [1] R7
0x0007 [1] __Lib_TFT_JPEG_GenerateHuffmanTables_bLength_L0
0x0007 [1] __Lib_TFT_16bit_JPEG_GenerateHuffmanTables_bLength_L0
0x0008 [1] __Lib_TFT_JPEG_GenerateHuffmanTables_bTable_L0
0x0008 [1] __Lib_TFT_16bit_JPEG_GenerateHuffmanTables_bTable_L0
0x0008 [1] R8
0x0009 [4] __Lib_MmcFat16_f16_toLong_l_L0
0x0009 [1] R9
0x000A [1] R10
0x000B [1] R11
0x000C [1] R12
0x000D [1] R13
0x000E [1] R14
0x000F [1] R15
0x0010 [1] R16
0x0011 [1] R17
0x0012 [1] R18
0x0013 [1] R19
0x0014 [1] R20
0x0015 [2] _aux2
0x0017 [2] _flag
0x0019 [4] ?lstr2_Calculator
0x001D [2] _res
0x001F [3] ?lstr1_Calculator
0x0022 [2] _aux1
0x0024 [0] __Lib_Lcd_cmd_status
0x0025 [7] _H
0x002C [2] FARG_LCD_texto
0x002C [2] FARG_IntToStr_input
0x002E [2] FARG_IntToStr_output
0x0030 [2] IntToStr_i_L0
0x0032 [2] IntToStr_negative_L0
0x0034 [2] IntToStr_inword_L0
0x0036 [1] FARG_Lcd_Out_row
0x0036 [2] FARG_WordToStr_input
0x0037 [1] FARG_Lcd_Out_column
0x0038 [2] FARG_WordToStr_output
0x0038 [2] FARG_Lcd_Out_text
0x003A [1] WordToStr_len_L0
0x003A [1] Lcd_Out_i_L0
0x003B [2] FLOC__WordToStr
0x003D [1] FARG_Lcd_Chr_CP_out_char
0x003E [1] FARG_Lcd_Cmd_out_char
0x0F81 [1] PORTB
0x0F83 [1] PORTD
0x0F83 [0] RD7_bit
0x0F83 [0] RD5_bit
0x0F83 [0] RD6_bit
0x0F83 [0] LCD_D6
0x0F83 [0] LCD_D5
0x0F83 [0] LCD_D4
0x0F83 [0] RD4_bit
0x0F83 [0] LCD_D7
0x0F84 [0] LCD_EN
0x0F84 [0] LCD_RS
0x0F84 [0] RE1_bit
0x0F84 [0] RE2_bit
0x0F93 [1] TRISB
0x0F95 [0] LCD_D6_Direction
0x0F95 [0] TRISD4_bit
0x0F95 [0] TRISD7_bit
0x0F95 [1] TRISD
0x0F95 [0] LCD_D7_Direction
0x0F95 [0] TRISD5_bit
0x0F95 [0] LCD_D4_Direction
0x0F95 [0] TRISD6_bit
0x0F95 [0] LCD_D5_Direction
0x0F96 [0] LCD_EN_Direction
0x0F96 [0] LCD_RS_Direction
0x0F96 [0] TRISE2_bit
0x0F96 [0] TRISE1_bit
0x0FC1 [1] ADCON1
0x0FD8 [1] STATUS
0x0FD9 [1] FSR2L
0x0FDA [1] FSR2H
0x0FDE [1] POSTINC2
0x0FE0 [1] BSR
0x0FE1 [1] FSR1L
0x0FE2 [1] FSR1H
0x0FE4 [1] PREINC1
0x0FE6 [1] POSTINC1
0x0FE7 [1] INDF1
0x0FE8 [1] WREG
0x0FE9 [1] FSR0L
0x0FEA [1] FSR0H
0x0FEE [1] POSTINC0
0x0FF3 [1] PRODL
0x0FF4 [1] PRODH
0x0FF5 [1] TABLAT
0x0FF6 [1] TBLPTRL
0x0FF7 [1] TBLPTRH
0x0FF8 [1] TBLPTRU
//** Label List: **
//----------------------------------------------
L_main0
L_main1
L_main2
L_main3
L_main4
L_main5
L_main6
L_main7
L_main8
L_main9
L_main10
L_main11
L_main12
L_main13
L_main14
L_main15
L_main16
L_main17
L_main18
L_main19
L_main20
L_main21
L_main22
L_main23
L_main24
L_main25
L_main26
L_main27
L_main28
L_main29
L_main30
L_main31
L_main32
L_main33
L_main34
L_main35
L_main36
L_main37
L_main38
L_main39
L_main40
L_main41
L_main42
L_main43
L_main44
L_main45
L_main46
L_main47
L_main48
L_main49
L_main50
L_main51
L_main52
L_main53
L_end_LCD
_LCD
L_end_main
_main
L__main56
L__main57
L__main58
L_ByteToStr0
L_ByteToStr1
L_ByteToStr2
L_ByteToStr3
L_ByteToStr4
L_ByteToStr5
L_WordToStr6
L_WordToStr7
L_WordToStr8
L_WordToStr9
L_WordToStr10
L_WordToStr11
L_WordToStrWithZeros12
L_WordToStrWithZeros13
L_WordToStrWithZeros14
L_WordToStrWithZeros15
L_WordToStrWithZeros16
L_ShortToStr17
L_ShortToStr18
L_ShortToStr19
L_ShortToStr20
L_ShortToStr21
L_ShortToStr22
L_IntToStr23
L_IntToStr24
L_IntToStr25
L_IntToStr26
L_IntToStr27
L_IntToStr28
L_IntToStrWithZeros29
L_IntToStrWithZeros30
L_IntToStrWithZeros31
L_IntToStrWithZeros32
L_IntToStrWithZeros33
L_IntToStrWithZeros34
L_IntToStrWithZeros35
L_IntToStrWithZeros36
L_IntToStrWithZeros37
L_LongWordToStr38
L_LongWordToStr39
L_LongWordToStr40
L_LongWordToStr41
L_LongWordToStr42
L_LongWordToStr43
L_LongWordToStrWithZeros44
L_LongWordToStrWithZeros45
L_LongWordToStrWithZeros46
L_LongWordToStrWithZeros47
L_LongWordToStrWithZeros48
L_LongToStr49
L_LongToStr50
L_LongToStr51
L_LongToStr52
L_LongToStr53
L_LongToStr54
L_LongIntToStrWithZeros55
L_LongIntToStrWithZeros56
L_LongIntToStrWithZeros57
L_LongIntToStrWithZeros58
L_LongIntToStrWithZeros59
L_LongIntToStrWithZeros60
L_LongIntToStrWithZeros61
L_LongIntToStrWithZeros62
L_LongIntToStrWithZeros63
L_Dec2Bcd64
L_Dec2Bcd65
L_Rtrim66
L_Rtrim67
L_Rtrim68
L_Rtrim69
L_Ltrim70
L_Ltrim71
L_Ltrim72
L_Ltrim73
L_Ltrim74
L_Ltrim75
L_FloatToStr76
L_FloatToStr77
L_FloatToStr78
L_FloatToStr79
L_FloatToStr80
L_FloatToStr81
L_FloatToStr82
L_FloatToStr83
L_FloatToStr84
L_FloatToStr85
L_FloatToStr86
L_FloatToStr87
L_FloatToStr88
L_FloatToStr89
L_FloatToStr90
L_FloatToStr91
L_FloatToStr92
L_FloatToStr93
L_FloatToStr94
L_FloatToStr95
L_FloatToStr96
L_FloatToStr97
L__Rtrim98
L__Ltrim99
L__FloatToStr100
L_end_ByteToHex
_ByteToHex
L_end_ShortToHex
_ShortToHex
L_end_WordToHex
_WordToHex
L_end_IntToHex
_IntToHex
L_end_LongWordToHex
_LongWordToHex
L_end_LongIntToHex
_LongIntToHex
L_end_ByteToStr
_ByteToStr
L_end_WordToStr
_WordToStr
L__WordToStr109
L_end_WordToStrWithZeros
_WordToStrWithZeros
L__WordToStrWithZeros111
L_end_ShortToStr
_ShortToStr
L__ShortToStr113
L_end_IntToStr
_IntToStr
L__IntToStr115
L__IntToStr116
L_end_IntToStrWithZeros
_IntToStrWithZeros
L__IntToStrWithZeros118
L__IntToStrWithZeros119
L__IntToStrWithZeros120
L_end_LongWordToStr
_LongWordToStr
L__LongWordToStr122
L__LongWordToStr123
L_end_LongWordToStrWithZeros
_LongWordToStrWithZeros
L__LongWordToStrWithZeros125
L_end_LongToStr
_LongToStr
L__LongToStr127
L__LongToStr128
L_end_LongIntToStrWithZeros
_LongIntToStrWithZeros
L__LongIntToStrWithZeros130
L__LongIntToStrWithZeros131
L__LongIntToStrWithZeros132
L_end_Dec2Bcd
_Dec2Bcd
L_end_Bcd2Dec
_Bcd2Dec
L_end_Bcd2Dec16
_Bcd2Dec16
L__Bcd2Dec16136
L__Bcd2Dec16137
L_end_Dec2Bcd16
_Dec2Bcd16
L__Dec2Bcd16139
L__Dec2Bcd16140
L_end_Rtrim
_Rtrim
L__Rtrim142
L_end_Ltrim
_Ltrim
L_end_FloatToStr
_FloatToStr
L__FloatToStr145
L__FloatToStr146
L__FloatToStr147
L__FloatToStr148
L__FloatToStr149
L_Delay_10us0
L_Delay_22us1
L_Delay_50us2
L_Delay_80us3
L_Delay_500us4
L_Delay_5500us5
L_Delay_1ms6
L_Delay_5ms7
L_Delay_8ms8
L_Delay_100ms9
L_Delay_10ms10
L_Delay_1sec11
L____Boot_Delay4k12
L____Boot_Delay8k13
L____Boot_Delay12k14
L____Boot_Delay16k15
L____Boot_Delay24k16
L____Boot_Delay32k17
L____Boot_Delay48k18
L____Boot_Delay64k19
L____Boot_Delay128k20
L_Delay_Cyc21
L_Delay_Cyc22
L_VDelay_ms23
L_VDelay_ms24
L_VDelay_ms25
L_VDelay_Advanced_ms26
L_VDelay_Advanced_ms27
L_VDelay_Advanced_ms28
L_end_Get_Fosc_kHz
_Get_Fosc_kHz
L_end_Delay_1us
_Delay_1us
L_end_Delay_10us
_Delay_10us
L_end_Delay_22us
_Delay_22us
L_end_Delay_50us
_Delay_50us
L_end_Delay_80us
_Delay_80us
L_end_Delay_500us
_Delay_500us
L_end_Delay_5500us
_Delay_5500us
L_end_Delay_1ms
_Delay_1ms
L_end_Delay_5ms
_Delay_5ms
L_end_Delay_8ms
_Delay_8ms
L_end_Delay_100ms
_Delay_100ms
L_end_Delay_10ms
_Delay_10ms
L_end_Delay_1sec
_Delay_1sec
L_end____Boot_Delay4k
____Boot_Delay4k
L_end____Boot_Delay8k
____Boot_Delay8k
L_end____Boot_Delay12k
____Boot_Delay12k
L_end____Boot_Delay16k
____Boot_Delay16k
L_end____Boot_Delay24k
____Boot_Delay24k
L_end____Boot_Delay32k
____Boot_Delay32k
L_end____Boot_Delay48k
____Boot_Delay48k
L_end____Boot_Delay64k
____Boot_Delay64k
L_end____Boot_Delay128k
____Boot_Delay128k
L_end_Delay_Cyc
_Delay_Cyc
L_end_VDelay_ms
_VDelay_ms
L__VDelay_ms54
L__VDelay_ms55
L__VDelay_ms56
L_end_VDelay_Advanced_ms
_VDelay_Advanced_ms
L__VDelay_Advanced_ms58
L__VDelay_Advanced_ms59
L__VDelay_Advanced_ms60
L_Lcd_Cmd0
L_Lcd_Cmd1
L_Lcd_Out_CP2
L_Lcd_Out_CP3
L_Lcd_Chr4
L_Lcd_Chr5
L_Lcd_Chr6
L_Lcd_Chr7
L_Lcd_Chr8
L_Lcd_Chr9
L_Lcd_Chr10
L_Lcd_Out11
L_Lcd_Out12
L_Lcd_Out13
L_Lcd_Out14
L_Lcd_Out15
L_Lcd_Out16
L_Lcd_Out17
L_Lcd_Out18
L_Lcd_Out19
L_end_Lcd_Cmd
_Lcd_Cmd
L__Lcd_Cmd21
L__Lcd_Cmd22
L__Lcd_Cmd23
L__Lcd_Cmd24
L__Lcd_Cmd25
L__Lcd_Cmd26
L__Lcd_Cmd27
L__Lcd_Cmd28
L__Lcd_Cmd29
L__Lcd_Cmd30
L__Lcd_Cmd31
L__Lcd_Cmd32
L__Lcd_Cmd33
L__Lcd_Cmd34
L__Lcd_Cmd35
L__Lcd_Cmd36
L__Lcd_Cmd37
L__Lcd_Cmd38
L__Lcd_Cmd39
L__Lcd_Cmd40
L_end_Lcd_Chr_CP
_Lcd_Chr_CP
L_end_Lcd_Out_CP
_Lcd_Out_CP
L_end_Lcd_Chr
_Lcd_Chr
L_end_Lcd_Init
_Lcd_Init
L_end_Lcd_Out
_Lcd_Out
L_Div_16x16_S0
L_Div_16x16_S1
LOOPS3232A
SADD22LA
SOK22LA
SADD22L8
SOK22L8
LOOPS3232B
SADD22LB
SOK22LB
SADD22L16
SOK22L16
LOOPS3232C
SADD22LC
SOK22LC
SADD22L24
SOK22L24
LOOPS3232D
SADD22LD
SOK22LD
SOK22L
L_Div_32x32_S6
L_Div_32x32_S7
L_Div_32x32_S8
L_Div_32x32_S9
FXD3232S
END_ALL
CA3232S
C3232SX
C3232SX1
C3232S
C3232S2
C3232SX4
C3232SOK
C3232SX3
C3232SX2
avoid_comfrem
LOOPU3232A
UADD22LA
UOK22LA
UADD22L8
UOK22L8
LOOPU3232B
UADD22LB
UOK22LB
UADD22L16
UOK22L16
LOOPU3232C
UADD22LC
UOK22LC
UADD22L24
UOK22L24
LOOPU3232D
UADD22LD
UOK22LD
UOK22L
_NEXT
_EXIT2
_LOOP
_EXIT1
_IF_FIRST
_IF_SECOND
_INVERCE_FIRST
_MULT
_INBERSE_SECOND
_EXIT
L_end_Div_8x8_U
_Div_8x8_U
L_end_Div_16x16_U
_Div_16x16_U
L_end_Div_16x16_S_L
_Div_16x16_S_L
L_end_Div_16x16_S
_Div_16x16_S
L_end_Div_8x8_S
_Div_8x8_S
L_end_Mul_8x8_S
_Mul_8x8_S
L_end_Mul_16x16_U
_Mul_16x16_U
L_end_Mul_16x16_S
_Mul_16x16_S
L_end_SDIV3232L
_SDIV3232L
L_end_COMFREM
_COMFREM
L_end_Div_32x32_S
_Div_32x32_S
L_end_Div_32x32_U
_Div_32x32_U
L_end_Mul_32x32_U
_Mul_32x32_U
L_end_Mul_32x32_S
_Mul_32x32_S
_CC2D_Loop1
_CC2DL_Loop1
L_loopCA2AWs
L_loopCCA2AWs
L_loopCS2Ss
L_CS2Send
L_loopCCS2Ss
L_CCS2Send
L_loopFZinSWs
L_longjmp7
L_end___CC2D
___CC2D
L_end___CC2DW
___CC2DW
L_end___CA2AW
___CA2AW
L_end___CCA2AW
___CCA2AW
L_end___CS2S
___CS2S
L_end___CCS2S
___CCS2S
L_end___FZinS
___FZinS
L_end_____DoIFC
_____DoIFC
L_end_Swap
_Swap
L_end_setjmp
_setjmp
L_end_longjmp
_longjmp
Calculator/Pronto/Calculator/Calculator.mcl
Calculator/Pronto/Calculator/Calculator.mcppi
[DEVICE]
Name=P18F4550
Clock=8000000
[MEMORY_MODEL]
Value=-1
[BUILD_TYPE]
Value=0
[ACTIVE_TAB]
Value=Calculator.c
[USE_EEPROM]
Value=0
[USE_HEAP]
Value=0
[HEAP_SIZE]
Value=2000
[EEPROM_DEFINITION]
Value=
[FILES]
Count=2
File0=Calculator.c
File1=..\Calculator.c
[BINARIES]
Count=0
[IMAGES]
Count=0
ActiveImageIndex=-1
[OPENED_FILES]
Count=2
File0=Calculator.c
File1=..\..\Downloads\Relogio\Relogio.c
[EEPROM]
Count=0
[ACTIVE_COMMENTS_FILES]
Count=0
[OTHER_FILES]
Count=0
[SEARCH_PATH]
Count=4
Path0=C:\Program Files (x86)\mikroC PRO for PIC\defs\
Path1=C:\Program Files (x86)\mikroC PRO for PIC\uses\P18\
Path2=C:\Users\Aluno\Desktop\Calculator\
Path3=C:\Users\Aluno\Desktop\
[HEADER_PATH]
Count=0
[HEADERS]
Count=0
[PLDS]
Count=0
[Useses]
Count=53
File0=ADC
File1=Button
File2=CAN_SPI
File3=Compact_Flash
File4=Compact_Flash_FAT16
File5=Conversions
File6=C_Math
File7=C_Stdlib
File8=C_String
File9=C_Type
File10=EEPROM
File11=EPSON_S1D13700
File12=FLASH
File13=Glcd
File14=Glcd_Fonts
File15=I2C
File16=Keypad4x4
File17=Lcd
File18=Lcd_Constants
File19=Manchester
File20=MemManager
File21=Mmc
File22=Mmc_FAT16
File23=Mmc_Fat16_Config
File24=One_Wire
File25=Port_Expander
File26=PrintOut
File27=PS2
File28=PWM
File29=RS485
File30=Software_I2C
File31=Software_SPI
File32=Software_UART
File33=Sound
File34=SPI
File35=SPI_Ethernet
File36=SPI_Ethernet_24j600
File37=SPI_Glcd
File38=SPI_Lcd
File39=SPI_Lcd8
File40=SPI_T6963C
File41=Sprintf
File42=Sprinti
File43=Sprintl
File44=T6963C
File45=TFT
File46=TFT_16bit
File47=TFT_TouchPanel
File48=Time
File49=TouchPanel
File50=Trigonometry
File51=UART
File52=USB
[EXPANDED NODES]
Node1=Sources
Count=1
Calculator/Pronto/Calculator/Calculator.mcppi_callertable.txt
main
__CC2DW
Lcd_Cmd
Delay_1us
Delay_5500us
Delay_50us
Lcd_Init
Delay_5500us
Delay_1us
IntToStr
WordToStr
Div_16x16_U
Lcd_Out
Lcd_Cmd
Delay_1us
Delay_5500us
Delay_50us
Lcd_Chr_CP
Lcd_Cmd
Delay_1us
Delay_5500us
Delay_50us
LCD
Lcd_Cmd
Delay_1us
Delay_5500us
Delay_50us
Lcd_Out
Lcd_Cmd
Delay_1us
Delay_5500us
Delay_50us
Lcd_Chr_CP
Lcd_Cmd
Delay_1us
Delay_5500us
Delay_50us
Calculator/Pronto/Calculator/Calculator.pdf
//
Sistemas
Embarcados
//Rodrigo
Reviglio
Weishaupt
//201020656
//Calculadora
//
LCD
module
connections
sbit
LCD_RS
at
RE2_bit;
sbit
LCD_EN
at
RE1_bit;
sbit
LCD_D4
at
RD4_bit;
sbit
LCD_D5
at
RD5_bit;
sbit
LCD_D6
at
RD6_bit;
sbit
LCD_D7
at
RD7_bit;
sbit
LCD_RS_Direction
at
TRISE2_bit;
sbit
LCD_EN_Direction
at
TRISE1_bit;
sbit
LCD_D4_Direction
at
TRISD4_bit;
sbit
LCD_D5_Direction
at
TRISD5_bit;
sbit
LCD_D6_Direction
at
TRISD6_bit;
sbit
LCD_D7_Direction
at
TRISD7_bit;
//
End
LCD
mocule
connection
//
funcao
para
escrever
no
LCD
void
LCD(char
texto[16]){
Lcd_Cmd(_LCD_CLEAR);
Lcd_Out(1,4,texto);
}
//declaracao
de
variaveis
int
aux1
=
-‐1;
int
aux2
=
-‐1;
int
flag
=
-‐1;
int
res
=
0;
char
H[7];
void
main()
{
Lcd_Cmd(_LCD_CLEAR);
//limpa
o
LCD
ADCON1=0x0f;
//desativa
portas
AD
trisd=0x0f;
//ob00001111
portb=0xff;
//ob11111111
trisb=0xf8;
//ob11111000
Lcd_Init();
//inicializa
o
LCD
Lcd_Cmd(_LCD_CURSOR_OFF);
//Desabilita
o
cursor
while(1){
//
while
para
captura
do
primeiro
digito
while(aux1==-‐1){
portb.rb1=0;
//ativa
a
segunda
coluna
if
(portd.rd0==0){
aux1=0;
}else
if
(portd.rd1==0){
aux1=8;
}else
if
(portd.rd2==0){
aux1
=
5;
}else
if
(portd.rd3==0){
aux1
=
2;}
portb.rb1=1;
//desativa
a
segunda
coluna
portb.rb2=0;
//ativa
a
terceira
coluna
if
(portd.rd0==0);
else
if
(portd.rd1==0){
aux1
=
9;
}else
if
(portd.rd2==0){
aux1
=
6;
}else
if
(portd.rd3==0){
aux1
=
3;}
portb.rb2=1;
//desativa
a
terceira
coluna
portb.rb0=0;
//ativa
a
primeira
coluna
if
(portd.rd0==0);
else
if
(portd.rd1==0){
aux1
=
7;
}else
if
(portd.rd2==0){
aux1
=
4;
}else
if
(portd.rd3==0){
aux1
=
1;}
portb.rb0=1;
//desativa
a
primeira
coluna
};
Lcd_Cmd(_LCD_CLEAR);
//
limpa
o
LCD
inttostr(aux1,H);
//
converte
o
primeiro
digito
para
uma
string
Lcd_Out(1,1,H);
//
escreve
o
primeiro
digito
no
LCD
delay_ms(200);
//
delay
LCD_Out(2,1,"-‐>");
//
indica
que
o
software
esta
pronto
para
capturar
o
segundo
digito
//
while
para
captura
do
segundo
digito
while(aux2==-‐1){
portb.rb1=0;
//ativa
a
segunda
coluna
if
(portd.rd0==0){
aux2=0;
}else
if
(portd.rd1==0){
aux2=8;
}else
if
(portd.rd2==0){
aux2
=
5;
}else
if
(portd.rd3==0){
aux2
=
2;}
portb.rb1=1;
//desativa
a
segunda
coluna
portb.rb2=0;
//ativa
a
terceira
coluna
if
(portd.rd0==0);
else
if
(portd.rd1==0){
aux2
=
9;
}else
if
(portd.rd2==0){
aux2
=
6;
}else
if
(portd.rd3==0){
aux2
=
3;}
portb.rb2=1;
//desativa
a
terceira
coluna
portb.rb0=0;
//ativa
a
primeira
coluna
if
(portd.rd0==0);
else
if
(portd.rd1==0){
aux2
=
7;
}else
if
(portd.rd2==0){
aux2
=
4;
}else
if
(portd.rd3==0){
aux2
=
1;}
portb.rb0=1;
//desativa
a
primeira
coluna
};
inttostr(aux2,H);
//
converte
o
segundo
digito
para
uma
string
Lcd_Out(2,1,H);
//
escreve
o
segundo
digito
no
LCD
//
while
para
capturar
a
operacao
matematica
while(flag
==
-‐1){
portb.rb2=0;
//ativa
a
terceira
coluna
if
(portd.rd0==0){
res
=
aux1
+
aux2;
//
faz
a
operecao
de
soma
inttostr(res,H);
//
converte
o
resultado
da
operacao
para
uma
string
LCD(H);
//
escreve
o
resultado
da
operacao
no
LCD
flag
=
0;}
//
reseta
o
valor
da
flag
portb.rb2=1;
//desativa
a
terceira
coluna
portb.rb0=0;
//ativa
a
primeira
coluna
if
(portd.rd0==0){
res
=
aux1
-‐
aux2;
//
faz
a
operecao
de
subtracao
inttostr(res,H);
//
converte
o
resultado
da
operacao
para
uma
string
LCD(H);
//
escreve
o
resultado
da
operacao
no
LCD
flag
=
0;}
//
reseta
o
valor
da
flag
portb.rb0=1;
//desativa
a
primeira
coluna
};
//
reseta
os
valores
das
variaveis
flag
=
-‐1;
aux1
=
-‐1;
aux2
=
-‐1;
res
=
0;
delay_ms(1000);
//
delay
Lcd_Out(1,1,"End");
//
indica
que
o
programa
chegou
ao
fim
e
esta
pronot
para
fazer
outra
conta
}
}
Calculator/Pronto/Calculator/Calculator.txt
// LCD module connections
sbit LCD_RS at RE2_bit;
sbit LCD_EN at RE1_bit;
sbit LCD_D4 at RD4_bit;
sbit LCD_D5 at RD5_bit;
sbit LCD_D6 at RD6_bit;
sbit LCD_D7 at RD7_bit;
sbit LCD_RS_Direction at TRISE2_bit;
sbit LCD_EN_Direction at TRISE1_bit;
sbit LCD_D4_Direction at TRISD4_bit;
sbit LCD_D5_Direction at TRISD5_bit;
sbit LCD_D6_Direction at TRISD6_bit;
sbit LCD_D7_Direction at TRISD7_bit;
// End LCD mocule connection
// funcao para escrever no LCD
void LCD(char texto[16]){
Lcd_Cmd(_LCD_CLEAR);
Lcd_Out(1,4,texto);
}
//declaracao de variaveis
int aux1 = -1;
int aux2 = -1;
int flag = -1;
int res = 0;
char H[7];
void main() {
Lcd_Cmd(_LCD_CLEAR); //limpa o LCD
ADCON1=0x0f; //desativa portas AD
trisd=0x0f; //ob00001111
portb=0xff; //ob11111111
trisb=0xf8; //ob11111000
Lcd_Init(); //inicializa o LCD
Lcd_Cmd(_LCD_CURSOR_OFF); //Desabilita o cursor
while(1){
// while para captura do primeiro digito
while(aux1==-1){
portb.rb1=0; //ativa a segunda coluna
if (portd.rd0==0){
aux1=0;
}else if (portd.rd1==0){
aux1=8;
}else if (portd.rd2==0){
aux1 = 5;
}else if (portd.rd3==0){
aux1 = 2;}
portb.rb1=1; //desativa a segunda coluna
portb.rb2=0; //ativa a terceira coluna
if (portd.rd0==0);
else if (portd.rd1==0){
aux1 = 9;
}else if (portd.rd2==0){
aux1 = 6;
}else if (portd.rd3==0){
aux1 = 3;}
portb.rb2=1; //desativa a terceira coluna
portb.rb0=0; //ativa a primeira coluna
if (portd.rd0==0);
else if (portd.rd1==0){
aux1 = 7;
}else if (portd.rd2==0){
aux1 = 4;
}else if (portd.rd3==0){
aux1 = 1;}
portb.rb0=1; //desativa a primeira coluna
};
Lcd_Cmd(_LCD_CLEAR); // limpa o LCD
inttostr(aux1,H); // converte o primeiro digito para uma string
Lcd_Out(1,1,H); // escreve o primeiro digito no LCD
delay_ms(200); // delay
LCD_Out(2,1,"->"); // indica que o software esta pronto para capturar o segundo digito
// while para captura do segundo digito
while(aux2==-1){
portb.rb1=0; //ativa a segunda coluna
if (portd.rd0==0){
aux2=0;
}else if (portd.rd1==0){
aux2=8;
}else if (portd.rd2==0){
aux2 = 5;
}else if (portd.rd3==0){
aux2 = 2;}
portb.rb1=1; //desativa a segunda coluna
portb.rb2=0; //ativa a terceira coluna
if (portd.rd0==0);
else if (portd.rd1==0){
aux2 = 9;
}else if (portd.rd2==0){
aux2 = 6;
}else if (portd.rd3==0){
aux2 = 3;}
portb.rb2=1; //desativa a terceira coluna
portb.rb0=0; //ativa a primeira coluna
if (portd.rd0==0);
else if (portd.rd1==0){
aux2 = 7;
}else if (portd.rd2==0){
aux2 = 4;
}else if (portd.rd3==0){
aux2 = 1;}
portb.rb0=1; //desativa a primeira coluna
};
inttostr(aux2,H); // converte o segundo digito para uma string
Lcd_Out(2,1,H); // escreve o segundo digito no LCD
// while para capturar a operacao matematica
while(flag == -1){
portb.rb2=0; //ativa a terceira coluna
if (portd.rd0==0){
res = aux1 + aux2; // faz a operecao de soma
inttostr(res,H); // converte o resultado da operacao para uma string
LCD(H); // escreve o resultado da operacao no LCD
flag = 0;} // reseta o valor da flag
portb.rb2=1; //desativa a terceira coluna
portb.rb0=0; //ativa a primeira coluna
if (portd.rd0==0){
res = aux1 - aux2; // faz a operecao de subtracao
inttostr(res,H); // converte o resultado da operacao para uma string
LCD(H); // escreve o resultado da operacao no LCD
flag = 0;} // reseta o valor da flag
portb.rb0=1; //desativa a primeira coluna
};
// reseta os valores das variaveis
flag = -1;
aux1 = -1;
aux2 = -1;
res = 0;
delay_ms(1000); // delay
Lcd_Out(1,1,"End"); // indica que o programa chegou ao fim e esta pronot para fazer outra conta
}
}
Calculator/Pronto/Calculator/Calculator.user.dic
Calculator/Calculator.asm
_LCD:
;Calculator.c,17 :: void LCD(char texto[16]){
;Calculator.c,18 :: Lcd_Cmd(_LCD_CLEAR);
MOVLW 1
MOVWF FARG_Lcd_Cmd_out_char+0
CALL _Lcd_Cmd+0, 0
;Calculator.c,19 :: Lcd_Out(1,4,texto);
MOVLW 1
MOVWF FARG_Lcd_Out_row+0
MOVLW 4
MOVWF FARG_Lcd_Out_column+0
MOVF FARG_LCD_texto+0, 0
MOVWF FARG_Lcd_Out_text+0
MOVF FARG_LCD_texto+1, 0
MOVWF FARG_Lcd_Out_text+1
CALL _Lcd_Out+0, 0
;Calculator.c,20 :: }
L_end_LCD:
RETURN 0
; end of _LCD
_main:
;Calculator.c,22 :: void main() {
;Calculator.c,23 :: ADCON1=0x0f; //desativa portas AD
MOVLW 15
MOVWF ADCON1+0
;Calculator.c,24 :: trisd=0x0f; //ob00001111
MOVLW 15
MOVWF TRISD+0
;Calculator.c,25 :: portb=0xff; //ob11111111
MOVLW 255
MOVWF PORTB+0
;Calculator.c,26 :: trisb=0xf8; //ob11111000
MOVLW 248
MOVWF TRISB+0
;Calculator.c,27 :: Lcd_Init();
CALL _Lcd_Init+0, 0
;Calculator.c,28 :: Lcd_Cmd(_LCD_CURSOR_OFF); //Desabilita o cursor
MOVLW 12
MOVWF FARG_Lcd_Cmd_out_char+0
CALL _Lcd_Cmd+0, 0
;Calculator.c,30 :: do{
L_main0:
;Calculator.c,34 :: portb.rb1=0; //ativa a segunda coluna
BCF PORTB+0, 1
;Calculator.c,35 :: if (portd.rd0==0)
BTFSC PORTD+0, 0
GOTO L_main3
;Calculator.c,36 :: LCD("0");
MOVLW ?lstr1_Calculator+0
MOVWF FARG_LCD_texto+0
MOVLW hi_addr(?lstr1_Calculator+0)
MOVWF FARG_LCD_texto+1
CALL _LCD+0, 0
GOTO L_main4
L_main3:
;Calculator.c,37 :: else if (portd.rd1==0)
BTFSC PORTD+0, 1
GOTO L_main5
;Calculator.c,38 :: LCD("8");
MOVLW ?lstr2_Calculator+0
MOVWF FARG_LCD_texto+0
MOVLW hi_addr(?lstr2_Calculator+0)
MOVWF FARG_LCD_texto+1
CALL _LCD+0, 0
GOTO L_main6
L_main5:
;Calculator.c,39 :: else if (portd.rd2==0)
BTFSC PORTD+0, 2
GOTO L_main7
;Calculator.c,40 :: LCD("5");
MOVLW ?lstr3_Calculator+0
MOVWF FARG_LCD_texto+0
MOVLW hi_addr(?lstr3_Calculator+0)
MOVWF FARG_LCD_texto+1
CALL _LCD+0, 0
GOTO L_main8
L_main7:
;Calculator.c,41 :: else if (portd.rd3==0)
BTFSC PORTD+0, 3
GOTO L_main9
;Calculator.c,42 :: LCD("2");
MOVLW ?lstr4_Calculator+0
MOVWF FARG_LCD_texto+0
MOVLW hi_addr(?lstr4_Calculator+0)
MOVWF FARG_LCD_texto+1
CALL _LCD+0, 0
L_main9:
L_main8:
L_main6:
L_main4:
;Calculator.c,43 :: portb.rb1=1; //desativa a segunda coluna
BSF PORTB+0, 1
;Calculator.c,45 :: portb.rb2=0; //ativa a terceira coluna
BCF PORTB+0, 2
;Calculator.c,46 :: if (portd.rd0==0)
BTFSC PORTD+0, 0
GOTO L_main10
;Calculator.c,47 :: LCD("__>");
MOVLW ?lstr5_Calculator+0
MOVWF FARG_LCD_texto+0
MOVLW hi_addr(?lstr5_Calculator+0)
MOVWF FARG_LCD_texto+1
CALL _LCD+0, 0
GOTO L_main11
L_main10:
;Calculator.c,48 :: else if (portd.rd1==0)
BTFSC PORTD+0, 1
GOTO L_main12
;Calculator.c,49 :: LCD("9");
MOVLW ?lstr6_Calculator+0
MOVWF FARG_LCD_texto+0
MOVLW hi_addr(?lstr6_Calculator+0)
MOVWF FARG_LCD_texto+1
CALL _LCD+0, 0
GOTO L_main13
L_main12:
;Calculator.c,50 :: else if (portd.rd2==0)
BTFSC PORTD+0, 2
GOTO L_main14
;Calculator.c,51 :: LCD("6");
MOVLW ?lstr7_Calculator+0
MOVWF FARG_LCD_texto+0
MOVLW hi_addr(?lstr7_Calculator+0)
MOVWF FARG_LCD_texto+1
CALL _LCD+0, 0
GOTO L_main15
L_main14:
;Calculator.c,52 :: else if (portd.rd3==0)
BTFSC PORTD+0, 3
GOTO L_main16
;Calculator.c,53 :: LCD("3");
MOVLW ?lstr8_Calculator+0
MOVWF FARG_LCD_texto+0
MOVLW hi_addr(?lstr8_Calculator+0)
MOVWF FARG_LCD_texto+1
CALL _LCD+0, 0
L_main16:
L_main15:
L_main13:
L_main11:
;Calculator.c,54 :: portb.rb2=1; //desativa a terceira coluna
BSF PORTB+0, 2
;Calculator.c,56 :: portb.rb0=0; //ativa a primeira coluna
BCF PORTB+0, 0
;Calculator.c,57 :: if (portd.rd0==0)
BTFSC PORTD+0, 0
GOTO L_main17
;Calculator.c,58 :: LCD("<__");
MOVLW ?lstr9_Calculator+0
MOVWF FARG_LCD_texto+0
MOVLW hi_addr(?lstr9_Calculator+0)
MOVWF FARG_LCD_texto+1
CALL _LCD+0, 0
GOTO L_main18
L_main17:
;Calculator.c,59 :: else if (portd.rd1==0)
BTFSC PORTD+0, 1
GOTO L_main19
;Calculator.c,60 :: LCD("7");
MOVLW ?lstr10_Calculator+0
MOVWF FARG_LCD_texto+0
MOVLW hi_addr(?lstr10_Calculator+0)
MOVWF FARG_LCD_texto+1
CALL _LCD+0, 0
GOTO L_main20
L_main19:
;Calculator.c,61 :: else if (portd.rd2==0)
BTFSC PORTD+0, 2
GOTO L_main21
;Calculator.c,62 :: LCD("4");
MOVLW ?lstr11_Calculator+0
MOVWF FARG_LCD_texto+0
MOVLW hi_addr(?lstr11_Calculator+0)
MOVWF FARG_LCD_texto+1
CALL _LCD+0, 0
GOTO L_main22
L_main21:
;Calculator.c,63 :: else if (portd.rd3==0)
BTFSC PORTD+0, 3
GOTO L_main23
;Calculator.c,64 :: LCD("1");
MOVLW ?lstr12_Calculator+0
MOVWF FARG_LCD_texto+0
MOVLW hi_addr(?lstr12_Calculator+0)
MOVWF FARG_LCD_texto+1
CALL _LCD+0, 0
L_main23:
L_main22:
L_main20:
L_main18:
;Calculator.c,65 :: portb.rb0=1; //desativa a primeira coluna
BSF PORTB+0, 0
;Calculator.c,67 :: } while(1);
GOTO L_main0
;Calculator.c,69 :: }
L_end_main:
GOTO $+0
; end of _main
Calculator/Calculator.c
// LCD module connections
sbit LCD_RS at RE2_bit;
sbit LCD_EN at RE1_bit;
sbit LCD_D4 at RD4_bit;
sbit LCD_D5 at RD5_bit;
sbit LCD_D6 at RD6_bit;
sbit LCD_D7 at RD7_bit;
sbit LCD_RS_Direction at TRISE2_bit;
sbit LCD_EN_Direction at TRISE1_bit;
sbit LCD_D4_Direction at TRISD4_bit;
sbit LCD_D5_Direction at TRISD5_bit;
sbit LCD_D6_Direction at TRISD6_bit;
sbit LCD_D7_Direction at TRISD7_bit;
// End LCD mocule connection
void LCD(char texto[16]){
Lcd_Cmd(_LCD_CLEAR);
Lcd_Out(1,4,texto);
}
void main() {
ADCON1=0x0f; //desativa portas AD
trisd=0x0f; //ob00001111
portb=0xff; //ob11111111
trisb=0xf8; //ob11111000
Lcd_Init();
Lcd_Cmd(_LCD_CURSOR_OFF); //Desabilita o cursor
do{
portb.rb1=0; //ativa a segunda coluna
if (portd.rd0==0)
LCD("0");
else if (portd.rd1==0)
LCD("8");
else if (portd.rd2==0)
LCD("5");
else if (portd.rd3==0)
LCD("2");
portb.rb1=1; //desativa a segunda coluna
portb.rb2=0; //ativa a terceira coluna
if (portd.rd0==0)
LCD("__>");
else if (portd.rd1==0)
LCD("9");
else if (portd.rd2==0)
LCD("6");
else if (portd.rd3==0)
LCD("3");
portb.rb2=1; //desativa a terceira coluna
portb.rb0=0; //ativa a primeira coluna
if (portd.rd0==0)
LCD("<__");
else if (portd.rd1==0)
LCD("7");
else if (portd.rd2==0)
LCD("4");
else if (portd.rd3==0)
LCD("1");
portb.rb0=1; //desativa a primeira coluna
} while(1);
}
Calculator/Calculator.cfg
P18F4550
12
$300000:$0001
$300001:$000C
$300002:$0019
$300003:$001E
$300005:$0000
$300006:$0080
$300008:$000F
$300009:$00C0
$30000A:$000F
$30000B:$00E0
$30000C:$000F
$30000D:$0040
Calculator/Calculator.cp
#line 1 "C:/Users/Aluno/Desktop/Calculator/Calculator.c"
sbit LCD_RS at RE2_bit;
sbit LCD_EN at RE1_bit;
sbit LCD_D4 at RD4_bit;
sbit LCD_D5 at RD5_bit;
sbit LCD_D6 at RD6_bit;
sbit LCD_D7 at RD7_bit;
sbit LCD_RS_Direction at TRISE2_bit;
sbit LCD_EN_Direction at TRISE1_bit;
sbit LCD_D4_Direction at TRISD4_bit;
sbit LCD_D5_Direction at TRISD5_bit;
sbit LCD_D6_Direction at TRISD6_bit;
sbit LCD_D7_Direction at TRISD7_bit;
void LCD(char texto[16]){
Lcd_Cmd(_LCD_CLEAR);
Lcd_Out(1,4,texto);
}
void main() {
ADCON1=0x0f;
trisd=0x0f;
portb=0xff;
trisb=0xf8;
Lcd_Init();
Lcd_Cmd(_LCD_CURSOR_OFF);
do{
portb.rb1=0;
if (portd.rd0==0)
LCD("0");
else if (portd.rd1==0)
LCD("8");
else if (portd.rd2==0)
LCD("5");
else if (portd.rd3==0)
LCD("2");
portb.rb1=1;
portb.rb2=0;
if (portd.rd0==0)
LCD("__>");
else if (portd.rd1==0)
LCD("9");
else if (portd.rd2==0)
LCD("6");
else if (portd.rd3==0)
LCD("3");
portb.rb2=1;
portb.rb0=0;
if (portd.rd0==0)
LCD("<__");
else if (portd.rd1==0)
LCD("7");
else if (portd.rd2==0)
LCD("4");
else if (portd.rd3==0)
LCD("1");
portb.rb0=1;
} while(1);
}
Calculator/Calculator.dbg
Calculator/Calculator.dct
______
____doifc
___boot_delay128k
___boot_delay12k
___boot_delay16k
___boot_delay24k
___boot_delay32k
___boot_delay48k
___boot_delay4k
___boot_delay64k
___boot_delay8k
___mdb4
___mdb5
___mdb6
___mdb7
___menable
___mrs
__ca2aw
__cc2d
__cc2dw
__cca2aw
__ccs2s
__cs2s
__f16_errno
__flash_size
__fzins
__low_savebsr
__low_savestatus
__low_savewreg
__ps2_caps
__ps2_num
__ps2_scroll
__ps2_shift
__spi_lcd8_db0
__spi_lcd8_db1
__spi_lcd8_db2
__spi_lcd8_db3
__spi_lcd8_db4
__spi_lcd8_db5
__spi_lcd8_db6
__spi_lcd8_db7
__spi_lcd8_enable
__spi_lcd8_rs
__spi_lcd8_rw
_canspi_config_all_msg
_canspi_config_all_valid_msg
_canspi_config_dbl_buffer_bit
_canspi_config_dbl_buffer_off
_canspi_config_dbl_buffer_on
_canspi_config_default
_canspi_config_line_filter_bit
_canspi_config_line_filter_off
_canspi_config_line_filter_on
_canspi_config_msg_bits
_canspi_config_msg_type_bit
_canspi_config_phseg2_prg_bit
_canspi_config_phseg2_prg_off
_canspi_config_phseg2_prg_on
_canspi_config_sample_bit
_canspi_config_sample_once
_canspi_config_sample_thrice
_canspi_config_std_msg
_canspi_config_valid_std_msg
_canspi_config_valid_xtd_msg
_canspi_config_xtd_msg
_canspi_filter_b1_f1
_canspi_filter_b1_f2
_canspi_filter_b2_f1
_canspi_filter_b2_f2
_canspi_filter_b2_f3
_canspi_filter_b2_f4
_canspi_mask_b1
_canspi_mask_b2
_canspi_mode_bits
_canspi_mode_config
_canspi_mode_listen
_canspi_mode_loop
_canspi_mode_normal
_canspi_mode_sleep
_canspi_rx_dbl_buffered
_canspi_rx_filter_1
_canspi_rx_filter_2
_canspi_rx_filter_3
_canspi_rx_filter_4
_canspi_rx_filter_5
_canspi_rx_filter_6
_canspi_rx_filter_bits
_canspi_rx_invalid_msg
_canspi_rx_overflow
_canspi_rx_rtr_frame
_canspi_rx_xtd_frame
_canspi_tx_frame_bit
_canspi_tx_no_rtr_frame
_canspi_tx_priority_0
_canspi_tx_priority_1
_canspi_tx_priority_2
_canspi_tx_priority_3
_canspi_tx_priority_bits
_canspi_tx_rtr_bit
_canspi_tx_rtr_frame
_canspi_tx_std_frame
_canspi_tx_xtd_frame
_cf_command
_cf_cyl_hi
_cf_cyl_lo
_cf_data
_cf_error
_cf_features
_cf_head
_cf_identify_cmd
_cf_read_sec_cmd
_cf_sec_cnt
_cf_sec_num
_cf_status
_cf_write_sec_cmd
_ch
_command
_doprntf
_doprnti
_doprntl
_doprntout
_flash_erase
_flash_write_latch
_glcd_horizontal
_glcd_vertical
_i2c_ack
_i2c_nack
_lcd_blink_cursor_on
_lcd_clear
_lcd_cursor_off
_lcd_first_row
_lcd_fourth_row
_lcd_move_cursor_left
_lcd_move_cursor_right
_lcd_return_home
_lcd_second_row
_lcd_shift_left
_lcd_shift_right
_lcd_third_row
_lcd_turn_off
_lcd_turn_on
_lcd_underline_on
_rs485_start_byte
_rs485_stop_byte
_s1d13700_horizontal
_s1d13700_vertical
_sin_deg
_spi_clk_idle_high
_spi_clk_idle_low
_spi_data_sample_end
_spi_data_sample_middle
_spi_ethernet_24j600_broadcast
_spi_ethernet_24j600_crc
_spi_ethernet_24j600_multicast
_spi_ethernet_24j600_unicast
_spi_ethernet_broadcast
_spi_ethernet_crc
_spi_ethernet_multicast
_spi_ethernet_unicast
_spi_glcd_horizontal
_spi_glcd_vertical
_spi_high_2_low
_spi_low_2_high
_spi_master_osc_div16
_spi_master_osc_div4
_spi_master_osc_div64
_spi_master_tmr2
_spi_slave_ss_dis
_spi_slave_ss_enable
_spi_t6963c_horizontal
_spi_t6963c_vertical
_t6963c_horizontal
_t6963c_vertical
a
abchannelhsampfactor
abchannelhuffactablemap
abchannelhuffdctablemap
abchannelmap
abchannelquanttablemap
abchanneltype
abchannelvsampfactor
abdatabuffer
abden
abden_bit
abdovf
abdovf_bit
abhuffacsymbol
abhuffacsymlen
abhuffdcsymbol
abhuffdcsymlen
abs
access
ackdt
ackdt_bit
acken
acken_bit
ackstat
ackstat_bit
acos
acqt0
acqt0_bit
acqt1
acqt1_bit
acqt2
acqt2_bit
actvie
actvie_bit
actvif
actvif_bit
adc_get_sample
adc_get_sample_ptr
adc_init
adc_read
adcon0
adcon1
adcon2
adcs0
adcs0_bit
adcs1
adcs1_bit
adcs2
adcs2_bit
add_32x32_fp
adden
adden_bit
addr0
addr0_bit
addr0_uaddr_bit
addr1
addr1_bit
addr1_uaddr_bit
addr2
addr2_bit
addr2_uaddr_bit
addr3
addr3_bit
addr3_uaddr_bit
addr4
addr4_bit
addr5
addr5_bit
addr6
addr6_bit
aden
aden_bit
adfm
adfm_bit
adie
adie_bit
adif
adif_bit
adip
adip_bit
adon
adon_bit
adres
adresh
adresl
an0
an0_bit
an1
an1_bit
an2
an2_bit
an3
an3_bit
an4
an4_bit
asin
asoneblock
asprevdcvalue
atan
atan2
atof
atoi
atol
awhuffacsymstart
awhuffdcsymstart
awquanttable
b0
b1
b2
b3
b4
b5
b6
b7
banked
baudcon
baudctl
bbitsavailable
bblocksinonepass
bcd2dec
bcd2dec16
bchannels
bclie
bclie_bit
bclif
bclif_bit
bclip
bclip_bit
bdatabits
berror
bf
bf_bit
bfirstbit
bgst
bgst_bit
bhufftables
bljfif
blquantuses16bits
bmajorrev
bminorrev
bor
bor_bit
brg16
brg16_bit
brgh
brgh_bit
bsr
bsubsampletype
btoee
btoee_bit
btoef
btoef_bit
btsee
btsee_bit
btsef
btsef_bit
button
byte2double
bytetohex
bytetostr
c
c_bit
c1inv
c1inv_bit
c1out
c1out_bit
c2inv
c2inv_bit
c2out
c2out_bit
canspigetoperationmode
canspiinitialize
canspiread
canspisetbaudrate
canspisetfilter
canspisetmask
canspisetoperationmode
canspiwrite
ccp1
ccp1_bit
ccp1as
ccp1con
ccp1del
ccp1ie
ccp1ie_bit
ccp1if
ccp1if_bit
ccp1ip
ccp1ip_bit
ccp1m0
ccp1m0_bit
ccp1m1
ccp1m1_bit
ccp1m2
ccp1m2_bit
ccp1m3
ccp1m3_bit
ccp2con
ccp2ie
ccp2ie_bit
ccp2if
ccp2if_bit
ccp2ip
ccp2ip_bit
ccp2m0
ccp2m0_bit
ccp2m1
ccp2m1_bit
ccp2m2
ccp2m2_bit
ccp2m3
ccp2m3_bit
ccpr1
ccpr1h
ccpr1l
ccpr2
ccpr2h
ccpr2l
ceil
cf_detect
cf_disable
cf_enable
cf_fat_append
cf_fat_assign
cf_fat_delete
cf_fat_get_file_date
cf_fat_get_file_date_modified
cf_fat_get_file_size
cf_fat_get_swap_file
cf_fat_init
cf_fat_quickformat
cf_fat_read
cf_fat_reset
cf_fat_rewrite
cf_fat_set_file_date
cf_fat_write
cf_init
cf_issue_id_command
cf_read_byte
cf_read_init
cf_read_sector
cf_write_byte
cf_write_init
cf_write_sector
cfgs
cfgs_bit
character8x7
chs0
chs0_bit
chs1
chs1_bit
chs2
chs2_bit
chs3
chs3_bit
cis
cis_bit
ck
ck_bit
ck1spp
ck1spp_bit
ck2spp
ck2spp_bit
cke
cke_bit
ckp
ckp_bit
cl_aqua
cl_aqua_16bit
cl_black
cl_black_16bit
cl_blue
cl_blue_16bit
cl_fuchsia
cl_fuchsia_16bit
cl_gray
cl_gray_16bit
cl_green
cl_green_16bit
cl_lime
cl_lime_16bit
cl_maroon
cl_maroon_16bit
cl_navy
cl_navy_16bit
cl_olive
cl_olive_16bit
cl_purple
cl_purple_16bit
cl_red
cl_red_16bit
cl_silver
cl_silver_16bit
cl_teal
cl_teal_16bit
cl_white
cl_white_16bit
cl_yellow
cl_yellow_16bit
clk1en
clk1en_bit
clkcfg0
clkcfg0_bit
clkcfg1
clkcfg1_bit
cm0
cm0_bit
cm1
cm1_bit
cm2
cm2_bit
cmcon
cmie
cmie_bit
cmif
cmif_bit
cmip
cmip_bit
comfrem
compare_double
cos
cose3
cosh
cr
crc16ee
crc16ee_bit
crc16ef
crc16ef_bit
crc5ee
crc5ee_bit
crc5ef
crc5ef_bit
cren
cren_bit
crlf
csen
csen_bit
csrc
csrc_bit
cvr0
cvr0_bit
cvr1
cvr1_bit
cvr2
cvr2_bit
cvr3
cvr3_bit
cvrcon
cvref
cvref_bit
cvren
cvren_bit
cvroe
cvroe_bit
cvrr
cvrr_bit
cvrss
cvrss_bit
d
d_a
d_a_bit
d_bit
d_not_a
d_not_a_bit
data_address
data_address_bit
dc
dc_bit
dc1b0
dc1b0_bit
dc1b1
dc1b1_bit
dc2b0
dc2b0_bit
dc2b1
dc2b1_bit
dec2bcd
dec2bcd16
delay_100ms
delay_10ms
delay_10us
delay_1ms
delay_1sec
delay_1us
delay_22us
delay_500us
delay_50us
delay_5500us
delay_5ms
delay_80us
delay_8ms
delay_cyc
dfn8ee
dfn8ee_bit
dfn8ef
dfn8ef_bit
dir_
dir__bit
div
div_16x16_s
div_16x16_s_l
div_16x16_u
div_32x32_fp
div_32x32_s
div_32x32_u
div_8x8_s
div_8x8_u
done
done_bit
double2byte
double2int
double2longint
double2longword
double2word
eccp1as
eccp1con
eccp1del
eccpas0
eccpas0_bit
eccpas1
eccpas1_bit
eccpas2
eccpas2_bit
eccpase
eccpase_bit
eeadr
eecon1
eecon2
eedata
eeie
eeie_bit
eeif
eeif_bit
eeip
eeip_bit
eepgd
eepgd_bit
eeprom_read
eeprom_write
endp0
endp0_bit
endp1
endp1_bit
endp2
endp2_bit
endp3
endp3_bit
epcondis
epcondis_bit
epcondis_uep1_bit
epcondis_uep10_bit
epcondis_uep11_bit
epcondis_uep12_bit
epcondis_uep13_bit
epcondis_uep14_bit
epcondis_uep15_bit
epcondis_uep2_bit
epcondis_uep3_bit
epcondis_uep4_bit
epcondis_uep5_bit
epcondis_uep6_bit
epcondis_uep7_bit
epcondis_uep8_bit
epcondis_uep9_bit
ephshk
ephshk_bit
ephshk_uep1_bit
ephshk_uep10_bit
ephshk_uep11_bit
ephshk_uep12_bit
ephshk_uep13_bit
ephshk_uep14_bit
ephshk_uep15_bit
ephshk_uep2_bit
ephshk_uep3_bit
ephshk_uep4_bit
ephshk_uep5_bit
ephshk_uep6_bit
ephshk_uep7_bit
ephshk_uep8_bit
ephshk_uep9_bit
epinen
epinen_bit
epinen_uep1_bit
epinen_uep10_bit
epinen_uep11_bit
epinen_uep12_bit
epinen_uep13_bit
epinen_uep14_bit
epinen_uep15_bit
epinen_uep2_bit
epinen_uep3_bit
epinen_uep4_bit
epinen_uep5_bit
epinen_uep6_bit
epinen_uep7_bit
epinen_uep8_bit
epinen_uep9_bit
epouten
epouten_bit
epouten_uep1_bit
epouten_uep10_bit
epouten_uep11_bit
epouten_uep12_bit
epouten_uep13_bit
epouten_uep14_bit
epouten_uep15_bit
epouten_uep2_bit
epouten_uep3_bit
epouten_uep4_bit
epouten_uep5_bit
epouten_uep6_bit
epouten_uep7_bit
epouten_uep8_bit
epouten_uep9_bit
epstall
epstall_bit
epstall_uep1_bit
epstall_uep10_bit
epstall_uep11_bit
epstall_uep12_bit
epstall_uep13_bit
epstall_uep14_bit
epstall_uep15_bit
epstall_uep2_bit
epstall_uep3_bit
epstall_uep4_bit
epstall_uep5_bit
epstall_uep6_bit
epstall_uep7_bit
epstall_uep8_bit
epstall_uep9_bit
equals_double
exp
expander_init
expander_init_advanced
expander_read_byte
expander_read_porta
expander_read_portab
expander_read_portb
expander_set_directionporta
expander_set_directionportab
expander_set_directionportb
expander_set_pullupsporta
expander_set_pullupsportab
expander_set_pullupsportb
expander_write_byte
expander_write_porta
expander_write_portab
expander_write_portb
f
f16_boot_template
f16_filedesc
f16_sector
fabs
fast
ferr
ferr_bit
fixsign32
flash_erase_64
flash_erase_write_64
flash_read
flash_read_n_bytes
flash_write_32
floattostr
floor
flts
flts_bit
fo_horizontal
fo_horizontal_16bit
fo_vertical
fo_vertical_16bit
font_glcd_5x7
font_glcd_character8x7
font_glcd_system3x5
font_glcd_system5x7
font5x7
fontsystem5x7_v2
freadneedsupdate
free
free_bit
freemem
frexp
frm0
frm0_bit
frm1
frm1_bit
frm10
frm10_bit
frm2
frm2_bit
frm3
frm3_bit
frm4
frm4_bit
frm5
frm5_bit
frm6
frm6_bit
frm7
frm7_bit
frm8
frm8_bit
frm9
frm9_bit
fsect
fsen
fsen_bit
fsr0
fsr0h
fsr0l
fsr0ptr
fsr1
fsr1h
fsr1l
fsr1ptr
fsr2
fsr2h
fsr2l
fsr2ptr
fullbits
gcen
gcen_bit
gen_enable
gen_read
gen_write
get_fosc_khz
gie
gie_bit
gie_gieh
gie_gieh_bit
gieh
gieh_bit
giel
giel_bit
glcd_box
glcd_circle
glcd_circle_fill
glcd_defaultfont
glcd_dot
glcd_ext_image
glcd_ext_partialimage
glcd_fill
glcd_get_ext_data_ptr
glcd_h_line
glcd_image
glcd_init
glcd_line
glcd_partialimage
glcd_read_data
glcd_rectangle
glcd_rectangle_round_edges
glcd_rectangle_round_edges_fill
glcd_set_ext_buffer
glcd_set_ext_font_adv
glcd_set_font
glcd_set_font_adv
glcd_set_page
glcd_set_side
glcd_set_x
glcd_v_line
glcd_write_char
glcd_write_char_adv
glcd_write_const_text
glcd_write_const_text_adv
glcd_write_const_text_return_pos
glcd_write_data
glcd_write_text
glcd_write_text_adv
glcd_write_text_return_pos
go
go_bit
go_done
go_done_bit
go_not_done
go_not_done_bit
halfbits
hid_disable
hid_enable
hid_read
hid_write
hlvdcon
hlvden
hlvden_bit
hlvdie
hlvdie_bit
hlvdif
hlvdif_bit
hlvdin
hlvdin_bit
hlvdip
hlvdip_bit
hlvdl0
hlvdl0_bit
hlvdl1
hlvdl1_bit
hlvdl2
hlvdl2_bit
hlvdl3
hlvdl3_bit
i2c_dat
i2c_dat_bit
i2c_read
i2c_read_bit
i2c_start_
i2c_start__bit
i2c_stop_
i2c_stop__bit
i2c1_init
i2c1_is_idle
i2c1_rd
i2c1_repeated_start
i2c1_start
i2c1_stop
i2c1_wr
ics_auto
ics_off
idleie
idleie_bit
idleif
idleif_bit
idlen
idlen_bit
imagefileasarray
indf0
indf1
indf2
int0
int0_bit
int0e
int0e_bit
int0f
int0f_bit
int0ie
int0ie_bit
int0if
int0if_bit
int1
int1_bit
int1e
int1e_bit
int1f
int1f_bit
int1ie
int1ie_bit
int1if
int1if_bit
int1ip
int1ip_bit
int1p
int1p_bit
int2
int2_bit
int2double
int2e
int2e_bit
int2f
int2f_bit
int2ie
int2ie_bit
int2if
int2if_bit
int2ip
int2ip_bit
int2p
int2p_bit
intcon
intcon2
intcon3
intedg0
intedg0_bit
intedg1
intedg1_bit
intedg2
intedg2_bit
intsrc
intsrc_bit
inttohex
inttostr
inttostrwithzeros
iofs
iofs_bit
ipen
ipen_bit
ipr1
ipr2
ircf0
ircf0_bit
ircf1
ircf1_bit
ircf2
ircf2_bit
irvst
irvst_bit
isalnum
isalpha
iscntrl
isdigit
isgraph
islower
ispunct
isspace
isupper
isxdigit
ivrst
ivrst_bit
jpegdecoder
jpegdecoder_16bit
keypad_init
keypad_key_click
keypad_key_press
labs
lata
lata0
lata0_bit
lata1
lata1_bit
lata2
lata2_bit
lata3
lata3_bit
lata4
lata4_bit
lata5
lata5_bit
lata6
lata6_bit
latb
latb0
latb0_bit
latb1
latb1_bit
latb2
latb2_bit
latb3
latb3_bit
latb4
latb4_bit
latb5
latb5_bit
latb6
latb6_bit
latb7
latb7_bit
latc
latc0
latc0_bit
latc1
latc1_bit
latc2
latc2_bit
latc6
latc6_bit
latc7
latc7_bit
latd
latd0
latd0_bit
latd1
latd1_bit
latd2
latd2_bit
latd3
latd3_bit
latd4
latd4_bit
latd5
latd5_bit
latd6
latd6_bit
latd7
latd7_bit
late
late0
late0_bit
late1
late1_bit
late2
late2_bit
lcd
lcd_chr
lcd_chr_cp
lcd_cmd
lcd_d4
lcd_d4_direction
lcd_d5
lcd_d5_direction
lcd_d6
lcd_d6_direction
lcd_d7
lcd_d7_direction
lcd_en
lcd_en_direction
lcd_init
lcd_out
lcd_out_cp
lcd_rs
lcd_rs_direction
ldexp
ldiv
left_to_right
left_to_right_16bit
lf
log
log10
longint2double
longinttohex
longinttostrwithzeros
longjmp
longtostr
longword2double
longwordtohex
longwordtostr
longwordtostrwithzeros
ltrim
lvdcon
lvden
lvden_bit
lvdie
lvdie_bit
lvdif
lvdif_bit
lvdin
lvdin_bit
lvdip
lvdip_bit
lvdl0
lvdl0_bit
lvdl1
lvdl1_bit
lvdl2
lvdl2_bit
lvdl3
lvdl3_bit
lvv0
lvv0_bit
lvv1
lvv1_bit
lvv2
lvv2_bit
lvv3
lvv3_bit
main
malloc
man_break
man_receive
man_receive_init
man_send
man_send_init
man_synchro
max
max_files
memchr
memcmp
memcpy
memmove
memset
min
mm_error_
mm_freememtable
mm_init
mm_largestfreememblock
mm_nrfreeblocksused
mm_possiblyfragmented
mm_totalfreememsize
mmc_fat_activate
mmc_fat_append
mmc_fat_assign
mmc_fat_changedir
mmc_fat_close
mmc_fat_delete
mmc_fat_dir
mmc_fat_eof
mmc_fat_exists
mmc_fat_get_file_date
mmc_fat_get_file_date_modified
mmc_fat_get_file_size
mmc_fat_get_swap_file
mmc_fat_init
mmc_fat_makedir
mmc_fat_open
mmc_fat_quickformat
mmc_fat_read
mmc_fat_readn
mmc_fat_removedir
mmc_fat_rename
mmc_fat_renamedir
mmc_fat_reset
mmc_fat_rewrite
mmc_fat_seek
mmc_fat_set_file_date
mmc_fat_tell
mmc_fat_write
mmc_get_file_write_sector
mmc_init
mmc_init_vars
mmc_multi_read_sector
mmc_multi_read_start
mmc_multi_read_stop
mmc_read_cid
mmc_read_csd
mmc_read_sector
mmc_write_sector
modf
mul_16x16_s
mul_16x16_u
mul_32x32_fp
mul_32x32_s
mul_32x32_u
mul_8x8_s
n
n_bit
not_a
not_a_bit
not_address
not_address_bit
not_bor
not_bor_bit
not_done
not_done_bit
not_ipen
not_ipen_bit
not_pd
not_pd_bit
not_por
not_por_bit
not_rbpu
not_rbpu_bit
not_ri
not_ri_bit
not_t1sync
not_t1sync_bit
not_t3sync
not_t3sync_bit
not_to
not_to_bit
not_w
not_w_bit
not_write
not_write_bit
nr_free_blocks
nrm3232
nrm4032
oerr
oerr_bit
oespp
oespp_bit
osc2
osc2_bit
osccon
oscfie
oscfie_bit
oscfif
oscfif_bit
oscfip
oscfip_bit
osctune
osts
osts_bit
ov
ov_bit
ow_read
ow_reset
ow_write
p
p_bit
p1a
p1a_bit
p1m0
p1m0_bit
p1m1
p1m1_bit
pbcurrenthuffsymboltable
pbcurrenthuffsymlentable
pc
pcfg0
pcfg0_bit
pcfg1
pcfg1_bit
pcfg2
pcfg2_bit
pcfg3
pcfg3_bit
pcl
pclath
pclatu
pcu0
pcu0_bit
pcu1
pcu1_bit
pcu2
pcu2_bit
pcu3
pcu3_bit
pcu4
pcu4_bit
pd
pd_bit
pdc0
pdc0_bit
pdc1
pdc1_bit
pdc2
pdc2_bit
pdc3
pdc3_bit
pdc4
pdc4_bit
pdc5
pdc5_bit
pdc6
pdc6_bit
peie
peie_bit
peie_giel
peie_giel_bit
pen
pen_bit
pgc
pgc_bit
pgd
pgd_bit
pgm
pgm_bit
pidee
pidee_bit
pidef
pidef_bit
pie1
pie2
pir1
pir2
pktdis
pktdis_bit
plusw0
plusw1
plusw2
por
por_bit
porta
portb
portc
portd
porte
postdec0
postdec1
postdec2
postinc0
postinc1
postinc2
pow
ppb0
ppb0_bit
ppb1
ppb1_bit
ppbi
ppbi_bit
ppbrst
ppbrst_bit
pr2
preinc0
preinc1
preinc2
printout
prod
prodh
prodl
prsen
prsen_bit
ps2_config
ps2_key_read
psa
psa_bit
pssac0
pssac0_bit
pssac1
pssac1_bit
pssbd0
pssbd0_bit
pssbd1
pssbd1_bit
pwcurrenthuffsymstarttable
pwcurrentquanttable
pwm1_init
pwm1_set_duty
pwm1_start
pwm1_stop
pwm2_init
pwm2_set_duty
pwm2_start
pwm2_stop
r
r_bit
r_not_w
r_not_w_bit
r_w
r_w_bit
r0
r1
r10
r11
r12
r13
r14
r15
r16
r17
r18
r19
r2
r20
r3
r4
r5
r6
r7
r8
r9
ra0
ra0_bit
ra1
ra1_bit
ra2
ra2_bit
ra3
ra3_bit
ra4
ra4_bit
ra5
ra5_bit
ra6
ra6_bit
rand
rb0
rb0_bit
rb1
rb1_bit
rb2
rb2_bit
rb3
rb3_bit
rb4
rb4_bit
rb5
rb5_bit
rb6
rb6_bit
rb7
rb7_bit
rbie
rbie_bit
rbif
rbif_bit
rbip
rbip_bit
rbpu
rbpu_bit
rc0
rc0_bit
rc1
rc1_bit
rc2
rc2_bit
rc4
rc4_bit
rc5
rc5_bit
rc6
rc6_bit
rc7
rc7_bit
rcen
rcen_bit
rcidl
rcidl_bit
rcie
rcie_bit
rcif
rcif_bit
rcip
rcip_bit
rcmt
rcmt_bit
rcon
rcreg
rcsta
rd
rd_bit
rd0
rd0_bit
rd1
rd1_bit
rd16
rd16_bit
rd16_t1con_bit
rd2
rd2_bit
rd3
rd3_bit
rd4
rd4_bit
rd5
rd5_bit
rd6
rd6_bit
rd7
rd7_bit
rdpu
rdpu_bit
rdpu_porte_bit
rdspp
rdspp_bit
re0
re0_bit
re1
re1_bit
re2
re2_bit
re3
re3_bit
read_write
read_write_bit
res032
resume_
resume__bit
ri
ri_bit
rs485master_init
rs485master_receive
rs485master_send
rs485slave_init
rs485slave_receive
rs485slave_send
rsen
rsen_bit
rtrim
rx_
rx__bit
rx9
rx9_bit
rx9d
rx9d_bit
rxdtp
rxdtp_bit
s
s_bit
s1d13700_black
s1d13700_box
s1d13700_cgram_adr
s1d13700_circle
s1d13700_circle_fill
s1d13700_cs_down
s1d13700_cs_left
s1d13700_cs_right
s1d13700_cs_up
s1d13700_csrform
s1d13700_csrr
s1d13700_csrw
s1d13700_cursor_block
s1d13700_cursor_flash_1hz
s1d13700_cursor_flash_2hz
s1d13700_cursor_off
s1d13700_cursor_on
s1d13700_cursor_underscore
s1d13700_defaultfont
s1d13700_disp_off
s1d13700_disp_on
s1d13700_display_cursor
s1d13700_display_grlayer
s1d13700_display_txtlayer
s1d13700_dot
s1d13700_ext_image
s1d13700_ext_partialimage
s1d13700_fill
s1d13700_get_ext_data_ptr
s1d13700_grayscale
s1d13700_grfill
s1d13700_h_line
s1d13700_hdot_scr
s1d13700_image
s1d13700_init
s1d13700_layer_flash_16hz
s1d13700_layer_flash_2hz
s1d13700_layer_off
s1d13700_layer_on
s1d13700_line
s1d13700_memread
s1d13700_memwrite
s1d13700_overlay_and
s1d13700_overlay_or
s1d13700_overlay_xor
s1d13700_ovlay
s1d13700_partialimage
s1d13700_power_save
s1d13700_read_parameter
s1d13700_rectangle
s1d13700_rectangle_round_edges
s1d13700_rectangle_round_edges_fill
s1d13700_scroll
s1d13700_set_cursor
s1d13700_set_ext_buffer
s1d13700_set_ext_font_adv
s1d13700_set_font_adv
s1d13700_system_set
s1d13700_txtfill
s1d13700_v_line
s1d13700_white
s1d13700_write_char
s1d13700_write_char_adv
s1d13700_write_command
s1d13700_write_const_text
s1d13700_write_const_text_adv
s1d13700_write_const_text_return_pos
s1d13700_write_parameter
s1d13700_write_text
s1d13700_write_text_adv
s1d13700_write_text_return_pos
sboren
sboren_bit
sckp
sckp_bit
scs0
scs0_bit
scs1
scs1_bit
sdiv3232l
se0
se0_bit
sen
sen_bit
sendb
sendb_bit
setfdz32
setfov32
setfun32
setiov3224
setjmp
shorttohex
shorttostr
sin
sine3
sinh
smp
smp_bit
sofie
sofie_bit
sofif
sofif_bit
soft_i2c_break
soft_i2c_init
soft_i2c_read
soft_i2c_start
soft_i2c_stop
soft_i2c_write
soft_spi_init
soft_spi_read
soft_spi_write
soft_uart_break
soft_uart_init
soft_uart_read
soft_uart_write
sound_init
sound_play
spbrg
spbrgh
spen
spen_bit
spi_ethernet_24j600_arpcache
spi_ethernet_24j600_arpresolve
spi_ethernet_24j600_checksum
spi_ethernet_24j600_clearbitreg
spi_ethernet_24j600_confnetwork
spi_ethernet_24j600_delay
spi_ethernet_24j600_dhcpmsg
spi_ethernet_24j600_dhcpreceive
spi_ethernet_24j600_disable
spi_ethernet_24j600_dnsipaddr
spi_ethernet_24j600_dnsresolve
spi_ethernet_24j600_doarp
spi_ethernet_24j600_dodhcp
spi_ethernet_24j600_dodhcpleasetime
spi_ethernet_24j600_dodns
spi_ethernet_24j600_dopacket
spi_ethernet_24j600_dotcp
spi_ethernet_24j600_doudp
spi_ethernet_24j600_enable
spi_ethernet_24j600_ff
spi_ethernet_24j600_getbyte
spi_ethernet_24j600_getbytes
spi_ethernet_24j600_getdnsipaddress
spi_ethernet_24j600_getgwipaddress
spi_ethernet_24j600_getipaddress
spi_ethernet_24j600_getipmask
spi_ethernet_24j600_gwipaddr
spi_ethernet_24j600_init
spi_ethernet_24j600_init2
spi_ethernet_24j600_initdhcp
spi_ethernet_24j600_ipaddr
spi_ethernet_24j600_ipmask
spi_ethernet_24j600_ipswap
spi_ethernet_24j600_macaddr
spi_ethernet_24j600_macswap
spi_ethernet_24j600_memcmp
spi_ethernet_24j600_memcpy
spi_ethernet_24j600_pktlen
spi_ethernet_24j600_putbyte
spi_ethernet_24j600_putbytes
spi_ethernet_24j600_putconstbytes
spi_ethernet_24j600_putconststring
spi_ethernet_24j600_putstring
spi_ethernet_24j600_ramcopy
spi_ethernet_24j600_readaddr
spi_ethernet_24j600_readmem
spi_ethernet_24j600_readpacket
spi_ethernet_24j600_readphy
spi_ethernet_24j600_readreg
spi_ethernet_24j600_renewdhcp
spi_ethernet_24j600_rmtipaddr
spi_ethernet_24j600_sendudp
spi_ethernet_24j600_sendudp2
spi_ethernet_24j600_setbitreg
spi_ethernet_24j600_setrxreadaddress
spi_ethernet_24j600_subnetbroadcast
spi_ethernet_24j600_txpacket
spi_ethernet_24j600_usertimersec
spi_ethernet_24j600_writeaddr
spi_ethernet_24j600_writemem
spi_ethernet_24j600_writememory
spi_ethernet_24j600_writememory2
spi_ethernet_24j600_writephy
spi_ethernet_24j600_writereg
spi_ethernet_arpcache
spi_ethernet_arpresolve
spi_ethernet_checksum
spi_ethernet_clearbitreg
spi_ethernet_confnetwork
spi_ethernet_delay
spi_ethernet_dhcpmsg
spi_ethernet_dhcpreceive
spi_ethernet_disable
spi_ethernet_dnsipaddr
spi_ethernet_dnsresolve
spi_ethernet_doarp
spi_ethernet_dodhcp
spi_ethernet_dodhcpleasetime
spi_ethernet_dodns
spi_ethernet_dopacket
spi_ethernet_dotcp
spi_ethernet_doudp
spi_ethernet_enable
spi_ethernet_ff
spi_ethernet_getbyte
spi_ethernet_getbytes
spi_ethernet_getdnsipaddress
spi_ethernet_getgwipaddress
spi_ethernet_getipaddress
spi_ethernet_getipmask
spi_ethernet_gwipaddr
spi_ethernet_init
spi_ethernet_init2
spi_ethernet_initdhcp
spi_ethernet_ipaddr
spi_ethernet_ipmask
spi_ethernet_ipswap
spi_ethernet_macaddr
spi_ethernet_macswap
spi_ethernet_memcmp
spi_ethernet_memcpy
spi_ethernet_pktlen
spi_ethernet_putbyte
spi_ethernet_putbytes
spi_ethernet_putconstbytes
spi_ethernet_putconststring
spi_ethernet_putstring
spi_ethernet_ramcopy
spi_ethernet_readmem
spi_ethernet_readpacket
spi_ethernet_readphy
spi_ethernet_readreg
spi_ethernet_renewdhcp
spi_ethernet_rmtipaddr
spi_ethernet_sendudp
spi_ethernet_sendudp2
spi_ethernet_setbitreg
spi_ethernet_setrxreadaddress
spi_ethernet_subnetbroadcast
spi_ethernet_txpacket
spi_ethernet_usertimersec
spi_ethernet_writeaddr
spi_ethernet_writemem
spi_ethernet_writememory
spi_ethernet_writememory2
spi_ethernet_writephy
spi_ethernet_writereg
spi_glcd_box
spi_glcd_circle
spi_glcd_circle_fill
spi_glcd_const_write_text
spi_glcd_dot
spi_glcd_ext_image
spi_glcd_ext_partialimage
spi_glcd_fill
spi_glcd_get_ext_data_ptr
spi_glcd_h_line
spi_glcd_image
spi_glcd_init
spi_glcd_line
spi_glcd_partialimage
spi_glcd_read_data
spi_glcd_rectangle
spi_glcd_rectangle_round_edges
spi_glcd_rectangle_round_edges_fill
spi_glcd_set_ext_buffer
spi_glcd_set_ext_font_adv
spi_glcd_set_font
spi_glcd_set_font_adv
spi_glcd_set_page
spi_glcd_set_side
spi_glcd_set_x
spi_glcd_v_line
spi_glcd_write_char
spi_glcd_write_char_adv
spi_glcd_write_const_text_adv
spi_glcd_write_const_text_return_pos
spi_glcd_write_data
spi_glcd_write_text
spi_glcd_write_text_adv
spi_glcd_write_text_return_pos
spi_lcd_chr
spi_lcd_chr_cp
spi_lcd_cmd
spi_lcd_config
spi_lcd_out
spi_lcd_out_cp
spi_lcd8_chr
spi_lcd8_chr_cp
spi_lcd8_cmd
spi_lcd8_config
spi_lcd8_out
spi_lcd8_out_cp
spi_rd_ptr
spi_read
spi_set_active
spi_t6963c_box
spi_t6963c_circle
spi_t6963c_circle_fill
spi_t6963c_clearbit
spi_t6963c_config
spi_t6963c_defaultfont
spi_t6963c_display
spi_t6963c_dot
spi_t6963c_ext_image
spi_t6963c_ext_partialimage
spi_t6963c_fill
spi_t6963c_fontwidth
spi_t6963c_get_ext_data_ptr
spi_t6963c_grheight
spi_t6963c_grhomeaddr
spi_t6963c_grmemsize
spi_t6963c_grwidth
spi_t6963c_image
spi_t6963c_line
spi_t6963c_negbit
spi_t6963c_partialimage
spi_t6963c_rectangle
spi_t6963c_rectangle_round_edges
spi_t6963c_rectangle_round_edges_fill
spi_t6963c_set_cursor
spi_t6963c_set_ext_buffer
spi_t6963c_set_ext_font_adv
spi_t6963c_set_font_adv
spi_t6963c_setbit
spi_t6963c_setptr
spi_t6963c_sprite
spi_t6963c_texthomeaddr
spi_t6963c_txtcols
spi_t6963c_txtmemsize
spi_t6963c_waitready
spi_t6963c_write_char
spi_t6963c_write_char_adv
spi_t6963c_write_const_text
spi_t6963c_write_const_text_adv
spi_t6963c_write_const_text_return_pos
spi_t6963c_write_text
spi_t6963c_write_text_adv
spi_t6963c_write_text_return_pos
spi_t6963c_writecommand
spi_t6963c_writedata
spi_wr_ptr
spi_write
spi1_init
spi1_init_advanced
spi1_read
spi1_write
spp0
spp0_bit
spp1
spp1_bit
spp2
spp2_bit
spp3
spp3_bit
spp4
spp4_bit
spp5
spp5_bit
spp6
spp6_bit
spp7
spp7_bit
sppbusy
sppbusy_bit
sppcfg
sppcon
sppdata
sppen
sppen_bit
sppeps
sppie
sppie_bit
sppif
sppif_bit
sppip
sppip_bit
sppown
sppown_bit
sprintf
sprinti
sprintl
sqrt
srand
sren
sren_bit
sspadd
sspbuf
sspcon1
sspcon2
sspen
sspen_bit
sspie
sspie_bit
sspif
sspif_bit
sspip
sspip_bit
sspm0
sspm0_bit
sspm1
sspm1_bit
sspm2
sspm2_bit
sspm3
sspm3_bit
sspov
sspov_bit
sspstat
stallie
stallie_bit
stallif
stallif_bit
status
stkful
stkful_bit
stkovf
stkovf_bit
stkptr
stkptr0
stkptr0_bit
stkptr1
stkptr1_bit
stkptr2
stkptr2_bit
stkptr3
stkptr3_bit
stkptr4
stkptr4_bit
stkunf
stkunf_bit
strcat
strchr
strcmp
strcpy
strcspn
strlen
strncat
strncmp
strncpy
strpbrk
strrchr
strspn
strstr
strtok
sub_32x32_fp
suspnd
suspnd_bit
swap
swdte
swdte_bit
swdten
swdten_bit
sync
sync_bit
system3x5
t08bit
t08bit_bit
t0cki
t0cki_bit
t0con
t0cs
t0cs_bit
t0ie
t0ie_bit
t0if
t0if_bit
t0ip
t0ip_bit
t0ps0
t0ps0_bit
t0ps1
t0ps1_bit
t0ps2
t0ps2_bit
t0se
t0se_bit
t13cki
t13cki_bit
t1ckps0
t1ckps0_bit
t1ckps1
t1ckps1_bit
t1con
t1oscen
t1oscen_bit
t1osi
t1osi_bit
t1oso
t1oso_bit
t1run
t1run_bit
t1sync
t1sync_bit
t2ckps0
t2ckps0_bit
t2ckps1
t2ckps1_bit
t2con
t2outps0
t2outps0_bit
t2outps1
t2outps1_bit
t2outps2
t2outps2_bit
t2outps3
t2outps3_bit
t3ccp1
t3ccp1_bit
t3ccp2
t3ccp2_bit
t3ckps0
t3ckps0_bit
t3ckps1
t3ckps1_bit
t3con
t3nsync
t3nsync_bit
t3sync
t3sync_bit
t6963c_box
t6963c_circle
t6963c_circle_fill
t6963c_defaultfont
t6963c_display
t6963c_dot
t6963c_ext_image
t6963c_ext_partialimage
t6963c_fill
t6963c_fontwidth
t6963c_get_ext_data_ptr
t6963c_grheight
t6963c_grhomeaddr
t6963c_grmemsize
t6963c_grwidth
t6963c_image
t6963c_init
t6963c_line
t6963c_partialimage
t6963c_rectangle
t6963c_rectangle_round_edges
t6963c_rectangle_round_edges_fill
t6963c_set_cursor
t6963c_set_ext_buffer
t6963c_set_ext_font_adv
t6963c_set_font_adv
t6963c_setptr
t6963c_sprite
t6963c_texthomeaddr
t6963c_txtcols
t6963c_txtmemsize
t6963c_waitready
t6963c_write_char
t6963c_write_char_adv
t6963c_write_const_text
t6963c_write_const_text_adv
t6963c_write_const_text_return_pos
t6963c_write_text
t6963c_write_text_adv
t6963c_write_text_return_pos
t6963c_writecommand
t6963c_writedata
tablat
tan
tanh
tblptr
tblptrh
tblptrl
tblptru
tft_16bit_circle
tft_16bit_color16bittorgb
tft_16bit_defaultfont
tft_16bit_dot
tft_16bit_ext_image
tft_16bit_ext_partial_image
tft_16bit_fill_screen
tft_16bit_get_ext_data_ptr
tft_16bit_getcurrentcolor
tft_16bit_h_line
tft_16bit_image
tft_16bit_image_jpeg
tft_16bit_line
tft_16bit_partial_image
tft_16bit_rectangle
tft_16bit_rectangle_round_edges
tft_16bit_rgbtocolor16bit
tft_16bit_rotate_180
tft_16bit_set_active
tft_16bit_set_address_ptr
tft_16bit_set_brush
tft_16bit_set_default_mode
tft_16bit_set_ext_buffer
tft_16bit_set_ext_font
tft_16bit_set_font
tft_16bit_set_index
tft_16bit_set_index_ptr
tft_16bit_set_pen
tft_16bit_set_reg
tft_16bit_v_line
tft_16bit_write_char
tft_16bit_write_command
tft_16bit_write_command_ptr
tft_16bit_write_const_text
tft_16bit_write_const_text_return_pos
tft_16bit_write_data
tft_16bit_write_data_ptr
tft_16bit_write_text
tft_16bit_write_text_return_pos
tft_circle
tft_color16bittorgb
tft_defaultfont
tft_dot
tft_ext_image
tft_ext_partial_image
tft_fill_screen
tft_get_ext_data_ptr
tft_getcurrentcolor
tft_h_line
tft_image
tft_image_jpeg
tft_init
tft_init_hx8347g
tft_init_hx8352a
tft_init_ili9340
tft_init_ili9342
tft_init_ili9481
tft_init_r61526
tft_init_ssd1963
tft_init_ssd1963_8bit
tft_init_sst7715r
tft_line
tft_partial_image
tft_rectangle
tft_rectangle_round_edges
tft_rgbtocolor16bit
tft_rotate_180
tft_set_active
tft_set_address_ptr
tft_set_brush
tft_set_default_mode
tft_set_ext_buffer
tft_set_ext_font
tft_set_font
tft_set_index
tft_set_index_ptr
tft_set_pen
tft_set_reg
tft_ssd1963_8bit_set_index
tft_ssd1963_8bit_set_reg
tft_ssd1963_8bit_write_data
tft_ssd1963yt_8bit_write_command
tft_v_line
tft_write_char
tft_write_command
tft_write_command_ptr
tft_write_const_text
tft_write_const_text_return_pos
tft_write_data
tft_write_data_ptr
tft_write_text
tft_write_text_return_pos
time_datetoepoch
time_epochtodate
time_jd1970
tmr0h
tmr0ie
tmr0ie_bit
tmr0if
tmr0if_bit
tmr0ip
tmr0ip_bit
tmr0l
tmr0on
tmr0on_bit
tmr1cs
tmr1cs_bit
tmr1h
tmr1ie
tmr1ie_bit
tmr1if
tmr1if_bit
tmr1ip
tmr1ip_bit
tmr1l
tmr1on
tmr1on_bit
tmr2
tmr2ie
tmr2ie_bit
tmr2if
tmr2if_bit
tmr2ip
tmr2ip_bit
tmr2on
tmr2on_bit
tmr3cs
tmr3cs_bit
tmr3h
tmr3ie
tmr3ie_bit
tmr3if
tmr3if_bit
tmr3ip
tmr3ip_bit
tmr3l
tmr3on
tmr3on_bit
to_
to__bit
tolower
top_to_bottom
top_to_bottom_16bit
tosh
tosl
tosu
toupper
toutps0
toutps0_bit
toutps1
toutps1_bit
toutps2
toutps2_bit
toutps3
toutps3_bit
tp_calibrate_bottom_left
tp_calibrate_upper_right
tp_get_calibration_consts
tp_get_coordinates
tp_init
tp_press_detect
tp_set_adc_threshold
tp_set_calibration_consts
tp_tft_calibrate_max
tp_tft_calibrate_min
tp_tft_get_calibration_consts
tp_tft_get_coordinates
tp_tft_init
tp_tft_press_detect
tp_tft_rotate_180
tp_tft_set_adc_threshold
tp_tft_set_calibration_consts
tp_tft_set_default_mode
trisa
trisa0
trisa0_bit
trisa1
trisa1_bit
trisa2
trisa2_bit
trisa3
trisa3_bit
trisa4
trisa4_bit
trisa5
trisa5_bit
trisa6
trisa6_bit
trisb
trisb0
trisb0_bit
trisb1
trisb1_bit
trisb2
trisb2_bit
trisb3
trisb3_bit
trisb4
trisb4_bit
trisb5
trisb5_bit
trisb6
trisb6_bit
trisb7
trisb7_bit
trisc
trisc0
trisc0_bit
trisc1
trisc1_bit
trisc2
trisc2_bit
trisc6
trisc6_bit
trisc7
trisc7_bit
trisd
trisd0
trisd0_bit
trisd1
trisd1_bit
trisd2
trisd2_bit
trisd3
trisd3_bit
trisd4
trisd4_bit
trisd5
trisd5_bit
trisd6
trisd6_bit
trisd7
trisd7_bit
trise
trise0
trise0_bit
trise1
trise1_bit
trise2
trise2_bit
trmt
trmt_bit
trnie
trnie_bit
trnif
trnif_bit
tun0
tun0_bit
tun1
tun1_bit
tun2
tun2_bit
tun3
tun3_bit
tun4
tun4_bit
tx
tx_bit
tx9
tx9_bit
tx9d
tx9d_bit
txckp
txckp_bit
txen
txen_bit
txie
txie_bit
txif
txif_bit
txip
txip_bit
txreg
txsta
ua
ua_bit
uaddr
uart_data_ready
uart_rd_ptr
uart_rdy_ptr
uart_read
uart_read_text
uart_set_active
uart_tx_idle
uart_tx_idle_ptr
uart_wr_ptr
uart_write
uart_write_text
uart1_data_ready
uart1_init
uart1_read
uart1_read_text
uart1_tx_idle
uart1_write
uart1_write_text
ucfg
ucon
ueie
ueir
uep0
uep1
uep10
uep11
uep12
uep13
uep14
uep15
uep2
uep3
uep4
uep5
uep6
uep7
uep8
uep9
uerrie
uerrie_bit
uerrif
uerrif_bit
ufrmh
ufrml
uie
uir
uldiv
uoemon
uoemon_bit
upuen
upuen_bit
urstie
urstie_bit
urstif
urstif_bit
usb_break
usb_interrupt_proc
usb_polling_proc
usben
usben_bit
usbie
usbie_bit
usbif
usbif_bit
usbip
usbip_bit
ustat
uteye
uteye_bit
utrdis
utrdis_bit
vcfg0
vcfg0_bit
vcfg1
vcfg1_bit
vdelay_advanced_ms
vdelay_ms
vdirmag
vdirmag_bit
vrefm
vrefm_bit
vrefp
vrefp_bit
w
wblocknumber
wbufferindex
wbufferlen
wcol
wcol_bit
wdtcon
wheight
word2double
wordtohex
wordtostr
wordtostrwithzeros
wprevx
wprevy
wr
wr_bit
wreg
wren
wren_bit
wrerr
wrerr_bit
wrestartinterval
wrspp
wrspp_bit
ws0
ws0_bit
ws1
ws1_bit
ws2
ws2_bit
ws3
ws3_bit
wue
wue_bit
wwidth
wworkbits
xtoi
z
z_bit
Calculator/Calculator.dlt
Calculator/Calculator.hex
:1000000002EF01F00000000000EF00F0000000002F
:0A0010000000000000000000F3D71C
:06001C00000000001200CC
:100022000F0E0C6E470E0D6E0D2EFED70C2EFCD74A
:06003200000000001200B6
:0A003800210E0D6E0D2EFED71200F2
:100042003ABE02D0839E01D0838E3ABC02D0839CFA
:1000520001D0838C3ABA02D0839A01D0838A3AB80B
:1000620002D0839801D0838831B002D0848401D039
:1000720084948482D2DF84923AB602D0839E01D0E5
:10008200838E3AB402D0839C01D0838C3AB202D0E0
:10009200839A01D0838A3AB002D0839801D08388B0
:1000A20031B002D0848401D084948482B6DF8492F9
:0C00B20031A002D0B5DF01D0BEDF12008B
:0C00BE00319039C03AF0BEDF31801200F2
:1000CA000FD0800E346E19D0C00E346E16D0940E36
:1000DA00346E13D0D40E346E10D0800E346E0DD020
:1000EA003450010AEEE03450020AEEE03450030ABA
:1000FA00EEE03450040AEEE0F0D73504006E3450D6
:10010A00002600C034F000C03AF096DF3190386A19
:10011A0038503624E96E000E3720EA6EEE520BE0B4
:10012A0038503624E96E000E3720EA6EEECF39F0E9
:0A013A00C1DF382AEDD73180120032
:100144000900F5CFE6FF0006FBE10106F9E1120024
:10015400969296949598959A959C959E849284945B
:10016400839E839C839A83985ADF59DF58DF838A5E
:100174008388848251DF849252DF84824DDF8492AB
:100184004EDF848249DF84924ADF8398848244DF8D
:10019400849245DF848240DF8492839A838E8482B2
:1001A4003BDF84923CDF839E8388848235DF8492A4
:1001B4008398848231DF849232DF84822DDF8492BB
:1001C4008388848229DF84922ADF8398848224DFCF
:1001D4008492838E838C838A838884821DDF8492B5
:0601E4001EDF3180120055
:1001EA00010E3A6E29DF010E346E040E356E32C0EE
:0A01FA0036F033C037F064DF120066
:1002040083EC01F00F0EC16E0F0E956EFF0E816E22
:10021400F80E936E9DDF0C0E3A6E11DF819283B05F
:1002240006D0270E326E000E336EDDDF17D083B298
:1002340006D0290E326E000E336ED5DF0FD083B494
:1002440006D0250E326E000E336ECDDF07D083B696
:1002540005D02F0E326E000E336EC5DF818281947D
:1002640083B006D02B0E326E000E336EBCDF17D077
:1002740083B206D0230E326E000E336EB4DF0FD07D
:1002840083B406D01B0E326E000E336EACDF07D083
:1002940083B605D0190E326E000E336EA4DF81844E
:1002A400819083B006D0150E326E000E336E9BDF44
:1002B40017D083B206D0210E326E000E336E93DF58
:1002C4000FD083B406D01F0E326E000E336E8BDF58
:1002D40007D083B605D01D0E326E000E336E83DF59
:0602E40081809CD7FFD7CA
:1003060010EE15F01C0E006E010E016EEA0EF66E72
:0E031600020EF76E000EF86EA2EC00F0120060
:0402EA003C5F5F0016
:0202EE003300DB
:0202F0003600D6
:0202F2003100D9
:0202F4003400D4
:0202F6003700CF
:0202F8003900CB
:0202FA003500CD
:0202FC003000D0
:0202FE003800C6
:040300005F5F3E00FD
:020304003200C5
:020000040030CA
:0E000000010C191EFF0080FF0FC00FE00F4023
:00000001FF
Calculator/Calculator.log
0 1 mikroCPIC1618.exe -MSF -DBG -pP18F4550 -DL -O11111114 -fo8 -N"C:\Users\Aluno\Desktop\Calculator\Calculator.mcppi" -SP"C:\Program Files (x86)\mikroC PRO for PIC\defs\" -SP"C:\Program Files (x86)\mikroC PRO for PIC\uses\P18\" -SP"C:\Users\Aluno\Desktop\Calculator\" -SP"C:\Users\Aluno\Desktop\" "Calculator.c" "Calculator.c" "__Lib_Math.mcl" "__Lib_MathDouble.mcl" "__Lib_System.mcl" "__Lib_Delays.mcl" "__Lib_CType.mcl" "__Lib_CString.mcl" "__Lib_CStdlib.mcl" "__Lib_CMath.mcl" "__Lib_MemManager.mcl" "__Lib_Conversions.mcl" "__Lib_Sprintf.mcl" "__Lib_PrintOut.mcl" "__Lib_Sprinti.mcl" "__Lib_Sprintl.mcl" "__Lib_Time.mcl" "__Lib_Trigonometry.mcl" "__Lib_Button.mcl" "__Lib_Keypad4x4.mcl" "__Lib_Manchester.mcl" "__Lib_OneWire.mcl" "__Lib_PS2.mcl" "__Lib_Sound.mcl" "__Lib_SoftI2C.mcl" "__Lib_SoftSPI.mcl" "__Lib_SoftUART.mcl" "__Lib_ADC_A_D.mcl" "__Lib_EEPROM_256.mcl" "__Lib_FLASH_w32_e64.mcl" "__Lib_I2C_b10.mcl" "__Lib_PWM_c21.mcl" "__Lib_SPI_b10c7.mcl" "__Lib_UART_c67.mcl" "__Lib_USB_genHID.mcl" "__Lib_PortExpander.mcl" "__Lib_CANSPI.mcl" "__Lib_CF.mcl" "__Lib_CFFat16.mcl" "__Lib_GlcdFonts.mcl" "__Lib_Glcd.mcl" "__Lib_LcdConsts.mcl" "__Lib_Lcd.mcl" "__Lib_Mmc.mcl" "__Lib_MmcFat16.mcl" "__Lib_MmcFat16Constants.mcl" "__Lib_RS485.mcl" "__Lib_S1D13700.mcl" "__Lib_T6963C.mcl" "__Lib_SPIGlcd.mcl" "__Lib_SPILcd.mcl" "__Lib_SPILcd8.mcl" "__Lib_SPIT6963C.mcl" "__Lib_EthEnc28j60.mcl" "__Lib_TFT.mcl" "__Lib_TFT_16bit.mcl" "__Lib_TouchPanel_TFT.mcl" "__Lib_EthEnc24j600.mcl" "__Lib_TouchPanel.mcl"
diagnostics: 0 126 All files Preprocessed in 31 ms
diagnostics: 0 122 Compilation Started Calculator.c
diagnostics: 69 123 Compiled Successfully Calculator.c
diagnostics: 0 122 Compilation Started Calculator.c
diagnostics: 69 123 Compiled Successfully Calculator.c
diagnostics: 0 127 All files Compiled in 47 ms
diagnostics: 0 125 Project Linked Successfully Calculator.mcppi
diagnostics: 0 128 Linked in 312 ms
diagnostics: 0 129 Project 'Calculator.mcppi' completed: 484 ms
diagnostics: 0 103 Finished successfully: 01 abr 2015, 12:31:38 Calculator.mcppi
Calculator/Calculator.lst
; LST file generated by mikroListExporter - v.2.0
; Date/Time: 01/04/2015 12:31:37
;----------------------------------------------
;Address Opcode ASM
0x0000 0xF001EF02 GOTO 516
0x0004 0x0000 NOP
0x0006 0x0000 NOP
0x0008 0xF000EF00 GOTO 0
0x000C 0x0000 NOP
0x000E 0x0000 NOP
0x0010 0x0000 NOP
0x0012 0x0000 NOP
0x0014 0x0000 NOP
0x0016 0x0000 NOP
0x0018 0xD7F3 BRA 0
_Delay_1us:
;__Lib_Delays.c,7 :: void Delay_1us() {
;__Lib_Delays.c,8 :: Delay_us(1);
0x001C 0x0000 NOP
0x001E 0x0000 NOP
;__Lib_Delays.c,9 :: }
L_end_Delay_1us:
0x0020 0x0012 RETURN 0
; end of _Delay_1us
_Delay_5500us:
;__Lib_Delays.c,31 :: void Delay_5500us() {
;__Lib_Delays.c,32 :: Delay_us(5500);
0x0022 0x0E0F MOVLW 15
0x0024 0x6E0C MOVWF R12, 0
0x0026 0x0E47 MOVLW 71
0x0028 0x6E0D MOVWF R13, 0
L_Delay_5500us5:
0x002A 0x2E0D DECFSZ R13, 1, 0
0x002C 0xD7FE BRA L_Delay_5500us5
0x002E 0x2E0C DECFSZ R12, 1, 0
0x0030 0xD7FC BRA L_Delay_5500us5
0x0032 0x0000 NOP
0x0034 0x0000 NOP
;__Lib_Delays.c,33 :: }
L_end_Delay_5500us:
0x0036 0x0012 RETURN 0
; end of _Delay_5500us
_Delay_50us:
;__Lib_Delays.c,19 :: void Delay_50us() {
;__Lib_Delays.c,20 :: Delay_us(50);
0x0038 0x0E21 MOVLW 33
0x003A 0x6E0D MOVWF R13, 0
L_Delay_50us2:
0x003C 0x2E0D DECFSZ R13, 1, 0
0x003E 0xD7FE BRA L_Delay_50us2
;__Lib_Delays.c,21 :: }
L_end_Delay_50us:
0x0040 0x0012 RETURN 0
; end of _Delay_50us
_Lcd_Cmd:
;__Lib_Lcd.c,18 ::
;__Lib_Lcd.c,20 ::
0x0042 0xBE3A BTFSC FARG_Lcd_Cmd_out_char, 7
0x0044 0xD002 BRA L__Lcd_Cmd21
0x0046 0x9E83 BCF LCD_D7, BitPos(LCD_D7+0)
0x0048 0xD001 BRA L__Lcd_Cmd22
L__Lcd_Cmd21:
0x004A 0x8E83 BSF LCD_D7, BitPos(LCD_D7+0)
L__Lcd_Cmd22:
;__Lib_Lcd.c,21 ::
0x004C 0xBC3A BTFSC FARG_Lcd_Cmd_out_char, 6
0x004E 0xD002 BRA L__Lcd_Cmd23
0x0050 0x9C83 BCF LCD_D6, BitPos(LCD_D6+0)
0x0052 0xD001 BRA L__Lcd_Cmd24
L__Lcd_Cmd23:
0x0054 0x8C83 BSF LCD_D6, BitPos(LCD_D6+0)
L__Lcd_Cmd24:
;__Lib_Lcd.c,22 ::
0x0056 0xBA3A BTFSC FARG_Lcd_Cmd_out_char, 5
0x0058 0xD002 BRA L__Lcd_Cmd25
0x005A 0x9A83 BCF LCD_D5, BitPos(LCD_D5+0)
0x005C 0xD001 BRA L__Lcd_Cmd26
L__Lcd_Cmd25:
0x005E 0x8A83 BSF LCD_D5, BitPos(LCD_D5+0)
L__Lcd_Cmd26:
;__Lib_Lcd.c,23 ::
0x0060 0xB83A BTFSC FARG_Lcd_Cmd_out_char, 4
0x0062 0xD002 BRA L__Lcd_Cmd27
0x0064 0x9883 BCF LCD_D4, BitPos(LCD_D4+0)
0x0066 0xD001 BRA L__Lcd_Cmd28
L__Lcd_Cmd27:
0x0068 0x8883 BSF LCD_D4, BitPos(LCD_D4+0)
L__Lcd_Cmd28:
;__Lib_Lcd.c,25 ::
0x006A 0xB031 BTFSC __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0)
0x006C 0xD002 BRA L__Lcd_Cmd29
0x006E 0x8484 BSF LCD_RS, BitPos(LCD_RS+0)
0x0070 0xD001 BRA L__Lcd_Cmd30
L__Lcd_Cmd29:
0x0072 0x9484 BCF LCD_RS, BitPos(LCD_RS+0)
L__Lcd_Cmd30:
;__Lib_Lcd.c,28 ::
0x0074 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,29 ::
0x0076 0xDFD2 RCALL _Delay_1us
;__Lib_Lcd.c,30 ::
0x0078 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,33 ::
0x007A 0xB63A BTFSC FARG_Lcd_Cmd_out_char, 3
0x007C 0xD002 BRA L__Lcd_Cmd31
0x007E 0x9E83 BCF LCD_D7, BitPos(LCD_D7+0)
0x0080 0xD001 BRA L__Lcd_Cmd32
L__Lcd_Cmd31:
0x0082 0x8E83 BSF LCD_D7, BitPos(LCD_D7+0)
L__Lcd_Cmd32:
;__Lib_Lcd.c,34 ::
0x0084 0xB43A BTFSC FARG_Lcd_Cmd_out_char, 2
0x0086 0xD002 BRA L__Lcd_Cmd33
0x0088 0x9C83 BCF LCD_D6, BitPos(LCD_D6+0)
0x008A 0xD001 BRA L__Lcd_Cmd34
L__Lcd_Cmd33:
0x008C 0x8C83 BSF LCD_D6, BitPos(LCD_D6+0)
L__Lcd_Cmd34:
;__Lib_Lcd.c,35 ::
0x008E 0xB23A BTFSC FARG_Lcd_Cmd_out_char, 1
0x0090 0xD002 BRA L__Lcd_Cmd35
0x0092 0x9A83 BCF LCD_D5, BitPos(LCD_D5+0)
0x0094 0xD001 BRA L__Lcd_Cmd36
L__Lcd_Cmd35:
0x0096 0x8A83 BSF LCD_D5, BitPos(LCD_D5+0)
L__Lcd_Cmd36:
;__Lib_Lcd.c,36 ::
0x0098 0xB03A BTFSC FARG_Lcd_Cmd_out_char, 0
0x009A 0xD002 BRA L__Lcd_Cmd37
0x009C 0x9883 BCF LCD_D4, BitPos(LCD_D4+0)
0x009E 0xD001 BRA L__Lcd_Cmd38
L__Lcd_Cmd37:
0x00A0 0x8883 BSF LCD_D4, BitPos(LCD_D4+0)
L__Lcd_Cmd38:
;__Lib_Lcd.c,38 ::
0x00A2 0xB031 BTFSC __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0)
0x00A4 0xD002 BRA L__Lcd_Cmd39
0x00A6 0x8484 BSF LCD_RS, BitPos(LCD_RS+0)
0x00A8 0xD001 BRA L__Lcd_Cmd40
L__Lcd_Cmd39:
0x00AA 0x9484 BCF LCD_RS, BitPos(LCD_RS+0)
L__Lcd_Cmd40:
;__Lib_Lcd.c,40 ::
0x00AC 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,41 ::
0x00AE 0xDFB6 RCALL _Delay_1us
;__Lib_Lcd.c,42 ::
0x00B0 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,44 ::
0x00B2 0xA031 BTFSS __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0)
0x00B4 0xD002 BRA L_Lcd_Cmd0
;__Lib_Lcd.c,45 ::
0x00B6 0xDFB5 RCALL _Delay_5500us
0x00B8 0xD001 BRA L_Lcd_Cmd1
L_Lcd_Cmd0:
;__Lib_Lcd.c,47 ::
0x00BA 0xDFBE RCALL _Delay_50us
L_Lcd_Cmd1:
;__Lib_Lcd.c,48 ::
L_end_Lcd_Cmd:
0x00BC 0x0012 RETURN 0
; end of _Lcd_Cmd
_Lcd_Chr_CP:
;__Lib_Lcd.c,50 ::
;__Lib_Lcd.c,52 ::
0x00BE 0x9031 BCF __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0)
;__Lib_Lcd.c,53 ::
0x00C0 0xF03AC039 MOVFF FARG_Lcd_Chr_CP_out_char, FARG_Lcd_Cmd_out_char
0x00C4 0xDFBE RCALL _Lcd_Cmd
;__Lib_Lcd.c,54 ::
0x00C6 0x8031 BSF __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0)
;__Lib_Lcd.c,55 ::
L_end_Lcd_Chr_CP:
0x00C8 0x0012 RETURN 0
; end of _Lcd_Chr_CP
_Lcd_Out:
;__Lib_Lcd.c,184 ::
;__Lib_Lcd.c,187 ::
0x00CA 0xD00F BRA L_Lcd_Out11
;__Lib_Lcd.c,188 ::
L_Lcd_Out13:
0x00CC 0x0E80 MOVLW 128
0x00CE 0x6E34 MOVWF FARG_Lcd_Out_row
0x00D0 0xD019 BRA L_Lcd_Out12
;__Lib_Lcd.c,189 ::
L_Lcd_Out14:
0x00D2 0x0EC0 MOVLW 192
0x00D4 0x6E34 MOVWF FARG_Lcd_Out_row
0x00D6 0xD016 BRA L_Lcd_Out12
;__Lib_Lcd.c,190 ::
L_Lcd_Out15:
0x00D8 0x0E94 MOVLW 148
0x00DA 0x6E34 MOVWF FARG_Lcd_Out_row
0x00DC 0xD013 BRA L_Lcd_Out12
;__Lib_Lcd.c,191 ::
L_Lcd_Out16:
0x00DE 0x0ED4 MOVLW 212
0x00E0 0x6E34 MOVWF FARG_Lcd_Out_row
0x00E2 0xD010 BRA L_Lcd_Out12
;__Lib_Lcd.c,192 ::
L_Lcd_Out17:
0x00E4 0x0E80 MOVLW 128
0x00E6 0x6E34 MOVWF FARG_Lcd_Out_row
;__Lib_Lcd.c,193 ::
0x00E8 0xD00D BRA L_Lcd_Out12
L_Lcd_Out11:
0x00EA 0x5034 MOVF FARG_Lcd_Out_row, 0
0x00EC 0x0A01 XORLW 1
0x00EE 0xE0EE BZ L_Lcd_Out13
0x00F0 0x5034 MOVF FARG_Lcd_Out_row, 0
0x00F2 0x0A02 XORLW 2
0x00F4 0xE0EE BZ L_Lcd_Out14
0x00F6 0x5034 MOVF FARG_Lcd_Out_row, 0
0x00F8 0x0A03 XORLW 3
0x00FA 0xE0EE BZ L_Lcd_Out15
0x00FC 0x5034 MOVF FARG_Lcd_Out_row, 0
0x00FE 0x0A04 XORLW 4
0x0100 0xE0EE BZ L_Lcd_Out16
0x0102 0xD7F0 BRA L_Lcd_Out17
L_Lcd_Out12:
;__Lib_Lcd.c,194 ::
0x0104 0x0435 DECF FARG_Lcd_Out_column, 0
0x0106 0x6E00 MOVWF R0
0x0108 0x5034 MOVF FARG_Lcd_Out_row, 0
0x010A 0x2600 ADDWF R0, 1
0x010C 0xF034C000 MOVFF R0, FARG_Lcd_Out_row
;__Lib_Lcd.c,196 ::
0x0110 0xF03AC000 MOVFF R0, FARG_Lcd_Cmd_out_char
0x0114 0xDF96 RCALL _Lcd_Cmd
;__Lib_Lcd.c,197 ::
0x0116 0x9031 BCF __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0)
;__Lib_Lcd.c,198 ::
0x0118 0x6A38 CLRF Lcd_Out_i_L0
;__Lib_Lcd.c,199 ::
L_Lcd_Out18:
0x011A 0x5038 MOVF Lcd_Out_i_L0, 0
0x011C 0x2436 ADDWF FARG_Lcd_Out_text, 0
0x011E 0x6EE9 MOVWF FSR0L
0x0120 0x0E00 MOVLW 0
0x0122 0x2037 ADDWFC FARG_Lcd_Out_text+1, 0
0x0124 0x6EEA MOVWF FSR0H
0x0126 0x52EE MOVF POSTINC0, 1
0x0128 0xE00B BZ L_Lcd_Out19
;__Lib_Lcd.c,200 ::
0x012A 0x5038 MOVF Lcd_Out_i_L0, 0
0x012C 0x2436 ADDWF FARG_Lcd_Out_text, 0
0x012E 0x6EE9 MOVWF FSR0L
0x0130 0x0E00 MOVLW 0
0x0132 0x2037 ADDWFC FARG_Lcd_Out_text+1, 0
0x0134 0x6EEA MOVWF FSR0H
0x0136 0xF039CFEE MOVFF POSTINC0, FARG_Lcd_Chr_CP_out_char
0x013A 0xDFC1 RCALL _Lcd_Chr_CP
0x013C 0x2A38 INCF Lcd_Out_i_L0, 1
0x013E 0xD7ED BRA L_Lcd_Out18
L_Lcd_Out19:
;__Lib_Lcd.c,201 ::
0x0140 0x8031 BSF __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0)
;__Lib_Lcd.c,202 ::
L_end_Lcd_Out:
0x0142 0x0012 RETURN 0
; end of _Lcd_Out
___CC2DW:
;__Lib_System.c,21 ::
;__Lib_System.c,23 ::
_CC2DL_Loop1:
;__Lib_System.c,24 ::
0x0144 0x0009 TBLRD*+
;__Lib_System.c,25 ::
0x0146 0xFFE6CFF5 MOVFF TABLAT, POSTINC1
;__Lib_System.c,26 ::
0x014A 0x0600 DECF R0, 1, 0
;__Lib_System.c,27 ::
0x014C 0xE1FB BNZ _CC2DL_Loop1
;__Lib_System.c,28 ::
0x014E 0x0601 DECF R1, 1, 0
;__Lib_System.c,29 ::
0x0150 0xE1F9 BNZ _CC2DL_Loop1
;__Lib_System.c,31 ::
L_end___CC2DW:
0x0152 0x0012 RETURN 0
; end of ___CC2DW
_Lcd_Init:
;__Lib_Lcd.c,84 ::
;__Lib_Lcd.c,86 ::
0x0154 0x9296 BCF LCD_EN_Direction, BitPos(LCD_EN_Direction+0)
;__Lib_Lcd.c,87 ::
0x0156 0x9496 BCF LCD_RS_Direction, BitPos(LCD_RS_Direction+0)
;__Lib_Lcd.c,88
::
0x0158 0x9895 BCF LCD_D4_Direction, BitPos(LCD_D4_Direction+0)
;__Lib_Lcd.c,89 ::
0x015A 0x9A95 BCF LCD_D5_Direction, BitPos(LCD_D5_Direction+0)
;__Lib_Lcd.c,90 ::
0x015C 0x9C95 BCF LCD_D6_Direction, BitPos(LCD_D6_Direction+0)
;__Lib_Lcd.c,91 ::
0x015E 0x9E95 BCF LCD_D7_Direction, BitPos(LCD_D7_Direction+0)
;__Lib_Lcd.c,93 ::
0x0160 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,94 ::
0x0162 0x9484 BCF LCD_RS, BitPos(LCD_RS+0)
;__Lib_Lcd.c,95 ::
0x0164 0x9E83 BCF LCD_D7, BitPos(LCD_D7+0)
;__Lib_Lcd.c,96 ::
0x0166 0x9C83 BCF LCD_D6, BitPos(LCD_D6+0)
;__Lib_Lcd.c,97 ::
0x0168 0x9A83 BCF LCD_D5, BitPos(LCD_D5+0)
;__Lib_Lcd.c,98 ::
0x016A 0x9883 BCF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,100 ::
0x016C 0xDF5A RCALL _Delay_5500us
;__Lib_Lcd.c,101 ::
0x016E 0xDF59 RCALL _Delay_5500us
;__Lib_Lcd.c,102 ::
0x0170 0xDF58 RCALL _Delay_5500us
;__Lib_Lcd.c,105 ::
0x0172 0x8A83 BSF LCD_D5, BitPos(LCD_D5+0)
;__Lib_Lcd.c,106 ::
0x0174 0x8883 BSF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,107 ::
0x0176 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,108 ::
0x0178 0xDF51 RCALL _Delay_1us
;__Lib_Lcd.c,109 ::
0x017A 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,110 ::
0x017C 0xDF52 RCALL _Delay_5500us
;__Lib_Lcd.c,112 ::
0x017E 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,113 ::
0x0180 0xDF4D RCALL _Delay_1us
;__Lib_Lcd.c,114 ::
0x0182 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,115 ::
0x0184 0xDF4E RCALL _Delay_5500us
;__Lib_Lcd.c,117 ::
0x0186 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,118 ::
0x0188 0xDF49 RCALL _Delay_1us
;__Lib_Lcd.c,119 ::
0x018A 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,120 ::
0x018C 0xDF4A RCALL _Delay_5500us
;__Lib_Lcd.c,123 ::
0x018E 0x9883 BCF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,124 ::
0x0190 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,125 ::
0x0192 0xDF44 RCALL _Delay_1us
;__Lib_Lcd.c,126 ::
0x0194 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,127 ::
0x0196 0xDF45 RCALL _Delay_5500us
;__Lib_Lcd.c,130 ::
0x0198 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,131 ::
0x019A 0xDF40 RCALL _Delay_1us
;__Lib_Lcd.c,132 ::
0x019C 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,134 ::
0x019E 0x9A83 BCF LCD_D5, BitPos(LCD_D5+0)
;__Lib_Lcd.c,135 ::
0x01A0 0x8E83 BSF LCD_D7, BitPos(LCD_D7+0)
;__Lib_Lcd.c,136 ::
0x01A2 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,137 ::
0x01A4 0xDF3B RCALL _Delay_1us
;__Lib_Lcd.c,138 ::
0x01A6 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,139 ::
0x01A8 0xDF3C RCALL _Delay_5500us
;__Lib_Lcd.c,142 ::
0x01AA 0x9E83 BCF LCD_D7, BitPos(LCD_D7+0)
;__Lib_Lcd.c,143 ::
0x01AC 0x8883 BSF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,144 ::
0x01AE 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,145 ::
0x01B0 0xDF35 RCALL _Delay_1us
;__Lib_Lcd.c,146 ::
0x01B2 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,148 ::
0x01B4 0x9883 BCF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,149 ::
0x01B6 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,150 ::
0x01B8 0xDF31 RCALL _Delay_1us
;__Lib_Lcd.c,151 ::
0x01BA 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,152 ::
0x01BC 0xDF32 RCALL _Delay_5500us
;__Lib_Lcd.c,155 ::
0x01BE 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,156 ::
0x01C0 0xDF2D RCALL _Delay_1us
;__Lib_Lcd.c,157 ::
0x01C2 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,159 ::
0x01C4 0x8883 BSF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,160 ::
0x01C6 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,161 ::
0x01C8 0xDF29 RCALL _Delay_1us
;__Lib_Lcd.c,162 ::
0x01CA 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,163 ::
0x01CC 0xDF2A RCALL _Delay_5500us
;__Lib_Lcd.c,166 ::
0x01CE 0x9883 BCF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,167 ::
0x01D0 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,168 ::
0x01D2 0xDF24 RCALL _Delay_1us
;__Lib_Lcd.c,169 ::
0x01D4 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,171 ::
0x01D6 0x8E83 BSF LCD_D7, BitPos(LCD_D7+0)
;__Lib_Lcd.c,172 ::
0x01D8 0x8C83 BSF LCD_D6, BitPos(LCD_D6+0)
;__Lib_Lcd.c,173 ::
0x01DA 0x8A83 BSF LCD_D5, BitPos(LCD_D5+0)
;__Lib_Lcd.c,174 ::
0x01DC 0x8883 BSF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,175 ::
0x01DE 0x8284 BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,176 ::
0x01E0 0xDF1D RCALL _Delay_1us
;__Lib_Lcd.c,177 ::
0x01E2 0x9284 BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,179 ::
0x01E4 0xDF1E RCALL _Delay_5500us
;__Lib_Lcd.c,181 ::
0x01E6 0x8031 BSF __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0)
;__Lib_Lcd.c,182 ::
L_end_Lcd_Init:
0x01E8 0x0012 RETURN 0
; end of _Lcd_Init
_LCD:
;Calculator.c,17 :: void LCD(char texto[16]){
;Calculator.c,18 :: Lcd_Cmd(_LCD_CLEAR);
0x01EA 0x0E01 MOVLW 1
0x01EC 0x6E3A MOVWF FARG_Lcd_Cmd_out_char
0x01EE 0xDF29 RCALL _Lcd_Cmd
;Calculator.c,19 :: Lcd_Out(1,4,texto);
0x01F0 0x0E01 MOVLW 1
0x01F2 0x6E34 MOVWF FARG_Lcd_Out_row
0x01F4 0x0E04 MOVLW 4
0x01F6 0x6E35 MOVWF FARG_Lcd_Out_column
0x01F8 0xF036C032 MOVFF FARG_LCD_texto, FARG_Lcd_Out_text
0x01FC 0xF037C033 MOVFF FARG_LCD_texto+1, FARG_Lcd_Out_text+1
0x0200 0xDF64 RCALL _Lcd_Out
;Calculator.c,20 :: }
L_end_LCD:
0x0202 0x0012 RETURN 0
; end of _LCD
_main:
0x0204 0xF001EC83 CALL 774, 0
;Calculator.c,22 :: void main() {
;Calculator.c,23 :: ADCON1=0x0f; //desativa portas AD
0x0208 0x0E0F MOVLW 15
0x020A 0x6EC1 MOVWF ADCON1
;Calculator.c,24 :: trisd=0x0f; //ob00001111
0x020C 0x0E0F MOVLW 15
0x020E 0x6E95 MOVWF TRISD
;Calculator.c,25 :: portb=0xff; //ob11111111
0x0210 0x0EFF MOVLW 255
0x0212 0x6E81 MOVWF PORTB
;Calculator.c,26 :: trisb=0xf8; //ob11111000
0x0214 0x0EF8 MOVLW 248
0x0216 0x6E93 MOVWF TRISB
;Calculator.c,27 :: Lcd_Init();
0x0218 0xDF9D RCALL _Lcd_Init
;Calculator.c,28 :: Lcd_Cmd(_LCD_CURSOR_OFF); //Desabilita o cursor
0x021A 0x0E0C MOVLW 12
0x021C 0x6E3A MOVWF FARG_Lcd_Cmd_out_char
0x021E 0xDF11 RCALL _Lcd_Cmd
;Calculator.c,30 :: do{
L_main0:
;Calculator.c,34 :: portb.rb1=0; //ativa a segunda coluna
0x0220 0x9281 BCF PORTB, 1
;Calculator.c,35 :: if (portd.rd0==0)
0x0222 0xB083 BTFSC PORTD, 0
0x0224 0xD006 BRA L_main3
;Calculator.c,36 :: LCD("0");
0x0226 0x0E27 MOVLW ?lstr1_Calculator
0x0228 0x6E32 MOVWF FARG_LCD_texto
0x022A 0x0E00 MOVLW hi_addr(?lstr1_Calculator)
0x022C 0x6E33 MOVWF FARG_LCD_texto+1
0x022E 0xDFDD RCALL _LCD
0x0230 0xD017 BRA L_main4
L_main3:
;Calculator.c,37 :: else if (portd.rd1==0)
0x0232 0xB283 BTFSC PORTD, 1
0x0234 0xD006 BRA L_main5
;Calculator.c,38 :: LCD("8");
0x0236 0x0E29 MOVLW ?lstr2_Calculator
0x0238 0x6E32 MOVWF FARG_LCD_texto
0x023A 0x0E00 MOVLW hi_addr(?lstr2_Calculator)
0x023C 0x6E33 MOVWF FARG_LCD_texto+1
0x023E 0xDFD5 RCALL _LCD
0x0240 0xD00F BRA L_main6
L_main5:
;Calculator.c,39 :: else if (portd.rd2==0)
0x0242 0xB483 BTFSC PORTD, 2
0x0244 0xD006 BRA L_main7
;Calculator.c,40 :: LCD("5");
0x0246 0x0E25 MOVLW ?lstr3_Calculator
0x0248 0x6E32 MOVWF FARG_LCD_texto
0x024A 0x0E00 MOVLW hi_addr(?lstr3_Calculator)
0x024C 0x6E33 MOVWF FARG_LCD_texto+1
0x024E 0xDFCD RCALL _LCD
0x0250 0xD007 BRA L_main8
L_main7:
;Calculator.c,41 :: else if (portd.rd3==0)
0x0252 0xB683 BTFSC PORTD, 3
0x0254 0xD005 BRA L_main9
;Calculator.c,42 :: LCD("2");
0x0256 0x0E2F MOVLW ?lstr4_Calculator
0x0258 0x6E32 MOVWF FARG_LCD_texto
0x025A 0x0E00 MOVLW hi_addr(?lstr4_Calculator)
0x025C 0x6E33 MOVWF FARG_LCD_texto+1
0x025E 0xDFC5 RCALL _LCD
L_main9:
L_main8:
L_main6:
L_main4:
;Calculator.c,43 :: portb.rb1=1; //desativa a segunda coluna
0x0260 0x8281 BSF PORTB, 1
;Calculator.c,45 :: portb.rb2=0; //ativa a terceira coluna
0x0262 0x9481 BCF PORTB, 2
;Calculator.c,46 :: if (portd.rd0==0)
0x0264 0xB083 BTFSC PORTD, 0
0x0266 0xD006 BRA L_main10
;Calculator.c,47 :: LCD("__>");
0x0268 0x0E2B MOVLW ?lstr5_Calculator
0x026A 0x6E32 MOVWF FARG_LCD_texto
0x026C 0x0E00 MOVLW hi_addr(?lstr5_Calculator)
0x026E 0x6E33 MOVWF FARG_LCD_texto+1
0x0270 0xDFBC RCALL _LCD
0x0272 0xD017 BRA L_main11
L_main10:
;Calculator.c,48 :: else if (portd.rd1==0)
0x0274 0xB283 BTFSC PORTD, 1
0x0276 0xD006 BRA L_main12
;Calculator.c,49 :: LCD("9");
0x0278 0x0E23 MOVLW ?lstr6_Calculator
0x027A 0x6E32 MOVWF FARG_LCD_texto
0x027C 0x0E00 MOVLW hi_addr(?lstr6_Calculator)
0x027E 0x6E33 MOVWF FARG_LCD_texto+1
0x0280 0xDFB4 RCALL _LCD
0x0282 0xD00F BRA L_main13
L_main12:
;Calculator.c,50 :: else if (portd.rd2==0)
0x0284 0xB483 BTFSC PORTD, 2
0x0286 0xD006 BRA L_main14
;Calculator.c,51 :: LCD("6");
0x0288 0x0E1B MOVLW ?lstr7_Calculator
0x028A 0x6E32 MOVWF FARG_LCD_texto
0x028C 0x0E00 MOVLW hi_addr(?lstr7_Calculator)
0x028E 0x6E33 MOVWF FARG_LCD_texto+1
0x0290 0xDFAC RCALL _LCD
0x0292 0xD007 BRA L_main15
L_main14:
;Calculator.c,52 :: else if (portd.rd3==0)
0x0294 0xB683 BTFSC PORTD, 3
0x0296 0xD005 BRA L_main16
;Calculator.c,53 :: LCD("3");
0x0298 0x0E19 MOVLW ?lstr8_Calculator
0x029A 0x6E32 MOVWF FARG_LCD_texto
0x029C 0x0E00 MOVLW hi_addr(?lstr8_Calculator)
0x029E 0x6E33 MOVWF FARG_LCD_texto+1
0x02A0 0xDFA4 RCALL _LCD
L_main16:
L_main15:
L_main13:
L_main11:
;Calculator.c,54 :: portb.rb2=1; //desativa a terceira coluna
0x02A2 0x8481 BSF PORTB, 2
;Calculator.c,56 :: portb.rb0=0; //ativa a primeira coluna
0x02A4 0x9081 BCF PORTB, 0
;Calculator.c,57 :: if (portd.rd0==0)
0x02A6 0xB083 BTFSC PORTD, 0
0x02A8 0xD006 BRA L_main17
;Calculator.c,58 :: LCD("<__");
0x02AA 0x0E15 MOVLW ?lstr9_Calculator
0x02AC 0x6E32 MOVWF FARG_LCD_texto
0x02AE 0x0E00 MOVLW hi_addr(?lstr9_Calculator)
0x02B0 0x6E33 MOVWF FARG_LCD_texto+1
0x02B2 0xDF9B RCALL _LCD
0x02B4 0xD017 BRA L_main18
L_main17:
;Calculator.c,59 :: else if (portd.rd1==0)
0x02B6 0xB283 BTFSC PORTD, 1
0x02B8 0xD006 BRA L_main19
;Calculator.c,60 :: LCD("7");
0x02BA 0x0E21 MOVLW ?lstr10_Calculator
0x02BC 0x6E32 MOVWF FARG_LCD_texto
0x02BE 0x0E00 MOVLW hi_addr(?lstr10_Calculator)
0x02C0 0x6E33 MOVWF FARG_LCD_texto+1
0x02C2 0xDF93 RCALL _LCD
0x02C4 0xD00F BRA L_main20
L_main19:
;Calculator.c,61 :: else if (portd.rd2==0)
0x02C6 0xB483 BTFSC PORTD, 2
0x02C8 0xD006 BRA L_main21
;Calculator.c,62 :: LCD("4");
0x02CA 0x0E1F MOVLW ?lstr11_Calculator
0x02CC 0x6E32 MOVWF FARG_LCD_texto
0x02CE 0x0E00 MOVLW hi_addr(?lstr11_Calculator)
0x02D0 0x6E33 MOVWF FARG_LCD_texto+1
0x02D2 0xDF8B RCALL _LCD
0x02D4 0xD007 BRA L_main22
L_main21:
;Calculator.c,63 :: else if (portd.rd3==0)
0x02D6 0xB683 BTFSC PORTD, 3
0x02D8 0xD005 BRA L_main23
;Calculator.c,64 :: LCD("1");
0x02DA 0x0E1D MOVLW ?lstr12_Calculator
0x02DC 0x6E32 MOVWF FARG_LCD_texto
0x02DE 0x0E00 MOVLW hi_addr(?lstr12_Calculator)
0x02E0 0x6E33 MOVWF FARG_LCD_texto+1
0x02E2 0xDF83 RCALL _LCD
L_main23:
L_main22:
L_main20:
L_main18:
;Calculator.c,65 :: portb.rb0=1; //desativa a primeira coluna
0x02E4 0x8081 BSF PORTB, 0
;Calculator.c,67 :: } while(1);
0x02E6 0xD79C BRA L_main0
;Calculator.c,69 :: }
L_end_main:
0x02E8 0xD7FF BRA $+0
; end of _main
0x0306 0xF015EE10 LFSR 1, 21
0x030A 0x0E1C MOVLW 28
0x030C 0x6E00 MOVWF R0
0x030E 0x0E01 MOVLW 1
0x0310 0x6E01 MOVWF R1
0x0312 0x0EEA MOVLW 234
0x0314 0x6EF6 MOVWF 4086
0x0316 0x0E02 MOVLW 2
0x0318 0x6EF7 MOVWF TBLPTRH
0x031A 0x0E00 MOVLW 0
0x031C 0x6EF8 MOVWF TBLPTRU
0x031E 0xF000ECA2 CALL 324, 0
0x0322 0x0012 RETURN 0
;Calculator.c,0 :: ?ICS?lstr9_Calculator
0x02EA 0x5F3C ;?ICS?lstr9_Calculator+0
0x02EC 0x005F ;?ICS?lstr9_Calculator+2
; end of ?ICS?lstr9_Calculator
;Calculator.c,0 :: ?ICS?lstr8_Calculator
0x02EE 0x0033 ;?ICS?lstr8_Calculator+0
; end of ?ICS?lstr8_Calculator
;Calculator.c,0 :: ?ICS?lstr7_Calculator
0x02F0 0x0036 ;?ICS?lstr7_Calculator+0
; end of ?ICS?lstr7_Calculator
;Calculator.c,0 :: ?ICS?lstr12_Calculator
0x02F2 0x0031 ;?ICS?lstr12_Calculator+0
; end of ?ICS?lstr12_Calculator
;Calculator.c,0 :: ?ICS?lstr11_Calculator
0x02F4 0x0034 ;?ICS?lstr11_Calculator+0
; end of ?ICS?lstr11_Calculator
;Calculator.c,0 :: ?ICS?lstr10_Calculator
0x02F6 0x0037 ;?ICS?lstr10_Calculator+0
; end of ?ICS?lstr10_Calculator
;Calculator.c,0 :: ?ICS?lstr6_Calculator
0x02F8 0x0039 ;?ICS?lstr6_Calculator+0
; end of ?ICS?lstr6_Calculator
;Calculator.c,0 :: ?ICS?lstr3_Calculator
0x02FA 0x0035 ;?ICS?lstr3_Calculator+0
; end of ?ICS?lstr3_Calculator
;Calculator.c,0 :: ?ICS?lstr1_Calculator
0x02FC 0x0030 ;?ICS?lstr1_Calculator+0
; end of ?ICS?lstr1_Calculator
;Calculator.c,0 :: ?ICS?lstr2_Calculator
0x02FE 0x0038 ;?ICS?lstr2_Calculator+0
; end of ?ICS?lstr2_Calculator
;Calculator.c,0 :: ?ICS?lstr5_Calculator
0x0300 0x5F5F ;?ICS?lstr5_Calculator+0
0x0302 0x003E ;?ICS?lstr5_Calculator+2
; end of ?ICS?lstr5_Calculator
;Calculator.c,0 :: ?ICS?lstr4_Calculator
0x0304 0x0032 ;?ICS?lstr4_Calculator+0
; end of ?ICS?lstr4_Calculator
Symbol List:
//** Routines locations **
//ADDRESS SIZE PROCEDURE
//----------------------------------------------
0x001C [6] _Delay_1us
0x0022 [22] _Delay_5500us
0x0038 [10] _Delay_50us
0x0042 [124] _Lcd_Cmd
0x00BE [12] _Lcd_Chr_CP
0x00CA
[122] _Lcd_Out
0x0144 [16] ___CC2DW
0x0154 [150] _Lcd_Init
0x01EA [26] _LCD
0x0204 [230] _main
//** Variables locations **
//ADDRESS SIZE VARIABLE
//----------------------------------------------
0x0000 [1] __Lib_SoftI2C_PutZerosToLATSda_temp_sda_L0
0x0000 [1] __Lib_SoftI2C_PutZerosToLATScl_temp_scl_L0
0x0000 [1] UART1_Init_tmp_L0
0x0000 [1] EEPROM_Write_SaveINTCON_L0
0x0000 [1] R0
0x0000 [1] SPI1_Write_tmp_L0
0x0000 [1] FLASH_Erase_64_SaveINTCON_L0
0x0001 [1] R1
0x0001 [1] I2C1_Rd_tmp_L0
0x0001 [1] __Lib_TFT_JPEG_FileRead_i_L0
0x0001 [1] FLASH_Write_32_i_L0
0x0001 [1] __Lib_TFT_JPEG_FileReadBytes_Result_L0
0x0001 [1] __Lib_TFT_16bit_JPEG_FileRead_i_L0
0x0001 [2] FLASH_Read_N_Bytes_i_L0
0x0001 [1] UART1_Read___tmp_UART1_Read_L0
0x0001 [1] __Lib_TFT_16bit_JPEG_FileReadBytes_Result_L0
0x0001 [1] FLASH_Erase_Write_64_i_L0
0x0001 [1] ispunct_rslt_L0
0x0001 [1] __Lib_PS2_Wait_Falling_nsample_L0
0x0002 [1] __Lib_USB_genHID_USB_CtrlTrf_Rx_Service_byteToRead_L0
0x0002 [2] strlen_cp_L0
0x0002 [2] memset_pp_L0
0x0002 [1] R2
0x0002 [2] memcpy_dd_L0
0x0002 [1] FLASH_Write_32_SaveINTCON_L0
0x0002 [1] FLASH_Erase_Write_64_j_L0
0x0002 [2] __Lib_USB_genHID_memset_usb_int_pp_L0
0x0002 [2] __Lib_USB_genHID_memset_usb_pp_L0
0x0002 [2] memchr_s_L0
0x0003 [2] Ltrim_original_L0
0x0003 [1] FLASH_Erase_Write_64_SaveINTCON_L0
0x0003 [2] __Lib_USB_genHID_USB_CtrlTrf_Tx_Service_byteToSend_L0
0x0003 [2] __Lib_MmcFat16_f16_toInt_l_L0
0x0003 [2] MM_TotalFreeMemSize_Tot_L0
0x0003 [1] R3
0x0003 [2] memmove_tt_L0
0x0003 [1] MM_Init_i_L0
0x0003 [1] __Lib_USB_genHID_USB_CtrlTrf_Rx_Service_i_L0
0x0004 [1] R4
0x0004 [2] strcpy_cp_L0
0x0004 [2] strncat_cp_L0
0x0004 [2] __Lib_USB_genHID_USB_Transfer_Packet_handle_L0
0x0004 [2] __Lib_USB_genHID_USB_Std_Feature_Req_Handler_p_L0
0x0004 [2] __Lib_USB_genHID_USB_Transfer_Packet_Int_handle_L0
0x0004 [2] strcat_cp_L0
0x0004 [2] memcpy_ss_L0
0x0004 [2] __Lib_MemManager_MM_GetMemAlign_P_L0
0x0004 [2] strncpy_cp_L0
0x0004 [2] __Lib_USB_genHID_USB_Get_Status_Handler_p_L2
0x0004 [2] frexp_pom_L0
0x0005 [2] LongWordToHex_input_half_L0
0x0005 [2] Ltrim_p_L0
0x0005 [2] __Lib_USB_genHID_USB_Configure_Endpoint_handle_L0
0x0005 [1] MM_TotalFreeMemSize_i_L0
0x0005 [1] R5
0x0005 [2] memmove_ff_L0
0x0005 [2] LongIntToHex_input_half_L0
0x0006 [1] __Lib_MemManager_MM_GetMemAlign_i_L0
0x0006 [1] R6
0x0007 [1] R7
0x0007 [1] __Lib_TFT_JPEG_GenerateHuffmanTables_bLength_L0
0x0007 [1] __Lib_TFT_16bit_JPEG_GenerateHuffmanTables_bLength_L0
0x0008 [1] __Lib_TFT_16bit_JPEG_GenerateHuffmanTables_bTable_L0
0x0008 [1] R8
0x0008 [1] __Lib_TFT_JPEG_GenerateHuffmanTables_bTable_L0
0x0009 [1] R9
0x0009 [4] __Lib_MmcFat16_f16_toLong_l_L0
0x000A [1] R10
0x000B [1] R11
0x000C [1] R12
0x000D [1] R13
0x000E [1] R14
0x000F [1] R15
0x0010 [1] R16
0x0011 [1] R17
0x0012 [1] R18
0x0013 [1] R19
0x0014 [1] R20
0x0015 [4] ?lstr9_Calculator
0x0019 [2] ?lstr8_Calculator
0x001B [2] ?lstr7_Calculator
0x001D [2] ?lstr12_Calculator
0x001F [2] ?lstr11_Calculator
0x0021 [2] ?lstr10_Calculator
0x0023 [2] ?lstr6_Calculator
0x0025 [2] ?lstr3_Calculator
0x0027 [2] ?lstr1_Calculator
0x0029 [2] ?lstr2_Calculator
0x002B [4] ?lstr5_Calculator
0x002F [2] ?lstr4_Calculator
0x0031 [0] __Lib_Lcd_cmd_status
0x0032 [2] FARG_LCD_texto
0x0034 [1] FARG_Lcd_Out_row
0x0035 [1] FARG_Lcd_Out_column
0x0036 [2] FARG_Lcd_Out_text
0x0038 [1] Lcd_Out_i_L0
0x0039 [1] FARG_Lcd_Chr_CP_out_char
0x003A [1] FARG_Lcd_Cmd_out_char
0x0F81 [1] PORTB
0x0F83 [0] RD4_bit
0x0F83 [0] LCD_D6
0x0F83 [0] LCD_D7
0x0F83 [0] LCD_D5
0x0F83 [0] LCD_D4
0x0F83 [0] RD7_bit
0x0F83 [1] PORTD
0x0F83 [0] RD5_bit
0x0F83 [0] RD6_bit
0x0F84 [0] RE1_bit
0x0F84 [0] LCD_RS
0x0F84 [0] LCD_EN
0x0F84 [0] RE2_bit
0x0F93 [1] TRISB
0x0F95 [0] TRISD4_bit
0x0F95 [1] TRISD
0x0F95 [0] LCD_D5_Direction
0x0F95 [0] LCD_D6_Direction
0x0F95 [0] LCD_D4_Direction
0x0F95 [0] TRISD5_bit
0x0F95 [0] LCD_D7_Direction
0x0F95 [0] TRISD6_bit
0x0F95 [0] TRISD7_bit
0x0F96 [0] TRISE2_bit
0x0F96 [0] TRISE1_bit
0x0F96 [0] LCD_EN_Direction
0x0F96 [0] LCD_RS_Direction
0x0FC1 [1] ADCON1
0x0FD8 [1] STATUS
0x0FD9 [1] FSR2L
0x0FDA [1] FSR2H
0x0FDE [1] POSTINC2
0x0FE0 [1] BSR
0x0FE1 [1] FSR1L
0x0FE2 [1] FSR1H
0x0FE4 [1] PREINC1
0x0FE6 [1] POSTINC1
0x0FE7 [1] INDF1
0x0FE8 [1] WREG
0x0FE9 [1] FSR0L
0x0FEA [1] FSR0H
0x0FEE [1] POSTINC0
0x0FF3 [1] PRODL
0x0FF4 [1] PRODH
0x0FF5 [1] TABLAT
0x0FF6 [1] TBLPTRL
0x0FF7 [1] TBLPTRH
0x0FF8 [1] TBLPTRU
//** Constants locations **
//ADDRESS SIZE CONSTANT
//----------------------------------------------
0x02EA [4] ?ICS?lstr9_Calculator
0x02EE [2] ?ICS?lstr8_Calculator
0x02F0 [2] ?ICS?lstr7_Calculator
0x02F2 [2] ?ICS?lstr12_Calculator
0x02F4 [2] ?ICS?lstr11_Calculator
0x02F6 [2] ?ICS?lstr10_Calculator
0x02F8 [2] ?ICS?lstr6_Calculator
0x02FA [2] ?ICS?lstr3_Calculator
0x02FC [2] ?ICS?lstr1_Calculator
0x02FE [2] ?ICS?lstr2_Calculator
0x0300 [4] ?ICS?lstr5_Calculator
0x0304 [2] ?ICS?lstr4_Calculator
//** Label List: **
//----------------------------------------------
L_main0
L_main1
L_main2
L_main3
L_main4
L_main5
L_main6
L_main7
L_main8
L_main9
L_main10
L_main11
L_main12
L_main13
L_main14
L_main15
L_main16
L_main17
L_main18
L_main19
L_main20
L_main21
L_main22
L_main23
L_end_LCD
_LCD
L_end_main
_main
L_Delay_10us0
L_Delay_22us1
L_Delay_50us2
L_Delay_80us3
L_Delay_500us4
L_Delay_5500us5
L_Delay_1ms6
L_Delay_5ms7
L_Delay_8ms8
L_Delay_100ms9
L_Delay_10ms10
L_Delay_1sec11
L____Boot_Delay4k12
L____Boot_Delay8k13
L____Boot_Delay12k14
L____Boot_Delay16k15
L____Boot_Delay24k16
L____Boot_Delay32k17
L____Boot_Delay48k18
L____Boot_Delay64k19
L____Boot_Delay128k20
L_Delay_Cyc21
L_Delay_Cyc22
L_VDelay_ms23
L_VDelay_ms24
L_VDelay_ms25
L_VDelay_Advanced_ms26
L_VDelay_Advanced_ms27
L_VDelay_Advanced_ms28
L_end_Get_Fosc_kHz
_Get_Fosc_kHz
L_end_Delay_1us
_Delay_1us
L_end_Delay_10us
_Delay_10us
L_end_Delay_22us
_Delay_22us
L_end_Delay_50us
_Delay_50us
L_end_Delay_80us
_Delay_80us
L_end_Delay_500us
_Delay_500us
L_end_Delay_5500us
_Delay_5500us
L_end_Delay_1ms
_Delay_1ms
L_end_Delay_5ms
_Delay_5ms
L_end_Delay_8ms
_Delay_8ms
L_end_Delay_100ms
_Delay_100ms
L_end_Delay_10ms
_Delay_10ms
L_end_Delay_1sec
_Delay_1sec
L_end____Boot_Delay4k
____Boot_Delay4k
L_end____Boot_Delay8k
____Boot_Delay8k
L_end____Boot_Delay12k
____Boot_Delay12k
L_end____Boot_Delay16k
____Boot_Delay16k
L_end____Boot_Delay24k
____Boot_Delay24k
L_end____Boot_Delay32k
____Boot_Delay32k
L_end____Boot_Delay48k
____Boot_Delay48k
L_end____Boot_Delay64k
____Boot_Delay64k
L_end____Boot_Delay128k
____Boot_Delay128k
L_end_Delay_Cyc
_Delay_Cyc
L_end_VDelay_ms
_VDelay_ms
L__VDelay_ms54
L__VDelay_ms55
L__VDelay_ms56
L_end_VDelay_Advanced_ms
_VDelay_Advanced_ms
L__VDelay_Advanced_ms58
L__VDelay_Advanced_ms59
L__VDelay_Advanced_ms60
L_Lcd_Cmd0
L_Lcd_Cmd1
L_Lcd_Out_CP2
L_Lcd_Out_CP3
L_Lcd_Chr4
L_Lcd_Chr5
L_Lcd_Chr6
L_Lcd_Chr7
L_Lcd_Chr8
L_Lcd_Chr9
L_Lcd_Chr10
L_Lcd_Out11
L_Lcd_Out12
L_Lcd_Out13
L_Lcd_Out14
L_Lcd_Out15
L_Lcd_Out16
L_Lcd_Out17
L_Lcd_Out18
L_Lcd_Out19
L_end_Lcd_Cmd
_Lcd_Cmd
L__Lcd_Cmd21
L__Lcd_Cmd22
L__Lcd_Cmd23
L__Lcd_Cmd24
L__Lcd_Cmd25
L__Lcd_Cmd26
L__Lcd_Cmd27
L__Lcd_Cmd28
L__Lcd_Cmd29
L__Lcd_Cmd30
L__Lcd_Cmd31
L__Lcd_Cmd32
L__Lcd_Cmd33
L__Lcd_Cmd34
L__Lcd_Cmd35
L__Lcd_Cmd36
L__Lcd_Cmd37
L__Lcd_Cmd38
L__Lcd_Cmd39
L__Lcd_Cmd40
L_end_Lcd_Chr_CP
_Lcd_Chr_CP
L_end_Lcd_Out_CP
_Lcd_Out_CP
L_end_Lcd_Chr
_Lcd_Chr
L_end_Lcd_Init
_Lcd_Init
L_end_Lcd_Out
_Lcd_Out
_CC2D_Loop1
_CC2DL_Loop1
L_loopCA2AWs
L_loopCCA2AWs
L_loopCS2Ss
L_CS2Send
L_loopCCS2Ss
L_CCS2Send
L_loopFZinSWs
L_longjmp7
L_end___CC2D
___CC2D
L_end___CC2DW
___CC2DW
L_end___CA2AW
___CA2AW
L_end___CCA2AW
___CCA2AW
L_end___CS2S
___CS2S
L_end___CCS2S
___CCS2S
L_end___FZinS
___FZinS
L_end_____DoIFC
_____DoIFC
L_end_Swap
_Swap
L_end_setjmp
_setjmp
L_end_longjmp
_longjmp
Calculator/Calculator.mcl
Calculator/Calculator.mcppi
[DEVICE]
Name=P18F4550
Clock=8000000
[MEMORY_MODEL]
Value=-1
[BUILD_TYPE]
Value=0
[ACTIVE_TAB]
Value=Calculator.c
[USE_EEPROM]
Value=0
[USE_HEAP]
Value=0
[HEAP_SIZE]
Value=0
[EEPROM_DEFINITION]
Value=
[FILES]
Count=2
File0=Calculator.c
File1=..\Calculator.c
[BINARIES]
Count=0
[IMAGES]
Count=0
ActiveImageIndex=-1
[OPENED_FILES]
Count=1
File0=Calculator.c
[EEPROM]
Count=0
[ACTIVE_COMMENTS_FILES]
Count=0
[OTHER_FILES]
Count=0
[SEARCH_PATH]
Count=4
Path0=C:\Program Files (x86)\mikroC PRO for PIC\defs\
Path1=C:\Program Files (x86)\mikroC PRO for PIC\uses\P18\
Path2=C:\Users\Aluno\Desktop\Calculator\
Path3=C:\Users\Aluno\Desktop\
[HEADER_PATH]
Count=0
[HEADERS]
Count=0
[PLDS]
Count=0
[Useses]
Count=53
File0=ADC
File1=Button
File2=CAN_SPI
File3=Compact_Flash
File4=Compact_Flash_FAT16
File5=Conversions
File6=C_Math
File7=C_Stdlib
File8=C_String
File9=C_Type
File10=EEPROM
File11=EPSON_S1D13700
File12=FLASH
File13=Glcd
File14=Glcd_Fonts
File15=I2C
File16=Keypad4x4
File17=Lcd
File18=Lcd_Constants
File19=Manchester
File20=MemManager
File21=Mmc
File22=Mmc_FAT16
File23=Mmc_Fat16_Config
File24=One_Wire
File25=Port_Expander
File26=PrintOut
File27=PS2
File28=PWM
File29=RS485
File30=Software_I2C
File31=Software_SPI
File32=Software_UART
File33=Sound
File34=SPI
File35=SPI_Ethernet
File36=SPI_Ethernet_24j600
File37=SPI_Glcd
File38=SPI_Lcd
File39=SPI_Lcd8
File40=SPI_T6963C
File41=Sprintf
File42=Sprinti
File43=Sprintl
File44=T6963C
File45=TFT
File46=TFT_16bit
File47=TFT_TouchPanel
File48=Time
File49=TouchPanel
File50=Trigonometry
File51=UART
File52=USB
[EXPANDED NODES]
Node1=Sources
Count=1
Calculator/Calculator.mcppi_callertable.txt
main
__CC2DW
Lcd_Init
Delay_5500us
Delay_1us
Lcd_Cmd
Delay_1us
Delay_5500us
Delay_50us
LCD
Lcd_Cmd
Delay_1us
Delay_5500us
Delay_50us
Lcd_Out
Lcd_Cmd
Delay_1us
Delay_5500us
Delay_50us
Lcd_Chr_CP
Lcd_Cmd
Delay_1us
Delay_5500us
Delay_50us
Calculator/Calculator.user.dic
d7s/d7s.asm
_mask:
;d7s.c,10 :: unsigned short mask(unsigned short num) {
;d7s.c,11 :: switch (num) {
GOTO L_mask0
;d7s.c,12 :: case 0 : return 0x3F;
L_mask2:
MOVLW 63
MOVWF R0
GOTO L_end_mask
;d7s.c,13 :: case 1 : return 0x06;
L_mask3:
MOVLW 6
MOVWF R0
GOTO L_end_mask
;d7s.c,14 :: case 2 : return 0x5B;
L_mask4:
MOVLW 91
MOVWF R0
GOTO L_end_mask
;d7s.c,15 :: case 3 : return 0x4F;
L_mask5:
MOVLW 79
MOVWF R0
GOTO L_end_mask
;d7s.c,16 :: case 4 : return 0x66;
L_mask6:
MOVLW 102
MOVWF R0
GOTO L_end_mask
;d7s.c,17 :: case 5 : return 0x6D;
L_mask7:
MOVLW 109
MOVWF R0
GOTO L_end_mask
;d7s.c,18 :: case 6 : return 0x7D;
L_mask8:
MOVLW 125
MOVWF R0
GOTO L_end_mask
;d7s.c,19 :: case 7 : return 0x07;
L_mask9:
MOVLW 7
MOVWF R0
GOTO L_end_mask
;d7s.c,20 :: case 8 : return 0x7F;
L_mask10:
MOVLW 127
MOVWF R0
GOTO L_end_mask
;d7s.c,21 :: case 9 : return 0x6F;
L_mask11:
MOVLW 111
MOVWF R0
GOTO L_end_mask
;d7s.c,22 :: }
L_mask0:
MOVF FARG_mask_num+0, 0
XORLW 0
BTFSC STATUS+0, 2
GOTO L_mask2
MOVF FARG_mask_num+0, 0
XORLW 1
BTFSC STATUS+0, 2
GOTO L_mask3
MOVF FARG_mask_num+0, 0
XORLW 2
BTFSC STATUS+0, 2
GOTO L_mask4
MOVF FARG_mask_num+0, 0
XORLW 3
BTFSC STATUS+0, 2
GOTO L_mask5
MOVF FARG_mask_num+0, 0
XORLW 4
BTFSC STATUS+0, 2
GOTO L_mask6
MOVF FARG_mask_num+0, 0
XORLW 5
BTFSC STATUS+0, 2
GOTO L_mask7
MOVF FARG_mask_num+0, 0
XORLW 6
BTFSC STATUS+0, 2
GOTO L_mask8
MOVF FARG_mask_num+0, 0
XORLW 7
BTFSC STATUS+0, 2
GOTO L_mask9
MOVF FARG_mask_num+0, 0
XORLW 8
BTFSC STATUS+0, 2
GOTO L_mask10
MOVF FARG_mask_num+0, 0
XORLW 9
BTFSC STATUS+0, 2
GOTO L_mask11
;d7s.c,23 :: }
L_end_mask:
RETURN 0
; end of _mask
_d7s:
;d7s.c,25 :: void d7s(int a,int b,int c,int d,int t) { // inicio do loop infinito
;d7s.c,26 :: for (aux=1;aux<t;aux++){
MOVLW 1
MOVWF _aux+0
MOVLW 0
MOVWF _aux+1
L_d7s12:
MOVLW 128
XORWF _aux+1, 0
MOVWF R0
MOVLW 128
XORWF FARG_d7s_t+1, 0
SUBWF R0, 0
BTFSS STATUS+0, 2
GOTO L__d7s33
MOVF FARG_d7s_t+0, 0
SUBWF _aux+0, 0
L__d7s33:
BTFSC STATUS+0, 0
GOTO L_d7s13
;d7s.c,28 :: PORTD = mask(a);
MOVF FARG_d7s_a+0, 0
MOVWF FARG_mask_num+0
CALL _mask+0, 0
MOVF R0, 0
MOVWF PORTD+0
;d7s.c,29 :: porta.ra2 = 1; // ativa display 1
BSF PORTA+0, 2
;d7s.c,30 :: Delay_us(tempo);
MOVLW 166
MOVWF R13, 0
L_d7s15:
DECFSZ R13, 1, 1
BRA L_d7s15
NOP
;d7s.c,31 :: porta.ra2 = 0; // desativa display 1
BCF PORTA+0, 2
;d7s.c,34 :: PORTD = mask(b);
MOVF FARG_d7s_b+0, 0
MOVWF FARG_mask_num+0
CALL _mask+0, 0
MOVF R0, 0
MOVWF PORTD+0
;d7s.c,35 :: porta.ra3 = 1; // ativa display 2
BSF PORTA+0, 3
;d7s.c,36 :: Delay_us(tempo);
MOVLW 166
MOVWF R13, 0
L_d7s16:
DECFSZ R13, 1, 1
BRA L_d7s16
NOP
;d7s.c,37 :: porta.ra3 = 0; // desativa display 2
BCF PORTA+0, 3
;d7s.c,40 :: PORTD = mask(c);
MOVF FARG_d7s_c+0, 0
MOVWF FARG_mask_num+0
CALL _mask+0, 0
MOVF R0, 0
MOVWF PORTD+0
;d7s.c,41 :: porta.ra4 = 1; // ativa display 3
BSF PORTA+0,
4
;d7s.c,42 :: Delay_us(tempo);
MOVLW 166
MOVWF R13, 0
L_d7s17:
DECFSZ R13, 1, 1
BRA L_d7s17
NOP
;d7s.c,43 :: porta.ra4 = 0; // desativa display 3
BCF PORTA+0, 4
;d7s.c,46 :: PORTD = mask(d);
MOVF FARG_d7s_d+0, 0
MOVWF FARG_mask_num+0
CALL _mask+0, 0
MOVF R0, 0
MOVWF PORTD+0
;d7s.c,47 :: porta.ra5 = 1; // ativa display 4
BSF PORTA+0, 5
;d7s.c,48 :: Delay_us(tempo);
MOVLW 166
MOVWF R13, 0
L_d7s18:
DECFSZ R13, 1, 1
BRA L_d7s18
NOP
;d7s.c,49 :: porta.ra5 = 0; // desativa display 4
BCF PORTA+0, 5
;d7s.c,26 :: for (aux=1;aux<t;aux++){
INFSNZ _aux+0, 1
INCF _aux+1, 1
;d7s.c,50 :: }
GOTO L_d7s12
L_d7s13:
;d7s.c,51 :: }
L_end_d7s:
RETURN 0
; end of _d7s
_main:
;d7s.c,61 :: void main(void) {
;d7s.c,62 :: ADCON1 = 0X0F; // desabilita conversor A/D
MOVLW 15
MOVWF ADCON1+0
;d7s.c,63 :: INTCON = 0; // desabilita interrupcoes
CLRF INTCON+0
;d7s.c,64 :: TRISA = 0; // configura portA como saida
CLRF TRISA+0
;d7s.c,65 :: PORTA = 0;
CLRF PORTA+0
;d7s.c,66 :: TRISD = 0; // configura portD como saida
CLRF TRISD+0
;d7s.c,67 :: PORTD = 0;
CLRF PORTD+0
;d7s.c,68 :: TRISB = 3;
MOVLW 3
MOVWF TRISB+0
;d7s.c,72 :: while(1){
L_main19:
;d7s.c,74 :: for(m=0;m<60;m++){
CLRF _m+0
CLRF _m+1
L_main21:
MOVLW 128
XORWF _m+1, 0
MOVWF R0
MOVLW 128
SUBWF R0, 0
BTFSS STATUS+0, 2
GOTO L__main35
MOVLW 60
SUBWF _m+0, 0
L__main35:
BTFSC STATUS+0, 0
GOTO L_main22
;d7s.c,75 :: for(seg=0;seg<60;seg++){
CLRF _seg+0
CLRF _seg+1
L_main24:
MOVLW 128
XORWF _seg+1, 0
MOVWF R0
MOVLW 128
SUBWF R0, 0
BTFSS STATUS+0, 2
GOTO L__main36
MOVLW 60
SUBWF _seg+0, 0
L__main36:
BTFSC STATUS+0, 0
GOTO L_main25
;d7s.c,76 :: d1 = m/10;
MOVLW 10
MOVWF R4
MOVLW 0
MOVWF R5
MOVF _m+0, 0
MOVWF R0
MOVF _m+1, 0
MOVWF R1
CALL _Div_16x16_S+0, 0
MOVF R0, 0
MOVWF _d1+0
MOVF R1, 0
MOVWF _d1+1
;d7s.c,77 :: d2 = m % 10;
MOVLW 10
MOVWF R4
MOVLW 0
MOVWF R5
MOVF _m+0, 0
MOVWF R0
MOVF _m+1, 0
MOVWF R1
CALL _Div_16x16_S+0, 0
MOVF R8, 0
MOVWF R0
MOVF R9, 0
MOVWF R1
MOVF R0, 0
MOVWF _d2+0
MOVF R1, 0
MOVWF _d2+1
;d7s.c,78 :: d3 = seg/10;
MOVLW 10
MOVWF R4
MOVLW 0
MOVWF R5
MOVF _seg+0, 0
MOVWF R0
MOVF _seg+1, 0
MOVWF R1
CALL _Div_16x16_S+0, 0
MOVF R0, 0
MOVWF _d3+0
MOVF R1, 0
MOVWF _d3+1
;d7s.c,79 :: d4 = seg % 10;
MOVLW 10
MOVWF R4
MOVLW 0
MOVWF R5
MOVF _seg+0, 0
MOVWF R0
MOVF _seg+1, 0
MOVWF R1
CALL _Div_16x16_S+0, 0
MOVF R8, 0
MOVWF R0
MOVF R9, 0
MOVWF R1
MOVF R0, 0
MOVWF _d4+0
MOVF R1, 0
MOVWF _d4+1
;d7s.c,80 :: d7s(d1,d2,d3,d4,t);
MOVF _d1+0, 0
MOVWF FARG_d7s_a+0
MOVF _d1+1, 0
MOVWF FARG_d7s_a+1
MOVF _d2+0, 0
MOVWF FARG_d7s_b+0
MOVF _d2+1, 0
MOVWF FARG_d7s_b+1
MOVF _d3+0, 0
MOVWF FARG_d7s_c+0
MOVF _d3+1, 0
MOVWF FARG_d7s_c+1
MOVF R0, 0
MOVWF FARG_d7s_d+0
MOVF R1, 0
MOVWF FARG_d7s_d+1
MOVF _t+0, 0
MOVWF FARG_d7s_t+0
MOVF _t+1, 0
MOVWF FARG_d7s_t+1
CALL _d7s+0, 0
;d7s.c,81 :: if (portb.b0 == 1)
BTFSS PORTB+0, 0
GOTO L_main27
;d7s.c,82 :: t=1001;
MOVLW 233
MOVWF _t+0
MOVLW 3
MOVWF _t+1
GOTO L_main28
L_main27:
;d7s.c,84 :: t=101;;
MOVLW 101
MOVWF _t+0
MOVLW 0
MOVWF _t+1
L_main28:
;d7s.c,86 :: if (portb.b1 == 0){
BTFSC PORTB+0, 1
GOTO L_main29
;d7s.c,87 :: m++;
INFSNZ _m+0, 1
INCF _m+1, 1
;d7s.c,88 :: if (m==60){
MOVLW 0
XORWF _m+1, 0
BTFSS STATUS+0, 2
GOTO L__main37
MOVLW 60
XORWF _m+0, 0
L__main37:
BTFSS STATUS+0, 2
GOTO L_main30
;d7s.c,89 :: m = 0;
CLRF _m+0
CLRF _m+1
;d7s.c,91 :: }
L_main30:
;d7s.c,92 :: }
L_main29:
;d7s.c,75 :: for(seg=0;seg<60;seg++){
INFSNZ _seg+0, 1
INCF _seg+1, 1
;d7s.c,94 :: }
GOTO L_main24
L_main25:
;d7s.c,74 :: for(m=0;m<60;m++){
INFSNZ _m+0, 1
INCF _m+1, 1
;d7s.c,95 :: }
GOTO L_main21
L_main22:
;d7s.c,96 :: }
GOTO L_main19
;d7s.c,98 :: } // Fim do programa principal
L_end_main:
GOTO $+0
; end of _main
d7s/d7s.bmk
<BOOKMARKS/>
d7s/d7s.brk
<BREAKS/>
d7s/d7s.c
#define tempo 250 // define o tempo de acendimento do display em ms
// Funcao para converter de valor numerico decimal para codigo 7 segmentos
unsigned short mask(unsigned short num) {
switch (num) {
case 0 : return 0x3F;
case 1 : return 0x06;
case 2 : return 0x5B;
case 3 : return 0x4F;
case 4 : return 0x66;
case 5 : return 0x6D;
case 6 : return 0x7D;
case 7 : return 0x07;
case 8 : return 0x7F;
case 9 : return 0x6F;
}
}
int aux;
void d7s(int a,int b,int c,int d,int t) {
for (aux=1;aux<t;aux++){
// escreve valor do digito 1 no display 1 em codigo 7 segmentos
PORTD = mask(a);
porta.ra2 = 1; // ativa display 1
Delay_us(tempo);
porta.ra2 = 0; // desativa display 1
// escreve valor do digito 2 no display 2 em codigo 7 segmentos
PORTD = mask(b);
porta.ra3 = 1; // ativa display 2
Delay_us(tempo);
porta.ra3 = 0; // desativa display 2
// escreve valor do digito 3 no display 3 em codigo 7 segmentos
PORTD = mask(c);
porta.ra4 = 1; // ativa display 3
Delay_us(tempo);
porta.ra4 = 0; // desativa display 3
// escreve valor do digito 4 no display 4 em codigo 7 segmentos
PORTD = mask(d);
porta.ra5 = 1; // ativa display 4
Delay_us(tempo);
porta.ra5 = 0; // desativa display 4
}
}
int seg;
int m;
int d1;
int d2;
int d3;
int d4;
int t=1001;
void main(void) {
ADCON1 = 0X0F; // desabilita conversor A/D
INTCON = 0; // desabilita interrupcoes
TRISA = 0; // configura portA como saida
PORTA = 0; // seta valor inicial para zero
TRISD = 0; // configura portD como saida
PORTD = 0; // seta valor inicial para zero
TRISB = 3; // seta rb0 e rb1 como portas de entrada
while(1){
for(m=0;m<60;m++){
for(seg=0;seg<60;seg++){
d1 = m/10; // parte inteira da divisao dos minutos define o primeiro digito dos minutos no display
d2 = m % 10; // resto da divisao dos minutos define o segundo digito dos minutos no display
d3 = seg/10; // parte inteira da divisao dos segundos define o primeiro digito dos segundos no display
d4 = seg % 10; // resto da divisao dos segundos define o primeiro digito dos
segundos no display
d7s(d1,d2,d3,d4,t); // escreve os quatro digitos em seus respectivos displays
if (portb.b0 == 1)
t=1001; // em operacao normal, os segundos incrementam com taxa de 1 segundo
else
t=101; // quando ajustando o relogio, os segundos sao incrementados 10x mais rapido
if (portb.b1 == 0){ // enquanto o botao rb1 e apertado,
m++;
if (m==60){
m = 0;
}
}
}
}
}
} // Fim do programa principal
d7s/d7s.cfg
P18F4550
12
$300000:$0001
$300001:$000C
$300002:$001F
$300003:$001E
$300005:$0080
$300006:$0080
$300008:$000F
$300009:$00C0
$30000A:$000F
$30000B:$00E0
$30000C:$000F
$30000D:$0040
d7s/d7s.cp
#line 1 "C:/Users/Aluno/Documents/d7s/d7s.c"
#line 10 "C:/Users/Aluno/Documents/d7s/d7s.c"
unsigned short mask(unsigned short num) {
switch (num) {
case 0 : return 0x3F;
case 1 : return 0x06;
case 2 : return 0x5B;
case 3 : return 0x4F;
case 4 : return 0x66;
case 5 : return 0x6D;
case 6 : return 0x7D;
case 7 : return 0x07;
case 8 : return 0x7F;
case 9 : return 0x6F;
}
}
int aux;
void d7s(int a,int b,int c,int d,int t) {
for (aux=1;aux<t;aux++){
PORTD = mask(a);
porta.ra2 = 1;
Delay_us( 250 );
porta.ra2 = 0;
PORTD = mask(b);
porta.ra3 = 1;
Delay_us( 250 );
porta.ra3 = 0;
PORTD = mask(c);
porta.ra4 = 1;
Delay_us( 250 );
porta.ra4 = 0;
PORTD = mask(d);
porta.ra5 = 1;
Delay_us( 250 );
porta.ra5 = 0;
}
}
int seg;
int m;
int d1;
int d2;
int d3;
int d4;
int t=1001;
void main(void) {
ADCON1 = 0X0F;
INTCON = 0;
TRISA = 0;
PORTA = 0;
TRISD = 0;
PORTD = 0;
TRISB = 3;
while(1){
for(m=0;m<60;m++){
for(seg=0;seg<60;seg++){
d1 = m/10;
d2 = m % 10;
d3 = seg/10;
d4 = seg % 10;
d7s(d1,d2,d3,d4,t);
if (portb.b0 == 1)
t=1001;
else
t=101;;
if (portb.b1 == 0){
m++;
if (m==60){
m = 0;
}
}
}
}
}
}
d7s/d7s.dbg
d7s/d7s.dct
______
____doifc
___boot_delay128k
___boot_delay12k
___boot_delay16k
___boot_delay24k
___boot_delay32k
___boot_delay48k
___boot_delay4k
___boot_delay64k
___boot_delay8k
___mdb4
___mdb5
___mdb6
___mdb7
___menable
___mrs
__ca2aw
__cc2d
__cc2dw
__cca2aw
__ccs2s
__cs2s
__f16_errno
__flash_size
__fzins
__low_savebsr
__low_savestatus
__low_savewreg
__ps2_caps
__ps2_num
__ps2_scroll
__ps2_shift
__spi_lcd8_db0
__spi_lcd8_db1
__spi_lcd8_db2
__spi_lcd8_db3
__spi_lcd8_db4
__spi_lcd8_db5
__spi_lcd8_db6
__spi_lcd8_db7
__spi_lcd8_enable
__spi_lcd8_rs
__spi_lcd8_rw
_canspi_config_all_msg
_canspi_config_all_valid_msg
_canspi_config_dbl_buffer_bit
_canspi_config_dbl_buffer_off
_canspi_config_dbl_buffer_on
_canspi_config_default
_canspi_config_line_filter_bit
_canspi_config_line_filter_off
_canspi_config_line_filter_on
_canspi_config_msg_bits
_canspi_config_msg_type_bit
_canspi_config_phseg2_prg_bit
_canspi_config_phseg2_prg_off
_canspi_config_phseg2_prg_on
_canspi_config_sample_bit
_canspi_config_sample_once
_canspi_config_sample_thrice
_canspi_config_std_msg
_canspi_config_valid_std_msg
_canspi_config_valid_xtd_msg
_canspi_config_xtd_msg
_canspi_filter_b1_f1
_canspi_filter_b1_f2
_canspi_filter_b2_f1
_canspi_filter_b2_f2
_canspi_filter_b2_f3
_canspi_filter_b2_f4
_canspi_mask_b1
_canspi_mask_b2
_canspi_mode_bits
_canspi_mode_config
_canspi_mode_listen
_canspi_mode_loop
_canspi_mode_normal
_canspi_mode_sleep
_canspi_rx_dbl_buffered
_canspi_rx_filter_1
_canspi_rx_filter_2
_canspi_rx_filter_3
_canspi_rx_filter_4
_canspi_rx_filter_5
_canspi_rx_filter_6
_canspi_rx_filter_bits
_canspi_rx_invalid_msg
_canspi_rx_overflow
_canspi_rx_rtr_frame
_canspi_rx_xtd_frame
_canspi_tx_frame_bit
_canspi_tx_no_rtr_frame
_canspi_tx_priority_0
_canspi_tx_priority_1
_canspi_tx_priority_2
_canspi_tx_priority_3
_canspi_tx_priority_bits
_canspi_tx_rtr_bit
_canspi_tx_rtr_frame
_canspi_tx_std_frame
_canspi_tx_xtd_frame
_cf_command
_cf_cyl_hi
_cf_cyl_lo
_cf_data
_cf_error
_cf_features
_cf_head
_cf_identify_cmd
_cf_read_sec_cmd
_cf_sec_cnt
_cf_sec_num
_cf_status
_cf_write_sec_cmd
_ch
_command
_doprntf
_doprnti
_doprntl
_doprntout
_flash_erase
_flash_write_latch
_glcd_horizontal
_glcd_vertical
_i2c_ack
_i2c_nack
_lcd_blink_cursor_on
_lcd_clear
_lcd_cursor_off
_lcd_first_row
_lcd_fourth_row
_lcd_move_cursor_left
_lcd_move_cursor_right
_lcd_return_home
_lcd_second_row
_lcd_shift_left
_lcd_shift_right
_lcd_third_row
_lcd_turn_off
_lcd_turn_on
_lcd_underline_on
_rs485_start_byte
_rs485_stop_byte
_s1d13700_horizontal
_s1d13700_vertical
_sin_deg
_spi_clk_idle_high
_spi_clk_idle_low
_spi_data_sample_end
_spi_data_sample_middle
_spi_ethernet_24j600_broadcast
_spi_ethernet_24j600_crc
_spi_ethernet_24j600_multicast
_spi_ethernet_24j600_unicast
_spi_ethernet_broadcast
_spi_ethernet_crc
_spi_ethernet_multicast
_spi_ethernet_unicast
_spi_glcd_horizontal
_spi_glcd_vertical
_spi_high_2_low
_spi_low_2_high
_spi_master_osc_div16
_spi_master_osc_div4
_spi_master_osc_div64
_spi_master_tmr2
_spi_slave_ss_dis
_spi_slave_ss_enable
_spi_t6963c_horizontal
_spi_t6963c_vertical
_t6963c_horizontal
_t6963c_vertical
a
abchannelhsampfactor
abchannelhuffactablemap
abchannelhuffdctablemap
abchannelmap
abchannelquanttablemap
abchanneltype
abchannelvsampfactor
abdatabuffer
abden
abden_bit
abdovf
abdovf_bit
abhuffacsymbol
abhuffacsymlen
abhuffdcsymbol
abhuffdcsymlen
abs
access
ackdt
ackdt_bit
acken
acken_bit
ackstat
ackstat_bit
acos
acqt0
acqt0_bit
acqt1
acqt1_bit
acqt2
acqt2_bit
actvie
actvie_bit
actvif
actvif_bit
adc_get_sample
adc_get_sample_ptr
adc_init
adc_read
adcon0
adcon1
adcon2
adcs0
adcs0_bit
adcs1
adcs1_bit
adcs2
adcs2_bit
add_32x32_fp
adden
adden_bit
addr0
addr0_bit
addr0_uaddr_bit
addr1
addr1_bit
addr1_uaddr_bit
addr2
addr2_bit
addr2_uaddr_bit
addr3
addr3_bit
addr3_uaddr_bit
addr4
addr4_bit
addr5
addr5_bit
addr6
addr6_bit
aden
aden_bit
adfm
adfm_bit
adie
adie_bit
adif
adif_bit
adip
adip_bit
adon
adon_bit
adres
adresh
adresl
an0
an0_bit
an1
an1_bit
an2
an2_bit
an3
an3_bit
an4
an4_bit
asin
asoneblock
asprevdcvalue
atan
atan2
atof
atoi
atol
aux
awhuffacsymstart
awhuffdcsymstart
awquanttable
b0
b1
b2
b3
b4
b5
b6
b7
banked
baudcon
baudctl
bbitsavailable
bblocksinonepass
bcd2dec
bcd2dec16
bchannels
bclie
bclie_bit
bclif
bclif_bit
bclip
bclip_bit
bdatabits
berror
bf
bf_bit
bfirstbit
bgst
bgst_bit
bhufftables
bljfif
blquantuses16bits
bmajorrev
bminorrev
bor
bor_bit
brg16
brg16_bit
brgh
brgh_bit
bsr
bsubsampletype
btoee
btoee_bit
btoef
btoef_bit
btsee
btsee_bit
btsef
btsef_bit
button
byte2double
bytetohex
bytetostr
c
c_bit
c1inv
c1inv_bit
c1out
c1out_bit
c2inv
c2inv_bit
c2out
c2out_bit
canspigetoperationmode
canspiinitialize
canspiread
canspisetbaudrate
canspisetfilter
canspisetmask
canspisetoperationmode
canspiwrite
ccp1
ccp1_bit
ccp1as
ccp1con
ccp1del
ccp1ie
ccp1ie_bit
ccp1if
ccp1if_bit
ccp1ip
ccp1ip_bit
ccp1m0
ccp1m0_bit
ccp1m1
ccp1m1_bit
ccp1m2
ccp1m2_bit
ccp1m3
ccp1m3_bit
ccp2con
ccp2ie
ccp2ie_bit
ccp2if
ccp2if_bit
ccp2ip
ccp2ip_bit
ccp2m0
ccp2m0_bit
ccp2m1
ccp2m1_bit
ccp2m2
ccp2m2_bit
ccp2m3
ccp2m3_bit
ccpr1
ccpr1h
ccpr1l
ccpr2
ccpr2h
ccpr2l
ceil
cf_detect
cf_disable
cf_enable
cf_fat_append
cf_fat_assign
cf_fat_delete
cf_fat_get_file_date
cf_fat_get_file_date_modified
cf_fat_get_file_size
cf_fat_get_swap_file
cf_fat_init
cf_fat_quickformat
cf_fat_read
cf_fat_reset
cf_fat_rewrite
cf_fat_set_file_date
cf_fat_write
cf_init
cf_issue_id_command
cf_read_byte
cf_read_init
cf_read_sector
cf_write_byte
cf_write_init
cf_write_sector
cfgs
cfgs_bit
character8x7
chs0
chs0_bit
chs1
chs1_bit
chs2
chs2_bit
chs3
chs3_bit
cis
cis_bit
ck
ck_bit
ck1spp
ck1spp_bit
ck2spp
ck2spp_bit
cke
cke_bit
ckp
ckp_bit
cl_aqua
cl_aqua_16bit
cl_black
cl_black_16bit
cl_blue
cl_blue_16bit
cl_fuchsia
cl_fuchsia_16bit
cl_gray
cl_gray_16bit
cl_green
cl_green_16bit
cl_lime
cl_lime_16bit
cl_maroon
cl_maroon_16bit
cl_navy
cl_navy_16bit
cl_olive
cl_olive_16bit
cl_purple
cl_purple_16bit
cl_red
cl_red_16bit
cl_silver
cl_silver_16bit
cl_teal
cl_teal_16bit
cl_white
cl_white_16bit
cl_yellow
cl_yellow_16bit
clk1en
clk1en_bit
clkcfg0
clkcfg0_bit
clkcfg1
clkcfg1_bit
cm0
cm0_bit
cm1
cm1_bit
cm2
cm2_bit
cmcon
cmie
cmie_bit
cmif
cmif_bit
cmip
cmip_bit
comfrem
compare_double
cos
cose3
cosh
cr
crc16ee
crc16ee_bit
crc16ef
crc16ef_bit
crc5ee
crc5ee_bit
crc5ef
crc5ef_bit
cren
cren_bit
crlf
csen
csen_bit
csrc
csrc_bit
cvr0
cvr0_bit
cvr1
cvr1_bit
cvr2
cvr2_bit
cvr3
cvr3_bit
cvrcon
cvref
cvref_bit
cvren
cvren_bit
cvroe
cvroe_bit
cvrr
cvrr_bit
cvrss
cvrss_bit
d
d_a
d_a_bit
d_bit
d_not_a
d_not_a_bit
d1
d2
d3
d4
d7s
data_address
data_address_bit
dc
dc_bit
dc1b0
dc1b0_bit
dc1b1
dc1b1_bit
dc2b0
dc2b0_bit
dc2b1
dc2b1_bit
dec2bcd
dec2bcd16
delay_100ms
delay_10ms
delay_10us
delay_1ms
delay_1sec
delay_1us
delay_22us
delay_500us
delay_50us
delay_5500us
delay_5ms
delay_80us
delay_8ms
delay_cyc
dfn8ee
dfn8ee_bit
dfn8ef
dfn8ef_bit
dir_
dir__bit
div
div_16x16_s
div_16x16_s_l
div_16x16_u
div_32x32_fp
div_32x32_s
div_32x32_u
div_8x8_s
div_8x8_u
done
done_bit
double2byte
double2int
double2longint
double2longword
double2word
eccp1as
eccp1con
eccp1del
eccpas0
eccpas0_bit
eccpas1
eccpas1_bit
eccpas2
eccpas2_bit
eccpase
eccpase_bit
eeadr
eecon1
eecon2
eedata
eeie
eeie_bit
eeif
eeif_bit
eeip
eeip_bit
eepgd
eepgd_bit
eeprom_read
eeprom_write
endp0
endp0_bit
endp1
endp1_bit
endp2
endp2_bit
endp3
endp3_bit
epcondis
epcondis_bit
epcondis_uep1_bit
epcondis_uep10_bit
epcondis_uep11_bit
epcondis_uep12_bit
epcondis_uep13_bit
epcondis_uep14_bit
epcondis_uep15_bit
epcondis_uep2_bit
epcondis_uep3_bit
epcondis_uep4_bit
epcondis_uep5_bit
epcondis_uep6_bit
epcondis_uep7_bit
epcondis_uep8_bit
epcondis_uep9_bit
ephshk
ephshk_bit
ephshk_uep1_bit
ephshk_uep10_bit
ephshk_uep11_bit
ephshk_uep12_bit
ephshk_uep13_bit
ephshk_uep14_bit
ephshk_uep15_bit
ephshk_uep2_bit
ephshk_uep3_bit
ephshk_uep4_bit
ephshk_uep5_bit
ephshk_uep6_bit
ephshk_uep7_bit
ephshk_uep8_bit
ephshk_uep9_bit
epinen
epinen_bit
epinen_uep1_bit
epinen_uep10_bit
epinen_uep11_bit
epinen_uep12_bit
epinen_uep13_bit
epinen_uep14_bit
epinen_uep15_bit
epinen_uep2_bit
epinen_uep3_bit
epinen_uep4_bit
epinen_uep5_bit
epinen_uep6_bit
epinen_uep7_bit
epinen_uep8_bit
epinen_uep9_bit
epouten
epouten_bit
epouten_uep1_bit
epouten_uep10_bit
epouten_uep11_bit
epouten_uep12_bit
epouten_uep13_bit
epouten_uep14_bit
epouten_uep15_bit
epouten_uep2_bit
epouten_uep3_bit
epouten_uep4_bit
epouten_uep5_bit
epouten_uep6_bit
epouten_uep7_bit
epouten_uep8_bit
epouten_uep9_bit
epstall
epstall_bit
epstall_uep1_bit
epstall_uep10_bit
epstall_uep11_bit
epstall_uep12_bit
epstall_uep13_bit
epstall_uep14_bit
epstall_uep15_bit
epstall_uep2_bit
epstall_uep3_bit
epstall_uep4_bit
epstall_uep5_bit
epstall_uep6_bit
epstall_uep7_bit
epstall_uep8_bit
epstall_uep9_bit
equals_double
exp
expander_init
expander_init_advanced
expander_read_byte
expander_read_porta
expander_read_portab
expander_read_portb
expander_set_directionporta
expander_set_directionportab
expander_set_directionportb
expander_set_pullupsporta
expander_set_pullupsportab
expander_set_pullupsportb
expander_write_byte
expander_write_porta
expander_write_portab
expander_write_portb
f
f16_boot_template
f16_filedesc
f16_sector
fabs
fast
ferr
ferr_bit
fixsign32
flash_erase_64
flash_erase_write_64
flash_read
flash_read_n_bytes
flash_write_32
floattostr
floor
flts
flts_bit
fo_horizontal
fo_horizontal_16bit
fo_vertical
fo_vertical_16bit
font_glcd_5x7
font_glcd_character8x7
font_glcd_system3x5
font_glcd_system5x7
font5x7
fontsystem5x7_v2
freadneedsupdate
free
free_bit
freemem
frexp
frm0
frm0_bit
frm1
frm1_bit
frm10
frm10_bit
frm2
frm2_bit
frm3
frm3_bit
frm4
frm4_bit
frm5
frm5_bit
frm6
frm6_bit
frm7
frm7_bit
frm8
frm8_bit
frm9
frm9_bit
fsect
fsen
fsen_bit
fsr0
fsr0h
fsr0l
fsr0ptr
fsr1
fsr1h
fsr1l
fsr1ptr
fsr2
fsr2h
fsr2l
fsr2ptr
fullbits
gcen
gcen_bit
gen_enable
gen_read
gen_write
get_fosc_khz
gie
gie_bit
gie_gieh
gie_gieh_bit
gieh
gieh_bit
giel
giel_bit
glcd_box
glcd_circle
glcd_circle_fill
glcd_defaultfont
glcd_dot
glcd_ext_image
glcd_ext_partialimage
glcd_fill
glcd_get_ext_data_ptr
glcd_h_line
glcd_image
glcd_init
glcd_line
glcd_partialimage
glcd_read_data
glcd_rectangle
glcd_rectangle_round_edges
glcd_rectangle_round_edges_fill
glcd_set_ext_buffer
glcd_set_ext_font_adv
glcd_set_font
glcd_set_font_adv
glcd_set_page
glcd_set_side
glcd_set_x
glcd_v_line
glcd_write_char
glcd_write_char_adv
glcd_write_const_text
glcd_write_const_text_adv
glcd_write_const_text_return_pos
glcd_write_data
glcd_write_text
glcd_write_text_adv
glcd_write_text_return_pos
go
go_bit
go_done
go_done_bit
go_not_done
go_not_done_bit
halfbits
hid_disable
hid_enable
hid_read
hid_write
hlvdcon
hlvden
hlvden_bit
hlvdie
hlvdie_bit
hlvdif
hlvdif_bit
hlvdin
hlvdin_bit
hlvdip
hlvdip_bit
hlvdl0
hlvdl0_bit
hlvdl1
hlvdl1_bit
hlvdl2
hlvdl2_bit
hlvdl3
hlvdl3_bit
i2c_dat
i2c_dat_bit
i2c_read
i2c_read_bit
i2c_start_
i2c_start__bit
i2c_stop_
i2c_stop__bit
i2c1_init
i2c1_is_idle
i2c1_rd
i2c1_repeated_start
i2c1_start
i2c1_stop
i2c1_wr
ics_auto
ics_off
idleie
idleie_bit
idleif
idleif_bit
idlen
idlen_bit
imagefileasarray
indf0
indf1
indf2
int0
int0_bit
int0e
int0e_bit
int0f
int0f_bit
int0ie
int0ie_bit
int0if
int0if_bit
int1
int1_bit
int1e
int1e_bit
int1f
int1f_bit
int1ie
int1ie_bit
int1if
int1if_bit
int1ip
int1ip_bit
int1p
int1p_bit
int2
int2_bit
int2double
int2e
int2e_bit
int2f
int2f_bit
int2ie
int2ie_bit
int2if
int2if_bit
int2ip
int2ip_bit
int2p
int2p_bit
intcon
intcon2
intcon3
intedg0
intedg0_bit
intedg1
intedg1_bit
intedg2
intedg2_bit
intsrc
intsrc_bit
inttohex
inttostr
inttostrwithzeros
iofs
iofs_bit
ipen
ipen_bit
ipr1
ipr2
ircf0
ircf0_bit
ircf1
ircf1_bit
ircf2
ircf2_bit
irvst
irvst_bit
isalnum
isalpha
iscntrl
isdigit
isgraph
islower
ispunct
isspace
isupper
isxdigit
ivrst
ivrst_bit
jpegdecoder
jpegdecoder_16bit
keypad_init
keypad_key_click
keypad_key_press
labs
lata
lata0
lata0_bit
lata1
lata1_bit
lata2
lata2_bit
lata3
lata3_bit
lata4
lata4_bit
lata5
lata5_bit
lata6
lata6_bit
latb
latb0
latb0_bit
latb1
latb1_bit
latb2
latb2_bit
latb3
latb3_bit
latb4
latb4_bit
latb5
latb5_bit
latb6
latb6_bit
latb7
latb7_bit
latc
latc0
latc0_bit
latc1
latc1_bit
latc2
latc2_bit
latc6
latc6_bit
latc7
latc7_bit
latd
latd0
latd0_bit
latd1
latd1_bit
latd2
latd2_bit
latd3
latd3_bit
latd4
latd4_bit
latd5
latd5_bit
latd6
latd6_bit
latd7
latd7_bit
late
late0
late0_bit
late1
late1_bit
late2
late2_bit
lcd_chr
lcd_chr_cp
lcd_cmd
lcd_init
lcd_out
lcd_out_cp
ldexp
ldiv
left_to_right
left_to_right_16bit
lf
log
log10
longint2double
longinttohex
longinttostrwithzeros
longjmp
longtostr
longword2double
longwordtohex
longwordtostr
longwordtostrwithzeros
ltrim
lvdcon
lvden
lvden_bit
lvdie
lvdie_bit
lvdif
lvdif_bit
lvdin
lvdin_bit
lvdip
lvdip_bit
lvdl0
lvdl0_bit
lvdl1
lvdl1_bit
lvdl2
lvdl2_bit
lvdl3
lvdl3_bit
lvv0
lvv0_bit
lvv1
lvv1_bit
lvv2
lvv2_bit
lvv3
lvv3_bit
m
main
malloc
man_break
man_receive
man_receive_init
man_send
man_send_init
man_synchro
mask
max
max_files
memchr
memcmp
memcpy
memmove
memset
min
mm_error_
mm_freememtable
mm_init
mm_largestfreememblock
mm_nrfreeblocksused
mm_possiblyfragmented
mm_totalfreememsize
mmc_fat_activate
mmc_fat_append
mmc_fat_assign
mmc_fat_changedir
mmc_fat_close
mmc_fat_delete
mmc_fat_dir
mmc_fat_eof
mmc_fat_exists
mmc_fat_get_file_date
mmc_fat_get_file_date_modified
mmc_fat_get_file_size
mmc_fat_get_swap_file
mmc_fat_init
mmc_fat_makedir
mmc_fat_open
mmc_fat_quickformat
mmc_fat_read
mmc_fat_readn
mmc_fat_removedir
mmc_fat_rename
mmc_fat_renamedir
mmc_fat_reset
mmc_fat_rewrite
mmc_fat_seek
mmc_fat_set_file_date
mmc_fat_tell
mmc_fat_write
mmc_get_file_write_sector
mmc_init
mmc_init_vars
mmc_multi_read_sector
mmc_multi_read_start
mmc_multi_read_stop
mmc_read_cid
mmc_read_csd
mmc_read_sector
mmc_write_sector
modf
mul_16x16_s
mul_16x16_u
mul_32x32_fp
mul_32x32_s
mul_32x32_u
mul_8x8_s
n
n_bit
not_a
not_a_bit
not_address
not_address_bit
not_bor
not_bor_bit
not_done
not_done_bit
not_ipen
not_ipen_bit
not_pd
not_pd_bit
not_por
not_por_bit
not_rbpu
not_rbpu_bit
not_ri
not_ri_bit
not_t1sync
not_t1sync_bit
not_t3sync
not_t3sync_bit
not_to
not_to_bit
not_w
not_w_bit
not_write
not_write_bit
nr_free_blocks
nrm3232
nrm4032
oerr
oerr_bit
oespp
oespp_bit
osc2
osc2_bit
osccon
oscfie
oscfie_bit
oscfif
oscfif_bit
oscfip
oscfip_bit
osctune
osts
osts_bit
ov
ov_bit
ow_read
ow_reset
ow_write
p
p_bit
p1a
p1a_bit
p1m0
p1m0_bit
p1m1
p1m1_bit
pbcurrenthuffsymboltable
pbcurrenthuffsymlentable
pc
pcfg0
pcfg0_bit
pcfg1
pcfg1_bit
pcfg2
pcfg2_bit
pcfg3
pcfg3_bit
pcl
pclath
pclatu
pcu0
pcu0_bit
pcu1
pcu1_bit
pcu2
pcu2_bit
pcu3
pcu3_bit
pcu4
pcu4_bit
pd
pd_bit
pdc0
pdc0_bit
pdc1
pdc1_bit
pdc2
pdc2_bit
pdc3
pdc3_bit
pdc4
pdc4_bit
pdc5
pdc5_bit
pdc6
pdc6_bit
peie
peie_bit
peie_giel
peie_giel_bit
pen
pen_bit
pgc
pgc_bit
pgd
pgd_bit
pgm
pgm_bit
pidee
pidee_bit
pidef
pidef_bit
pie1
pie2
pir1
pir2
pktdis
pktdis_bit
plusw0
plusw1
plusw2
por
por_bit
porta
portb
portc
portd
porte
postdec0
postdec1
postdec2
postinc0
postinc1
postinc2
pow
ppb0
ppb0_bit
ppb1
ppb1_bit
ppbi
ppbi_bit
ppbrst
ppbrst_bit
pr2
preinc0
preinc1
preinc2
printout
prod
prodh
prodl
prsen
prsen_bit
ps2_config
ps2_key_read
psa
psa_bit
pssac0
pssac0_bit
pssac1
pssac1_bit
pssbd0
pssbd0_bit
pssbd1
pssbd1_bit
pwcurrenthuffsymstarttable
pwcurrentquanttable
pwm1_init
pwm1_set_duty
pwm1_start
pwm1_stop
pwm2_init
pwm2_set_duty
pwm2_start
pwm2_stop
r
r_bit
r_not_w
r_not_w_bit
r_w
r_w_bit
r0
r1
r10
r11
r12
r13
r14
r15
r16
r17
r18
r19
r2
r20
r3
r4
r5
r6
r7
r8
r9
ra0
ra0_bit
ra1
ra1_bit
ra2
ra2_bit
ra3
ra3_bit
ra4
ra4_bit
ra5
ra5_bit
ra6
ra6_bit
rand
rb0
rb0_bit
rb1
rb1_bit
rb2
rb2_bit
rb3
rb3_bit
rb4
rb4_bit
rb5
rb5_bit
rb6
rb6_bit
rb7
rb7_bit
rbie
rbie_bit
rbif
rbif_bit
rbip
rbip_bit
rbpu
rbpu_bit
rc0
rc0_bit
rc1
rc1_bit
rc2
rc2_bit
rc4
rc4_bit
rc5
rc5_bit
rc6
rc6_bit
rc7
rc7_bit
rcen
rcen_bit
rcidl
rcidl_bit
rcie
rcie_bit
rcif
rcif_bit
rcip
rcip_bit
rcmt
rcmt_bit
rcon
rcreg
rcsta
rd
rd_bit
rd0
rd0_bit
rd1
rd1_bit
rd16
rd16_bit
rd16_t1con_bit
rd2
rd2_bit
rd3
rd3_bit
rd4
rd4_bit
rd5
rd5_bit
rd6
rd6_bit
rd7
rd7_bit
rdpu
rdpu_bit
rdpu_porte_bit
rdspp
rdspp_bit
re0
re0_bit
re1
re1_bit
re2
re2_bit
re3
re3_bit
read_write
read_write_bit
res032
resume_
resume__bit
ri
ri_bit
rs485master_init
rs485master_receive
rs485master_send
rs485slave_init
rs485slave_receive
rs485slave_send
rsen
rsen_bit
rtrim
rx_
rx__bit
rx9
rx9_bit
rx9d
rx9d_bit
rxdtp
rxdtp_bit
s
s_bit
s1d13700_black
s1d13700_box
s1d13700_cgram_adr
s1d13700_circle
s1d13700_circle_fill
s1d13700_cs_down
s1d13700_cs_left
s1d13700_cs_right
s1d13700_cs_up
s1d13700_csrform
s1d13700_csrr
s1d13700_csrw
s1d13700_cursor_block
s1d13700_cursor_flash_1hz
s1d13700_cursor_flash_2hz
s1d13700_cursor_off
s1d13700_cursor_on
s1d13700_cursor_underscore
s1d13700_defaultfont
s1d13700_disp_off
s1d13700_disp_on
s1d13700_display_cursor
s1d13700_display_grlayer
s1d13700_display_txtlayer
s1d13700_dot
s1d13700_ext_image
s1d13700_ext_partialimage
s1d13700_fill
s1d13700_get_ext_data_ptr
s1d13700_grayscale
s1d13700_grfill
s1d13700_h_line
s1d13700_hdot_scr
s1d13700_image
s1d13700_init
s1d13700_layer_flash_16hz
s1d13700_layer_flash_2hz
s1d13700_layer_off
s1d13700_layer_on
s1d13700_line
s1d13700_memread
s1d13700_memwrite
s1d13700_overlay_and
s1d13700_overlay_or
s1d13700_overlay_xor
s1d13700_ovlay
s1d13700_partialimage
s1d13700_power_save
s1d13700_read_parameter
s1d13700_rectangle
s1d13700_rectangle_round_edges
s1d13700_rectangle_round_edges_fill
s1d13700_scroll
s1d13700_set_cursor
s1d13700_set_ext_buffer
s1d13700_set_ext_font_adv
s1d13700_set_font_adv
s1d13700_system_set
s1d13700_txtfill
s1d13700_v_line
s1d13700_white
s1d13700_write_char
s1d13700_write_char_adv
s1d13700_write_command
s1d13700_write_const_text
s1d13700_write_const_text_adv
s1d13700_write_const_text_return_pos
s1d13700_write_parameter
s1d13700_write_text
s1d13700_write_text_adv
s1d13700_write_text_return_pos
sboren
sboren_bit
sckp
sckp_bit
scs0
scs0_bit
scs1
scs1_bit
sdiv3232l
se0
se0_bit
seg
sen
sen_bit
sendb
sendb_bit
setfdz32
setfov32
setfun32
setiov3224
setjmp
shorttohex
shorttostr
sin
sine3
sinh
smp
smp_bit
sofie
sofie_bit
sofif
sofif_bit
soft_i2c_break
soft_i2c_init
soft_i2c_read
soft_i2c_start
soft_i2c_stop
soft_i2c_write
soft_spi_init
soft_spi_read
soft_spi_write
soft_uart_break
soft_uart_init
soft_uart_read
soft_uart_write
sound_init
sound_play
spbrg
spbrgh
spen
spen_bit
spi_ethernet_24j600_arpcache
spi_ethernet_24j600_arpresolve
spi_ethernet_24j600_checksum
spi_ethernet_24j600_clearbitreg
spi_ethernet_24j600_confnetwork
spi_ethernet_24j600_delay
spi_ethernet_24j600_dhcpmsg
spi_ethernet_24j600_dhcpreceive
spi_ethernet_24j600_disable
spi_ethernet_24j600_dnsipaddr
spi_ethernet_24j600_dnsresolve
spi_ethernet_24j600_doarp
spi_ethernet_24j600_dodhcp
spi_ethernet_24j600_dodhcpleasetime
spi_ethernet_24j600_dodns
spi_ethernet_24j600_dopacket
spi_ethernet_24j600_dotcp
spi_ethernet_24j600_doudp
spi_ethernet_24j600_enable
spi_ethernet_24j600_ff
spi_ethernet_24j600_getbyte
spi_ethernet_24j600_getbytes
spi_ethernet_24j600_getdnsipaddress
spi_ethernet_24j600_getgwipaddress
spi_ethernet_24j600_getipaddress
spi_ethernet_24j600_getipmask
spi_ethernet_24j600_gwipaddr
spi_ethernet_24j600_init
spi_ethernet_24j600_init2
spi_ethernet_24j600_initdhcp
spi_ethernet_24j600_ipaddr
spi_ethernet_24j600_ipmask
spi_ethernet_24j600_ipswap
spi_ethernet_24j600_macaddr
spi_ethernet_24j600_macswap
spi_ethernet_24j600_memcmp
spi_ethernet_24j600_memcpy
spi_ethernet_24j600_pktlen
spi_ethernet_24j600_putbyte
spi_ethernet_24j600_putbytes
spi_ethernet_24j600_putconstbytes
spi_ethernet_24j600_putconststring
spi_ethernet_24j600_putstring
spi_ethernet_24j600_ramcopy
spi_ethernet_24j600_readaddr
spi_ethernet_24j600_readmem
spi_ethernet_24j600_readpacket
spi_ethernet_24j600_readphy
spi_ethernet_24j600_readreg
spi_ethernet_24j600_renewdhcp
spi_ethernet_24j600_rmtipaddr
spi_ethernet_24j600_sendudp
spi_ethernet_24j600_sendudp2
spi_ethernet_24j600_setbitreg
spi_ethernet_24j600_setrxreadaddress
spi_ethernet_24j600_subnetbroadcast
spi_ethernet_24j600_txpacket
spi_ethernet_24j600_usertimersec
spi_ethernet_24j600_writeaddr
spi_ethernet_24j600_writemem
spi_ethernet_24j600_writememory
spi_ethernet_24j600_writememory2
spi_ethernet_24j600_writephy
spi_ethernet_24j600_writereg
spi_ethernet_arpcache
spi_ethernet_arpresolve
spi_ethernet_checksum
spi_ethernet_clearbitreg
spi_ethernet_confnetwork
spi_ethernet_delay
spi_ethernet_dhcpmsg
spi_ethernet_dhcpreceive
spi_ethernet_disable
spi_ethernet_dnsipaddr
spi_ethernet_dnsresolve
spi_ethernet_doarp
spi_ethernet_dodhcp
spi_ethernet_dodhcpleasetime
spi_ethernet_dodns
spi_ethernet_dopacket
spi_ethernet_dotcp
spi_ethernet_doudp
spi_ethernet_enable
spi_ethernet_ff
spi_ethernet_getbyte
spi_ethernet_getbytes
spi_ethernet_getdnsipaddress
spi_ethernet_getgwipaddress
spi_ethernet_getipaddress
spi_ethernet_getipmask
spi_ethernet_gwipaddr
spi_ethernet_init
spi_ethernet_init2
spi_ethernet_initdhcp
spi_ethernet_ipaddr
spi_ethernet_ipmask
spi_ethernet_ipswap
spi_ethernet_macaddr
spi_ethernet_macswap
spi_ethernet_memcmp
spi_ethernet_memcpy
spi_ethernet_pktlen
spi_ethernet_putbyte
spi_ethernet_putbytes
spi_ethernet_putconstbytes
spi_ethernet_putconststring
spi_ethernet_putstring
spi_ethernet_ramcopy
spi_ethernet_readmem
spi_ethernet_readpacket
spi_ethernet_readphy
spi_ethernet_readreg
spi_ethernet_renewdhcp
spi_ethernet_rmtipaddr
spi_ethernet_sendudp
spi_ethernet_sendudp2
spi_ethernet_setbitreg
spi_ethernet_setrxreadaddress
spi_ethernet_subnetbroadcast
spi_ethernet_txpacket
spi_ethernet_usertimersec
spi_ethernet_writeaddr
spi_ethernet_writemem
spi_ethernet_writememory
spi_ethernet_writememory2
spi_ethernet_writephy
spi_ethernet_writereg
spi_glcd_box
spi_glcd_circle
spi_glcd_circle_fill
spi_glcd_const_write_text
spi_glcd_dot
spi_glcd_ext_image
spi_glcd_ext_partialimage
spi_glcd_fill
spi_glcd_get_ext_data_ptr
spi_glcd_h_line
spi_glcd_image
spi_glcd_init
spi_glcd_line
spi_glcd_partialimage
spi_glcd_read_data
spi_glcd_rectangle
spi_glcd_rectangle_round_edges
spi_glcd_rectangle_round_edges_fill
spi_glcd_set_ext_buffer
spi_glcd_set_ext_font_adv
spi_glcd_set_font
spi_glcd_set_font_adv
spi_glcd_set_page
spi_glcd_set_side
spi_glcd_set_x
spi_glcd_v_line
spi_glcd_write_char
spi_glcd_write_char_adv
spi_glcd_write_const_text_adv
spi_glcd_write_const_text_return_pos
spi_glcd_write_data
spi_glcd_write_text
spi_glcd_write_text_adv
spi_glcd_write_text_return_pos
spi_lcd_chr
spi_lcd_chr_cp
spi_lcd_cmd
spi_lcd_config
spi_lcd_out
spi_lcd_out_cp
spi_lcd8_chr
spi_lcd8_chr_cp
spi_lcd8_cmd
spi_lcd8_config
spi_lcd8_out
spi_lcd8_out_cp
spi_rd_ptr
spi_read
spi_set_active
spi_t6963c_box
spi_t6963c_circle
spi_t6963c_circle_fill
spi_t6963c_clearbit
spi_t6963c_config
spi_t6963c_defaultfont
spi_t6963c_display
spi_t6963c_dot
spi_t6963c_ext_image
spi_t6963c_ext_partialimage
spi_t6963c_fill
spi_t6963c_fontwidth
spi_t6963c_get_ext_data_ptr
spi_t6963c_grheight
spi_t6963c_grhomeaddr
spi_t6963c_grmemsize
spi_t6963c_grwidth
spi_t6963c_image
spi_t6963c_line
spi_t6963c_negbit
spi_t6963c_partialimage
spi_t6963c_rectangle
spi_t6963c_rectangle_round_edges
spi_t6963c_rectangle_round_edges_fill
spi_t6963c_set_cursor
spi_t6963c_set_ext_buffer
spi_t6963c_set_ext_font_adv
spi_t6963c_set_font_adv
spi_t6963c_setbit
spi_t6963c_setptr
spi_t6963c_sprite
spi_t6963c_texthomeaddr
spi_t6963c_txtcols
spi_t6963c_txtmemsize
spi_t6963c_waitready
spi_t6963c_write_char
spi_t6963c_write_char_adv
spi_t6963c_write_const_text
spi_t6963c_write_const_text_adv
spi_t6963c_write_const_text_return_pos
spi_t6963c_write_text
spi_t6963c_write_text_adv
spi_t6963c_write_text_return_pos
spi_t6963c_writecommand
spi_t6963c_writedata
spi_wr_ptr
spi_write
spi1_init
spi1_init_advanced
spi1_read
spi1_write
spp0
spp0_bit
spp1
spp1_bit
spp2
spp2_bit
spp3
spp3_bit
spp4
spp4_bit
spp5
spp5_bit
spp6
spp6_bit
spp7
spp7_bit
sppbusy
sppbusy_bit
sppcfg
sppcon
sppdata
sppen
sppen_bit
sppeps
sppie
sppie_bit
sppif
sppif_bit
sppip
sppip_bit
sppown
sppown_bit
sprintf
sprinti
sprintl
sqrt
srand
sren
sren_bit
sspadd
sspbuf
sspcon1
sspcon2
sspen
sspen_bit
sspie
sspie_bit
sspif
sspif_bit
sspip
sspip_bit
sspm0
sspm0_bit
sspm1
sspm1_bit
sspm2
sspm2_bit
sspm3
sspm3_bit
sspov
sspov_bit
sspstat
stallie
stallie_bit
stallif
stallif_bit
status
stkful
stkful_bit
stkovf
stkovf_bit
stkptr
stkptr0
stkptr0_bit
stkptr1
stkptr1_bit
stkptr2
stkptr2_bit
stkptr3
stkptr3_bit
stkptr4
stkptr4_bit
stkunf
stkunf_bit
strcat
strchr
strcmp
strcpy
strcspn
strlen
strncat
strncmp
strncpy
strpbrk
strrchr
strspn
strstr
strtok
sub_32x32_fp
suspnd
suspnd_bit
swap
swdte
swdte_bit
swdten
swdten_bit
sync
sync_bit
system3x5
t
t08bit
t08bit_bit
t0cki
t0cki_bit
t0con
t0cs
t0cs_bit
t0ie
t0ie_bit
t0if
t0if_bit
t0ip
t0ip_bit
t0ps0
t0ps0_bit
t0ps1
t0ps1_bit
t0ps2
t0ps2_bit
t0se
t0se_bit
t13cki
t13cki_bit
t1ckps0
t1ckps0_bit
t1ckps1
t1ckps1_bit
t1con
t1oscen
t1oscen_bit
t1osi
t1osi_bit
t1oso
t1oso_bit
t1run
t1run_bit
t1sync
t1sync_bit
t2ckps0
t2ckps0_bit
t2ckps1
t2ckps1_bit
t2con
t2outps0
t2outps0_bit
t2outps1
t2outps1_bit
t2outps2
t2outps2_bit
t2outps3
t2outps3_bit
t3ccp1
t3ccp1_bit
t3ccp2
t3ccp2_bit
t3ckps0
t3ckps0_bit
t3ckps1
t3ckps1_bit
t3con
t3nsync
t3nsync_bit
t3sync
t3sync_bit
t6963c_box
t6963c_circle
t6963c_circle_fill
t6963c_defaultfont
t6963c_display
t6963c_dot
t6963c_ext_image
t6963c_ext_partialimage
t6963c_fill
t6963c_fontwidth
t6963c_get_ext_data_ptr
t6963c_grheight
t6963c_grhomeaddr
t6963c_grmemsize
t6963c_grwidth
t6963c_image
t6963c_init
t6963c_line
t6963c_partialimage
t6963c_rectangle
t6963c_rectangle_round_edges
t6963c_rectangle_round_edges_fill
t6963c_set_cursor
t6963c_set_ext_buffer
t6963c_set_ext_font_adv
t6963c_set_font_adv
t6963c_setptr
t6963c_sprite
t6963c_texthomeaddr
t6963c_txtcols
t6963c_txtmemsize
t6963c_waitready
t6963c_write_char
t6963c_write_char_adv
t6963c_write_const_text
t6963c_write_const_text_adv
t6963c_write_const_text_return_pos
t6963c_write_text
t6963c_write_text_adv
t6963c_write_text_return_pos
t6963c_writecommand
t6963c_writedata
tablat
tan
tanh
tblptr
tblptrh
tblptrl
tblptru
tft_16bit_circle
tft_16bit_color16bittorgb
tft_16bit_defaultfont
tft_16bit_dot
tft_16bit_ext_image
tft_16bit_ext_partial_image
tft_16bit_fill_screen
tft_16bit_get_ext_data_ptr
tft_16bit_getcurrentcolor
tft_16bit_h_line
tft_16bit_image
tft_16bit_image_jpeg
tft_16bit_line
tft_16bit_partial_image
tft_16bit_rectangle
tft_16bit_rectangle_round_edges
tft_16bit_rgbtocolor16bit
tft_16bit_rotate_180
tft_16bit_set_active
tft_16bit_set_address_ptr
tft_16bit_set_brush
tft_16bit_set_default_mode
tft_16bit_set_ext_buffer
tft_16bit_set_ext_font
tft_16bit_set_font
tft_16bit_set_index
tft_16bit_set_index_ptr
tft_16bit_set_pen
tft_16bit_set_reg
tft_16bit_v_line
tft_16bit_write_char
tft_16bit_write_command
tft_16bit_write_command_ptr
tft_16bit_write_const_text
tft_16bit_write_const_text_return_pos
tft_16bit_write_data
tft_16bit_write_data_ptr
tft_16bit_write_text
tft_16bit_write_text_return_pos
tft_circle
tft_color16bittorgb
tft_defaultfont
tft_dot
tft_ext_image
tft_ext_partial_image
tft_fill_screen
tft_get_ext_data_ptr
tft_getcurrentcolor
tft_h_line
tft_image
tft_image_jpeg
tft_init
tft_init_hx8347g
tft_init_hx8352a
tft_init_ili9340
tft_init_ili9342
tft_init_ili9481
tft_init_r61526
tft_init_ssd1963
tft_init_ssd1963_8bit
tft_init_sst7715r
tft_line
tft_partial_image
tft_rectangle
tft_rectangle_round_edges
tft_rgbtocolor16bit
tft_rotate_180
tft_set_active
tft_set_address_ptr
tft_set_brush
tft_set_default_mode
tft_set_ext_buffer
tft_set_ext_font
tft_set_font
tft_set_index
tft_set_index_ptr
tft_set_pen
tft_set_reg
tft_ssd1963_8bit_set_index
tft_ssd1963_8bit_set_reg
tft_ssd1963_8bit_write_data
tft_ssd1963yt_8bit_write_command
tft_v_line
tft_write_char
tft_write_command
tft_write_command_ptr
tft_write_const_text
tft_write_const_text_return_pos
tft_write_data
tft_write_data_ptr
tft_write_text
tft_write_text_return_pos
time_datetoepoch
time_epochtodate
time_jd1970
tmr0h
tmr0ie
tmr0ie_bit
tmr0if
tmr0if_bit
tmr0ip
tmr0ip_bit
tmr0l
tmr0on
tmr0on_bit
tmr1cs
tmr1cs_bit
tmr1h
tmr1ie
tmr1ie_bit
tmr1if
tmr1if_bit
tmr1ip
tmr1ip_bit
tmr1l
tmr1on
tmr1on_bit
tmr2
tmr2ie
tmr2ie_bit
tmr2if
tmr2if_bit
tmr2ip
tmr2ip_bit
tmr2on
tmr2on_bit
tmr3cs
tmr3cs_bit
tmr3h
tmr3ie
tmr3ie_bit
tmr3if
tmr3if_bit
tmr3ip
tmr3ip_bit
tmr3l
tmr3on
tmr3on_bit
to_
to__bit
tolower
top_to_bottom
top_to_bottom_16bit
tosh
tosl
tosu
toupper
toutps0
toutps0_bit
toutps1
toutps1_bit
toutps2
toutps2_bit
toutps3
toutps3_bit
tp_calibrate_bottom_left
tp_calibrate_upper_right
tp_get_calibration_consts
tp_get_coordinates
tp_init
tp_press_detect
tp_set_adc_threshold
tp_set_calibration_consts
tp_tft_calibrate_max
tp_tft_calibrate_min
tp_tft_get_calibration_consts
tp_tft_get_coordinates
tp_tft_init
tp_tft_press_detect
tp_tft_rotate_180
tp_tft_set_adc_threshold
tp_tft_set_calibration_consts
tp_tft_set_default_mode
trisa
trisa0
trisa0_bit
trisa1
trisa1_bit
trisa2
trisa2_bit
trisa3
trisa3_bit
trisa4
trisa4_bit
trisa5
trisa5_bit
trisa6
trisa6_bit
trisb
trisb0
trisb0_bit
trisb1
trisb1_bit
trisb2
trisb2_bit
trisb3
trisb3_bit
trisb4
trisb4_bit
trisb5
trisb5_bit
trisb6
trisb6_bit
trisb7
trisb7_bit
trisc
trisc0
trisc0_bit
trisc1
trisc1_bit
trisc2
trisc2_bit
trisc6
trisc6_bit
trisc7
trisc7_bit
trisd
trisd0
trisd0_bit
trisd1
trisd1_bit
trisd2
trisd2_bit
trisd3
trisd3_bit
trisd4
trisd4_bit
trisd5
trisd5_bit
trisd6
trisd6_bit
trisd7
trisd7_bit
trise
trise0
trise0_bit
trise1
trise1_bit
trise2
trise2_bit
trmt
trmt_bit
trnie
trnie_bit
trnif
trnif_bit
tun0
tun0_bit
tun1
tun1_bit
tun2
tun2_bit
tun3
tun3_bit
tun4
tun4_bit
tx
tx_bit
tx9
tx9_bit
tx9d
tx9d_bit
txckp
txckp_bit
txen
txen_bit
txie
txie_bit
txif
txif_bit
txip
txip_bit
txreg
txsta
ua
ua_bit
uaddr
uart_data_ready
uart_rd_ptr
uart_rdy_ptr
uart_read
uart_read_text
uart_set_active
uart_tx_idle
uart_tx_idle_ptr
uart_wr_ptr
uart_write
uart_write_text
uart1_data_ready
uart1_init
uart1_read
uart1_read_text
uart1_tx_idle
uart1_write
uart1_write_text
ucfg
ucon
ueie
ueir
uep0
uep1
uep10
uep11
uep12
uep13
uep14
uep15
uep2
uep3
uep4
uep5
uep6
uep7
uep8
uep9
uerrie
uerrie_bit
uerrif
uerrif_bit
ufrmh
ufrml
uie
uir
uldiv
uoemon
uoemon_bit
upuen
upuen_bit
urstie
urstie_bit
urstif
urstif_bit
usb_break
usb_interrupt_proc
usb_polling_proc
usben
usben_bit
usbie
usbie_bit
usbif
usbif_bit
usbip
usbip_bit
ustat
uteye
uteye_bit
utrdis
utrdis_bit
vcfg0
vcfg0_bit
vcfg1
vcfg1_bit
vdelay_advanced_ms
vdelay_ms
vdirmag
vdirmag_bit
vrefm
vrefm_bit
vrefp
vrefp_bit
w
wblocknumber
wbufferindex
wbufferlen
wcol
wcol_bit
wdtcon
wheight
word2double
wordtohex
wordtostr
wordtostrwithzeros
wprevx
wprevy
wr
wr_bit
wreg
wren
wren_bit
wrerr
wrerr_bit
wrestartinterval
wrspp
wrspp_bit
ws0
ws0_bit
ws1
ws1_bit
ws2
ws2_bit
ws3
ws3_bit
wue
wue_bit
wwidth
wworkbits
xtoi
z
z_bit
d7s/d7s.dlt
d7s/d7s.docx
// Sistemas Embarcados
//Rodrigo Reviglio Weishaupt
//201020656
// Pratica Display 7 segmentos
#define tempo 250 // define o tempo de acendimento do display em ms
// Funcao para converter de valor numerico decimal para codigo 7 segmentos
unsigned short mask(unsigned short num) {
switch (num) {
case 0 : return 0x3F;
case 1 : return 0x06;
case 2 : return 0x5B;
case 3 : return 0x4F;
case 4 : return 0x66;
case 5 : return 0x6D;
case 6 : return 0x7D;
case 7 : return 0x07;
case 8 : return 0x7F;
case 9 : return 0x6F;
}
}
int aux;
void d7s(int a,int b,int c,int d,int t) {
for (aux=1;aux<t;aux++){
// escreve valor do digito 1 no display 1 em codigo 7 segmentos
PORTD = mask(a);
porta.ra2 = 1; // ativa display 1
Delay_us(tempo);
porta.ra2 = 0; // desativa display 1
// escreve valor do digito 2 no display 2 em codigo 7 segmentos
PORTD = mask(b);
porta.ra3 = 1; // ativa display 2
Delay_us(tempo);
porta.ra3 = 0; // desativa display 2
// escreve valor do digito 3 no display 3 em codigo 7 segmentos
PORTD = mask(c);
porta.ra4 = 1; // ativa display 3
Delay_us(tempo);
porta.ra4 = 0; // desativa display 3
// escreve valor do digito 4 no display 4 em codigo 7 segmentos
PORTD = mask(d);
porta.ra5 = 1; // ativa display 4
Delay_us(tempo);
porta.ra5 = 0; // desativa display 4
}
}
int seg;
int m;
int d1;
int d2;
int d3;
int d4;
int t=1001;
void main(void) {
ADCON1 = 0X0F; // desabilita conversor A/D
INTCON = 0; // desabilita interrupcoes
TRISA = 0; // configura portA como saida
PORTA = 0; // seta valor inicial para zero
TRISD = 0; // configura portD como saida
PORTD = 0; // seta valor inicial para zero
TRISB = 3; // seta rb0 e rb1 como portas de entrada
while(1){
for(m=0;m<60;m++){
for(seg=0;seg<60;seg++){
d1 = m/10; // parte inteira da divisao dos minutos define o primeiro digito dos minutos no display
d2 = m % 10; // resto da divisao dos minutos define o segundo digito dos minutos no display
d3 = seg/10; // parte inteira da divisao dos segundos define o primeiro digito dos segundos no display
d4 = seg % 10; // resto da divisao dos segundos define o primeiro digito dos segundos no display
d7s(d1,d2,d3,d4,t); // escreve os quatro digitos em seus respectivos displays
if (portb.b0 == 1)
t=1001; // em operacao normal, os segundos incrementam com taxa de 1 segundo
else
t=101; // quando ajustando o relogio, os segundos sao incrementados 10x mais rapido
if (portb.b1 == 0){ // enquanto o botao rb1 e apertado,
m++;
if (m==60){
m = 0;
}
}
}
}
}
} // Fim do programa principal
d7s/d7s.hex
:1000000025EF01F00000000000EF00F0000000000C
:0A0010000000000000000000F3D71C
:10001C000134083609360450085E0550D8A0053C5A
:10002C00095E003601360F0E0C6E013408360936A7
:10003C00045000A006D0085E0550D8A0053C095E0F
:10004C0005D008260550D8B0053C092600360136E7
:10005C000C2EEBD700B006D0045008260550D8B0B3
:08006C00053C0926000012000A
:100074001ED03F0E006E39D0060E006E36D05B0ED9
:10008400006E33D04F0E006E30D0660E006E2DD051
:100094006D0E006E2AD07D0E006E27D0070E006E06
:1000A40024D07F0E006E21D06F0E006E1ED02F5014
:1000B400000ADFE02F50010ADFE02F50020ADFE0E0
:1000C4002F50030ADFE02F50040ADFE02F50050A07
:1000D400DFE02F50060ADFE02F50070ADFE02F5041
:0C00E400080ADFE02F50090ADFE01200DC
:1000F000010E1B6E000E1C6E800E1C18006E800E12
:100100002E18005C02E12D501B5C33E225C02FF05D
:10011000B1DF00C083FF8084A60E0D6E0D2EFED7CA
:100120000000809427C02FF0A5DF00C083FF8086E9
:10013000A60E0D6E0D2EFED70000809629C02FF062
:1001400099DF00C083FF8088A60E0D6E0D2EFED7AE
:10015000000080982BC02FF08DDF00C083FF808AC5
:10016000A60E0D6E0D2EFED70000809A1B4A1C2A8B
:04017000C3D71200DF
:100174000900F5CFE6FF0006FBE10106F9E11200F4
:100184000450000A08E10550000A05E1FF0E006E64
:100194007F0E016E57D00D6A096A086A015000107B
:1001A400D8B4000C015005180A6E0ABE0D1E0B6A65
:1001B40005AE05D0041E051E042AD8B4052A01AED6
:1001C40005D0001E011E002AD8B4012A01500510D2
:1001D4000A6E0ABE10D020DF0BB020D00DAE000C8A
:1001E400001E011E002AD8B4012A081E091E082A6E
:1001F400D8B4092A000C05AE0DD001BE07D00150B9
:10020400096E0050086E016A006AE8D7016A006A44
:10021400002A000C011E001E0B2ADDD7082AD8B4C0
:10022400092A0450085CD8A4D9D70550095CD8A47D
:10023400D5D7096A086A002AD8B4012A01AECED7F4
:060244000000FF0C120097
:10024A00E90E156E030E166E0F0EC16EF26A926AF1
:10025A00806A956A836A030E936E1D6A1E6A800E0F
:10026A001E18006E800E005C02E13C0E1D5CD8B0C8
:10027A0079D0176A186A800E1818006E800E005C12
:10028A0002E13C0E175C6BE20A0E046E000E056E6C
:10029A001DC000F01EC001F070DF00C019F001C0DF
:1002AA001AF00A0E046E000E056E1DC000F01EC084
:1002BA0001F063DF08C000F009C001F000C021F0BE
:1002CA0001C022F00A0E046E000E056E17C000F07F
:1002DA0018C001F052DF00C023F001C024F00A0E5A
:1002EA00046E000E056E17C000F018C001F045DF5D
:1002FA0008C000F009C001F000C01FF001C020F0E2
:10030A0019C025F01AC026F021C027F022C028F013
:10031A0023C029F024C02AF000C02BF001C02CF021
:10032A0015C02DF016C02EF0DEDE81A005D0E90E34
:10033A00156E030E166E04D0650E156E000E166E3F
:10034A0081B20AD01D4A1E2A000E1E1802E13C0E76
:10035A001D1802E11D6A1E6A174A182A8CD71D4AFF
:08036A001E2A7DD77AD7FFD7C8
:020000040030CA
:0E000000010C1F1EFF8080FF0FC00FE00F409D
:00000001FF
d7s/d7s.log
0 1 mikroCPIC1618.exe -MSF -DBG -pP18F4550 -DL -O11111114 -fo8 -N"C:\Users\Aluno\Documents\d7s\d7s.mcppi" -SP"C:\Program Files (x86)\mikroC PRO for PIC\defs\" -SP"C:\Program Files (x86)\mikroC PRO for PIC\uses\P18\" -SP"C:\Users\Aluno\Documents\d7s\" "d7s.c" "__Lib_Math.mcl" "__Lib_MathDouble.mcl" "__Lib_System.mcl" "__Lib_Delays.mcl" "__Lib_CType.mcl" "__Lib_CString.mcl" "__Lib_CStdlib.mcl" "__Lib_CMath.mcl" "__Lib_MemManager.mcl" "__Lib_Conversions.mcl" "__Lib_Sprintf.mcl" "__Lib_PrintOut.mcl" "__Lib_Sprinti.mcl" "__Lib_Sprintl.mcl" "__Lib_Time.mcl" "__Lib_Trigonometry.mcl" "__Lib_Button.mcl" "__Lib_Keypad4x4.mcl" "__Lib_Manchester.mcl" "__Lib_OneWire.mcl" "__Lib_PS2.mcl" "__Lib_Sound.mcl" "__Lib_SoftI2C.mcl" "__Lib_SoftSPI.mcl" "__Lib_SoftUART.mcl" "__Lib_ADC_A_D.mcl" "__Lib_EEPROM_256.mcl" "__Lib_FLASH_w32_e64.mcl" "__Lib_I2C_b10.mcl" "__Lib_PWM_c21.mcl" "__Lib_SPI_b10c7.mcl" "__Lib_UART_c67.mcl" "__Lib_USB_genHID.mcl" "__Lib_PortExpander.mcl" "__Lib_CANSPI.mcl" "__Lib_CF.mcl" "__Lib_CFFat16.mcl" "__Lib_GlcdFonts.mcl" "__Lib_Glcd.mcl" "__Lib_LcdConsts.mcl" "__Lib_Lcd.mcl" "__Lib_Mmc.mcl" "__Lib_MmcFat16.mcl" "__Lib_MmcFat16Constants.mcl" "__Lib_RS485.mcl" "__Lib_S1D13700.mcl" "__Lib_T6963C.mcl" "__Lib_SPIGlcd.mcl" "__Lib_SPILcd.mcl" "__Lib_SPILcd8.mcl" "__Lib_SPIT6963C.mcl" "__Lib_EthEnc28j60.mcl" "__Lib_TFT.mcl" "__Lib_TFT_16bit.mcl" "__Lib_TouchPanel_TFT.mcl" "__Lib_EthEnc24j600.mcl" "__Lib_TouchPanel.mcl"
diagnostics: 0 126 All files Preprocessed in 16 ms
diagnostics: 0 122 Compilation Started d7s.c
diagnostics: 98 123 Compiled Successfully d7s.c
diagnostics: 0 127 All files Compiled in 47 ms
diagnostics: 0 125 Project Linked Successfully d7s.mcppi
diagnostics: 0 128 Linked in 312 ms
diagnostics: 0 129 Project 'd7s.mcppi' completed: 468 ms
diagnostics: 0 103 Finished successfully: 14 mai 2015, 15:01:11 d7s.mcppi
d7s/d7s.lst
; LST file generated by mikroListExporter - v.2.0
; Date/Time: 14/05/2015 15:01:10
;----------------------------------------------
;Address Opcode ASM
0x0000 0xF001EF25 GOTO 586
0x0004 0x0000 NOP
0x0006 0x0000 NOP
0x0008 0xF000EF00 GOTO 0
0x000C 0x0000 NOP
0x000E 0x0000 NOP
0x0010 0x0000 NOP
0x0012 0x0000 NOP
0x0014 0x0000 NOP
0x0016 0x0000 NOP
0x0018 0xD7F3 BRA 0
_Div_16x16_S_L:
;__Lib_Math.c,139 ::
;__Lib_Math.c,146 ::
0x001C 0x3401 RLCF R1, 0, 0
;__Lib_Math.c,147 ::
0x001E 0x3608 RLCF R8, 1, 0
;__Lib_Math.c,148 ::
0x0020 0x3609 RLCF R9, 1, 0
;__Lib_Math.c,149 ::
0x0022 0x5004 MOVF R4, 0, 0
;__Lib_Math.c,150 ::
0x0024 0x5E08 SUBWF R8, 1, 0
;__Lib_Math.c,151 ::
0x0026 0x5005 MOVF R5, 0, 0
;__Lib_Math.c,152 ::
0x0028 0xA0D8 BTFSS STATUS, 0, 0
;__Lib_Math.c,153 ::
0x002A 0x3C05 INCFSZ R5, 0, 0
;__Lib_Math.c,154 ::
0x002C 0x5E09 SUBWF R9, 1, 0
;__Lib_Math.c,155 ::
0x002E 0x3600 RLCF R0, 1, 0
;__Lib_Math.c,156 ::
0x0030 0x3601 RLCF R1, 1, 0
;__Lib_Math.c,158 ::
0x0032 0x0E0F MOVLW 15
;__Lib_Math.c,159 ::
0x0034 0x6E0C MOVWF R12, 0
;__Lib_Math.c,161 ::
0x0036 0x3401 RLCF R1, 0, 0
;__Lib_Math.c,162 ::
0x0038 0x3608 RLCF R8, 1, 0
;__Lib_Math.c,163 ::
0x003A 0x3609 RLCF R9, 1, 0
;__Lib_Math.c,164 ::
0x003C 0x5004 MOVF R4, 0, 0
;__Lib_Math.c,166 ::
0x003E 0xA000 BTFSS R0, 0, 0
;__Lib_Math.c,167 ::
0x0040 0xD006 BRA $+14
;__Lib_Math.c,168 ::
0x0042 0x5E08 SUBWF R8, 1, 0
;__Lib_Math.c,169 ::
0x0044 0x5005 MOVF R5, 0, 0
;__Lib_Math.c,170 ::
0x0046 0xA0D8 BTFSS STATUS, 0, 0
;__Lib_Math.c,171 ::
0x0048 0x3C05 INCFSZ R5, 0, 0
;__Lib_Math.c,172 ::
0x004A 0x5E09 SUBWF R9, 1, 0
;__Lib_Math.c,173 ::
0x004C 0xD005 BRA $+12
;__Lib_Math.c,175 ::
0x004E 0x2608 ADDWF R8, 1, 0
;__Lib_Math.c,176 ::
0x0050 0x5005 MOVF R5, 0, 0
;__Lib_Math.c,177 ::
0x0052 0xB0D8 BTFSC STATUS, 0, 0
;__Lib_Math.c,178 ::
0x0054 0x3C05 INCFSZ R5, 0, 0
;__Lib_Math.c,179 ::
0x0056 0x2609 ADDWF R9, 1, 0
;__Lib_Math.c,181 ::
0x0058 0x3600 RLCF R0, 1, 0
;__Lib_Math.c,182 ::
0x005A 0x3601 RLCF R1, 1, 0
;__Lib_Math.c,184 ::
0x005C 0x2E0C DECFSZ R12, 1, 0
;__Lib_Math.c,185 ::
0x005E 0xD7EB BRA $-40
;__Lib_Math.c,187 ::
0x0060 0xB000 BTFSC R0, 0, 0
;__Lib_Math.c,188 ::
0x0062 0xD006 BRA $+14
;__Lib_Math.c,189 ::
0x0064 0x5004 MOVF R4, 0, 0
;__Lib_Math.c,190 ::
0x0066 0x2608 ADDWF R8, 1, 0
;__Lib_Math.c,191 ::
0x0068 0x5005 MOVF R5, 0, 0
;__Lib_Math.c,192 ::
0x006A 0xB0D8 BTFSC STATUS, 0, 0
;__Lib_Math.c,193 ::
0x006C 0x3C05 INCFSZ R5, 0, 0
;__Lib_Math.c,194 ::
0x006E 0x2609 ADDWF R9, 1, 0
;__Lib_Math.c,195 ::
0x0070 0x0000 NOP
;__Lib_Math.c,197 ::
L_end_Div_16x16_S_L:
0x0072 0x0012 RETURN 0
; end of _Div_16x16_S_L
_mask:
;d7s.c,10 :: unsigned short mask(unsigned short num) {
;d7s.c,11 :: switch (num) {
0x0074 0xD01E BRA L_mask0
;d7s.c,12 :: case 0 : return 0x3F;
L_mask2:
0x0076 0x0E3F MOVLW 63
0x0078 0x6E00 MOVWF R0
0x007A 0xD039 BRA L_end_mask
;d7s.c,13 :: case 1 : return 0x06;
L_mask3:
0x007C 0x0E06 MOVLW 6
0x007E 0x6E00 MOVWF R0
0x0080 0xD036 BRA L_end_mask
;d7s.c,14 :: case 2 : return 0x5B;
L_mask4:
0x0082 0x0E5B MOVLW 91
0x0084 0x6E00 MOVWF R0
0x0086 0xD033 BRA L_end_mask
;d7s.c,15 :: case 3 : return 0x4F;
L_mask5:
0x0088 0x0E4F MOVLW 79
0x008A 0x6E00 MOVWF R0
0x008C 0xD030 BRA L_end_mask
;d7s.c,16 :: case 4 : return 0x66;
L_mask6:
0x008E 0x0E66 MOVLW 102
0x0090 0x6E00 MOVWF R0
0x0092 0xD02D BRA L_end_mask
;d7s.c,17 :: case 5 : return 0x6D;
L_mask7:
0x0094 0x0E6D MOVLW 109
0x0096 0x6E00 MOVWF R0
0x0098 0xD02A BRA L_end_mask
;d7s.c,18 :: case 6 : return 0x7D;
L_mask8:
0x009A 0x0E7D MOVLW 125
0x009C 0x6E00 MOVWF R0
0x009E 0xD027 BRA L_end_mask
;d7s.c,19 :: case 7 : return 0x07;
L_mask9:
0x00A0 0x0E07 MOVLW 7
0x00A2 0x6E00 MOVWF R0
0x00A4 0xD024 BRA L_end_mask
;d7s.c,20 :: case 8 : return 0x7F;
L_mask10:
0x00A6 0x0E7F MOVLW 127
0x00A8 0x6E00 MOVWF R0
0x00AA 0xD021 BRA L_end_mask
;d7s.c,21 :: case 9 : return 0x6F;
L_mask11:
0x00AC 0x0E6F MOVLW 111
0x00AE 0x6E00 MOVWF R0
0x00B0 0xD01E BRA L_end_mask
;d7s.c,22 :: }
L_mask0:
0x00B2 0x502F MOVF FARG_mask_num, 0
0x00B4 0x0A00 XORLW 0
0x00B6 0xE0DF BZ L_mask2
0x00B8 0x502F MOVF FARG_mask_num, 0
0x00BA 0x0A01 XORLW 1
0x00BC 0xE0DF BZ L_mask3
0x00BE 0x502F MOVF FARG_mask_num, 0
0x00C0 0x0A02 XORLW 2
0x00C2 0xE0DF BZ L_mask4
0x00C4 0x502F MOVF FARG_mask_num, 0
0x00C6 0x0A03 XORLW 3
0x00C8 0xE0DF BZ L_mask5
0x00CA 0x502F MOVF FARG_mask_num, 0
0x00CC 0x0A04 XORLW 4
0x00CE 0xE0DF BZ L_mask6
0x00D0 0x502F MOVF FARG_mask_num, 0
0x00D2 0x0A05 XORLW 5
0x00D4 0xE0DF BZ L_mask7
0x00D6 0x502F MOVF FARG_mask_num, 0
0x00D8 0x0A06 XORLW 6
0x00DA 0xE0DF BZ L_mask8
0x00DC 0x502F MOVF FARG_mask_num, 0
0x00DE 0x0A07 XORLW 7
0x00E0 0xE0DF BZ L_mask9
0x00E2 0x502F MOVF FARG_mask_num, 0
0x00E4 0x0A08 XORLW 8
0x00E6 0xE0DF BZ L_mask10
0x00E8 0x502F MOVF FARG_mask_num, 0
0x00EA 0x0A09 XORLW 9
0x00EC 0xE0DF BZ L_mask11
;d7s.c,23 :: }
L_end_mask:
0x00EE 0x0012 RETURN 0
; end of _mask
_d7s:
;d7s.c,25 :: void d7s(int a,int b,int c,int d,int t) { // inicio do loop infinito
;d7s.c,26 :: for (aux=1;aux<t;aux++){
0x00F0 0x0E01 MOVLW 1
0x00F2 0x6E1B MOVWF _aux
0x00F4 0x0E00 MOVLW 0
0x00F6 0x6E1C MOVWF _aux+1
L_d7s12:
0x00F8 0x0E80 MOVLW 128
0x00FA 0x181C XORWF _aux+1, 0
0x00FC 0x6E00 MOVWF R0
0x00FE 0x0E80 MOVLW 128
0x0100 0x182E XORWF FARG_d7s_t+1, 0
0x0102 0x5C00 SUBWF R0, 0
0x0104 0xE102 BNZ L__d7s33
0x0106 0x502D MOVF FARG_d7s_t, 0
0x0108 0x5C1B SUBWF _aux, 0
L__d7s33:
0x010A 0xE233 BC L_d7s13
;d7s.c,28 :: PORTD = mask(a);
0x010C 0xF02FC025 MOVFF FARG_d7s_a, FARG_mask_num
0x0110 0xDFB1 RCALL _mask
0x0112 0xFF83C000 MOVFF R0, PORTD
;d7s.c,29 :: porta.ra2 = 1; // ativa display 1
0x0116 0x8480 BSF PORTA, 2
;d7s.c,30 :: Delay_us(tempo);
0x0118 0x0EA6 MOVLW 166
0x011A 0x6E0D MOVWF R13, 0
L_d7s15:
0x011C 0x2E0D DECFSZ R13, 1, 0
0x011E 0xD7FE BRA L_d7s15
0x0120 0x0000 NOP
;d7s.c,31 :: porta.ra2 = 0; // desativa display 1
0x0122 0x9480 BCF PORTA, 2
;d7s.c,34 :: PORTD = mask(b);
0x0124 0xF02FC027 MOVFF FARG_d7s_b, FARG_mask_num
0x0128 0xDFA5 RCALL _mask
0x012A 0xFF83C000 MOVFF R0, PORTD
;d7s.c,35 :: porta.ra3 = 1; // ativa display 2
0x012E 0x8680 BSF PORTA, 3
;d7s.c,36 :: Delay_us(tempo);
0x0130 0x0EA6 MOVLW 166
0x0132 0x6E0D MOVWF R13, 0
L_d7s16:
0x0134 0x2E0D DECFSZ R13, 1, 0
0x0136 0xD7FE BRA L_d7s16
0x0138 0x0000 NOP
;d7s.c,37 :: porta.ra3 = 0; // desativa display 2
0x013A 0x9680 BCF PORTA, 3
;d7s.c,40 :: PORTD = mask(c);
0x013C 0xF02FC029 MOVFF FARG_d7s_c, FARG_mask_num
0x0140 0xDF99 RCALL _mask
0x0142 0xFF83C000 MOVFF R0, PORTD
;d7s.c,41 :: porta.ra4 = 1; // ativa display 3
0x0146 0x8880 BSF PORTA, 4
;d7s.c,42 :: Delay_us(tempo);
0x0148 0x0EA6 MOVLW 166
0x014A 0x6E0D MOVWF R13, 0
L_d7s17:
0x014C 0x2E0D DECFSZ R13, 1, 0
0x014E 0xD7FE BRA L_d7s17
0x0150 0x0000 NOP
;d7s.c,43 :: porta.ra4 = 0; // desativa display 3
0x0152 0x9880 BCF PORTA, 4
;d7s.c,46 :: PORTD = mask(d);
0x0154 0xF02FC02B MOVFF FARG_d7s_d, FARG_mask_num
0x0158 0xDF8D RCALL _mask
0x015A 0xFF83C000 MOVFF R0, PORTD
;d7s.c,47 :: porta.ra5 = 1; // ativa display 4
0x015E 0x8A80 BSF PORTA, 5
;d7s.c,48 :: Delay_us(tempo);
0x0160 0x0EA6 MOVLW 166
0x0162 0x6E0D MOVWF R13, 0
L_d7s18:
0x0164 0x2E0D DECFSZ R13, 1, 0
0x0166 0xD7FE BRA L_d7s18
0x0168 0x0000 NOP
;d7s.c,49 :: porta.ra5 = 0; // desativa display 4
0x016A 0x9A80 BCF PORTA, 5
;d7s.c,26 :: for (aux=1;aux<t;aux++){
0x016C 0x4A1B INFSNZ _aux, 1
0x016E 0x2A1C INCF _aux+1, 1
;d7s.c,50 :: }
0x0170 0xD7C3 BRA L_d7s12
L_d7s13:
;d7s.c,51 :: }
L_end_d7s:
0x0172 0x0012 RETURN 0
; end of _d7s
___CC2DW:
;__Lib_System.c,21 ::
;__Lib_System.c,23 ::
_CC2DL_Loop1:
;__Lib_System.c,24 ::
0x0174 0x0009 TBLRD*+
;__Lib_System.c,25 ::
0x0176 0xFFE6CFF5 MOVFF TABLAT, POSTINC1
;__Lib_System.c,26 ::
0x017A 0x0600 DECF R0, 1, 0
;__Lib_System.c,27 ::
0x017C 0xE1FB BNZ _CC2DL_Loop1
;__Lib_System.c,28 ::
0x017E 0x0601 DECF R1, 1, 0
;__Lib_System.c,29 ::
0x0180 0xE1F9 BNZ _CC2DL_Loop1
;__Lib_System.c,31 ::
L_end___CC2DW:
0x0182 0x0012 RETURN 0
; end of ___CC2DW
_Div_16x16_S:
;__Lib_Math.c,200 ::
;__Lib_Math.c,208 ::
0x0184 0x5004 MOVF R4, 0
0x0186 0x0A00 XORLW 0
0x0188 0xE108 BNZ L_Div_16x16_S0
;__Lib_Math.c,209 ::
0x018A 0x5005 MOVF R5, 0
0x018C 0x0A00 XORLW 0
0x018E 0xE105 BNZ L_Div_16x16_S1
;__Lib_Math.c,210 ::
0x0190 0x0EFF MOVLW 255
0x0192 0x6E00 MOVWF R0
;__Lib_Math.c,211 ::
0x0194 0x0E7F MOVLW 127
0x0196 0x6E01 MOVWF R1
;__Lib_Math.c,212 ::
0x0198 0xD057 BRA L_end_Div_16x16_S
;__Lib_Math.c,213 ::
L_Div_16x16_S1:
L_Div_16x16_S0:
;__Lib_Math.c,216 ::
0x019A 0x6A0D CLRF R13, 0
;__Lib_Math.c,217 ::
0x019C 0x6A09 CLRF R9, 0
;__Lib_Math.c,218 ::
0x019E 0x6A08 CLRF R8, 0
;__Lib_Math.c,219 ::
0x01A0 0x5001 MOVF R1, 0, 0
;__Lib_Math.c,220 ::
0x01A2 0x1000 IORWF R0, 0, 0
;__Lib_Math.c,221 ::
0x01A4 0xB4D8 BTFSC STATUS, 2, 0
;__Lib_Math.c,222 ::
0x01A6 0x0C00 RETLW 0
;__Lib_Math.c,224 ::
0x01A8 0x5001 MOVF R1, 0, 0
;__Lib_Math.c,225 ::
0x01AA 0x1805 XORWF R5, 0, 0
;__Lib_Math.c,226 ::
0x01AC 0x6E0A MOVWF R10, 0
;__Lib_Math.c,227 ::
0x01AE 0xBE0A BTFSC R10, 7, 0
;__Lib_Math.c,228 ::
0x01B0 0x1E0D COMF R13, 1, 0
;__Lib_Math.c,230 ::
0x01B2 0x6A0B CLRF R11, 0
;__Lib_Math.c,232 ::
0x01B4 0xAE05 BTFSS R5, 7, 0
;__Lib_Math.c,233 ::
0x01B6 0xD005 BRA $+12
;__Lib_Math.c,235 ::
0x01B8 0x1E04 COMF R4, 1, 0
;__Lib_Math.c,236 ::
0x01BA 0x1E05 COMF R5, 1, 0
;__Lib_Math.c,237 ::
0x01BC 0x2A04 INCF R4, 1, 0
;__Lib_Math.c,238 ::
0x01BE 0xB4D8 BTFSC STATUS, 2, 0
;__Lib_Math.c,239 ::
0x01C0 0x2A05 INCF R5, 1, 0
;__Lib_Math.c,241 ::
0x01C2 0xAE01 BTFSS R1, 7, 0
;__Lib_Math.c,242 ::
0x01C4 0xD005 BRA $+12
;__Lib_Math.c,244 ::
0x01C6 0x1E00 COMF R0, 1, 0
;__Lib_Math.c,245 ::
0x01C8 0x1E01 COMF R1, 1, 0
;__Lib_Math.c,246 ::
0x01CA 0x2A00 INCF R0, 1, 0
;__Lib_Math.c,247 ::
0x01CC 0xB4D8 BTFSC STATUS, 2, 0
;__Lib_Math.c,248 ::
0x01CE 0x2A01 INCF R1, 1, 0
;__Lib_Math.c,250 ::
0x01D0 0x5001 MOVF R1, 0, 0
;__Lib_Math.c,251 ::
0x01D2 0x1005 IORWF R5, 0, 0
;__Lib_Math.c,252 ::
0x01D4 0x6E0A MOVWF R10, 0
;__Lib_Math.c,253 ::
0x01D6 0xBE0A BTFSC R10, 7, 0
;__Lib_Math.c,254 ::
0x01D8 0xD010 BRA $+34
;__Lib_Math.c,256 ::
0x01DA 0xDF20 RCALL _Div_16x16_S_L
;__Lib_Math.c,258 ::
0x01DC 0xB00B BTFSC R11, 0, 0
;__Lib_Math.c,259 ::
0x01DE 0xD020 BRA $+66
;__Lib_Math.c,261 ::
0x01E0 0xAE0D BTFSS R13, 7, 0
;__Lib_Math.c,262 ::
0x01E2 0x0C00 RETLW 0
;__Lib_Math.c,264 ::
0x01E4 0x1E00 COMF R0, 1, 0
;__Lib_Math.c,265 ::
0x01E6 0x1E01 COMF R1, 1, 0
;__Lib_Math.c,266 ::
0x01E8 0x2A00 INCF R0, 1, 0
;__Lib_Math.c,267 ::
0x01EA 0xB4D8 BTFSC STATUS, 2, 0
;__Lib_Math.c,268 ::
0x01EC 0x2A01 INCF R1, 1, 0
;__Lib_Math.c,270 ::
0x01EE 0x1E08 COMF R8, 1, 0
;__Lib_Math.c,271 ::
0x01F0 0x1E09 COMF R9, 1, 0
;__Lib_Math.c,272 ::
0x01F2 0x2A08 INCF R8, 1, 0
;__Lib_Math.c,273 ::
0x01F4 0xB4D8 BTFSC STATUS, 2, 0
;__Lib_Math.c,274 ::
0x01F6 0x2A09 INCF R9, 1, 0
;__Lib_Math.c,276 ::
0x01F8 0x0C00 RETLW 0
;__Lib_Math.c,278 ::
0x01FA 0xAE05 BTFSS R5, 7, 0
;__Lib_Math.c,279 ::
0x01FC 0xD00D BRA $+28
;__Lib_Math.c,280 ::
0x01FE 0xBE01 BTFSC R1, 7, 0
;__Lib_Math.c,281 ::
0x0200 0xD007 BRA $+16
;__Lib_Math.c,282 ::
0x0202 0x5001 MOVF R1, 0, 0
;__Lib_Math.c,283 ::
0x0204 0x6E09 MOVWF R9, 0
;__Lib_Math.c,284 ::
0x0206 0x5000 MOVF R0, 0, 0
;__Lib_Math.c,285 ::
0x0208 0x6E08 MOVWF R8, 0
;__Lib_Math.c,286 ::
0x020A 0x6A01 CLRF R1, 0
;__Lib_Math.c,287 ::
0x020C 0x6A00 CLRF R0, 0
;__Lib_Math.c,288 ::
0x020E 0xD7E8 BRA $-46
;__Lib_Math.c,289 ::
0x0210 0x6A01 CLRF R1, 0
;__Lib_Math.c,290 ::
0x0212 0x6A00 CLRF R0, 0
;__Lib_Math.c,291 ::
0x0214 0x2A00 INCF R0, 1, 0
;__Lib_Math.c,292 ::
0x0216 0x0C00 RETLW 0
;__Lib_Math.c,294 ::
0x0218 0x1E01 COMF R1, 1, 0
;__Lib_Math.c,295 ::
0x021A 0x1E00 COMF R0, 1, 0
;__Lib_Math.c,296 ::
0x021C 0x2A0B INCF R11, 1, 0
;__Lib_Math.c,297 ::
0x021E 0xD7DD BRA $-68
;__Lib_Math.c,299 ::
0x0220 0x2A08 INCF R8, 1, 0
;__Lib_Math.c,300 ::
0x0222 0xB4D8 BTFSC STATUS, 2, 0
;__Lib_Math.c,301 ::
0x0224 0x2A09 INCF R9, 1, 0
;__Lib_Math.c,302 ::
0x0226 0x5004 MOVF R4, 0, 0
;__Lib_Math.c,303 ::
0x0228 0x5C08 SUBWF R8, 0, 0
;__Lib_Math.c,304 ::
0x022A 0xA4D8 BTFSS STATUS, 2, 0
;__Lib_Math.c,305 ::
0x022C 0xD7D9 BRA $-76
;__Lib_Math.c,306 ::
0x022E 0x5005 MOVF R5, 0, 0
;__Lib_Math.c,307 ::
0x0230 0x5C09 SUBWF R9, 0, 0
;__Lib_Math.c,308 ::
0x0232 0xA4D8 BTFSS STATUS, 2, 0
;__Lib_Math.c,309 ::
0x0234 0xD7D5 BRA $-84
;__Lib_Math.c,310 ::
0x0236 0x6A09 CLRF R9, 0
;__Lib_Math.c,311 ::
0x0238 0x6A08 CLRF R8, 0
;__Lib_Math.c,312 ::
0x023A 0x2A00 INCF R0, 1, 0
;__Lib_Math.c,313 ::
0x023C 0xB4D8 BTFSC STATUS, 2, 0
;__Lib_Math.c,314 ::
0x023E 0x2A01 INCF R1, 1, 0
;__Lib_Math.c,315 ::
0x0240 0xAE01 BTFSS R1, 7, 0
;__Lib_Math.c,316 ::
0x0242 0xD7CE BRA $-98
;__Lib_Math.c,317 ::
0x0244 0x0000 NOP
;__Lib_Math.c,318 ::
0x0246 0x0CFF RETLW 255
;__Lib_Math.c,320 ::
L_end_Div_16x16_S:
0x0248 0x0012 RETURN 0
; end of _Div_16x16_S
_main:
0x024A 0x0EE9 MOVLW 233
0x024C 0x6E15 MOVWF _t
0x024E 0x0E03 MOVLW 3
0x0250 0x6E16 MOVWF 22
;d7s.c,61 :: void main(void) {
;d7s.c,62 :: ADCON1 = 0X0F; // desabilita conversor A/D
0x0252 0x0E0F MOVLW 15
0x0254 0x6EC1 MOVWF ADCON1
;d7s.c,63 :: INTCON = 0; // desabilita interrupcoes
0x0256 0x6AF2 CLRF INTCON
;d7s.c,64 :: TRISA = 0; // configura portA como saida
0x0258 0x6A92 CLRF TRISA
;d7s.c,65 :: PORTA = 0;
0x025A 0x6A80 CLRF PORTA
;d7s.c,66 :: TRISD = 0; // configura portD como saida
0x025C 0x6A95 CLRF TRISD
;d7s.c,67 :: PORTD = 0;
0x025E 0x6A83 CLRF PORTD
;d7s.c,68 :: TRISB = 3;
0x0260 0x0E03 MOVLW 3
0x0262 0x6E93 MOVWF TRISB
;d7s.c,72 :: while(1){
L_main19:
;d7s.c,74 :: for(m=0;m<60;m++){
0x0264 0x6A1D CLRF _m
0x0266 0x6A1E CLRF _m+1
L_main21:
0x0268 0x0E80 MOVLW 128
0x026A 0x181E XORWF _m+1, 0
0x026C 0x6E00 MOVWF R0
0x026E 0x0E80 MOVLW 128
0x0270 0x5C00 SUBWF R0, 0
0x0272 0xE102 BNZ L__main35
0x0274 0x0E3C MOVLW 60
0x0276 0x5C1D SUBWF _m, 0
L__main35:
0x0278 0xB0D8 BTFSC STATUS, 0
0x027A 0xD079 BRA L_main22
;d7s.c,75 :: for(seg=0;seg<60;seg++){
0x027C 0x6A17 CLRF _seg
0x027E 0x6A18 CLRF _seg+1
L_main24:
0x0280 0x0E80 MOVLW 128
0x0282 0x1818 XORWF _seg+1, 0
0x0284 0x6E00 MOVWF R0
0x0286 0x0E80 MOVLW 128
0x0288 0x5C00 SUBWF R0, 0
0x028A 0xE102 BNZ L__main36
0x028C 0x0E3C MOVLW 60
0x028E 0x5C17 SUBWF _seg, 0
L__main36:
0x0290 0xE26B BC L_main25
;d7s.c,76 :: d1 = m/10;
0x0292 0x0E0A MOVLW 10
0x0294 0x6E04 MOVWF R4
0x0296 0x0E00 MOVLW 0
0x0298 0x6E05 MOVWF R5
0x029A 0xF000C01D MOVFF _m, R0
0x029E 0xF001C01E MOVFF _m+1, R1
0x02A2 0xDF70 RCALL _Div_16x16_S
0x02A4 0xF019C000 MOVFF R0, _d1
0x02A8 0xF01AC001 MOVFF R1, _d1+1
;d7s.c,77 :: d2 = m % 10;
0x02AC 0x0E0A MOVLW 10
0x02AE 0x6E04 MOVWF R4
0x02B0 0x0E00 MOVLW 0
0x02B2 0x6E05 MOVWF
R5
0x02B4 0xF000C01D MOVFF _m, R0
0x02B8 0xF001C01E MOVFF _m+1, R1
0x02BC 0xDF63 RCALL _Div_16x16_S
0x02BE 0xF000C008 MOVFF R8, R0
0x02C2 0xF001C009 MOVFF R9, R1
0x02C6 0xF021C000 MOVFF R0, _d2
0x02CA 0xF022C001 MOVFF R1, _d2+1
;d7s.c,78 :: d3 = seg/10;
0x02CE 0x0E0A MOVLW 10
0x02D0 0x6E04 MOVWF R4
0x02D2 0x0E00 MOVLW 0
0x02D4 0x6E05 MOVWF R5
0x02D6 0xF000C017 MOVFF _seg, R0
0x02DA 0xF001C018 MOVFF _seg+1, R1
0x02DE 0xDF52 RCALL _Div_16x16_S
0x02E0 0xF023C000 MOVFF R0, _d3
0x02E4 0xF024C001 MOVFF R1, _d3+1
;d7s.c,79 :: d4 = seg % 10;
0x02E8 0x0E0A MOVLW 10
0x02EA 0x6E04 MOVWF R4
0x02EC 0x0E00 MOVLW 0
0x02EE 0x6E05 MOVWF R5
0x02F0 0xF000C017 MOVFF _seg, R0
0x02F4 0xF001C018 MOVFF _seg+1, R1
0x02F8 0xDF45 RCALL _Div_16x16_S
0x02FA 0xF000C008 MOVFF R8, R0
0x02FE 0xF001C009 MOVFF R9, R1
0x0302 0xF01FC000 MOVFF R0, _d4
0x0306 0xF020C001 MOVFF R1, _d4+1
;d7s.c,80 :: d7s(d1,d2,d3,d4,t);
0x030A 0xF025C019 MOVFF _d1, FARG_d7s_a
0x030E 0xF026C01A MOVFF _d1+1, FARG_d7s_a+1
0x0312 0xF027C021 MOVFF _d2, FARG_d7s_b
0x0316 0xF028C022 MOVFF _d2+1, FARG_d7s_b+1
0x031A 0xF029C023 MOVFF _d3, FARG_d7s_c
0x031E 0xF02AC024 MOVFF _d3+1, FARG_d7s_c+1
0x0322 0xF02BC000 MOVFF R0, FARG_d7s_d
0x0326 0xF02CC001 MOVFF R1, FARG_d7s_d+1
0x032A 0xF02DC015 MOVFF _t, FARG_d7s_t
0x032E 0xF02EC016 MOVFF _t+1, FARG_d7s_t+1
0x0332 0xDEDE RCALL _d7s
;d7s.c,81 :: if (portb.b0 == 1)
0x0334 0xA081 BTFSS PORTB, 0
0x0336 0xD005 BRA L_main27
;d7s.c,82 :: t=1001;
0x0338 0x0EE9 MOVLW 233
0x033A 0x6E15 MOVWF _t
0x033C 0x0E03 MOVLW 3
0x033E 0x6E16 MOVWF _t+1
0x0340 0xD004 BRA L_main28
L_main27:
;d7s.c,84 :: t=101;;
0x0342 0x0E65 MOVLW 101
0x0344 0x6E15 MOVWF _t
0x0346 0x0E00 MOVLW 0
0x0348 0x6E16 MOVWF _t+1
L_main28:
;d7s.c,86 :: if (portb.b1 == 0){
0x034A 0xB281 BTFSC PORTB, 1
0x034C 0xD00A BRA L_main29
;d7s.c,87 :: m++;
0x034E 0x4A1D INFSNZ _m, 1
0x0350 0x2A1E INCF _m+1, 1
;d7s.c,88 :: if (m==60){
0x0352 0x0E00 MOVLW 0
0x0354 0x181E XORWF _m+1, 0
0x0356 0xE102 BNZ L__main37
0x0358 0x0E3C MOVLW 60
0x035A 0x181D XORWF _m, 0
L__main37:
0x035C 0xE102 BNZ L_main30
;d7s.c,89 :: m = 0;
0x035E 0x6A1D CLRF _m
0x0360 0x6A1E CLRF _m+1
;d7s.c,91 :: }
L_main30:
;d7s.c,92 :: }
L_main29:
;d7s.c,75 :: for(seg=0;seg<60;seg++){
0x0362 0x4A17 INFSNZ _seg, 1
0x0364 0x2A18 INCF _seg+1, 1
;d7s.c,94 :: }
0x0366 0xD78C BRA L_main24
L_main25:
;d7s.c,74 :: for(m=0;m<60;m++){
0x0368 0x4A1D INFSNZ _m, 1
0x036A 0x2A1E INCF _m+1, 1
;d7s.c,95 :: }
0x036C 0xD77D BRA L_main21
L_main22:
;d7s.c,96 :: }
0x036E 0xD77A BRA L_main19
;d7s.c,98 :: } // Fim do programa principal
L_end_main:
0x0370 0xD7FF BRA $+0
; end of _main
Symbol List:
//** Routines locations **
//ADDRESS SIZE PROCEDURE
//----------------------------------------------
0x001C [88] _Div_16x16_S_L
0x0074 [124] _mask
0x00F0 [132] _d7s
0x0174 [16] ___CC2DW
0x0184 [198] _Div_16x16_S
0x024A [296] _main
//** Variables locations **
//ADDRESS SIZE VARIABLE
//----------------------------------------------
0x0000 [1] R0
0x0000 [1] EEPROM_Write_SaveINTCON_L0
0x0000 [1] __Lib_SoftI2C_PutZerosToLATSda_temp_sda_L0
0x0000 [1] FLASH_Erase_64_SaveINTCON_L0
0x0000 [1] SPI1_Write_tmp_L0
0x0000 [1] UART1_Init_tmp_L0
0x0000 [1] __Lib_SoftI2C_PutZerosToLATScl_temp_scl_L0
0x0001 [2] FLASH_Read_N_Bytes_i_L0
0x0001 [1] __Lib_TFT_16bit_JPEG_FileReadBytes_Result_L0
0x0001 [1] R1
0x0001 [1] __Lib_TFT_JPEG_FileReadBytes_Result_L0
0x0001 [1] FLASH_Write_32_i_L0
0x0001 [1] ispunct_rslt_L0
0x0001 [1] __Lib_TFT_JPEG_FileRead_i_L0
0x0001 [1] UART1_Read___tmp_UART1_Read_L0
0x0001 [1] __Lib_PS2_Wait_Falling_nsample_L0
0x0001 [1] __Lib_TFT_16bit_JPEG_FileRead_i_L0
0x0001 [1] I2C1_Rd_tmp_L0
0x0001 [1] FLASH_Erase_Write_64_i_L0
0x0002 [2] memchr_s_L0
0x0002 [2] strlen_cp_L0
0x0002 [1] R2
0x0002 [1] __Lib_USB_genHID_USB_CtrlTrf_Rx_Service_byteToRead_L0
0x0002 [2] memcpy_dd_L0
0x0002 [1] FLASH_Erase_Write_64_j_L0
0x0002 [2] memset_pp_L0
0x0002 [2] __Lib_USB_genHID_memset_usb_int_pp_L0
0x0002 [1] FLASH_Write_32_SaveINTCON_L0
0x0002 [2] __Lib_USB_genHID_memset_usb_pp_L0
0x0003 [1] FLASH_Erase_Write_64_SaveINTCON_L0
0x0003 [2] MM_TotalFreeMemSize_Tot_L0
0x0003 [2] memmove_tt_L0
0x0003 [1] __Lib_USB_genHID_USB_CtrlTrf_Rx_Service_i_L0
0x0003 [2] __Lib_USB_genHID_USB_CtrlTrf_Tx_Service_byteToSend_L0
0x0003 [2] __Lib_MmcFat16_f16_toInt_l_L0
0x0003 [1] MM_Init_i_L0
0x0003 [2] Ltrim_original_L0
0x0003 [1] R3
0x0004 [2] __Lib_USB_genHID_USB_Std_Feature_Req_Handler_p_L0
0x0004 [2] strcat_cp_L0
0x0004 [1] R4
0x0004 [2] memcpy_ss_L0
0x0004 [2] strncat_cp_L0
0x0004 [2] __Lib_USB_genHID_USB_Transfer_Packet_handle_L0
0x0004 [2] __Lib_USB_genHID_USB_Transfer_Packet_Int_handle_L0
0x0004 [2] strcpy_cp_L0
0x0004 [2] frexp_pom_L0
0x0004 [2] __Lib_USB_genHID_USB_Get_Status_Handler_p_L2
0x0004 [2] __Lib_MemManager_MM_GetMemAlign_P_L0
0x0004 [2] strncpy_cp_L0
0x0005 [2] LongWordToHex_input_half_L0
0x0005 [2] LongIntToHex_input_half_L0
0x0005 [2] Ltrim_p_L0
0x0005 [2] memmove_ff_L0
0x0005 [2] __Lib_USB_genHID_USB_Configure_Endpoint_handle_L0
0x0005 [1] R5
0x0005 [1] MM_TotalFreeMemSize_i_L0
0x0006 [1] R6
0x0006 [1] __Lib_MemManager_MM_GetMemAlign_i_L0
0x0007 [1] R7
0x0007 [1] __Lib_TFT_16bit_JPEG_GenerateHuffmanTables_bLength_L0
0x0007 [1] __Lib_TFT_JPEG_GenerateHuffmanTables_bLength_L0
0x0008 [1] R8
0x0008 [1] __Lib_TFT_JPEG_GenerateHuffmanTables_bTable_L0
0x0008 [1] __Lib_TFT_16bit_JPEG_GenerateHuffmanTables_bTable_L0
0x0009 [1] R9
0x0009 [4] __Lib_MmcFat16_f16_toLong_l_L0
0x000A [1] R10
0x000B [1] R11
0x000C [1] R12
0x000D [1] R13
0x000E [1] R14
0x000F [1] R15
0x0010 [1] R16
0x0011 [1] R17
0x0012 [1] R18
0x0013 [1] R19
0x0014 [1] R20
0x0015 [2] _t
0x0017 [2] _seg
0x0019 [2] _d1
0x001B [2] _aux
0x001D [2] _m
0x001F [2] _d4
0x0021 [2] _d2
0x0023 [2] _d3
0x0025 [2] FARG_d7s_a
0x0027 [2] FARG_d7s_b
0x0029 [2] FARG_d7s_c
0x002B [2] FARG_d7s_d
0x002D [2] FARG_d7s_t
0x002F [1] FARG_mask_num
0x0F80 [1] PORTA
0x0F81 [1] PORTB
0x0F83 [1] PORTD
0x0F92 [1] TRISA
0x0F93 [1] TRISB
0x0F95 [1] TRISD
0x0FC1 [1] ADCON1
0x0FD8 [1] STATUS
0x0FD9 [1] FSR2L
0x0FDA [1] FSR2H
0x0FDE [1] POSTINC2
0x0FE0 [1] BSR
0x0FE1 [1]
FSR1L
0x0FE2 [1] FSR1H
0x0FE4 [1] PREINC1
0x0FE6 [1] POSTINC1
0x0FE7 [1] INDF1
0x0FE8 [1] WREG
0x0FE9 [1] FSR0L
0x0FEA [1] FSR0H
0x0FEE [1] POSTINC0
0x0FF2 [1] INTCON
0x0FF3 [1] PRODL
0x0FF4 [1] PRODH
0x0FF5 [1] TABLAT
0x0FF6 [1] TBLPTRL
0x0FF7 [1] TBLPTRH
0x0FF8 [1] TBLPTRU
//** Label List: **
//----------------------------------------------
L_mask0
L_mask1
L_mask2
L_mask3
L_mask4
L_mask5
L_mask6
L_mask7
L_mask8
L_mask9
L_mask10
L_mask11
L_d7s12
L_d7s13
L_d7s14
L_d7s15
L_d7s16
L_d7s17
L_d7s18
L_main19
L_main20
L_main21
L_main22
L_main23
L_main24
L_main25
L_main26
L_main27
L_main28
L_main29
L_main30
L_end_mask
_mask
L_end_d7s
_d7s
L__d7s33
L_end_main
_main
L__main35
L__main36
L__main37
L_Div_16x16_S0
L_Div_16x16_S1
LOOPS3232A
SADD22LA
SOK22LA
SADD22L8
SOK22L8
LOOPS3232B
SADD22LB
SOK22LB
SADD22L16
SOK22L16
LOOPS3232C
SADD22LC
SOK22LC
SADD22L24
SOK22L24
LOOPS3232D
SADD22LD
SOK22LD
SOK22L
L_Div_32x32_S6
L_Div_32x32_S7
L_Div_32x32_S8
L_Div_32x32_S9
FXD3232S
END_ALL
CA3232S
C3232SX
C3232SX1
C3232S
C3232S2
C3232SX4
C3232SOK
C3232SX3
C3232SX2
avoid_comfrem
LOOPU3232A
UADD22LA
UOK22LA
UADD22L8
UOK22L8
LOOPU3232B
UADD22LB
UOK22LB
UADD22L16
UOK22L16
LOOPU3232C
UADD22LC
UOK22LC
UADD22L24
UOK22L24
LOOPU3232D
UADD22LD
UOK22LD
UOK22L
_NEXT
_EXIT2
_LOOP
_EXIT1
_IF_FIRST
_IF_SECOND
_INVERCE_FIRST
_MULT
_INBERSE_SECOND
_EXIT
L_end_Div_8x8_U
_Div_8x8_U
L_end_Div_16x16_U
_Div_16x16_U
L_end_Div_16x16_S_L
_Div_16x16_S_L
L_end_Div_16x16_S
_Div_16x16_S
L_end_Div_8x8_S
_Div_8x8_S
L_end_Mul_8x8_S
_Mul_8x8_S
L_end_Mul_16x16_U
_Mul_16x16_U
L_end_Mul_16x16_S
_Mul_16x16_S
L_end_SDIV3232L
_SDIV3232L
L_end_COMFREM
_COMFREM
L_end_Div_32x32_S
_Div_32x32_S
L_end_Div_32x32_U
_Div_32x32_U
L_end_Mul_32x32_U
_Mul_32x32_U
L_end_Mul_32x32_S
_Mul_32x32_S
_CC2D_Loop1
_CC2DL_Loop1
L_loopCA2AWs
L_loopCCA2AWs
L_loopCS2Ss
L_CS2Send
L_loopCCS2Ss
L_CCS2Send
L_loopFZinSWs
L_longjmp7
L_end___CC2D
___CC2D
L_end___CC2DW
___CC2DW
L_end___CA2AW
___CA2AW
L_end___CCA2AW
___CCA2AW
L_end___CS2S
___CS2S
L_end___CCS2S
___CCS2S
L_end___FZinS
___FZinS
L_end_____DoIFC
_____DoIFC
L_end_Swap
_Swap
L_end_setjmp
_setjmp
L_end_longjmp
_longjmp
d7s/d7s.mcl
d7s/d7s.mcppi
[DEVICE]
Name=P18F4550
Clock=8000000
[MEMORY_MODEL]
Value=-1
[BUILD_TYPE]
Value=0
[ACTIVE_TAB]
Value=d7s.c
[USE_EEPROM]
Value=0
[USE_HEAP]
Value=0
[HEAP_SIZE]
Value=0
[EEPROM_DEFINITION]
Value=
[FILES]
Count=1
File0=d7s.c
[BINARIES]
Count=0
[IMAGES]
Count=0
ActiveImageIndex=-1
[OPENED_FILES]
Count=1
File0=d7s.c
[EEPROM]
Count=0
[ACTIVE_COMMENTS_FILES]
Count=0
[OTHER_FILES]
Count=0
[SEARCH_PATH]
Count=3
Path0=C:\Program Files (x86)\mikroC PRO for PIC\defs\
Path1=C:\Program Files (x86)\mikroC PRO for PIC\uses\P18\
Path2=C:\Users\Aluno\Documents\d7s\
[HEADER_PATH]
Count=0
[HEADERS]
Count=0
[PLDS]
Count=0
[Useses]
Count=53
File0=ADC
File1=Button
File2=CAN_SPI
File3=Compact_Flash
File4=Compact_Flash_FAT16
File5=Conversions
File6=C_Math
File7=C_Stdlib
File8=C_String
File9=C_Type
File10=EEPROM
File11=EPSON_S1D13700
File12=FLASH
File13=Glcd
File14=Glcd_Fonts
File15=I2C
File16=Keypad4x4
File17=Lcd
File18=Lcd_Constants
File19=Manchester
File20=MemManager
File21=Mmc
File22=Mmc_FAT16
File23=Mmc_Fat16_Config
File24=One_Wire
File25=Port_Expander
File26=PrintOut
File27=PS2
File28=PWM
File29=RS485
File30=Software_I2C
File31=Software_SPI
File32=Software_UART
File33=Sound
File34=SPI
File35=SPI_Ethernet
File36=SPI_Ethernet_24j600
File37=SPI_Glcd
File38=SPI_Lcd
File39=SPI_Lcd8
File40=SPI_T6963C
File41=Sprintf
File42=Sprinti
File43=Sprintl
File44=T6963C
File45=TFT
File46=TFT_16bit
File47=TFT_TouchPanel
File48=Time
File49=TouchPanel
File50=Trigonometry
File51=UART
File52=USB
[EXPANDED NODES]
Node1=Sources
Count=1
d7s/d7s.mcppi_callertable.txt
main
__CC2DW
Div_16x16_S
Div_16x16_S_L
d7s
mask
d7s/d7s.pdf
//
Sistemas
Embarcados
//Rodrigo
Reviglio
Weishaupt
//201020656
//
Pratica
Display
7
segmentos
#define
tempo
250
//
define
o
tempo
de
acendimento
do
display
em
ms
//
Funcao
para
converter
de
valor
numerico
decimal
para
codigo
7
segmentos
unsigned
short
mask(unsigned
short
num)
{
switch
(num)
{
case
0
:
return
0x3F;
case
1
:
return
0x06;
case
2
:
return
0x5B;
case
3
:
return
0x4F;
case
4
:
return
0x66;
case
5
:
return
0x6D;
case
6
:
return
0x7D;
case
7
:
return
0x07;
case
8
:
return
0x7F;
case
9
:
return
0x6F;
}
}
int
aux;
void
d7s(int
a,int
b,int
c,int
d,int
t)
{
for
(aux=1;aux<t;aux++){
//
escreve
valor
do
digito
1
no
display
1
em
codigo
7
segmentos
PORTD
=
mask(a);
porta.ra2
=
1;
//
ativa
display
1
Delay_us(tempo);
porta.ra2
=
0;
//
desativa
display
1
//
escreve
valor
do
digito
2
no
display
2
em
codigo
7
segmentos
PORTD
=
mask(b);
porta.ra3
=
1;
//
ativa
display
2
Delay_us(tempo);
porta.ra3
=
0;
//
desativa
display
2
//
escreve
valor
do
digito
3
no
display
3
em
codigo
7
segmentos
PORTD
=
mask(c);
porta.ra4
=
1;
//
ativa
display
3
Delay_us(tempo);
porta.ra4
=
0;
//
desativa
display
3
//
escreve
valor
do
digito
4
no
display
4
em
codigo
7
segmentos
PORTD
=
mask(d);
porta.ra5
=
1;
//
ativa
display
4
Delay_us(tempo);
porta.ra5
=
0;
//
desativa
display
4
}
}
int
seg;
int
m;
int
d1;
int
d2;
int
d3;
int
d4;
int
t=1001;
void
main(void)
{
ADCON1
=
0X0F;
//
desabilita
conversor
A/D
INTCON
=
0;
//
desabilita
interrupcoes
TRISA
=
0;
//
configura
portA
como
saida
PORTA
=
0;
//
seta
valor
inicial
para
zero
TRISD
=
0;
//
configura
portD
como
saida
PORTD
=
0;
//
seta
valor
inicial
para
zero
TRISB
=
3;
//
seta
rb0
e
rb1
como
portas
de
entrada
while(1){
for(m=0;m<60;m++){
for(seg=0;seg<60;seg++){
d1
=
m/10;
//
parte
inteira
da
divisao
dos
minutos
define
o
primeiro
digito
dos
minutos
no
display
d2
=
m
%
10;
//
resto
da
divisao
dos
minutos
define
o
segundo
digito
dos
minutos
no
display
d3
=
seg/10;
//
parte
inteira
da
divisao
dos
segundos
define
o
primeiro
digito
dos
segundos
no
display
d4
=
seg
%
10;
//
resto
da
divisao
dos
segundos
define
o
primeiro
digito
dos
segundos
no
display
d7s(d1,d2,d3,d4,t);
//
escreve
os
quatro
digitos
em
seus
respectivos
displays
if
(portb.b0
==
1)
t=1001;
//
em
operacao
normal,
os
segundos
incrementam
com
taxa
de
1
segundo
else
t=101;
//
quando
ajustando
o
relogio,
os
segundos
sao
incrementados
10x
mais
rapido
if
(portb.b1
==
0){
//
enquanto
o
botao
rb1
e
apertado,
m++;
if
(m==60){
m
=
0;
}
}
}
}
}
}
//
Fim
do
programa
principal
d7s/d7s.user.dic
Morse/Morse.asm
_ponto:
;Morse.c,8 :: void ponto(){
;Morse.c,9 :: portd = 255;
MOVLW 255
MOVWF PORTD+0
;Morse.c,10 :: delay_ms(250);
MOVLW 3
MOVWF R11, 0
MOVLW 138
MOVWF R12, 0
MOVLW 85
MOVWF R13, 0
L_ponto0:
DECFSZ R13, 1, 1
BRA L_ponto0
DECFSZ R12, 1, 1
BRA L_ponto0
DECFSZ R11, 1, 1
BRA L_ponto0
NOP
NOP
;Morse.c,11 ::
portd = 0;
CLRF PORTD+0
;Morse.c,12 :: delay_ms(200);
MOVLW 3
MOVWF R11, 0
MOVLW 8
MOVWF R12, 0
MOVLW 119
MOVWF R13, 0
L_ponto1:
DECFSZ R13, 1, 1
BRA L_ponto1
DECFSZ R12, 1, 1
BRA L_ponto1
DECFSZ R11, 1, 1
BRA L_ponto1
;Morse.c,13 :: }
L_end_ponto:
RETURN 0
; end of _ponto
_traco:
;Morse.c,15 :: void traco(){
;Morse.c,16 :: portd = 255;
MOVLW 255
MOVWF PORTD+0
;Morse.c,17 :: delay_ms(1000);
MOVLW 11
MOVWF R11, 0
MOVLW 38
MOVWF R12, 0
MOVLW 93
MOVWF R13, 0
L_traco2:
DECFSZ R13, 1, 1
BRA L_traco2
DECFSZ R12, 1, 1
BRA L_traco2
DECFSZ R11, 1, 1
BRA L_traco2
NOP
NOP
;Morse.c,18 :: portd = 0;
CLRF PORTD+0
;Morse.c,19 :: delay_ms(200);
MOVLW 3
MOVWF R11, 0
MOVLW 8
MOVWF R12, 0
MOVLW 119
MOVWF R13, 0
L_traco3:
DECFSZ R13, 1, 1
BRA L_traco3
DECFSZ R12, 1, 1
BRA L_traco3
DECFSZ R11, 1, 1
BRA L_traco3
;Morse.c,20 :: }
L_end_traco:
RETURN 0
; end of _traco
_fdc:
;Morse.c,22 :: void fdc(){
;Morse.c,23 :: delay_ms(1000);
MOVLW 11
MOVWF R11, 0
MOVLW 38
MOVWF R12, 0
MOVLW 93
MOVWF R13, 0
L_fdc4:
DECFSZ R13, 1, 1
BRA L_fdc4
DECFSZ R12, 1, 1
BRA L_fdc4
DECFSZ R11, 1, 1
BRA L_fdc4
NOP
NOP
;Morse.c,24 :: }
L_end_fdc:
RETURN 0
; end of _fdc
_main:
;Morse.c,27 :: void main() {
;Morse.c,29 :: trisb = 3; //rb1 e rb0 definidos como entrada
MOVLW 3
MOVWF TRISB+0
;Morse.c,30 :: trisd = 0; //rd0 a rd7 definidos como saida
CLRF TRISD+0
;Morse.c,32 :: while(1){
L_main5:
;Morse.c,34 :: while(portb.b0 == 0){
L_main7:
BTFSC PORTB+0, 0
GOTO L_main8
;Morse.c,37 :: ponto();
CALL _ponto+0, 0
;Morse.c,38 :: traco();
CALL _traco+0, 0
;Morse.c,39 :: ponto();
CALL _ponto+0, 0
;Morse.c,40 :: fdc();
CALL _fdc+0, 0
;Morse.c,43 :: ponto();
CALL _ponto+0, 0
;Morse.c,44 :: traco();
CALL _traco+0, 0
;Morse.c,45 :: ponto();
CALL _ponto+0, 0
;Morse.c,46 :: fdc();
CALL _fdc+0, 0
;Morse.c,49 :: ponto();
CALL _ponto+0, 0
;Morse.c,50 :: traco();
CALL _traco+0, 0
;Morse.c,51 :: traco();
CALL _traco+0, 0
;Morse.c,52 :: fdc();
CALL _fdc+0, 0
;Morse.c,53 :: }
GOTO L_main7
L_main8:
;Morse.c,56 :: while(portb.b1 == 0){
L_main9:
BTFSC PORTB+0, 1
GOTO L_main10
;Morse.c,58 :: ponto();
CALL _ponto+0, 0
;Morse.c,59 :: ponto();
CALL _ponto+0, 0
;Morse.c,60 :: traco();
CALL _traco+0, 0
;Morse.c,61 :: traco();
CALL _traco+0, 0
;Morse.c,62 :: traco();
CALL _traco+0, 0
;Morse.c,63 :: fdc();
CALL _fdc+0, 0
;Morse.c,66 :: traco();
CALL _traco+0, 0
;Morse.c,67 :: traco();
CALL _traco+0, 0
;Morse.c,68 :: traco();
CALL _traco+0, 0
;Morse.c,69 :: traco();
CALL _traco+0, 0
;Morse.c,70 :: traco();
CALL _traco+0, 0
;Morse.c,71 :: fdc();
CALL _fdc+0, 0
;Morse.c,74 :: ponto();
CALL _ponto+0, 0
;Morse.c,75 :: traco();
CALL _traco+0, 0
;Morse.c,76 :: traco();
CALL _traco+0, 0
;Morse.c,77 :: traco();
CALL _traco+0, 0
;Morse.c,78 :: traco();
CALL _traco+0, 0
;Morse.c,79 :: fdc();
CALL _fdc+0, 0
;Morse.c,82 :: traco();
CALL _traco+0, 0
;Morse.c,83 :: traco();
CALL _traco+0, 0
;Morse.c,84 :: traco();
CALL _traco+0, 0
;Morse.c,85 :: traco();
CALL _traco+0, 0
;Morse.c,86 :: traco();
CALL _traco+0, 0
;Morse.c,87 :: fdc();
CALL _fdc+0, 0
;Morse.c,90 :: ponto();
CALL _ponto+0, 0
;Morse.c,91 :: ponto();
CALL _ponto+0, 0
;Morse.c,92 :: traco();
CALL _traco+0, 0
;Morse.c,93 :: traco();
CALL _traco+0, 0
;Morse.c,94 :: traco();
CALL _traco+0, 0
;Morse.c,95 :: fdc();
CALL _fdc+0, 0
;Morse.c,98 :: traco();
CALL _traco+0, 0
;Morse.c,99 :: traco();
CALL _traco+0, 0
;Morse.c,100 :: traco();
CALL _traco+0, 0
;Morse.c,101 :: traco();
CALL _traco+0, 0
;Morse.c,102 :: traco();
CALL _traco+0, 0
;Morse.c,103 :: fdc();
CALL _fdc+0, 0
;Morse.c,106 :: traco();
CALL _traco+0, 0
;Morse.c,107 :: ponto();
CALL _ponto+0, 0
;Morse.c,108 :: ponto();
CALL _ponto+0, 0
;Morse.c,109 :: ponto();
CALL _ponto+0, 0
;Morse.c,110 :: ponto();
CALL _ponto+0, 0
;Morse.c,111 :: fdc();
CALL _fdc+0, 0
;Morse.c,114 :: ponto();
CALL _ponto+0, 0
;Morse.c,115 :: ponto();
CALL _ponto+0, 0
;Morse.c,116 :: ponto();
CALL _ponto+0, 0
;Morse.c,117 :: ponto();
CALL _ponto+0, 0
;Morse.c,118 :: ponto();
CALL _ponto+0, 0
;Morse.c,119 :: fdc();
CALL _fdc+0, 0
;Morse.c,122 :: traco();
CALL _traco+0, 0
;Morse.c,123 :: ponto();
CALL _ponto+0, 0
;Morse.c,124 :: ponto();
CALL _ponto+0, 0
;Morse.c,125 :: ponto();
CALL _ponto+0, 0
;Morse.c,126 :: ponto();
CALL _ponto+0, 0
;Morse.c,127 :: fdc();
CALL _fdc+0, 0
;Morse.c,129 :: }
GOTO L_main9
L_main10:
;Morse.c,131 :: }
GOTO L_main5
;Morse.c,132 :: }
L_end_main:
GOTO $+0
; end of _main
Morse/Morse.c
// Sistemas Embarcados
//Rodrigo Reviglio Weishaupt
//201020656
//Codigo Morse - Pratica 01
// funcao ponto
void ponto(){
portd = 255;
delay_ms(250);
portd = 0;
delay_ms(200);
}
//funcao traco
void traco(){
portd = 255;
delay_ms(1000);
portd = 0;
delay_ms(200);
}
//funcao fim de caractere
void fdc(){
delay_ms(1000);
}
void main() {
//definicao de pinos
trisb = 3; //rb1 e rb0 definidos como entrada
trisd = 0; //rd0 a rd7 definidos como saida
while(1){
//Iniciais
while(portb.b0 == 0){
// R
ponto();
traco();
ponto();
fdc();
// R
ponto();
traco();
ponto();
fdc();
// W
ponto();
traco();
traco();
fdc();
}
//numero de matricula
while(portb.b1 == 0){
// 2
ponto();
ponto();
traco();
traco();
traco();
fdc();
// 0
traco();
traco();
traco();
traco();
traco();
fdc();
// 1
ponto();
traco();
traco();
traco();
traco();
fdc();
// 0
traco();
traco();
traco();
traco();
traco();
fdc();
// 2
ponto();
ponto();
traco();
traco();
traco();
fdc();
// 0
traco();
traco();
traco();
traco();
traco();
fdc();
// 6
traco();
ponto();
ponto();
ponto();
ponto();
fdc();
// 5
ponto();
ponto();
ponto();
ponto();
ponto();
fdc();
// 6
traco();
ponto();
ponto();
ponto();
ponto();
fdc();
}
}
}
Morse/Morse.cfg
P18F4550
12
$300000:$0001
$300001:$000C
$300002:$001F
$300003:$001E
$300005:$0081
$300006:$0081
$300008:$000F
$300009:$00C0
$30000A:$000F
$30000B:$00E0
$30000C:$000F
$30000D:$0040
Morse/Morse.cp
#line 1 "C:/Users/Aluno/Desktop/Morse/Morse.c"
void ponto(){
portd = 255;
delay_ms(250);
portd = 0;
delay_ms(200);
}
void traco(){
portd = 255;
delay_ms(1000);
portd = 0;
delay_ms(200);
}
void fdc(){
delay_ms(1000);
}
void main() {
trisb = 3;
trisd = 0;
while(1){
while(portb.b0 == 0){
ponto();
traco();
ponto();
fdc();
ponto();
traco();
ponto();
fdc();
ponto();
traco();
traco();
fdc();
}
while(portb.b1 == 0){
ponto();
ponto();
traco();
traco();
traco();
fdc();
traco();
traco();
traco();
traco();
traco();
fdc();
ponto();
traco();
traco();
traco();
traco();
fdc();
traco();
traco();
traco();
traco();
traco();
fdc();
ponto();
ponto();
traco();
traco();
traco();
fdc();
traco();
traco();
traco();
traco();
traco();
fdc();
traco();
ponto();
ponto();
ponto();
ponto();
fdc();
ponto();
ponto();
ponto();
ponto();
ponto();
fdc();
traco();
ponto();
ponto();
ponto();
ponto();
fdc();
}
}
}
Morse/Morse.dbg
Morse/Morse.dct
______
____doifc
___boot_delay128k
___boot_delay12k
___boot_delay16k
___boot_delay24k
___boot_delay32k
___boot_delay48k
___boot_delay4k
___boot_delay64k
___boot_delay8k
___mdb4
___mdb5
___mdb6
___mdb7
___menable
___mrs
__ca2aw
__cc2d
__cc2dw
__cca2aw
__ccs2s
__cs2s
__f16_errno
__flash_size
__fzins
__low_savebsr
__low_savestatus
__low_savewreg
__ps2_caps
__ps2_num
__ps2_scroll
__ps2_shift
__spi_lcd8_db0
__spi_lcd8_db1
__spi_lcd8_db2
__spi_lcd8_db3
__spi_lcd8_db4
__spi_lcd8_db5
__spi_lcd8_db6
__spi_lcd8_db7
__spi_lcd8_enable
__spi_lcd8_rs
__spi_lcd8_rw
_canspi_config_all_msg
_canspi_config_all_valid_msg
_canspi_config_dbl_buffer_bit
_canspi_config_dbl_buffer_off
_canspi_config_dbl_buffer_on
_canspi_config_default
_canspi_config_line_filter_bit
_canspi_config_line_filter_off
_canspi_config_line_filter_on
_canspi_config_msg_bits
_canspi_config_msg_type_bit
_canspi_config_phseg2_prg_bit
_canspi_config_phseg2_prg_off
_canspi_config_phseg2_prg_on
_canspi_config_sample_bit
_canspi_config_sample_once
_canspi_config_sample_thrice
_canspi_config_std_msg
_canspi_config_valid_std_msg
_canspi_config_valid_xtd_msg
_canspi_config_xtd_msg
_canspi_filter_b1_f1
_canspi_filter_b1_f2
_canspi_filter_b2_f1
_canspi_filter_b2_f2
_canspi_filter_b2_f3
_canspi_filter_b2_f4
_canspi_mask_b1
_canspi_mask_b2
_canspi_mode_bits
_canspi_mode_config
_canspi_mode_listen
_canspi_mode_loop
_canspi_mode_normal
_canspi_mode_sleep
_canspi_rx_dbl_buffered
_canspi_rx_filter_1
_canspi_rx_filter_2
_canspi_rx_filter_3
_canspi_rx_filter_4
_canspi_rx_filter_5
_canspi_rx_filter_6
_canspi_rx_filter_bits
_canspi_rx_invalid_msg
_canspi_rx_overflow
_canspi_rx_rtr_frame
_canspi_rx_xtd_frame
_canspi_tx_frame_bit
_canspi_tx_no_rtr_frame
_canspi_tx_priority_0
_canspi_tx_priority_1
_canspi_tx_priority_2
_canspi_tx_priority_3
_canspi_tx_priority_bits
_canspi_tx_rtr_bit
_canspi_tx_rtr_frame
_canspi_tx_std_frame
_canspi_tx_xtd_frame
_cf_command
_cf_cyl_hi
_cf_cyl_lo
_cf_data
_cf_error
_cf_features
_cf_head
_cf_identify_cmd
_cf_read_sec_cmd
_cf_sec_cnt
_cf_sec_num
_cf_status
_cf_write_sec_cmd
_ch
_command
_doprntf
_doprnti
_doprntl
_doprntout
_flash_erase
_flash_write_latch
_glcd_horizontal
_glcd_vertical
_i2c_ack
_i2c_nack
_lcd_blink_cursor_on
_lcd_clear
_lcd_cursor_off
_lcd_first_row
_lcd_fourth_row
_lcd_move_cursor_left
_lcd_move_cursor_right
_lcd_return_home
_lcd_second_row
_lcd_shift_left
_lcd_shift_right
_lcd_third_row
_lcd_turn_off
_lcd_turn_on
_lcd_underline_on
_rs485_start_byte
_rs485_stop_byte
_s1d13700_horizontal
_s1d13700_vertical
_sin_deg
_spi_clk_idle_high
_spi_clk_idle_low
_spi_data_sample_end
_spi_data_sample_middle
_spi_ethernet_24j600_broadcast
_spi_ethernet_24j600_crc
_spi_ethernet_24j600_multicast
_spi_ethernet_24j600_unicast
_spi_ethernet_broadcast
_spi_ethernet_crc
_spi_ethernet_multicast
_spi_ethernet_unicast
_spi_glcd_horizontal
_spi_glcd_vertical
_spi_high_2_low
_spi_low_2_high
_spi_master_osc_div16
_spi_master_osc_div4
_spi_master_osc_div64
_spi_master_tmr2
_spi_slave_ss_dis
_spi_slave_ss_enable
_spi_t6963c_horizontal
_spi_t6963c_vertical
_t6963c_horizontal
_t6963c_vertical
a
abchannelhsampfactor
abchannelhuffactablemap
abchannelhuffdctablemap
abchannelmap
abchannelquanttablemap
abchanneltype
abchannelvsampfactor
abdatabuffer
abden
abden_bit
abdovf
abdovf_bit
abhuffacsymbol
abhuffacsymlen
abhuffdcsymbol
abhuffdcsymlen
abs
access
ackdt
ackdt_bit
acken
acken_bit
ackstat
ackstat_bit
acos
acqt0
acqt0_bit
acqt1
acqt1_bit
acqt2
acqt2_bit
actvie
actvie_bit
actvif
actvif_bit
adc_get_sample
adc_get_sample_ptr
adc_init
adc_read
adcon0
adcon1
adcon2
adcs0
adcs0_bit
adcs1
adcs1_bit
adcs2
adcs2_bit
add_32x32_fp
adden
adden_bit
addr0
addr0_bit
addr0_uaddr_bit
addr1
addr1_bit
addr1_uaddr_bit
addr2
addr2_bit
addr2_uaddr_bit
addr3
addr3_bit
addr3_uaddr_bit
addr4
addr4_bit
addr5
addr5_bit
addr6
addr6_bit
aden
aden_bit
adfm
adfm_bit
adie
adie_bit
adif
adif_bit
adip
adip_bit
adon
adon_bit
adres
adresh
adresl
an0
an0_bit
an1
an1_bit
an2
an2_bit
an3
an3_bit
an4
an4_bit
asin
asoneblock
asprevdcvalue
atan
atan2
atof
atoi
atol
awhuffacsymstart
awhuffdcsymstart
awquanttable
b0
b1
b2
b3
b4
b5
b6
b7
banked
baudcon
baudctl
bbitsavailable
bblocksinonepass
bcd2dec
bcd2dec16
bchannels
bclie
bclie_bit
bclif
bclif_bit
bclip
bclip_bit
bdatabits
berror
bf
bf_bit
bfirstbit
bgst
bgst_bit
bhufftables
bljfif
blquantuses16bits
bmajorrev
bminorrev
bor
bor_bit
brg16
brg16_bit
brgh
brgh_bit
bsr
bsubsampletype
btoee
btoee_bit
btoef
btoef_bit
btsee
btsee_bit
btsef
btsef_bit
button
byte2double
bytetohex
bytetostr
c
c_bit
c1inv
c1inv_bit
c1out
c1out_bit
c2inv
c2inv_bit
c2out
c2out_bit
canspigetoperationmode
canspiinitialize
canspiread
canspisetbaudrate
canspisetfilter
canspisetmask
canspisetoperationmode
canspiwrite
ccp1
ccp1_bit
ccp1as
ccp1con
ccp1del
ccp1ie
ccp1ie_bit
ccp1if
ccp1if_bit
ccp1ip
ccp1ip_bit
ccp1m0
ccp1m0_bit
ccp1m1
ccp1m1_bit
ccp1m2
ccp1m2_bit
ccp1m3
ccp1m3_bit
ccp2con
ccp2ie
ccp2ie_bit
ccp2if
ccp2if_bit
ccp2ip
ccp2ip_bit
ccp2m0
ccp2m0_bit
ccp2m1
ccp2m1_bit
ccp2m2
ccp2m2_bit
ccp2m3
ccp2m3_bit
ccpr1
ccpr1h
ccpr1l
ccpr2
ccpr2h
ccpr2l
ceil
cf_detect
cf_disable
cf_enable
cf_fat_append
cf_fat_assign
cf_fat_delete
cf_fat_get_file_date
cf_fat_get_file_date_modified
cf_fat_get_file_size
cf_fat_get_swap_file
cf_fat_init
cf_fat_quickformat
cf_fat_read
cf_fat_reset
cf_fat_rewrite
cf_fat_set_file_date
cf_fat_write
cf_init
cf_issue_id_command
cf_read_byte
cf_read_init
cf_read_sector
cf_write_byte
cf_write_init
cf_write_sector
cfgs
cfgs_bit
character8x7
chs0
chs0_bit
chs1
chs1_bit
chs2
chs2_bit
chs3
chs3_bit
cis
cis_bit
ck
ck_bit
ck1spp
ck1spp_bit
ck2spp
ck2spp_bit
cke
cke_bit
ckp
ckp_bit
cl_aqua
cl_aqua_16bit
cl_black
cl_black_16bit
cl_blue
cl_blue_16bit
cl_fuchsia
cl_fuchsia_16bit
cl_gray
cl_gray_16bit
cl_green
cl_green_16bit
cl_lime
cl_lime_16bit
cl_maroon
cl_maroon_16bit
cl_navy
cl_navy_16bit
cl_olive
cl_olive_16bit
cl_purple
cl_purple_16bit
cl_red
cl_red_16bit
cl_silver
cl_silver_16bit
cl_teal
cl_teal_16bit
cl_white
cl_white_16bit
cl_yellow
cl_yellow_16bit
clk1en
clk1en_bit
clkcfg0
clkcfg0_bit
clkcfg1
clkcfg1_bit
cm0
cm0_bit
cm1
cm1_bit
cm2
cm2_bit
cmcon
cmie
cmie_bit
cmif
cmif_bit
cmip
cmip_bit
comfrem
compare_double
cos
cose3
cosh
cr
crc16ee
crc16ee_bit
crc16ef
crc16ef_bit
crc5ee
crc5ee_bit
crc5ef
crc5ef_bit
cren
cren_bit
crlf
csen
csen_bit
csrc
csrc_bit
cvr0
cvr0_bit
cvr1
cvr1_bit
cvr2
cvr2_bit
cvr3
cvr3_bit
cvrcon
cvref
cvref_bit
cvren
cvren_bit
cvroe
cvroe_bit
cvrr
cvrr_bit
cvrss
cvrss_bit
d
d_a
d_a_bit
d_bit
d_not_a
d_not_a_bit
data_address
data_address_bit
dc
dc_bit
dc1b0
dc1b0_bit
dc1b1
dc1b1_bit
dc2b0
dc2b0_bit
dc2b1
dc2b1_bit
dec2bcd
dec2bcd16
delay_100ms
delay_10ms
delay_10us
delay_1ms
delay_1sec
delay_1us
delay_22us
delay_500us
delay_50us
delay_5500us
delay_5ms
delay_80us
delay_8ms
delay_cyc
dfn8ee
dfn8ee_bit
dfn8ef
dfn8ef_bit
dir_
dir__bit
div
div_16x16_s
div_16x16_s_l
div_16x16_u
div_32x32_fp
div_32x32_s
div_32x32_u
div_8x8_s
div_8x8_u
done
done_bit
double2byte
double2int
double2longint
double2longword
double2word
eccp1as
eccp1con
eccp1del
eccpas0
eccpas0_bit
eccpas1
eccpas1_bit
eccpas2
eccpas2_bit
eccpase
eccpase_bit
eeadr
eecon1
eecon2
eedata
eeie
eeie_bit
eeif
eeif_bit
eeip
eeip_bit
eepgd
eepgd_bit
eeprom_read
eeprom_write
endp0
endp0_bit
endp1
endp1_bit
endp2
endp2_bit
endp3
endp3_bit
epcondis
epcondis_bit
epcondis_uep1_bit
epcondis_uep10_bit
epcondis_uep11_bit
epcondis_uep12_bit
epcondis_uep13_bit
epcondis_uep14_bit
epcondis_uep15_bit
epcondis_uep2_bit
epcondis_uep3_bit
epcondis_uep4_bit
epcondis_uep5_bit
epcondis_uep6_bit
epcondis_uep7_bit
epcondis_uep8_bit
epcondis_uep9_bit
ephshk
ephshk_bit
ephshk_uep1_bit
ephshk_uep10_bit
ephshk_uep11_bit
ephshk_uep12_bit
ephshk_uep13_bit
ephshk_uep14_bit
ephshk_uep15_bit
ephshk_uep2_bit
ephshk_uep3_bit
ephshk_uep4_bit
ephshk_uep5_bit
ephshk_uep6_bit
ephshk_uep7_bit
ephshk_uep8_bit
ephshk_uep9_bit
epinen
epinen_bit
epinen_uep1_bit
epinen_uep10_bit
epinen_uep11_bit
epinen_uep12_bit
epinen_uep13_bit
epinen_uep14_bit
epinen_uep15_bit
epinen_uep2_bit
epinen_uep3_bit
epinen_uep4_bit
epinen_uep5_bit
epinen_uep6_bit
epinen_uep7_bit
epinen_uep8_bit
epinen_uep9_bit
epouten
epouten_bit
epouten_uep1_bit
epouten_uep10_bit
epouten_uep11_bit
epouten_uep12_bit
epouten_uep13_bit
epouten_uep14_bit
epouten_uep15_bit
epouten_uep2_bit
epouten_uep3_bit
epouten_uep4_bit
epouten_uep5_bit
epouten_uep6_bit
epouten_uep7_bit
epouten_uep8_bit
epouten_uep9_bit
epstall
epstall_bit
epstall_uep1_bit
epstall_uep10_bit
epstall_uep11_bit
epstall_uep12_bit
epstall_uep13_bit
epstall_uep14_bit
epstall_uep15_bit
epstall_uep2_bit
epstall_uep3_bit
epstall_uep4_bit
epstall_uep5_bit
epstall_uep6_bit
epstall_uep7_bit
epstall_uep8_bit
epstall_uep9_bit
equals_double
exp
expander_init
expander_init_advanced
expander_read_byte
expander_read_porta
expander_read_portab
expander_read_portb
expander_set_directionporta
expander_set_directionportab
expander_set_directionportb
expander_set_pullupsporta
expander_set_pullupsportab
expander_set_pullupsportb
expander_write_byte
expander_write_porta
expander_write_portab
expander_write_portb
f
f16_boot_template
f16_filedesc
f16_sector
fabs
fast
fdc
ferr
ferr_bit
fixsign32
flash_erase_64
flash_erase_write_64
flash_read
flash_read_n_bytes
flash_write_32
floattostr
floor
flts
flts_bit
fo_horizontal
fo_horizontal_16bit
fo_vertical
fo_vertical_16bit
font_glcd_5x7
font_glcd_character8x7
font_glcd_system3x5
font_glcd_system5x7
font5x7
fontsystem5x7_v2
freadneedsupdate
free
free_bit
freemem
frexp
frm0
frm0_bit
frm1
frm1_bit
frm10
frm10_bit
frm2
frm2_bit
frm3
frm3_bit
frm4
frm4_bit
frm5
frm5_bit
frm6
frm6_bit
frm7
frm7_bit
frm8
frm8_bit
frm9
frm9_bit
fsect
fsen
fsen_bit
fsr0
fsr0h
fsr0l
fsr0ptr
fsr1
fsr1h
fsr1l
fsr1ptr
fsr2
fsr2h
fsr2l
fsr2ptr
fullbits
gcen
gcen_bit
gen_enable
gen_read
gen_write
get_fosc_khz
gie
gie_bit
gie_gieh
gie_gieh_bit
gieh
gieh_bit
giel
giel_bit
glcd_box
glcd_circle
glcd_circle_fill
glcd_defaultfont
glcd_dot
glcd_ext_image
glcd_ext_partialimage
glcd_fill
glcd_get_ext_data_ptr
glcd_h_line
glcd_image
glcd_init
glcd_line
glcd_partialimage
glcd_read_data
glcd_rectangle
glcd_rectangle_round_edges
glcd_rectangle_round_edges_fill
glcd_set_ext_buffer
glcd_set_ext_font_adv
glcd_set_font
glcd_set_font_adv
glcd_set_page
glcd_set_side
glcd_set_x
glcd_v_line
glcd_write_char
glcd_write_char_adv
glcd_write_const_text
glcd_write_const_text_adv
glcd_write_const_text_return_pos
glcd_write_data
glcd_write_text
glcd_write_text_adv
glcd_write_text_return_pos
go
go_bit
go_done
go_done_bit
go_not_done
go_not_done_bit
halfbits
hid_disable
hid_enable
hid_read
hid_write
hlvdcon
hlvden
hlvden_bit
hlvdie
hlvdie_bit
hlvdif
hlvdif_bit
hlvdin
hlvdin_bit
hlvdip
hlvdip_bit
hlvdl0
hlvdl0_bit
hlvdl1
hlvdl1_bit
hlvdl2
hlvdl2_bit
hlvdl3
hlvdl3_bit
i2c_dat
i2c_dat_bit
i2c_read
i2c_read_bit
i2c_start_
i2c_start__bit
i2c_stop_
i2c_stop__bit
i2c1_init
i2c1_is_idle
i2c1_rd
i2c1_repeated_start
i2c1_start
i2c1_stop
i2c1_wr
ics_auto
ics_off
idleie
idleie_bit
idleif
idleif_bit
idlen
idlen_bit
imagefileasarray
indf0
indf1
indf2
int0
int0_bit
int0e
int0e_bit
int0f
int0f_bit
int0ie
int0ie_bit
int0if
int0if_bit
int1
int1_bit
int1e
int1e_bit
int1f
int1f_bit
int1ie
int1ie_bit
int1if
int1if_bit
int1ip
int1ip_bit
int1p
int1p_bit
int2
int2_bit
int2double
int2e
int2e_bit
int2f
int2f_bit
int2ie
int2ie_bit
int2if
int2if_bit
int2ip
int2ip_bit
int2p
int2p_bit
intcon
intcon2
intcon3
intedg0
intedg0_bit
intedg1
intedg1_bit
intedg2
intedg2_bit
intsrc
intsrc_bit
inttohex
inttostr
inttostrwithzeros
iofs
iofs_bit
ipen
ipen_bit
ipr1
ipr2
ircf0
ircf0_bit
ircf1
ircf1_bit
ircf2
ircf2_bit
irvst
irvst_bit
isalnum
isalpha
iscntrl
isdigit
isgraph
islower
ispunct
isspace
isupper
isxdigit
ivrst
ivrst_bit
jpegdecoder
jpegdecoder_16bit
keypad_init
keypad_key_click
keypad_key_press
labs
lata
lata0
lata0_bit
lata1
lata1_bit
lata2
lata2_bit
lata3
lata3_bit
lata4
lata4_bit
lata5
lata5_bit
lata6
lata6_bit
latb
latb0
latb0_bit
latb1
latb1_bit
latb2
latb2_bit
latb3
latb3_bit
latb4
latb4_bit
latb5
latb5_bit
latb6
latb6_bit
latb7
latb7_bit
latc
latc0
latc0_bit
latc1
latc1_bit
latc2
latc2_bit
latc6
latc6_bit
latc7
latc7_bit
latd
latd0
latd0_bit
latd1
latd1_bit
latd2
latd2_bit
latd3
latd3_bit
latd4
latd4_bit
latd5
latd5_bit
latd6
latd6_bit
latd7
latd7_bit
late
late0
late0_bit
late1
late1_bit
late2
late2_bit
lcd_chr
lcd_chr_cp
lcd_cmd
lcd_init
lcd_out
lcd_out_cp
ldexp
ldiv
left_to_right
left_to_right_16bit
lf
log
log10
longint2double
longinttohex
longinttostrwithzeros
longjmp
longtostr
longword2double
longwordtohex
longwordtostr
longwordtostrwithzeros
ltrim
lvdcon
lvden
lvden_bit
lvdie
lvdie_bit
lvdif
lvdif_bit
lvdin
lvdin_bit
lvdip
lvdip_bit
lvdl0
lvdl0_bit
lvdl1
lvdl1_bit
lvdl2
lvdl2_bit
lvdl3
lvdl3_bit
lvv0
lvv0_bit
lvv1
lvv1_bit
lvv2
lvv2_bit
lvv3
lvv3_bit
main
malloc
man_break
man_receive
man_receive_init
man_send
man_send_init
man_synchro
max
max_files
memchr
memcmp
memcpy
memmove
memset
min
mm_error_
mm_freememtable
mm_init
mm_largestfreememblock
mm_nrfreeblocksused
mm_possiblyfragmented
mm_totalfreememsize
mmc_fat_activate
mmc_fat_append
mmc_fat_assign
mmc_fat_changedir
mmc_fat_close
mmc_fat_delete
mmc_fat_dir
mmc_fat_eof
mmc_fat_exists
mmc_fat_get_file_date
mmc_fat_get_file_date_modified
mmc_fat_get_file_size
mmc_fat_get_swap_file
mmc_fat_init
mmc_fat_makedir
mmc_fat_open
mmc_fat_quickformat
mmc_fat_read
mmc_fat_readn
mmc_fat_removedir
mmc_fat_rename
mmc_fat_renamedir
mmc_fat_reset
mmc_fat_rewrite
mmc_fat_seek
mmc_fat_set_file_date
mmc_fat_tell
mmc_fat_write
mmc_get_file_write_sector
mmc_init
mmc_init_vars
mmc_multi_read_sector
mmc_multi_read_start
mmc_multi_read_stop
mmc_read_cid
mmc_read_csd
mmc_read_sector
mmc_write_sector
modf
mul_16x16_s
mul_16x16_u
mul_32x32_fp
mul_32x32_s
mul_32x32_u
mul_8x8_s
n
n_bit
not_a
not_a_bit
not_address
not_address_bit
not_bor
not_bor_bit
not_done
not_done_bit
not_ipen
not_ipen_bit
not_pd
not_pd_bit
not_por
not_por_bit
not_rbpu
not_rbpu_bit
not_ri
not_ri_bit
not_t1sync
not_t1sync_bit
not_t3sync
not_t3sync_bit
not_to
not_to_bit
not_w
not_w_bit
not_write
not_write_bit
nr_free_blocks
nrm3232
nrm4032
oerr
oerr_bit
oespp
oespp_bit
osc2
osc2_bit
osccon
oscfie
oscfie_bit
oscfif
oscfif_bit
oscfip
oscfip_bit
osctune
osts
osts_bit
ov
ov_bit
ow_read
ow_reset
ow_write
p
p_bit
p1a
p1a_bit
p1m0
p1m0_bit
p1m1
p1m1_bit
pbcurrenthuffsymboltable
pbcurrenthuffsymlentable
pc
pcfg0
pcfg0_bit
pcfg1
pcfg1_bit
pcfg2
pcfg2_bit
pcfg3
pcfg3_bit
pcl
pclath
pclatu
pcu0
pcu0_bit
pcu1
pcu1_bit
pcu2
pcu2_bit
pcu3
pcu3_bit
pcu4
pcu4_bit
pd
pd_bit
pdc0
pdc0_bit
pdc1
pdc1_bit
pdc2
pdc2_bit
pdc3
pdc3_bit
pdc4
pdc4_bit
pdc5
pdc5_bit
pdc6
pdc6_bit
peie
peie_bit
peie_giel
peie_giel_bit
pen
pen_bit
pgc
pgc_bit
pgd
pgd_bit
pgm
pgm_bit
pidee
pidee_bit
pidef
pidef_bit
pie1
pie2
pir1
pir2
pktdis
pktdis_bit
plusw0
plusw1
plusw2
ponto
por
por_bit
porta
portb
portc
portd
porte
postdec0
postdec1
postdec2
postinc0
postinc1
postinc2
pow
ppb0
ppb0_bit
ppb1
ppb1_bit
ppbi
ppbi_bit
ppbrst
ppbrst_bit
pr2
preinc0
preinc1
preinc2
printout
prod
prodh
prodl
prsen
prsen_bit
ps2_config
ps2_key_read
psa
psa_bit
pssac0
pssac0_bit
pssac1
pssac1_bit
pssbd0
pssbd0_bit
pssbd1
pssbd1_bit
pwcurrenthuffsymstarttable
pwcurrentquanttable
pwm1_init
pwm1_set_duty
pwm1_start
pwm1_stop
pwm2_init
pwm2_set_duty
pwm2_start
pwm2_stop
r
r_bit
r_not_w
r_not_w_bit
r_w
r_w_bit
r0
r1
r10
r11
r12
r13
r14
r15
r16
r17
r18
r19
r2
r20
r3
r4
r5
r6
r7
r8
r9
ra0
ra0_bit
ra1
ra1_bit
ra2
ra2_bit
ra3
ra3_bit
ra4
ra4_bit
ra5
ra5_bit
ra6
ra6_bit
rand
rb0
rb0_bit
rb1
rb1_bit
rb2
rb2_bit
rb3
rb3_bit
rb4
rb4_bit
rb5
rb5_bit
rb6
rb6_bit
rb7
rb7_bit
rbie
rbie_bit
rbif
rbif_bit
rbip
rbip_bit
rbpu
rbpu_bit
rc0
rc0_bit
rc1
rc1_bit
rc2
rc2_bit
rc4
rc4_bit
rc5
rc5_bit
rc6
rc6_bit
rc7
rc7_bit
rcen
rcen_bit
rcidl
rcidl_bit
rcie
rcie_bit
rcif
rcif_bit
rcip
rcip_bit
rcmt
rcmt_bit
rcon
rcreg
rcsta
rd
rd_bit
rd0
rd0_bit
rd1
rd1_bit
rd16
rd16_bit
rd16_t1con_bit
rd2
rd2_bit
rd3
rd3_bit
rd4
rd4_bit
rd5
rd5_bit
rd6
rd6_bit
rd7
rd7_bit
rdpu
rdpu_bit
rdpu_porte_bit
rdspp
rdspp_bit
re0
re0_bit
re1
re1_bit
re2
re2_bit
re3
re3_bit
read_write
read_write_bit
res032
resume_
resume__bit
ri
ri_bit
rs485master_init
rs485master_receive
rs485master_send
rs485slave_init
rs485slave_receive
rs485slave_send
rsen
rsen_bit
rtrim
rx_
rx__bit
rx9
rx9_bit
rx9d
rx9d_bit
rxdtp
rxdtp_bit
s
s_bit
s1d13700_black
s1d13700_box
s1d13700_cgram_adr
s1d13700_circle
s1d13700_circle_fill
s1d13700_cs_down
s1d13700_cs_left
s1d13700_cs_right
s1d13700_cs_up
s1d13700_csrform
s1d13700_csrr
s1d13700_csrw
s1d13700_cursor_block
s1d13700_cursor_flash_1hz
s1d13700_cursor_flash_2hz
s1d13700_cursor_off
s1d13700_cursor_on
s1d13700_cursor_underscore
s1d13700_defaultfont
s1d13700_disp_off
s1d13700_disp_on
s1d13700_display_cursor
s1d13700_display_grlayer
s1d13700_display_txtlayer
s1d13700_dot
s1d13700_ext_image
s1d13700_ext_partialimage
s1d13700_fill
s1d13700_get_ext_data_ptr
s1d13700_grayscale
s1d13700_grfill
s1d13700_h_line
s1d13700_hdot_scr
s1d13700_image
s1d13700_init
s1d13700_layer_flash_16hz
s1d13700_layer_flash_2hz
s1d13700_layer_off
s1d13700_layer_on
s1d13700_line
s1d13700_memread
s1d13700_memwrite
s1d13700_overlay_and
s1d13700_overlay_or
s1d13700_overlay_xor
s1d13700_ovlay
s1d13700_partialimage
s1d13700_power_save
s1d13700_read_parameter
s1d13700_rectangle
s1d13700_rectangle_round_edges
s1d13700_rectangle_round_edges_fill
s1d13700_scroll
s1d13700_set_cursor
s1d13700_set_ext_buffer
s1d13700_set_ext_font_adv
s1d13700_set_font_adv
s1d13700_system_set
s1d13700_txtfill
s1d13700_v_line
s1d13700_white
s1d13700_write_char
s1d13700_write_char_adv
s1d13700_write_command
s1d13700_write_const_text
s1d13700_write_const_text_adv
s1d13700_write_const_text_return_pos
s1d13700_write_parameter
s1d13700_write_text
s1d13700_write_text_adv
s1d13700_write_text_return_pos
sboren
sboren_bit
sckp
sckp_bit
scs0
scs0_bit
scs1
scs1_bit
sdiv3232l
se0
se0_bit
sen
sen_bit
sendb
sendb_bit
setfdz32
setfov32
setfun32
setiov3224
setjmp
shorttohex
shorttostr
sin
sine3
sinh
smp
smp_bit
sofie
sofie_bit
sofif
sofif_bit
soft_i2c_break
soft_i2c_init
soft_i2c_read
soft_i2c_start
soft_i2c_stop
soft_i2c_write
soft_spi_init
soft_spi_read
soft_spi_write
soft_uart_break
soft_uart_init
soft_uart_read
soft_uart_write
sound_init
sound_play
spbrg
spbrgh
spen
spen_bit
spi_ethernet_24j600_arpcache
spi_ethernet_24j600_arpresolve
spi_ethernet_24j600_checksum
spi_ethernet_24j600_clearbitreg
spi_ethernet_24j600_confnetwork
spi_ethernet_24j600_delay
spi_ethernet_24j600_dhcpmsg
spi_ethernet_24j600_dhcpreceive
spi_ethernet_24j600_disable
spi_ethernet_24j600_dnsipaddr
spi_ethernet_24j600_dnsresolve
spi_ethernet_24j600_doarp
spi_ethernet_24j600_dodhcp
spi_ethernet_24j600_dodhcpleasetime
spi_ethernet_24j600_dodns
spi_ethernet_24j600_dopacket
spi_ethernet_24j600_dotcp
spi_ethernet_24j600_doudp
spi_ethernet_24j600_enable
spi_ethernet_24j600_ff
spi_ethernet_24j600_getbyte
spi_ethernet_24j600_getbytes
spi_ethernet_24j600_getdnsipaddress
spi_ethernet_24j600_getgwipaddress
spi_ethernet_24j600_getipaddress
spi_ethernet_24j600_getipmask
spi_ethernet_24j600_gwipaddr
spi_ethernet_24j600_init
spi_ethernet_24j600_init2
spi_ethernet_24j600_initdhcp
spi_ethernet_24j600_ipaddr
spi_ethernet_24j600_ipmask
spi_ethernet_24j600_ipswap
spi_ethernet_24j600_macaddr
spi_ethernet_24j600_macswap
spi_ethernet_24j600_memcmp
spi_ethernet_24j600_memcpy
spi_ethernet_24j600_pktlen
spi_ethernet_24j600_putbyte
spi_ethernet_24j600_putbytes
spi_ethernet_24j600_putconstbytes
spi_ethernet_24j600_putconststring
spi_ethernet_24j600_putstring
spi_ethernet_24j600_ramcopy
spi_ethernet_24j600_readaddr
spi_ethernet_24j600_readmem
spi_ethernet_24j600_readpacket
spi_ethernet_24j600_readphy
spi_ethernet_24j600_readreg
spi_ethernet_24j600_renewdhcp
spi_ethernet_24j600_rmtipaddr
spi_ethernet_24j600_sendudp
spi_ethernet_24j600_sendudp2
spi_ethernet_24j600_setbitreg
spi_ethernet_24j600_setrxreadaddress
spi_ethernet_24j600_subnetbroadcast
spi_ethernet_24j600_txpacket
spi_ethernet_24j600_usertimersec
spi_ethernet_24j600_writeaddr
spi_ethernet_24j600_writemem
spi_ethernet_24j600_writememory
spi_ethernet_24j600_writememory2
spi_ethernet_24j600_writephy
spi_ethernet_24j600_writereg
spi_ethernet_arpcache
spi_ethernet_arpresolve
spi_ethernet_checksum
spi_ethernet_clearbitreg
spi_ethernet_confnetwork
spi_ethernet_delay
spi_ethernet_dhcpmsg
spi_ethernet_dhcpreceive
spi_ethernet_disable
spi_ethernet_dnsipaddr
spi_ethernet_dnsresolve
spi_ethernet_doarp
spi_ethernet_dodhcp
spi_ethernet_dodhcpleasetime
spi_ethernet_dodns
spi_ethernet_dopacket
spi_ethernet_dotcp
spi_ethernet_doudp
spi_ethernet_enable
spi_ethernet_ff
spi_ethernet_getbyte
spi_ethernet_getbytes
spi_ethernet_getdnsipaddress
spi_ethernet_getgwipaddress
spi_ethernet_getipaddress
spi_ethernet_getipmask
spi_ethernet_gwipaddr
spi_ethernet_init
spi_ethernet_init2
spi_ethernet_initdhcp
spi_ethernet_ipaddr
spi_ethernet_ipmask
spi_ethernet_ipswap
spi_ethernet_macaddr
spi_ethernet_macswap
spi_ethernet_memcmp
spi_ethernet_memcpy
spi_ethernet_pktlen
spi_ethernet_putbyte
spi_ethernet_putbytes
spi_ethernet_putconstbytes
spi_ethernet_putconststring
spi_ethernet_putstring
spi_ethernet_ramcopy
spi_ethernet_readmem
spi_ethernet_readpacket
spi_ethernet_readphy
spi_ethernet_readreg
spi_ethernet_renewdhcp
spi_ethernet_rmtipaddr
spi_ethernet_sendudp
spi_ethernet_sendudp2
spi_ethernet_setbitreg
spi_ethernet_setrxreadaddress
spi_ethernet_subnetbroadcast
spi_ethernet_txpacket
spi_ethernet_usertimersec
spi_ethernet_writeaddr
spi_ethernet_writemem
spi_ethernet_writememory
spi_ethernet_writememory2
spi_ethernet_writephy
spi_ethernet_writereg
spi_glcd_box
spi_glcd_circle
spi_glcd_circle_fill
spi_glcd_const_write_text
spi_glcd_dot
spi_glcd_ext_image
spi_glcd_ext_partialimage
spi_glcd_fill
spi_glcd_get_ext_data_ptr
spi_glcd_h_line
spi_glcd_image
spi_glcd_init
spi_glcd_line
spi_glcd_partialimage
spi_glcd_read_data
spi_glcd_rectangle
spi_glcd_rectangle_round_edges
spi_glcd_rectangle_round_edges_fill
spi_glcd_set_ext_buffer
spi_glcd_set_ext_font_adv
spi_glcd_set_font
spi_glcd_set_font_adv
spi_glcd_set_page
spi_glcd_set_side
spi_glcd_set_x
spi_glcd_v_line
spi_glcd_write_char
spi_glcd_write_char_adv
spi_glcd_write_const_text_adv
spi_glcd_write_const_text_return_pos
spi_glcd_write_data
spi_glcd_write_text
spi_glcd_write_text_adv
spi_glcd_write_text_return_pos
spi_lcd_chr
spi_lcd_chr_cp
spi_lcd_cmd
spi_lcd_config
spi_lcd_out
spi_lcd_out_cp
spi_lcd8_chr
spi_lcd8_chr_cp
spi_lcd8_cmd
spi_lcd8_config
spi_lcd8_out
spi_lcd8_out_cp
spi_rd_ptr
spi_read
spi_set_active
spi_t6963c_box
spi_t6963c_circle
spi_t6963c_circle_fill
spi_t6963c_clearbit
spi_t6963c_config
spi_t6963c_defaultfont
spi_t6963c_display
spi_t6963c_dot
spi_t6963c_ext_image
spi_t6963c_ext_partialimage
spi_t6963c_fill
spi_t6963c_fontwidth
spi_t6963c_get_ext_data_ptr
spi_t6963c_grheight
spi_t6963c_grhomeaddr
spi_t6963c_grmemsize
spi_t6963c_grwidth
spi_t6963c_image
spi_t6963c_line
spi_t6963c_negbit
spi_t6963c_partialimage
spi_t6963c_rectangle
spi_t6963c_rectangle_round_edges
spi_t6963c_rectangle_round_edges_fill
spi_t6963c_set_cursor
spi_t6963c_set_ext_buffer
spi_t6963c_set_ext_font_adv
spi_t6963c_set_font_adv
spi_t6963c_setbit
spi_t6963c_setptr
spi_t6963c_sprite
spi_t6963c_texthomeaddr
spi_t6963c_txtcols
spi_t6963c_txtmemsize
spi_t6963c_waitready
spi_t6963c_write_char
spi_t6963c_write_char_adv
spi_t6963c_write_const_text
spi_t6963c_write_const_text_adv
spi_t6963c_write_const_text_return_pos
spi_t6963c_write_text
spi_t6963c_write_text_adv
spi_t6963c_write_text_return_pos
spi_t6963c_writecommand
spi_t6963c_writedata
spi_wr_ptr
spi_write
spi1_init
spi1_init_advanced
spi1_read
spi1_write
spp0
spp0_bit
spp1
spp1_bit
spp2
spp2_bit
spp3
spp3_bit
spp4
spp4_bit
spp5
spp5_bit
spp6
spp6_bit
spp7
spp7_bit
sppbusy
sppbusy_bit
sppcfg
sppcon
sppdata
sppen
sppen_bit
sppeps
sppie
sppie_bit
sppif
sppif_bit
sppip
sppip_bit
sppown
sppown_bit
sprintf
sprinti
sprintl
sqrt
srand
sren
sren_bit
sspadd
sspbuf
sspcon1
sspcon2
sspen
sspen_bit
sspie
sspie_bit
sspif
sspif_bit
sspip
sspip_bit
sspm0
sspm0_bit
sspm1
sspm1_bit
sspm2
sspm2_bit
sspm3
sspm3_bit
sspov
sspov_bit
sspstat
stallie
stallie_bit
stallif
stallif_bit
status
stkful
stkful_bit
stkovf
stkovf_bit
stkptr
stkptr0
stkptr0_bit
stkptr1
stkptr1_bit
stkptr2
stkptr2_bit
stkptr3
stkptr3_bit
stkptr4
stkptr4_bit
stkunf
stkunf_bit
strcat
strchr
strcmp
strcpy
strcspn
strlen
strncat
strncmp
strncpy
strpbrk
strrchr
strspn
strstr
strtok
sub_32x32_fp
suspnd
suspnd_bit
swap
swdte
swdte_bit
swdten
swdten_bit
sync
sync_bit
system3x5
t08bit
t08bit_bit
t0cki
t0cki_bit
t0con
t0cs
t0cs_bit
t0ie
t0ie_bit
t0if
t0if_bit
t0ip
t0ip_bit
t0ps0
t0ps0_bit
t0ps1
t0ps1_bit
t0ps2
t0ps2_bit
t0se
t0se_bit
t13cki
t13cki_bit
t1ckps0
t1ckps0_bit
t1ckps1
t1ckps1_bit
t1con
t1oscen
t1oscen_bit
t1osi
t1osi_bit
t1oso
t1oso_bit
t1run
t1run_bit
t1sync
t1sync_bit
t2ckps0
t2ckps0_bit
t2ckps1
t2ckps1_bit
t2con
t2outps0
t2outps0_bit
t2outps1
t2outps1_bit
t2outps2
t2outps2_bit
t2outps3
t2outps3_bit
t3ccp1
t3ccp1_bit
t3ccp2
t3ccp2_bit
t3ckps0
t3ckps0_bit
t3ckps1
t3ckps1_bit
t3con
t3nsync
t3nsync_bit
t3sync
t3sync_bit
t6963c_box
t6963c_circle
t6963c_circle_fill
t6963c_defaultfont
t6963c_display
t6963c_dot
t6963c_ext_image
t6963c_ext_partialimage
t6963c_fill
t6963c_fontwidth
t6963c_get_ext_data_ptr
t6963c_grheight
t6963c_grhomeaddr
t6963c_grmemsize
t6963c_grwidth
t6963c_image
t6963c_init
t6963c_line
t6963c_partialimage
t6963c_rectangle
t6963c_rectangle_round_edges
t6963c_rectangle_round_edges_fill
t6963c_set_cursor
t6963c_set_ext_buffer
t6963c_set_ext_font_adv
t6963c_set_font_adv
t6963c_setptr
t6963c_sprite
t6963c_texthomeaddr
t6963c_txtcols
t6963c_txtmemsize
t6963c_waitready
t6963c_write_char
t6963c_write_char_adv
t6963c_write_const_text
t6963c_write_const_text_adv
t6963c_write_const_text_return_pos
t6963c_write_text
t6963c_write_text_adv
t6963c_write_text_return_pos
t6963c_writecommand
t6963c_writedata
tablat
tan
tanh
tblptr
tblptrh
tblptrl
tblptru
tft_16bit_circle
tft_16bit_color16bittorgb
tft_16bit_defaultfont
tft_16bit_dot
tft_16bit_ext_image
tft_16bit_ext_partial_image
tft_16bit_fill_screen
tft_16bit_get_ext_data_ptr
tft_16bit_getcurrentcolor
tft_16bit_h_line
tft_16bit_image
tft_16bit_image_jpeg
tft_16bit_line
tft_16bit_partial_image
tft_16bit_rectangle
tft_16bit_rectangle_round_edges
tft_16bit_rgbtocolor16bit
tft_16bit_rotate_180
tft_16bit_set_active
tft_16bit_set_address_ptr
tft_16bit_set_brush
tft_16bit_set_default_mode
tft_16bit_set_ext_buffer
tft_16bit_set_ext_font
tft_16bit_set_font
tft_16bit_set_index
tft_16bit_set_index_ptr
tft_16bit_set_pen
tft_16bit_set_reg
tft_16bit_v_line
tft_16bit_write_char
tft_16bit_write_command
tft_16bit_write_command_ptr
tft_16bit_write_const_text
tft_16bit_write_const_text_return_pos
tft_16bit_write_data
tft_16bit_write_data_ptr
tft_16bit_write_text
tft_16bit_write_text_return_pos
tft_circle
tft_color16bittorgb
tft_defaultfont
tft_dot
tft_ext_image
tft_ext_partial_image
tft_fill_screen
tft_get_ext_data_ptr
tft_getcurrentcolor
tft_h_line
tft_image
tft_image_jpeg
tft_init
tft_init_hx8347g
tft_init_hx8352a
tft_init_ili9340
tft_init_ili9342
tft_init_ili9481
tft_init_r61526
tft_init_ssd1963
tft_init_ssd1963_8bit
tft_init_sst7715r
tft_line
tft_partial_image
tft_rectangle
tft_rectangle_round_edges
tft_rgbtocolor16bit
tft_rotate_180
tft_set_active
tft_set_address_ptr
tft_set_brush
tft_set_default_mode
tft_set_ext_buffer
tft_set_ext_font
tft_set_font
tft_set_index
tft_set_index_ptr
tft_set_pen
tft_set_reg
tft_ssd1963_8bit_set_index
tft_ssd1963_8bit_set_reg
tft_ssd1963_8bit_write_data
tft_ssd1963yt_8bit_write_command
tft_v_line
tft_write_char
tft_write_command
tft_write_command_ptr
tft_write_const_text
tft_write_const_text_return_pos
tft_write_data
tft_write_data_ptr
tft_write_text
tft_write_text_return_pos
time_datetoepoch
time_epochtodate
time_jd1970
tmr0h
tmr0ie
tmr0ie_bit
tmr0if
tmr0if_bit
tmr0ip
tmr0ip_bit
tmr0l
tmr0on
tmr0on_bit
tmr1cs
tmr1cs_bit
tmr1h
tmr1ie
tmr1ie_bit
tmr1if
tmr1if_bit
tmr1ip
tmr1ip_bit
tmr1l
tmr1on
tmr1on_bit
tmr2
tmr2ie
tmr2ie_bit
tmr2if
tmr2if_bit
tmr2ip
tmr2ip_bit
tmr2on
tmr2on_bit
tmr3cs
tmr3cs_bit
tmr3h
tmr3ie
tmr3ie_bit
tmr3if
tmr3if_bit
tmr3ip
tmr3ip_bit
tmr3l
tmr3on
tmr3on_bit
to_
to__bit
tolower
top_to_bottom
top_to_bottom_16bit
tosh
tosl
tosu
toupper
toutps0
toutps0_bit
toutps1
toutps1_bit
toutps2
toutps2_bit
toutps3
toutps3_bit
tp_calibrate_bottom_left
tp_calibrate_upper_right
tp_get_calibration_consts
tp_get_coordinates
tp_init
tp_press_detect
tp_set_adc_threshold
tp_set_calibration_consts
tp_tft_calibrate_max
tp_tft_calibrate_min
tp_tft_get_calibration_consts
tp_tft_get_coordinates
tp_tft_init
tp_tft_press_detect
tp_tft_rotate_180
tp_tft_set_adc_threshold
tp_tft_set_calibration_consts
tp_tft_set_default_mode
traco
trisa
trisa0
trisa0_bit
trisa1
trisa1_bit
trisa2
trisa2_bit
trisa3
trisa3_bit
trisa4
trisa4_bit
trisa5
trisa5_bit
trisa6
trisa6_bit
trisb
trisb0
trisb0_bit
trisb1
trisb1_bit
trisb2
trisb2_bit
trisb3
trisb3_bit
trisb4
trisb4_bit
trisb5
trisb5_bit
trisb6
trisb6_bit
trisb7
trisb7_bit
trisc
trisc0
trisc0_bit
trisc1
trisc1_bit
trisc2
trisc2_bit
trisc6
trisc6_bit
trisc7
trisc7_bit
trisd
trisd0
trisd0_bit
trisd1
trisd1_bit
trisd2
trisd2_bit
trisd3
trisd3_bit
trisd4
trisd4_bit
trisd5
trisd5_bit
trisd6
trisd6_bit
trisd7
trisd7_bit
trise
trise0
trise0_bit
trise1
trise1_bit
trise2
trise2_bit
trmt
trmt_bit
trnie
trnie_bit
trnif
trnif_bit
tun0
tun0_bit
tun1
tun1_bit
tun2
tun2_bit
tun3
tun3_bit
tun4
tun4_bit
tx
tx_bit
tx9
tx9_bit
tx9d
tx9d_bit
txckp
txckp_bit
txen
txen_bit
txie
txie_bit
txif
txif_bit
txip
txip_bit
txreg
txsta
ua
ua_bit
uaddr
uart_data_ready
uart_rd_ptr
uart_rdy_ptr
uart_read
uart_read_text
uart_set_active
uart_tx_idle
uart_tx_idle_ptr
uart_wr_ptr
uart_write
uart_write_text
uart1_data_ready
uart1_init
uart1_read
uart1_read_text
uart1_tx_idle
uart1_write
uart1_write_text
ucfg
ucon
ueie
ueir
uep0
uep1
uep10
uep11
uep12
uep13
uep14
uep15
uep2
uep3
uep4
uep5
uep6
uep7
uep8
uep9
uerrie
uerrie_bit
uerrif
uerrif_bit
ufrmh
ufrml
uie
uir
uldiv
uoemon
uoemon_bit
upuen
upuen_bit
urstie
urstie_bit
urstif
urstif_bit
usb_break
usb_interrupt_proc
usb_polling_proc
usben
usben_bit
usbie
usbie_bit
usbif
usbif_bit
usbip
usbip_bit
ustat
uteye
uteye_bit
utrdis
utrdis_bit
vcfg0
vcfg0_bit
vcfg1
vcfg1_bit
vdelay_advanced_ms
vdelay_ms
vdirmag
vdirmag_bit
vrefm
vrefm_bit
vrefp
vrefp_bit
w
wblocknumber
wbufferindex
wbufferlen
wcol
wcol_bit
wdtcon
wheight
word2double
wordtohex
wordtostr
wordtostrwithzeros
wprevx
wprevy
wr
wr_bit
wreg
wren
wren_bit
wrerr
wrerr_bit
wrestartinterval
wrspp
wrspp_bit
ws0
ws0_bit
ws1
ws1_bit
ws2
ws2_bit
ws3
ws3_bit
wue
wue_bit
wwidth
wworkbits
xtoi
z
z_bit
Morse/Morse.dlt
Morse/Morse.hex
:1000000061EF00F00000000000EF00F000000000D1
:0A0010000000000000000000F3D71C
:10001C000B0E0B6E260E0C6E5D0E0D6E0D2EFED79E
:0E002C000C2EFCD70B2EFAD70000000012009D
:10003A000900F5CFE6FF0006FBE10106F9E112002F
:10004A00FF0E836E0B0E0B6E260E0C6E5D0E0D6E82
:10005A000D2EFED70C2EFCD70B2EFAD7000000006F
:10006A00836A030E0B6E080E0C6E770E0D6E0D2E44
:0C007A00FED70C2EFCD70B2EFAD712007C
:10008600FF0E836E030E0B6E8A0E0C6E550E0D6EF2
:100096000D2EFED70C2EFCD70B2EFAD70000000033
:1000A600836A030E0B6E080E0C6E770E0D6E0D2E08
:0C00B600FED70C2EFCD70B2EFAD7120040
:1000C200030E936E956A81B00DD0DCDFBDDFDADFFF
:1000D200A4DFD8DFB9DFD6DFA0DFD4DFB5DFB4DF3E
:1000E2009CDFF1D781B237D0CDDFCCDFADDFACDF23
:1000F200ABDF93DFA9DFA8DFA7DFA6DFA5DF8DDFF8
:10010200C1DFA2DFA1DFA0DF9FDF87DF9DDF9CDFF2
:100112009BDF9ADF99DF81DFB5DFB4DF95DF94DF04
:1001220093DF7BDF91DF90DF8FDF8EDF8DDF75DF87
:100132008BDFA8DFA7DFA6DFA5DF6FDFA3DFA2DFEC
:10014200A1DFA0DF9FDF69DF7FDF9CDF9BDF9ADF1C
:0A01520099DF63DFC7D7B7D7FFD7E7
:020000040030CA
:0E000000010C1F1EFF8181FF0FC00FE00F409B
:00000001FF
Morse/Morse.log
0 1 mikroCPIC1618.exe -MSF -DBG -pP18F4550 -DL -O11111114 -fo8 -N"C:\Users\Aluno\Desktop\Morse\Morse.mcppi" -SP"C:\Program Files (x86)\mikroC PRO for PIC\defs\" -SP"C:\Program Files (x86)\mikroC PRO for PIC\uses\P18\" -SP"C:\Users\Aluno\Desktop\Morse\" "Morse.c" "__Lib_Math.mcl" "__Lib_MathDouble.mcl" "__Lib_System.mcl" "__Lib_Delays.mcl" "__Lib_CType.mcl" "__Lib_CString.mcl" "__Lib_CStdlib.mcl" "__Lib_CMath.mcl" "__Lib_MemManager.mcl" "__Lib_Conversions.mcl" "__Lib_Sprintf.mcl" "__Lib_PrintOut.mcl" "__Lib_Sprinti.mcl" "__Lib_Sprintl.mcl" "__Lib_Time.mcl" "__Lib_Trigonometry.mcl" "__Lib_Button.mcl" "__Lib_Keypad4x4.mcl" "__Lib_Manchester.mcl" "__Lib_OneWire.mcl" "__Lib_PS2.mcl" "__Lib_Sound.mcl" "__Lib_SoftI2C.mcl" "__Lib_SoftSPI.mcl" "__Lib_SoftUART.mcl" "__Lib_ADC_A_D.mcl" "__Lib_EEPROM_256.mcl" "__Lib_FLASH_w32_e64.mcl" "__Lib_I2C_b10.mcl" "__Lib_PWM_c21.mcl" "__Lib_SPI_b10c7.mcl" "__Lib_UART_c67.mcl" "__Lib_USB_genHID.mcl" "__Lib_PortExpander.mcl" "__Lib_CANSPI.mcl" "__Lib_CF.mcl" "__Lib_CFFat16.mcl" "__Lib_GlcdFonts.mcl" "__Lib_Glcd.mcl" "__Lib_LcdConsts.mcl" "__Lib_Lcd.mcl" "__Lib_Mmc.mcl" "__Lib_MmcFat16.mcl" "__Lib_MmcFat16Constants.mcl" "__Lib_RS485.mcl" "__Lib_S1D13700.mcl" "__Lib_T6963C.mcl" "__Lib_SPIGlcd.mcl" "__Lib_SPILcd.mcl" "__Lib_SPILcd8.mcl" "__Lib_SPIT6963C.mcl" "__Lib_EthEnc28j60.mcl" "__Lib_TFT.mcl" "__Lib_TFT_16bit.mcl" "__Lib_TouchPanel_TFT.mcl" "__Lib_EthEnc24j600.mcl" "__Lib_TouchPanel.mcl"
diagnostics: 0 126 All files Preprocessed in 16 ms
diagnostics: 0 122 Compilation Started Morse.c
diagnostics: 132 123 Compiled Successfully Morse.c
diagnostics: 0 127 All files Compiled in 31 ms
diagnostics: 0 125 Project Linked Successfully Morse.mcppi
diagnostics: 0 128 Linked in 312 ms
diagnostics: 0 129 Project 'Morse.mcppi' completed: 452 ms
diagnostics: 0 103 Finished successfully: 18 mar 2015, 11:21:56 Morse.mcppi
Morse/Morse.lst
; LST file generated by mikroListExporter - v.2.0
; Date/Time: 18/03/2015 11:21:55
;----------------------------------------------
;Address Opcode ASM
0x0000 0xF000EF61 GOTO 194
0x0004 0x0000 NOP
0x0006 0x0000 NOP
0x0008 0xF000EF00 GOTO 0
0x000C 0x0000 NOP
0x000E 0x0000 NOP
0x0010 0x0000 NOP
0x0012 0x0000 NOP
0x0014 0x0000 NOP
0x0016 0x0000 NOP
0x0018 0xD7F3 BRA 0
_fdc:
;Morse.c,22 :: void fdc(){
;Morse.c,23 :: delay_ms(1000);
0x001C 0x0E0B MOVLW 11
0x001E 0x6E0B MOVWF R11, 0
0x0020 0x0E26 MOVLW 38
0x0022 0x6E0C MOVWF R12, 0
0x0024 0x0E5D MOVLW 93
0x0026 0x6E0D MOVWF R13, 0
L_fdc4:
0x0028 0x2E0D DECFSZ R13, 1, 0
0x002A 0xD7FE BRA L_fdc4
0x002C 0x2E0C DECFSZ R12, 1, 0
0x002E 0xD7FC BRA L_fdc4
0x0030 0x2E0B DECFSZ R11, 1, 0
0x0032 0xD7FA BRA L_fdc4
0x0034 0x0000 NOP
0x0036 0x0000 NOP
;Morse.c,24 :: }
L_end_fdc:
0x0038 0x0012 RETURN 0
; end of _fdc
___CC2DW:
;__Lib_System.c,21 ::
;__Lib_System.c,23 ::
_CC2DL_Loop1:
;__Lib_System.c,24 ::
0x003A 0x0009 TBLRD*+
;__Lib_System.c,25 ::
0x003C 0xFFE6CFF5 MOVFF TABLAT, POSTINC1
;__Lib_System.c,26 ::
0x0040 0x0600 DECF R0, 1, 0
;__Lib_System.c,27 ::
0x0042 0xE1FB BNZ _CC2DL_Loop1
;__Lib_System.c,28 ::
0x0044 0x0601 DECF R1, 1, 0
;__Lib_System.c,29 ::
0x0046 0xE1F9 BNZ _CC2DL_Loop1
;__Lib_System.c,31 ::
L_end___CC2DW:
0x0048 0x0012 RETURN 0
; end of ___CC2DW
_traco:
;Morse.c,15 :: void traco(){
;Morse.c,16 :: portd = 255;
0x004A 0x0EFF MOVLW 255
0x004C 0x6E83 MOVWF PORTD
;Morse.c,17 :: delay_ms(1000);
0x004E 0x0E0B MOVLW 11
0x0050 0x6E0B MOVWF R11, 0
0x0052 0x0E26 MOVLW 38
0x0054 0x6E0C MOVWF R12, 0
0x0056 0x0E5D MOVLW 93
0x0058 0x6E0D MOVWF R13, 0
L_traco2:
0x005A 0x2E0D DECFSZ R13, 1, 0
0x005C 0xD7FE BRA L_traco2
0x005E 0x2E0C DECFSZ R12, 1, 0
0x0060 0xD7FC BRA L_traco2
0x0062 0x2E0B DECFSZ R11, 1, 0
0x0064 0xD7FA BRA L_traco2
0x0066 0x0000 NOP
0x0068 0x0000 NOP
;Morse.c,18 :: portd = 0;
0x006A 0x6A83 CLRF PORTD
;Morse.c,19 :: delay_ms(200);
0x006C 0x0E03 MOVLW 3
0x006E 0x6E0B MOVWF R11, 0
0x0070 0x0E08 MOVLW 8
0x0072 0x6E0C MOVWF R12, 0
0x0074 0x0E77 MOVLW 119
0x0076 0x6E0D MOVWF R13, 0
L_traco3:
0x0078 0x2E0D DECFSZ R13, 1, 0
0x007A 0xD7FE BRA L_traco3
0x007C
0x2E0C DECFSZ R12, 1, 0
0x007E 0xD7FC BRA L_traco3
0x0080 0x2E0B DECFSZ R11, 1, 0
0x0082 0xD7FA BRA L_traco3
;Morse.c,20 :: }
L_end_traco:
0x0084 0x0012 RETURN 0
; end of _traco
_ponto:
;Morse.c,8 :: void ponto(){
;Morse.c,9 :: portd = 255;
0x0086 0x0EFF MOVLW 255
0x0088 0x6E83 MOVWF PORTD
;Morse.c,10 :: delay_ms(250);
0x008A 0x0E03 MOVLW 3
0x008C 0x6E0B MOVWF R11, 0
0x008E 0x0E8A MOVLW 138
0x0090 0x6E0C MOVWF R12, 0
0x0092 0x0E55 MOVLW 85
0x0094 0x6E0D MOVWF R13, 0
L_ponto0:
0x0096 0x2E0D DECFSZ R13, 1, 0
0x0098 0xD7FE BRA L_ponto0
0x009A 0x2E0C DECFSZ R12, 1, 0
0x009C 0xD7FC BRA L_ponto0
0x009E 0x2E0B DECFSZ R11, 1, 0
0x00A0 0xD7FA BRA L_ponto0
0x00A2 0x0000 NOP
0x00A4 0x0000 NOP
;Morse.c,11 :: portd = 0;
0x00A6 0x6A83 CLRF PORTD
;Morse.c,12 :: delay_ms(200);
0x00A8 0x0E03 MOVLW 3
0x00AA 0x6E0B MOVWF R11, 0
0x00AC 0x0E08 MOVLW 8
0x00AE 0x6E0C MOVWF R12, 0
0x00B0 0x0E77 MOVLW 119
0x00B2 0x6E0D MOVWF R13, 0
L_ponto1:
0x00B4 0x2E0D DECFSZ R13, 1, 0
0x00B6 0xD7FE BRA L_ponto1
0x00B8 0x2E0C DECFSZ R12, 1, 0
0x00BA 0xD7FC BRA L_ponto1
0x00BC 0x2E0B DECFSZ R11, 1, 0
0x00BE 0xD7FA BRA L_ponto1
;Morse.c,13 :: }
L_end_ponto:
0x00C0 0x0012 RETURN 0
; end of _ponto
_main:
;Morse.c,27 :: void main() {
;Morse.c,29 :: trisb = 3; //rb1 e rb0 definidos como entrada
0x00C2 0x0E03 MOVLW 3
0x00C4 0x6E93 MOVWF TRISB
;Morse.c,30 :: trisd = 0; //rd0 a rd7 definidos como saida
0x00C6 0x6A95 CLRF TRISD
;Morse.c,32 :: while(1){
L_main5:
;Morse.c,34 :: while(portb.b0 == 0){
L_main7:
0x00C8 0xB081 BTFSC PORTB, 0
0x00CA 0xD00D BRA L_main8
;Morse.c,37 :: ponto();
0x00CC 0xDFDC RCALL _ponto
;Morse.c,38 :: traco();
0x00CE 0xDFBD RCALL _traco
;Morse.c,39 :: ponto();
0x00D0 0xDFDA RCALL _ponto
;Morse.c,40 :: fdc();
0x00D2 0xDFA4 RCALL _fdc
;Morse.c,43 :: ponto();
0x00D4 0xDFD8 RCALL _ponto
;Morse.c,44 :: traco();
0x00D6 0xDFB9 RCALL _traco
;Morse.c,45 :: ponto();
0x00D8 0xDFD6 RCALL _ponto
;Morse.c,46 :: fdc();
0x00DA 0xDFA0 RCALL _fdc
;Morse.c,49 :: ponto();
0x00DC 0xDFD4 RCALL _ponto
;Morse.c,50 :: traco();
0x00DE 0xDFB5 RCALL _traco
;Morse.c,51 :: traco();
0x00E0 0xDFB4 RCALL _traco
;Morse.c,52 :: fdc();
0x00E2 0xDF9C RCALL _fdc
;Morse.c,53 :: }
0x00E4 0xD7F1 BRA L_main7
L_main8:
;Morse.c,56 :: while(portb.b1 == 0){
L_main9:
0x00E6 0xB281 BTFSC PORTB, 1
0x00E8 0xD037 BRA L_main10
;Morse.c,58 :: ponto();
0x00EA 0xDFCD RCALL _ponto
;Morse.c,59 :: ponto();
0x00EC 0xDFCC RCALL _ponto
;Morse.c,60 :: traco();
0x00EE 0xDFAD RCALL _traco
;Morse.c,61 :: traco();
0x00F0 0xDFAC RCALL _traco
;Morse.c,62 :: traco();
0x00F2 0xDFAB RCALL _traco
;Morse.c,63 :: fdc();
0x00F4 0xDF93 RCALL _fdc
;Morse.c,66 :: traco();
0x00F6 0xDFA9 RCALL _traco
;Morse.c,67 :: traco();
0x00F8 0xDFA8 RCALL _traco
;Morse.c,68 :: traco();
0x00FA 0xDFA7 RCALL _traco
;Morse.c,69 :: traco();
0x00FC 0xDFA6 RCALL _traco
;Morse.c,70 :: traco();
0x00FE 0xDFA5 RCALL _traco
;Morse.c,71 :: fdc();
0x0100 0xDF8D RCALL _fdc
;Morse.c,74 :: ponto();
0x0102 0xDFC1 RCALL _ponto
;Morse.c,75 :: traco();
0x0104 0xDFA2 RCALL _traco
;Morse.c,76 :: traco();
0x0106 0xDFA1 RCALL _traco
;Morse.c,77 :: traco();
0x0108 0xDFA0 RCALL _traco
;Morse.c,78 :: traco();
0x010A 0xDF9F RCALL _traco
;Morse.c,79 :: fdc();
0x010C 0xDF87 RCALL _fdc
;Morse.c,82 :: traco();
0x010E 0xDF9D RCALL _traco
;Morse.c,83 :: traco();
0x0110 0xDF9C RCALL _traco
;Morse.c,84 :: traco();
0x0112 0xDF9B RCALL _traco
;Morse.c,85 :: traco();
0x0114 0xDF9A RCALL _traco
;Morse.c,86 :: traco();
0x0116 0xDF99 RCALL _traco
;Morse.c,87 :: fdc();
0x0118 0xDF81 RCALL _fdc
;Morse.c,90 :: ponto();
0x011A 0xDFB5 RCALL _ponto
;Morse.c,91 :: ponto();
0x011C 0xDFB4 RCALL _ponto
;Morse.c,92 :: traco();
0x011E 0xDF95 RCALL _traco
;Morse.c,93 :: traco();
0x0120 0xDF94 RCALL _traco
;Morse.c,94 :: traco();
0x0122 0xDF93 RCALL _traco
;Morse.c,95 :: fdc();
0x0124 0xDF7B RCALL _fdc
;Morse.c,98 :: traco();
0x0126 0xDF91 RCALL _traco
;Morse.c,99 :: traco();
0x0128 0xDF90 RCALL _traco
;Morse.c,100 :: traco();
0x012A 0xDF8F RCALL _traco
;Morse.c,101 :: traco();
0x012C 0xDF8E RCALL _traco
;Morse.c,102 :: traco();
0x012E 0xDF8D RCALL _traco
;Morse.c,103 :: fdc();
0x0130 0xDF75 RCALL _fdc
;Morse.c,106 :: traco();
0x0132 0xDF8B RCALL _traco
;Morse.c,107 :: ponto();
0x0134 0xDFA8 RCALL _ponto
;Morse.c,108 :: ponto();
0x0136 0xDFA7 RCALL _ponto
;Morse.c,109 :: ponto();
0x0138 0xDFA6 RCALL _ponto
;Morse.c,110 :: ponto();
0x013A 0xDFA5 RCALL _ponto
;Morse.c,111 :: fdc();
0x013C 0xDF6F RCALL _fdc
;Morse.c,114 :: ponto();
0x013E 0xDFA3 RCALL _ponto
;Morse.c,115 :: ponto();
0x0140 0xDFA2 RCALL _ponto
;Morse.c,116 :: ponto();
0x0142 0xDFA1 RCALL _ponto
;Morse.c,117 :: ponto();
0x0144 0xDFA0 RCALL _ponto
;Morse.c,118 :: ponto();
0x0146 0xDF9F RCALL _ponto
;Morse.c,119 :: fdc();
0x0148 0xDF69 RCALL _fdc
;Morse.c,122 :: traco();
0x014A 0xDF7F RCALL _traco
;Morse.c,123 :: ponto();
0x014C 0xDF9C RCALL _ponto
;Morse.c,124 :: ponto();
0x014E 0xDF9B RCALL _ponto
;Morse.c,125 :: ponto();
0x0150 0xDF9A RCALL _ponto
;Morse.c,126 :: ponto();
0x0152 0xDF99 RCALL _ponto
;Morse.c,127 :: fdc();
0x0154 0xDF63 RCALL _fdc
;Morse.c,129 :: }
0x0156 0xD7C7 BRA L_main9
L_main10:
;Morse.c,131 :: }
0x0158 0xD7B7 BRA L_main5
;Morse.c,132 :: }
L_end_main:
0x015A 0xD7FF BRA $+0
; end of _main
Symbol List:
//** Routines locations **
//ADDRESS SIZE PROCEDURE
//----------------------------------------------
0x001C [30] _fdc
0x003A [16] ___CC2DW
0x004A [60] _traco
0x0086 [60] _ponto
0x00C2 [154] _main
//** Variables locations **
//ADDRESS SIZE VARIABLE
//----------------------------------------------
0x0000 [1] FLASH_Erase_64_SaveINTCON_L0
0x0000 [1] SPI1_Write_tmp_L0
0x0000 [1] EEPROM_Write_SaveINTCON_L0
0x0000 [1] UART1_Init_tmp_L0
0x0000 [1] R0
0x0000 [1] __Lib_SoftI2C_PutZerosToLATScl_temp_scl_L0
0x0000 [1] __Lib_SoftI2C_PutZerosToLATSda_temp_sda_L0
0x0001 [1] UART1_Read___tmp_UART1_Read_L0
0x0001 [1] __Lib_TFT_16bit_JPEG_FileReadBytes_Result_L0
0x0001 [1] I2C1_Rd_tmp_L0
0x0001 [1] __Lib_TFT_JPEG_FileReadBytes_Result_L0
0x0001 [1] FLASH_Write_32_i_L0
0x0001 [1] FLASH_Erase_Write_64_i_L0
0x0001 [1] __Lib_TFT_JPEG_FileRead_i_L0
0x0001 [1] ispunct_rslt_L0
0x0001 [1] R1
0x0001
[1] __Lib_PS2_Wait_Falling_nsample_L0
0x0001 [2] FLASH_Read_N_Bytes_i_L0
0x0001 [1] __Lib_TFT_16bit_JPEG_FileRead_i_L0
0x0002 [2] memchr_s_L0
0x0002 [2] strlen_cp_L0
0x0002 [1] R2
0x0002 [2] memcpy_dd_L0
0x0002 [1] FLASH_Write_32_SaveINTCON_L0
0x0002 [2] __Lib_USB_genHID_memset_usb_int_pp_L0
0x0002 [1] FLASH_Erase_Write_64_j_L0
0x0002 [2] __Lib_USB_genHID_memset_usb_pp_L0
0x0002 [1] __Lib_USB_genHID_USB_CtrlTrf_Rx_Service_byteToRead_L0
0x0002 [2] memset_pp_L0
0x0003 [1] __Lib_USB_genHID_USB_CtrlTrf_Rx_Service_i_L0
0x0003 [2] MM_TotalFreeMemSize_Tot_L0
0x0003 [1] MM_Init_i_L0
0x0003 [2] __Lib_USB_genHID_USB_CtrlTrf_Tx_Service_byteToSend_L0
0x0003 [1] FLASH_Erase_Write_64_SaveINTCON_L0
0x0003 [2] __Lib_MmcFat16_f16_toInt_l_L0
0x0003 [1] R3
0x0003 [2] Ltrim_original_L0
0x0003 [2] memmove_tt_L0
0x0004 [2] __Lib_USB_genHID_USB_Get_Status_Handler_p_L2
0x0004 [2] __Lib_USB_genHID_USB_Std_Feature_Req_Handler_p_L0
0x0004 [1] R4
0x0004 [2] __Lib_USB_genHID_USB_Transfer_Packet_Int_handle_L0
0x0004 [2] __Lib_USB_genHID_USB_Transfer_Packet_handle_L0
0x0004 [2] __Lib_MemManager_MM_GetMemAlign_P_L0
0x0004 [2] strcpy_cp_L0
0x0004 [2] strncat_cp_L0
0x0004 [2] strncpy_cp_L0
0x0004 [2] strcat_cp_L0
0x0004 [2] frexp_pom_L0
0x0004 [2] memcpy_ss_L0
0x0005 [1] R5
0x0005 [2] LongIntToHex_input_half_L0
0x0005 [2] Ltrim_p_L0
0x0005 [2] LongWordToHex_input_half_L0
0x0005 [2] memmove_ff_L0
0x0005 [1] MM_TotalFreeMemSize_i_L0
0x0005 [2] __Lib_USB_genHID_USB_Configure_Endpoint_handle_L0
0x0006 [1] R6
0x0006 [1] __Lib_MemManager_MM_GetMemAlign_i_L0
0x0007 [1] R7
0x0007 [1] __Lib_TFT_JPEG_GenerateHuffmanTables_bLength_L0
0x0007 [1] __Lib_TFT_16bit_JPEG_GenerateHuffmanTables_bLength_L0
0x0008 [1] __Lib_TFT_16bit_JPEG_GenerateHuffmanTables_bTable_L0
0x0008 [1] R8
0x0008 [1] __Lib_TFT_JPEG_GenerateHuffmanTables_bTable_L0
0x0009 [1] R9
0x0009 [4] __Lib_MmcFat16_f16_toLong_l_L0
0x000A [1] R10
0x000B [1] R11
0x000C [1] R12
0x000D [1] R13
0x000E [1] R14
0x000F [1] R15
0x0010 [1] R16
0x0011 [1] R17
0x0012 [1] R18
0x0013 [1] R19
0x0014 [1] R20
0x0F81 [1] PORTB
0x0F83 [1] PORTD
0x0F93 [1] TRISB
0x0F95 [1] TRISD
0x0FD8 [1] STATUS
0x0FD9 [1] FSR2L
0x0FDA [1] FSR2H
0x0FDE [1] POSTINC2
0x0FE0 [1] BSR
0x0FE1 [1] FSR1L
0x0FE2 [1] FSR1H
0x0FE4 [1] PREINC1
0x0FE6 [1] POSTINC1
0x0FE7 [1] INDF1
0x0FE8 [1] WREG
0x0FE9 [1] FSR0L
0x0FEA [1] FSR0H
0x0FEE [1] POSTINC0
0x0FF3 [1] PRODL
0x0FF4 [1] PRODH
0x0FF5 [1] TABLAT
0x0FF6 [1] TBLPTRL
0x0FF7 [1] TBLPTRH
0x0FF8 [1] TBLPTRU
//** Label List: **
//----------------------------------------------
L_ponto0
L_ponto1
L_traco2
L_traco3
L_fdc4
L_main5
L_main6
L_main7
L_main8
L_main9
L_main10
L_end_ponto
_ponto
L_end_traco
_traco
L_end_fdc
_fdc
L_end_main
_main
_CC2D_Loop1
_CC2DL_Loop1
L_loopCA2AWs
L_loopCCA2AWs
L_loopCS2Ss
L_CS2Send
L_loopCCS2Ss
L_CCS2Send
L_loopFZinSWs
L_longjmp7
L_end___CC2D
___CC2D
L_end___CC2DW
___CC2DW
L_end___CA2AW
___CA2AW
L_end___CCA2AW
___CCA2AW
L_end___CS2S
___CS2S
L_end___CCS2S
___CCS2S
L_end___FZinS
___FZinS
L_end_____DoIFC
_____DoIFC
L_end_Swap
_Swap
L_end_setjmp
_setjmp
L_end_longjmp
_longjmp
Morse/Morse.mcl
Morse/Morse.mcppi
[DEVICE]
Name=P18F4550
Clock=8000000
[MEMORY_MODEL]
Value=-1
[BUILD_TYPE]
Value=0
[ACTIVE_TAB]
Value=Morse.c
[USE_EEPROM]
Value=0
[USE_HEAP]
Value=0
[HEAP_SIZE]
Value=0
[EEPROM_DEFINITION]
Value=
[FILES]
Count=1
File0=Morse.c
[BINARIES]
Count=0
[IMAGES]
Count=0
ActiveImageIndex=-1
[OPENED_FILES]
Count=1
File0=Morse.c
[EEPROM]
Count=0
[ACTIVE_COMMENTS_FILES]
Count=0
[OTHER_FILES]
Count=0
[SEARCH_PATH]
Count=3
Path0=C:\Program Files (x86)\mikroC PRO for PIC\defs\
Path1=C:\Program Files (x86)\mikroC PRO for PIC\uses\P18\
Path2=C:\Users\Aluno\Desktop\Morse\
[HEADER_PATH]
Count=0
[HEADERS]
Count=0
[PLDS]
Count=0
[Useses]
Count=53
File0=ADC
File1=Button
File2=CAN_SPI
File3=Compact_Flash
File4=Compact_Flash_FAT16
File5=Conversions
File6=C_Math
File7=C_Stdlib
File8=C_String
File9=C_Type
File10=EEPROM
File11=EPSON_S1D13700
File12=FLASH
File13=Glcd
File14=Glcd_Fonts
File15=I2C
File16=Keypad4x4
File17=Lcd
File18=Lcd_Constants
File19=Manchester
File20=MemManager
File21=Mmc
File22=Mmc_FAT16
File23=Mmc_Fat16_Config
File24=One_Wire
File25=Port_Expander
File26=PrintOut
File27=PS2
File28=PWM
File29=RS485
File30=Software_I2C
File31=Software_SPI
File32=Software_UART
File33=Sound
File34=SPI
File35=SPI_Ethernet
File36=SPI_Ethernet_24j600
File37=SPI_Glcd
File38=SPI_Lcd
File39=SPI_Lcd8
File40=SPI_T6963C
File41=Sprintf
File42=Sprinti
File43=Sprintl
File44=T6963C
File45=TFT
File46=TFT_16bit
File47=TFT_TouchPanel
File48=Time
File49=TouchPanel
File50=Trigonometry
File51=UART
File52=USB
[EXPANDED NODES]
Node1=Sources
Count=1
Morse/Morse.mcppi_callertable.txt
main
ponto
traco
fdc
Morse/Morse.txt
// Sistemas Embarcados
//Rodrigo Reviglio Weishaupt
//201020656
//Codigo Morse - Pratica 01
// funcao ponto
void ponto(){
portd = 255;
delay_ms(250);
portd = 0;
delay_ms(200);
}
//funcao traco
void traco(){
portd = 255;
delay_ms(1000);
portd = 0;
delay_ms(200);
}
//funcao fim de caractere
void fdc(){
delay_ms(1000);
}
void main() {
//definicao de pinos
trisb = 3; //rb1 e rb0 definidos como entrada
trisd = 0; //rd0 a rd7 definidos como saida
while(1){
//Iniciais
while(portb.b0 == 0){
// R
ponto();
traco();
ponto();
fdc();
// R
ponto();
traco();
ponto();
fdc();
// W
ponto();
traco();
traco();
fdc();
}
//numero de matricula
while(portb.b1 == 0){
// 2
ponto();
ponto();
traco();
traco();
traco();
fdc();
// 0
traco();
traco();
traco();
traco();
traco();
fdc();
// 1
ponto();
traco();
traco();
traco();
traco();
fdc();
// 0
traco();
traco();
traco();
traco();
traco();
fdc();
// 2
ponto();
ponto();
traco();
traco();
traco();
fdc();
// 0
traco();
traco();
traco();
traco();
traco();
fdc();
// 6
traco();
ponto();
ponto();
ponto();
ponto();
fdc();
// 5
ponto();
ponto();
ponto();
ponto();
ponto();
fdc();
// 6
traco();
ponto();
ponto();
ponto();
ponto();
fdc();
}
}
}
Morse/Morse.user.dic
Morse/MorseCode.docx
// Sistemas Embarcados
//Rodrigo Reviglio Weishaupt
//201020656
//Codigo Morse - Pratica 01
// funcao ponto
void ponto(){
portd = 255;
delay_ms(250);
portd = 0;
delay_ms(200);
}
//funcao traco
void traco(){