/Designs/Measuring_instruments/GM_counter/SW/counter/main.bak
54,12 → 54,16
}
}
 
#define TRESHOLD_setup 1
#define INTERVAL_setup 0
 
 
void main()
{
unsigned int16 integration_time=60;
unsigned int16 time;
unsigned int16 last_timer; // promena pro praskani
unsigned int1 button_press,voltage_setup=0,time_setup=1; // semafor pro cteni tlacitek
unsigned int1 button_press,setup_mode=INTERVAL_setup; // semafor pro cteni tlacitek
unsigned int16 measurement_number=0;
 
setup_adc_ports(sAN0|VSS_VDD);
190,18 → 194,19
if(!input(S4))
{
button_press=true;
if(time_setup==TRUE)
switch (setup_mode)
{
sound_beep(100,400);
if(integration_time > 0x0001 ) integration_time--;
case INTERVAL_setup:
sound_beep(100,400);
if(integration_time > 0x0001 ) integration_time--;
 
set_timer0(0); // vynulovani pocitadel, kdyz uzivatel sahne na tlacitka
time_overflow_count=0;
set_timer1(0);
overflow_count=0;
set_timer0(0); // vynulovani pocitadel, kdyz uzivatel sahne na tlacitka
time_overflow_count=0;
set_timer1(0);
overflow_count=0;
break;
}
if(time_setup==TRUE)
{
}
}
212,8 → 217,7
{
button_press=true;
sound_beep(100,800);
voltage_setup=FALSE;
time_setup=TRUE;
setup_mode=INTERVAL_setup;
}
}
224,8 → 228,7
{
button_press=true;
sound_beep(100,800);
voltage_setup=TRUE;
time_setup=FALSE;
setup_mode=TRESHOLD_setup;
}
}
}
/Designs/Measuring_instruments/GM_counter/SW/counter/main.c
54,13 → 54,18
}
}
 
#define TRESHOLD_setup 1
#define INTERVAL_setup 0
 
 
void main()
{
unsigned int16 integration_time=60;
unsigned int16 time;
unsigned int16 last_timer; // promena pro praskani
unsigned int1 button_press,voltage_setup,time_setup; // semafor pro cteni tlacitek
unsigned int1 button_press,setup_mode=INTERVAL_setup; // semafor pro cteni tlacitek
unsigned int16 measurement_number=0;
unsigned int8 treshold=6;
 
setup_adc_ports(sAN0|VSS_VDD);
setup_adc(ADC_CLOCK_DIV_32);
82,7 → 87,7
output_low(BEEP);
 
setup_comparator(CP2_A0_VREF|CP2_OUT_ON_A5); // sets two comparators(A1 and VR and A2 as the output)
setup_vref(VREF_HIGH|6); //sets 3.6(vdd *value/32 +vdd/4) if vdd is 5.0V
setup_vref(VREF_HIGH|treshold); //sets 3.6(vdd *value/32 +vdd/4) if vdd is 5.0V
enable_interrupts(INT_COMP); //enables the comparator interrupt
enable_interrupts(INT_RTCC);
enable_interrupts(INT_TIMER1);
120,9 → 125,8
}
lcd_gotoxy(1,2);
printf(lcd_putc,"T:%lu ",time);
lcd_gotoxy(9,2);
printf(lcd_putc,"I:%lu ", integration_time);
printf(lcd_putc,"T:%3lu I:%3lu U:%2u ",time,integration_time,treshold);
// printf(lcd_putc,"I:%4lu ", integration_time);
 
if(time == 0) // po uplynuti mereneho intervalu vypis na seriovku
{
143,10 → 147,17
if(!input(S1))
{
button_press=true;
if(time_setup==TRUE)
sound_beep(100,700);
switch (setup_mode)
{
sound_beep(100,700);
if(integration_time < 0xfffa ) integration_time+=5;
case INTERVAL_setup:
if(integration_time < 0xfffa ) integration_time+=5;
break;
case TRESHOLD_setup:
if(treshold < 0x0a ) treshold +=5;
setup_vref(VREF_HIGH|treshold); //sets 3.6(vdd *value/32 +vdd/4) if vdd is 5.0V
break;
}
}
}
157,15 → 168,20
if(!input(S2))
{
button_press=true;
if(time_setup==TRUE)
sound_beep(100,600);
switch (setup_mode)
{
sound_beep(100,600);
if(integration_time > 0x0005 ) integration_time-=5;
 
set_timer0(0); // vynulovani pocitadel, kdyz uzivatel sahne na tlacitka
time_overflow_count=0;
set_timer1(0);
overflow_count=0;
case INTERVAL_setup:
if(integration_time > 0x0005 ) integration_time-=5;
set_timer0(0); // vynulovani pocitadel, kdyz uzivatel sahne na tlacitka
time_overflow_count=0;
set_timer1(0);
overflow_count=0;
break;
case TRESHOLD_setup:
if(treshold > 0x05 ) treshold +=5;
setup_vref(VREF_HIGH|treshold); //sets 3.6(vdd *value/32 +vdd/4) if vdd is 5.0V
break;
}
}
}
176,10 → 192,17
if(!input(S3))
{
button_press=true;
if(time_setup==TRUE)
sound_beep(100,500);
switch (setup_mode)
{
sound_beep(100,500);
if(integration_time < 0xffff ) integration_time++;
case INTERVAL_setup:
if(integration_time < 0xffff ) integration_time++;
break;
 
case TRESHOLD_setup:
if(treshold < 0x0F ) treshold ++;
setup_vref(VREF_HIGH|treshold); //sets 3.6(vdd *value/32 +vdd/4) if vdd is 5.0V
break;
}
}
}
190,18 → 213,23
if(!input(S4))
{
button_press=true;
if(time_setup==TRUE)
sound_beep(100,400);
switch (setup_mode)
{
sound_beep(100,400);
if(integration_time > 0x0001 ) integration_time--;
case INTERVAL_setup:
if(integration_time > 0x0001 ) integration_time--;
 
set_timer0(0); // vynulovani pocitadel, kdyz uzivatel sahne na tlacitka
time_overflow_count=0;
set_timer1(0);
overflow_count=0;
set_timer0(0); // vynulovani pocitadel, kdyz uzivatel sahne na tlacitka
time_overflow_count=0;
set_timer1(0);
overflow_count=0;
break;
case TRESHOLD_setup:
if(treshold > 0x01 ) treshold--;
setup_vref(VREF_HIGH|treshold); //sets 3.6(vdd *value/32 +vdd/4) if vdd is 5.0V
break;
}
if(time_setup==TRUE)
{
}
}
212,8 → 240,9
{
button_press=true;
sound_beep(100,800);
voltage_setup=FALSE;
time_setup=TRUE;
setup_mode=INTERVAL_setup;
lcd_gotoxy(16,1); // prepsani dat na displeje
printf(lcd_putc,"I");
}
}
224,8 → 253,9
{
button_press=true;
sound_beep(100,800);
voltage_setup=TRUE;
time_setup=FALSE;
setup_mode=TRESHOLD_setup;
lcd_gotoxy(16,1); // prepsani dat na displeje
printf(lcd_putc,"U");
}
}
}
/Designs/Measuring_instruments/GM_counter/SW/counter/main.cof
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/Designs/Measuring_instruments/GM_counter/SW/counter/main.err
1,2 → 1,2
*** Error 79 "main.c" Line 240(0,1): Expect }
1 Errors, 0 Warnings.
Memory usage: ROM=37% RAM=10% - 15%
0 Errors, 0 Warnings.
/Designs/Measuring_instruments/GM_counter/SW/counter/main.esym
1,7 → 1,7
D G "__PCM__" 0 240 ""4.106""
D G "__DEVICE__" 0 240 "887"
D G "__DATE__" 0 240 ""22-5-13""
D G "__TIME__" 0 240 ""12:41:56"" "Standard Header file for the PIC16F887 device ////////////////"
D G "__PCM__" 0 270 ""4.106""
D G "__DEVICE__" 0 270 "887"
D G "__DATE__" 0 270 ""23-V-13""
D G "__TIME__" 0 270 ""16:19:42"" "Standard Header file for the PIC16F887 device ////////////////"
d G "PIN_A0" 2 20 "40"
d G "PIN_A1" 2 21 "41"
d G "PIN_A2" 2 22 "42"
338,29 → 338,39
V L "lenght" 0 46 "int8"
V L "frequency" 0 46 "int16"
V L "i" 0 48 "int8"
F G "MAIN" 0 57 "void()"
V L "integration_time" 0 59 "int16"
V L "time" 0 60 "int16"
V L "last_timer" 0 61 "int16" "promena pro praskani"
V L "button_press" 0 62 "int1"
V L "voltage_setup" 0 62 "int1"
V L "time_setup" 0 62 "int1" "semafor pro cteni tlacitek"
V L "measurement_number" 0 63 "int16"
C L "MAIN" 0 84 1 "FUNCTION"
C L "MAIN" 0 84 1 "FUNCTION"
C L "MAIN" 0 84 1 "FUNCTION"
C L "MAIN" 0 84 1 "FUNCTION"
C L "MAIN" 0 84 1 "FUNCTION"
C L "MAIN" 0 84 1 "FUNCTION"
C L "MAIN" 0 84 1 "FUNCTION"
C L "MAIN" 0 84 1 "FUNCTION"
C L "MAIN" 0 84 1 "FUNCTION"
C L "MAIN" 0 84 1 "FUNCTION"
C L "MAIN" 0 84 1 "FUNCTION"
C L "MAIN" 0 84 1 "FUNCTION"
C L "MAIN" 0 84 1 "FUNCTION"
C L "MAIN" 0 84 1 "FUNCTION"
C L "MAIN" 0 84 1 "FUNCTION"
D G "TRESHOLD_setup" 0 57 "1"
D G "INTERVAL_setup" 0 58 "0"
F G "MAIN" 0 61 "void()"
V L "integration_time" 0 63 "int16"
V L "time" 0 64 "int16"
V L "last_timer" 0 65 "int16" "promena pro praskani"
V L "button_press" 0 66 "int1"
V L "setup_mode" 0 66 "int1"
C L "MAIN" 0 66 1 "FUNCTION"
V L "measurement_number" 0 67 "int16"
V L "treshold" 0 68 "int8"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
C L "MAIN" 0 66 1 "FUNCTION"
F B "reset_cpu" 0 0
F B "abs" 1 0
F B "sleep_ulpwu" 1 0
/Designs/Measuring_instruments/GM_counter/SW/counter/main.hex
17,342 → 17,365
:1001000061376410D5295417633DA0060A000C001E
:10011000C3377537741D2536751020102010000068
:10012000C3377537741D2536751020102010000157
:10013000491D2536751020102000A423CD2131172C
:100140003010253675102536751025367510A00629
:100150000A0046308400831300080319BC280230CB
:10016000F800F701F70BB228F80BB1289730F70029
:10017000F70BB828800BAF2808004D18C1280812CB
:10018000C2280816831608128312CD18C9288812AF
:10019000CA2888168316881283124D19D12808138D
:1001A000D2280817831608138312CD19D92888136B
:1001B000DA2888178316881300008312091483161F
:1001C0000910E228E328831209108316091083120C
:1001D0000800CE018316081600308312081A013079
:1001E000CE048316881600308312881A0130F70077
:1001F0000310F70D7708CE0483160817003083121A
:10020000081B0130F700F70DF70DFC30F7057708F4
:10021000CE048316881700308312881B0130F70044
:10022000F70DF70DF70DF830F7057708CE044E08F7
:10023000F80008008316091089100911831289102B
:10024000831689100816881608178817831209154F
:100250008316091100008312091483160910000087
:100260008312E9207808CD000910831609100000D8
:1002700083120914831609103D298312E920780896
:10028000CC0009108316091008128812081388136D
:1002900083124D0EF700F030F70577084C04F80094
:1002A0007808CC00CC1F562983162229CA08031DC2
:1002B0005B2989105C298914831689100000831238
:1002C0000911831609110000831209108316091001
:1002D00083124B0ECC000F30CC054C08CD00BD2056
:1002E0004B080F39CC00CD00BD2008008316081242
:1002F00088120813881309108910091183128910B4
:1003000083168910831209118316091183120910AB
:10031000831609100F308312C600A9200130B900DE
:100320003908033C031C9C290330CD00BD20053057
:10033000C600A920B90A90290230CD00BD20B9011C
:100340003908033C031CAD2939083820BA00CA011A
:100350003A08CB001A21B90AA0298A150A12B32833
:10036000470BB329B6294030C800B729C80101306E
:100370004602C80748088038C900CA014908CB00AE
:100380001A2108004508073A0319D0290B3A031926
:10039000D529063A0319DD29023A0319E329E82988
:1003A0000130C600C700B021EE29CA010130CB00E0
:1003B0001A210230C600A920EE290130C600023001
:1003C000C700B021EE29CA011030CB001A21EE2956
:1003D0000130CA004508CB001A21EE290800831617
:1003E00003178C170C140000000083120C087F39CF
:1003F0000319332A0313B90003170D080313BA00B6
:1004000003170F080313BB003908C500C2213A08BF
:1004100003178D0003133B0803178F0083168C17F7
:100420000C140000000083120C0D0E0D7F3903190F
:10043000332A0313B90003170D080313BA00031777
:100440000F080313BB003908C500C2213A0803177F
:100450008D0003133B0803178F008D0A03198F0AC1
:100460000313EF290317031308008316861383125F
:1004700086130830F8003C2A0000F8174D2AF813BC
:10048000C50C03188617031C861378174D2A78139A
:10049000F80B402A4B2A000086173F308400840B5B
:1004A0004F2A0000F81B3F2A781B472A08008316B2
:1004B00003178C170C140000000083120C087F39FE
:1004C00003199B2A0313B90003170D080313BA007D
:1004D00003170F080313BB003908C50035223A087B
:1004E00003178D0003133B0803178F0083168C1727
:1004F0000C140000000083120C0D0E0D7F3903193F
:100500009B2A0313B90003170D080313BA0003173E
:100510000F080313BB003908C50035223A0803173A
:100520008D0003133B0803178F008D0A03198F0AF0
:100530000313572A031703130800831603178C1796
:100540000C14000000000318CC2A83120C087F3919
:100550000313BA0003170D080313BB0003170F089A
:100560000313BC003A08C500C2213B0803178D00E5
:1005700003133C0803178F0083168C170C1400001C
:10058000000083120313B90BC62AC92A8316031766
:10059000CC2AEB2A8316031783120C0D0E0D7F391C
:1005A0000313BA0003170D080313BB0003170F084A
:1005B0000313BC003A08C500C2213B0803178D0095
:1005C00003133C0803178F008D0A03198F0A0310C9
:1005D0000313B90B9D2A0800F701F801F901FA018C
:1005E000CD01CE01CF01D0014C084B044A0449048F
:1005F00003192A2B2030D1000310C50DC60DC70DDD
:10060000C80DCD0DCE0DCF0DD00D4C085002031DE1
:10061000132B4B084F02031D132B4A084E02031DD8
:10062000132B49084D02031C242B4908CD024A080C
:10063000031C4A0FCE024B08031C4B0FCF024C0881
:10064000031C4C0FD0020314F70DF80DF90DFA0D31
:10065000D10BFC2A4D308400831308000408BD0030
:100660003B30C4009A30C300CA30C200C1010A3016
:10067000BF003C08C8003B08C7003A08C60039085C
:10068000C5004408CC004308CB004208CA0041081A
:10069000C900EC220008B900840A0008BA00840AE4
:1006A0000008BB00840A0008BC00F708031D6B2B80
:1006B0003F08013A03196B2B3D0803196C2B0F39C6
:1006C0003F020319652B0318712BBD1B712B3D1BBA
:1006D0006C2B20306D2BBD013030F7077708C5003B
:1006E000C2214408C8004308C7004208C6004108A8
:1006F000C500CC01CB01CA010A30C900EC227A083E
:10070000C4007908C3007808C2007708C100BF0B95
:10071000392B08001030BF00F701FA01BC0CBB0CEC
:10072000031C982B3D08F7070318FA0A3E08FA073E
:10073000FA0CF70CF90CF80CBF0B8E2B8A150A1269
:100740002D298E30F7004008F8003F08F900FA0123
:10075000F808031DB52B7908F800F9010830F702F5
:10076000F808031DB52BF701BD2B0310F81BBC2B9C
:10077000F90DF80DF703B52BF81308003B08031922
:100780002E2CC3003F0803192E2CC3070318CF2BB0
:100790007F30C302031C2E2C03192E2CD32B813047
:1007A000C30703182E2C4308F700F801F901FA01DA
:1007B0003C08C700C7173D08C6003E08C5001830F2
:1007C000C300C401451CFC2B4208FA07031CEE2B96
:1007D000F90A031DEE2BF80A0319C4174108F9079B
:1007E000031CF52BF80A0319C4174008BD00BD17F8
:1007F0003D08F8070318C417C40DF80CF90CFA0CDF
:10080000C70CC60CC50C0310C30BE12B0130F70756
:1008100003182E2CF81B132CC70DFA0DF90DF80D2B
:10082000F70303192E2CC71F242CFA0A031D242CAE
:10083000F90A031D242CF80A031D242CF80CF90CCA
:10084000FA0CF70A03192E2C3C08C4004008C40611
:10085000C41F2C2CF817322CF813322CF701F80196
:10086000F901FA018A150A125B2980308318C4063F
:10087000C901CA014008C8004408C8063F08031956
:10088000252DC700F700430803192E2DC7020319B1
:10089000CA2C031C882C4408CD00CD174508CC0079
:1008A0004608CB00CA010310CD0CCC0CCB0CCA0CF3
:1008B000C70B522CC81F5F2C4914422D49104710FA
:1008C0004916423084008313572D4912C81B722CDD
:1008D000471C7D2CCD0CCC0CCB0CCA0CF70A031991
:1008E0003D2D7D2CCD1B802C0310CA0DCB0DCC0DC6
:1008F000CD0DF70303193D2D722C4917EA2C49132E
:100900004008C800C81F862CCD17362DCD13362DB4
:100910004308C700F7003F08C7024008CD00CD17C5
:100920004108CC004208CB00CA010310CD0CCC0C0E
:10093000CB0CCA0CC70B942CC81FA12CC914422D78
:10094000C9104710C916463084008313572DC912A9
:10095000C81BB42C471CBF2CCD0CCC0CCB0CCA0C28
:10096000F70A03193D2DBF2CCD1BC22C0310CA0D55
:10097000CB0DCC0DCD0DF70303193D2DB42CC917AC
:10098000EA2CC9134408C800C81FC82CCD17362D3F
:10099000CD13362D4408CD00CD174508CC004608B0
:1009A000CB00C81FD72CCD134915422D4911CA01C0
:1009B0004710423084008313572DC81B002D400878
:1009C000C800471CEA2CCD0CCC0CCB0CCA0CF70A87
:1009D00003193D2DCA1FFB2CCB0A031DFB2CCC0A8F
:1009E000031DFB2CCD0A031DFB2CCD0CCC0CCB0C1A
:1009F000F70A03193D2D491B7F2CC91BC12C1F2D44
:100A00008030CD06CD1F082D422D4408C800152D7D
:100A10004008C800CD08031D152DCC08031D152D59
:100A2000CB08031D152DF701362DCD1B1F2D0310EF
:100A3000CA0DCB0DCC0DCD0DF70B152D3D2DC81FBF
:100A4000232DCD17362DCD13362D4308F70044083E
:100A5000CD004508CC004608CB00362D3F08F700F6
:100A60004008CD004108CC004208CB004D08F800FA
:100A70004C08F9004B08FA00752DF701F801F9014F
:100A8000FA01752DCA01CB09CC09CD09CA09CA0AD8
:100A9000031D502DCB0A031D502DCC0A0319CD0A7E
:100AA00049185E2CC918A02C4919D62C052D000810
:100AB000CB07031C612DCC0A031D612DCD0A031940
:100AC000471484030008CC07031C692DCD0A0319C1
:100AD000471484030008801F803ACD070318471489
:100AE000491A652CC91AA72CDD2C8A150A127E29F1
:100AF0008E30F7003F08F7024008F9004108F8007F
:100B0000F917F70803198F2D0310F908031D8B2D12
:100B1000F80803198F2DF90CF80CF70B842DC01F62
:100B2000962DF809F909F80A0319F90A8A150A1223
:100B30008929C1010408C0004110831B41143A0EE9
:100B4000F038BC00BC07E23EBD00323EBF003A08B0
:100B50000F39BD07BD07BF07E93EBE00BE07BE0790
:100B6000390E0F39BE07BF07BE0DBF0DBF09BF0D40
:100B700039080F39BF07BC0D0730BB000A30BF076B
:100B8000BE03031CBF2DBE07BD03031CC32DBD0741
:100B9000BC03031CC72DBC07BB03031CCB2D3B3080
:100BA0008400831307304005401384073F3004025C
:100BB000031940170008F700031DE62D401BE62D22
:100BC000401AF82DC019E62D2030E92DC01540122D
:100BD0003030F707BA010408B9003A10831B3A1401
:100BE0007708C500C2213908840083133A18831797
:100BF000840A401FD62D08000830C002031C0C2EAA
:100C00004030840083130310800C000803190C2E5D
:100C10000A2E0000800B092E0800BC013C08390296
:100C2000031C552E83160811043083128806BE015A
:100C30000130BD003B08C0003A08BF00F801F901CF
:100C4000F701FA014008031D282E3F080319422E20
:100C50001030C1000310BD0DBE0DF70DFA0D400898
:100C60007A02031D352E3F087702031C3E2E3F08F3
:100C7000F702031CFA034008FA020314F80DF90DF9
:100C8000C10B2A2E7908BE007808BD003E08BF00BF
:100C9000BF0ABF030319502EFF30C000FC25492EA8
:100CA0003D08C000FC25BC0A0E2E08008316031761
:100CB0008C170C14000000000318852E83120C08FA
:100CC0007F390313BA0003170D080313BB00031782
:100CD0000F080313BC003A08C50035223B08031770
:100CE0008D0003133C0803178F0083168C170C1418
:100CF0000000000083120313B90B7F2E822E83168F
:100D00000317852EA42E8316031783120C0D0E0DC8
:100D10007F390313BA0003170D080313BB00031731
:100D20000F080313BC003A08C50035223B0803171F
:100D30008D0003133C0803178F008D0A03198F0AD7
:100D400003100313B90B562E0800C1010408C0009C
:100D50004110831B41143A0EF038BC00BC07E23E40
:100D6000BD00323EBF003A080F39BD07BD07BF07BF
:100D7000E93EBE00BE07BE07390E0F39BE07BF07EA
:100D8000BE0DBF0DBF09BF0D39080F39BF07BC0D20
:100D90000730BB000A30BF07BE03031CCB2EBE07C3
:100DA000BD03031CCF2EBD07BC03031CD32EBC0701
:100DB000BB03031CD72E3B30840083130730400550
:100DC000401384073F300402031940170008F7005E
:100DD000031DF22E401BF22E401A042FC019F22ED2
:100DE0002030F52EC01540123030F707BA01040844
:100DF000B9003A10831B3A147708C5003522390828
:100E0000840083133A188317840A401FE22E0800D7
:100E10000408BD003B30C4009A30C300CA30C20091
:100E2000C1010A30BF003C08C8003B08C7003A08AF
:100E3000C6003908C5004408CC004308CB0042086E
:100E4000CA004108C900EC220008B900840A000861
:100E5000BA00840A0008BB00840A0008BC00F70836
:100E6000031D452F3F08013A0319452F3D0803197B
:100E7000462F0F393F0203193F2F03184B2FBD1B7D
:100E80004B2F3D1B462F2030472FBD013030F70739
:100E90007708C50035224408C8004308C700420847
:100EA000C6004108C500CC01CB01CA010A30C90007
:100EB000EC227A08C4007908C3007808C2007708D9
:0C0EC000C100BF0B132F8A150A12842AF0
:10013000A423CD21311730102536751025367510C2
:1001400025367510A0060A00473084008313000886
:100150000319B7280230F800F701F70BAD28F80BA8
:10016000AC289730F700F70BB328800BAA280800BB
:100170004E18BC280812BD280816831608128312D0
:10018000CE18C4288812C5288816831688128312B0
:100190004E19CC280813CD2808178316081383128C
:1001A000CE19D4288813D528881783168813000001
:1001B0008312091483160910DD28DE288312091022
:1001C0008316091083120800CF0183160816003029
:1001D0008312081A0130CF04831688160030831268
:1001E000881A0130F7000310F70D7708CF04831643
:1001F000081700308312081B0130F700F70DF70DC8
:10020000FC30F7057708CF04831688170030831277
:10021000881B0130F700F70DF70DF70DF830F705E3
:100220007708CF044F08F8000800831609108910DA
:100230000911831289108316891008168816081769
:1002400088178312091583160911000083120914F7
:100250008316091000008312E4207808CE000910EC
:100260008316091000008312091483160910382917
:100270008312E4207808CD000910831609100812B3
:1002800088120813881383124E0EF700F030F7051A
:1002900077084D04F8007808CD00CD1F512983164A
:1002A0001D29CB08031D5629891057298914831647
:1002B00089100000831209118316091100008312AE
:1002C00009108316091083124C0ECD000F30CD0596
:1002D0004D08CE00B8204C080F39CD00CE00B82014
:1002E0000800831608128812081388130910891051
:1002F000091183128910831689108312091183163C
:10030000091183120910831609100F308312C700D8
:10031000A4200130BA003A08033C031C972903309B
:10032000CE00B8200530C700A420BA0A8B290230BD
:10033000CE00B820BA013A08033C031CA8293A08A9
:100340003820BB00CB013B08CC001521BA0A9B2901
:100350008A150A12BA28480BAE29B1294030C900C3
:10036000B229C90101304702C90749088038CA00CB
:10037000CB014A08CC00152108004608073A0319AA
:10038000CB290B3A0319D029063A0319D829023A86
:100390000319DE29E3290130C700C800AB21E92990
:1003A000CB010130CC0015210230C700A420E9297F
:1003B0000130C7000230C800AB21E929CB01103061
:1003C000CC001521E9290130CB004608CC001521CD
:1003D000E9290800831603178C170C14000000008D
:1003E00083120C087F3903192E2A0313BA0003174E
:1003F0000D080313BB0003170F080313BC003A08D2
:10040000C600BD213B0803178D0003133C080317EA
:100410008F0083168C170C140000000083120C0D43
:100420000E0D7F3903192E2A0313BA0003170D0886
:100430000313BB0003170F080313BC003A08C600E0
:10044000BD213B0803178D0003133C0803178F00E1
:100450008D0A03198F0A0313EA29031703130800EF
:1004600083168613831286130830F800372A00009B
:10047000F817482AF813C60C03188617031C8613AE
:100480007817482A7813F80B3B2A462A000086176B
:100490003F308400840B4A2A0000F81B3A2A781B5C
:1004A000422A0800831603178C170C140000000062
:1004B00083120C087F390319962A0313BA00031715
:1004C0000D080313BB0003170F080313BC003A0801
:1004D000C60030223B0803178D0003133C080317A6
:1004E0008F0083168C170C140000000083120C0D73
:1004F0000E0D7F390319962A0313BA0003170D084E
:100500000313BB0003170F080313BC003A08C6000F
:1005100030223B0803178D0003133C0803178F009C
:100520008D0A03198F0A0313522A031703130800B5
:10053000831603178C170C14000000000318C72A39
:1005400083120C087F390313BB0003170D08031334
:10055000BC0003170F080313BD003B08C600BD21F4
:100560003C0803178D0003133D0803178F00831603
:100570008C170C140000000083120313BA0BC12A5D
:10058000C42A83160317C72AE62A83160317831281
:100590000C0D0E0D7F390313BB0003170D08031359
:1005A000BC0003170F080313BD003B08C600BD21A4
:1005B0003C0803178D0003133D0803178F008D0AB5
:1005C00003198F0A03100313BA0B982A0800F701C6
:1005D000F801F901FA01CE01CF01D001D1014D0896
:1005E0004C044B044A040319252B2030D20003107D
:1005F000C60DC70DC80DC90DCE0DCF0DD00DD10D37
:100600004D085102031D0E2B4C085002031D0E2BEA
:100610004B084F02031D0E2B4A084E02031C1F2BD2
:100620004A08CE024B08031C4B0FCF024C08031C98
:100630004C0FD0024D08031C4D0FD1020314F70DCF
:10064000F80DF90DFA0DD20BF72A4E308400831302
:1006500008000408BE003B30C5009A30C400CA3010
:10066000C300C2010A30C0003D08C9003C08C800F0
:100670003B08C7003A08C6004508CD004408CC0036
:100680004308CB004208CA00E7220008BA00840AE7
:100690000008BB00840A0008BC00840A0008BD00F2
:1006A000F708031D662B4008013A0319662B3E0824
:1006B0000319672B0F3940020319602B03186C2BA9
:1006C000BE1B6C2B3E1B672B2030682BBE013030CD
:1006D000F7077708C600BD214508C9004408C800CF
:1006E0004308C7004208C600CD01CC01CB010A3047
:1006F000CA00E7227A08C5007908C4007808C30058
:100700007708C200C00B342B08001030C000F7017E
:10071000FA01BD0CBC0C031C932B3E08F707031811
:10072000FA0A3F08FA07FA0CF70CF90CF80CC00BA0
:10073000892B8A150A1234298E30F7004108F800F7
:100740004008F900FA01F808031DB02B7908F800F9
:10075000F9010830F702F808031DB02BF701B82B98
:100760000310F81BB72BF90DF80DF703B02BF81396
:1007700008003C080319292CC40040080319292C3F
:10078000C4070318CA2B7F30C402031C292C031989
:10079000292CCE2B8130C4070318292C4408F700DC
:1007A000F801F901FA013D08C800C8173E08C70062
:1007B0003F08C6001830C400C501461CF72B43088B
:1007C000FA07031CE92BF90A031DE92BF80A0319A0
:1007D000C5174208F907031CF02BF80A0319C517BF
:1007E0004108BE00BE173E08F8070318C517C50D1F
:1007F000F80CF90CFA0CC80CC70CC60C0310C40B8F
:10080000DC2B0130F7070318292CF81B0E2CC80D20
:10081000FA0DF90DF80DF7030319292CC81F1F2C29
:10082000FA0A031D1F2CF90A031D1F2CF80A031DC9
:100830001F2CF80CF90CFA0CF70A0319292C3D08A7
:10084000C5004108C506C51F272CF8172D2CF81325
:100850002D2CF701F801F901FA018A150A12622913
:1008600080308318C506CA01CB014108C90045087C
:10087000C90640080319202DC800F70044080319D1
:10088000292DC8020319C52C031C832C4508CE0052
:10089000CE174608CD004708CC00CB010310CE0C84
:1008A000CD0CCC0CCB0CC80B4D2CC91F5A2C4A14A8
:1008B0003D2D4A1048104A16433084008313522DB0
:1008C0004A12C91B6D2C481C782CCE0CCD0CCC0CBC
:1008D000CB0CF70A0319382D782CCE1B7B2C031078
:1008E000CB0DCC0DCD0DCE0DF7030319382D6D2C8E
:1008F0004A17E52C4A134108C900C91F812CCE179D
:10090000312DCE13312D4408C800F7004008C8022D
:100910004108CE00CE174208CD004308CC00CB01E1
:100920000310CE0CCD0CCC0CCB0CC80B8F2CC91FDC
:100930009C2CCA143D2DCA104810CA16473084009A
:100940008313522DCA12C91BAF2C481CBA2CCE0CD3
:10095000CD0CCC0CCB0CF70A0319382DBA2CCE1BBE
:10096000BD2C0310CB0DCC0DCD0DCE0DF70303190F
:10097000382DAF2CCA17E52CCA134508C900C91F6A
:10098000C32CCE17312DCE13312D4508CE00CE17F6
:100990004608CD004708CC00C91FD22CCE134A15FB
:1009A0003D2D4A11CB014810433084008313522D52
:1009B000C91BFB2C4108C900481CE52CCE0CCD0CF2
:1009C000CC0CCB0CF70A0319382DCB1FF62CCC0A14
:1009D000031DF62CCD0A031DF62CCE0A031DF62CA2
:1009E000CE0CCD0CCC0CF70A0319382D4A1B7A2CEF
:1009F000CA1BBC2C1A2D8030CE06CE1F032D3D2DD8
:100A00004508C900102D4108C900CE08031D102D4E
:100A1000CD08031D102DCC08031D102DF701312D1D
:100A2000CE1B1A2D0310CB0DCC0DCD0DCE0DF70B1B
:100A3000102D382DC91F1E2DCE17312DCE13312D5F
:100A40004408F7004508CE004608CD004708CC0012
:100A5000312D4008F7004108CE004208CD00430880
:100A6000CC004E08F8004D08F9004C08FA00702D33
:100A7000F701F801F901FA01702DCB01CC09CD097C
:100A8000CE09CB09CB0A031D4B2DCC0A031D4B2DE0
:100A9000CD0A0319CE0A4A18592CCA189B2C4A1998
:100AA000D12C002D0008CC07031C5C2DCD0A031DA2
:100AB0005C2DCE0A0319481484030008CD07031CDB
:100AC000642DCE0A0319481484030008801F803A5D
:100AD000CE07031848144A1A602CCA1AA22CD82C24
:100AE0008A150A1285298E30F7004008F70241085E
:100AF000F9004208F800F917F70803198A2D0310C6
:100B0000F908031D862DF80803198A2DF90CF80C35
:100B1000F70B7F2DC11F912DF809F909F80A031968
:100B2000F90A8A150A129029C2010408C10042106C
:100B3000831B42143B0EF038BD00BD07E23EBE00F1
:100B4000323EC0003B080F39BE07BE07C007E93E72
:100B5000BF00BF07BF073A0E0F39BF07C007BF0D61
:100B6000C00DC009C00D3A080F39C007BD0D0730D0
:100B7000BC000A30C007BF03031CBA2DBF07BE0369
:100B8000031CBE2DBE07BD03031CC22DBD07BC0345
:100B9000031CC62D3C3084008313073041054113EC
:100BA000840740300402031941170008F700031DB1
:100BB000E12D411BE12D411AF32DC119E12D20300A
:100BC000E42DC11541123030F707BB010408BA000B
:100BD0003B10831B3B147708C600BD213A088400F4
:100BE00083133B188317840A411FD12D08003D0849
:100BF000F8013C020318FF2D3C08F7000B2EF7010B
:100C00000830BE00BC0DF70D3D0877020318F70051
:100C1000F80DBE0B022E080078083A08BC006430BC
:100C2000BD00F7257708BA0078083030031D1F2E65
:100C3000BB1C262EBB19262E3B1A2030222EBB11A0
:100C40003B123B14F8077808C600BD213A08BC00E7
:100C50000A30BD00F7257708BA0078083030031D48
:100C6000372EBB193B2E3B1C3B2E3B1A2030F8077E
:100C70007808C600BD213030BA073A08C600BD2149
:100C80008A150A123D2A0830C102031C532E413036
:100C9000840083130310800C00080319532E512E77
:100CA0000000800B502E0800BD013D083A02031CD5
:100CB0009C2E83160811043083128806BF01013070
:100CC000BE003C08C1003B08C000F801F901F70173
:100CD000FA014108031D6F2E40080319892E1030B8
:100CE000C2000310BE0DBF0DF70DFA0D41087A02C8
:100CF000031D7C2E40087702031C852E4008F70256
:100D0000031CFA034108FA020314F80DF90DC20B93
:100D1000712E7908BF007808BE003F08C000C00AE5
:100D2000C0030319972EFF30C1004326902E3E08C2
:100D3000C1004326BD0A552E0800831603178C17E1
:100D40000C14000000000318CC2E83120C087F390D
:100D50000313BB0003170D080313BC0003170F0890
:100D60000313BD003B08C60030223C0803178D006A
:100D700003133D0803178F0083168C170C14000013
:100D8000000083120313BA0BC62EC92E8316031755
:100D9000CC2EEB2E8316031783120C0D0E0D7F390C
:100DA0000313BB0003170D080313BC0003170F0840
:100DB0000313BD003B08C60030223C0803178D001A
:100DC00003133D0803178F008D0A03198F0A0310C0
:100DD0000313BA0B9D2E0800C2010408C100421083
:100DE000831B42143B0EF038BD00BD07E23EBE003F
:100DF000323EC0003B080F39BE07BE07C007E93EC0
:100E0000BF00BF07BF073A0E0F39BF07C007BF0DAE
:100E1000C00DC009C00D3A080F39C007BD0D07301D
:100E2000BC000A30C007BF03031C122FBF07BE035C
:100E3000031C162FBE07BD03031C1A2FBD07BC03DE
:100E4000031C1E2F3C3084008313073041054113DF
:100E5000840740300402031941170008F700031DFE
:100E6000392F411B392F411A4B2FC119392F2030EF
:100E70003C2FC11541123030F707BB010408BA00FE
:100E80003B10831B3B147708C60030223A088400CD
:100E900083133B188317840A411F292F0800040875
:100EA000BE003B30C5009A30C400CA30C300C20146
:100EB0000A30C0003D08C9003C08C8003B08C70014
:100EC0003A08C6004508CD004408CC004308CB00D2
:100ED0004208CA00E7220008BA00840A0008BB00E2
:100EE000840A0008BC00840A0008BD00F708031D3E
:100EF0008C2F4008013A03198C2F3E0803198D2FBF
:100F00000F3940020319862F0318922FBE1B922F10
:100F10003E1B8D2F20308E2FBE013030F707770813
:100F2000C60030224508C9004408C8004308C7006D
:100F30004208C600CD01CC01CB010A30CA00E7222D
:100F40007A08C5007908C4007808C3007708C20091
:0A0F5000C00B5A2F8A150A12892AD5
:10100000840183131F308305713083168F000F080E
:10101000861383128617AA01A901A801A701AC01B2
:10102000AB01AE01AD01831603170908C039890071
:1010300003131F129F1200300317880083128701C9
:1010400088018901FF300313AF00B1013C30B000CB
:10105000B801B701831603170908C03989000313C3
:101060001F129F12013003178800831203131F13EE
:101070009F1783169F1783121F149412AF122F0805
:101080008316870083122F162F088316870083127A
:10109000AF112F08831687000130831294000030AF
:1010A000831694000108C039073881000730831285
:1010B00090000030F80092000030831692008312F6
:1010C0002F112F0883168700831207118316091327
:1010D0000C308312970083169B019C0101309D0008
:1010E0008312AF102F0883168700831287100C30ED
:1010F0009D0001308000713083168F000F0883122D
:1011000095019B012F132F08831687008312071761
:10111000AF122F0883168700831287162F122F080D
:101120008316870083120716831688118312881589
:10113000831608118312081103178701A430880051
:10114000103089008316031385120514863097002A
:101150008D1683128B1683160C148C14C0308312D8
:101160008B048A1176298A155A3003178D000030B6
:101170008F008A110313EF218A156A3003178D003F
:1011800000308F008A11031357228A157930031714
:101190008D0000308F008A11031357228A15043006
:1011A000B900FA30C6008A11A9208A15B90BD128D6
:1011B000873003178D0000308F008A110313EF2151
:1011C0008A150D30C5008A1135228A150A30C500EE
:1011D0008A1135228A158F018E010130C600C700A1
:1011E0008A11B0218A15883003178D0000308F00D6
:1011F000031006300313B9008A119D228A1541306D
:1012000084002A08BC002908BB002808BA00270867
:10121000B9008A112E238A158C3003178D000030F7
:101220008F00031405300313B9008A119D228A151B
:101230000F08FA000E08F7000F087A02031D18299C
:101240007708B9007A08BA00FF30BC00BB002C0850
:10125000BE002B08BD008A118A2B8A157908FA0076
:1012600078083907A7003A08A8007A0803187A0F07
:10127000A807A901AA0101303007B9003108BA0056
:101280000318BA0A2E08C0002D08BF008A11A12336
:101290008A157A08BE007908BD007808BC00770876
:1012A000BB006F30C200F030C1000530C0007A30A2
:1012B000BF008A11BE2B8A157708BB007808BC00D6
:1012C0007908BD007A08BE003A08C0003908BF009E
:1012D0008A11A1238A1583147A08C2007908C100F3
:1012E0007808C0007708BF003E08C6003D08C5006A
:1012F0003C08C4003B08C3008A11352C8A157A08C3
:10130000C2007908C1007808C0007708BF008A11C0
:10131000782D8A157908B3007808B2000F08FA0012
:101320000E08F7000F087A02031D8E297708B9000E
:101330007A08BA0034083902031DA22935083A0296
:101340000319EF298316081104308312880601302F
:10135000C6008A11A9208A15831608110430831249
:1013600088062F122F0883168700103083128706F5
:101370000F08FA000E08F7000F087A02031DB829BB
:101380007708B4007A08B5000130C600C7008A119A
:10139000B0218A15903003178D0000308F000310A4
:1013A00006300313B9008A119D228A15413084004A
:1013B0002A08BC002908BB002808BA002708B90081
:1013C0008A112E238A15943003178D0000308F0068
:1013D000031405300313B9008A119D228A150130C8
:1013E000C6000230C7008A11B0218A155430C500EA
:1013F0008A11C2218A153A30C5008A11C2218A1584
:10140000103084003308BA003208B9008A119925D7
:101410008A152030C5008A11C2218A152030C500E6
:101420008A11C2218A152030C5008A11C2218A156D
:101430000930C6000230C7008A11B0218A15493030
:10144000C5008A11C2218A153A30C5008A11C2210D
:101450008A15103084003108BA003008B9008A11AA
:1014600099258A159A3003178D0000308F000314D8
:1014700004300313B9008A119D228A15B208031D96
:10148000982AB308031D982A8101AE01AD01E83006
:10149000B9000230BB00BC30BA008A110D268A1593
:1014A0009D3003178D0000308F00031008300313A8
:1014B000B9008A1156268A15103084003808BA00FF
:1014C0003708B9008A11A5268A152030C5008A116F
:1014D00035228A15103084003108BA003008B9006E
:1014E0008A11A5268A152030C5008A1135228A1551
:1014F000413084002A08BC002908BB002808BA0033
:101500002708B9008A11082F8A15A63003178D0005
:1015100000308F00031404300313B9008A115626DB
:101520008A158F018E01AC01AB01B70A0319B80A05
:1015300036187E2B2F152F08831687008312071964
:10154000C72A1430C6008A11A9208A152F152F0822
:101550008316870083120719C72A3614361DC72A37
:101560006430B9000230BB00BC30BA008A110D26CD
:101570008A153108FF3C031CC72A031DC32A300803
:10158000F93C031CC72A0530B0070318B10AAF1590
:101590002F088316870083128719FA2A1430C60091
:1015A0008A11A9208A15AF152F0883168700831288
:1015B0008719FA2A3614361DFA2A6430B900023027
:1015C000BB005830BA008A110D268A15B108031DD8
:1015D000ED2A3008053C0318F32A0530B00200302C
:1015E000031C0130B1028101AE01AD018F018E01FA
:1015F000AC01AB0183160814831208181D2B14309C
:10160000C6008A11A9208A158316081483120818A7
:101610001D2B3614361D1D2B6430B9000130BB0064
:10162000F430BA008A110D268A15300F1A2B310FAB
:101630001A2B1D2BB00A0319B10A831688148312C2
:1016400088184A2B1430C6008A11A9208A158316DF
:101650008814831288184A2B3614361D4A2B64309E
:10166000B9000130BB009030BA008A110D268A15EE
:10167000B108031D3F2B3008013C0318432B3008F1
:101680000319B103B0038101AE01AD018F018E01D9
:10169000AC01AB018316861483128618642B1430B8
:1016A000C6008A11A9208A1583168614831286180B
:1016B000642B6430B9000330BB002030BA008A11BB
:1016C0000D268A15B61036158316061583120619CF
:1016D0007E2B1430C6008A11A9208A1583160615A0
:1016E000831206197E2B6430B9000330BB00203012
:1016F000BA008A110D268A15B61436112F152F0837
:10170000831687008312071DA12BAF152F088316A0
:1017100087008312871DA12B831608148312081CCF
:10172000A12B831688148312881CA12B8316861480
:101730008312861CA12B831606158312061DA12B6E
:06174000361018296300B9
:10105000B610B801B7010630B900831603170908A6
:10106000C039890003131F129F1201300317880033
:10107000831203131F139F1783169F1783121F14C6
:101080009412AF122F088316870083122F162F0891
:10109000831687008312AF112F0883168700013053
:1010A000831294000030831694000108C039073879
:1010B00081000730831290000030F8009200003069
:1010C0008316920083122F112F0883168700831234
:1010D0000711831609130C308312970083169B01A6
:1010E0009C0101309D008312AF102F0883168700EA
:1010F000831287100C309D00013080007130831600
:101100008F000F08831295019B012F132F08831660
:10111000870083120717AF122F08831687008312E8
:1011200087162F122F08831687008312071683163F
:10113000881183128815831608118312081103176A
:101140008701A430880010308900831603138512AC
:101150000514831239088038BA00831697008D165B
:1011600083128B1683160C148C14C03083128B04DC
:101170008A1171298A155A3003178D0000308F00AB
:101180008A110313EA218A156A3003178D00003093
:101190008F008A11031352228A15793003178D00AC
:1011A00000308F008A11031352228A150430BA00CE
:1011B000FA30C7008A11A4208A15BA0BD8288730C4
:1011C00003178D0000308F008A110313EA218A155E
:1011D0000D30C6008A1130228A150A30C6008A11E5
:1011E00030228A158F018E010130C700C8008A1194
:1011F000AB218A15883003178D0000308F00031053
:1012000006300313BA008A1198228A1541308400EF
:101210002A08BD002908BC002808BB002708BA001E
:101220008A1129238A158C3003178D0000308F0016
:10123000031405300313BA008A1198228A150F0887
:10124000FA000E08F7000F087A02031D1F2977081D
:10125000BA007A08BB00FF30BD00BC002C08BF00FC
:101260002B08BE008A11852B8A157908FA007808A8
:101270003A07A7003B08A8007A0803187A0FA807C6
:10128000A901AA0101303007BA003108BB000318D8
:10129000BB0A2E08C1002D08C0008A119C238A15A4
:1012A0007A08BF007908BE007808BD007708BC0046
:1012B0006F30C300F030C2000530C1007A30C0008A
:1012C0008A11B92B8A157708BC007808BD00790807
:1012D000BE007A08BF003B08C1003A08C0008A116E
:1012E0009C238A1583147A08C3007908C200780801
:1012F000C1007708C0003F08C7003E08C6003D088F
:10130000C5003C08C4008A11302C8A157A08C30035
:101310007908C2007808C1007708C0008A11732DCF
:101320008A157908B3007808B2000F08FA000E0891
:10133000F7000F087A02031D95297708BA007A088A
:10134000BB0034083A02031DA92935083B020319E2
:10135000F629831608110430831288060130C7006D
:101360008A11A4208A158316081104308312880676
:101370002F122F08831687001030831287060F085C
:10138000FA000E08F7000F087A02031DBF2977083C
:10139000B4007A08B5000130C700C8008A11AB213B
:1013A0008A15903003178D0000308F00031006302F
:1013B0000313BA008A1198228A15413084002A0842
:1013C000BD002908BC002808BB002708BA008A1104
:1013D00029238A15943003178D0000308F000314E1
:1013E00005300313BA008A1198228A150130C7000C
:1013F0000230C8008A11AB218A155430C6008A1108
:10140000BD218A153A30C6008A11BD218A150230E5
:1014100084003308BB003208BA008A1194258A156B
:101420002030C6008A11BD218A154930C6008A11B4
:10143000BD218A153A30C6008A11BD218A150230B5
:1014400084003108BB003008BA008A1194258A153F
:101450002030C6008A11BD218A155530C6008A1178
:10146000BD218A153A30C6008A11BD218A15390876
:10147000BA001130BB008A110C2E8A152030C6002C
:101480008A11BD218A15B208031D9D2AB308031DC8
:101490009D2A8101AE01AD01E830BA000230BC00E6
:1014A000BC30BB008A1154268A15983003178D0072
:1014B00000308F00031008300313BA008A119D26F4
:1014C0008A15103084003808BB003708BA008A112A
:1014D000EC268A152030C6008A1130228A15103079
:1014E00084003108BB003008BA008A11EC268A1546
:1014F0002030C6008A1130228A15413084002A0823
:10150000BD002908BC002808BB002708BA008A11C2
:101510004F2F8A15A13003178D0000308F00031460
:1015200004300313BA008A119D268A158F018E019B
:10153000AC01AB01B70A0319B80A3618EF2B2F1507
:101540002F088316870083120719E22A1430C70078
:101550008A11A4208A152F152F088316870083125D
:101560000719E22A36146430BA000230BC00BC30DD
:10157000BB008A1154268A150030B6180130003A93
:101580000319C62A013A0319D52AE22A3108FF3C79
:10159000031CD42A031DD02A3008F93C031CD42A8A
:1015A0000530B0070318B10AE22A3908093C031CC8
:1015B000DB2A0530B90739088038BA00831697004E
:1015C0008312E22AAF152F0883168700831287192A
:1015D0002B2B1430C7008A11A4208A15AF152F08B1
:1015E00083168700831287192B2B36146430BA00B8
:1015F0000230BC005830BB008A1154268A150030D6
:10160000B6180130003A0319092B013A03191E2BB1
:101610002B2BB108031D102B3008053C0318162B8B
:101620000530B0020030031C0130B1028101AE016F
:10163000AD018F018E01AC01AB012B2B3908053CAC
:101640000318242B0530B90739088038BA008316EF
:10165000970083122B2B8316081483120818622B11
:101660001430C7008A11A4208A1583160814831227
:101670000818622B36146430BA000130BC00F43014
:10168000BB008A1154268A150030B6180130003A82
:1016900003194E2B013A0319572B622B300F532B92
:1016A000310F532B562BB00A0319B10A622B39089C
:1016B0000E3C0318B90A39088038BA00831697001F
:1016C0008312622B8316881483128818A32B14307C
:1016D000C7008A11A4208A158316881483128818DB
:1016E000A32B36146430BA000130BC009030BB002C
:1016F0008A1154268A150030B6180130003A0319B1
:10170000852B013A0319982BA32BB108031D8C2BB1
:101710003008013C0318902B30080319B103B003C3
:101720008101AE01AD018F018E01AC01AB01A32B94
:101730003908013C031CB90339088038BA00831604
:1017400097008312A32B8316861483128618C92B45
:101750001430C7008A11A4208A15831686148312B8
:101760008618C92B36146430BA000330BC00203010
:10177000BB008A1154268A15B6101030C7000130FC
:10178000C8008A11AB218A154930C6008A11BD21D3
:101790008A158316061583120619EF2B1430C7001D
:1017A0008A11A4208A158316061583120619EF2BB9
:1017B00036146430BA000330BC002030BB008A11FC
:1017C00054268A15B6141030C7000130C8008A119B
:1017D000AB218A155530C6008A11BD218A152F15F7
:1017E0002F08831687008312071D122CAF152F08B0
:1017F000831687008312871D122C83160814831208
:10180000081C122C831688148312881C122C831631
:1018100086148312861C122C831606158312061D4D
:08182000122C36101F29630091
:04400E00F52CFF3F4F
:00000001FF
;PIC16F887
;CRC=16D5 CREATED="22-5-13 12:34"
;CRC=1D13 CREATED="23-V-13 16:19"
/Designs/Measuring_instruments/GM_counter/SW/counter/main.lst
1,11 → 1,11
CCS PCM C Compiler, Version 4.106, 47914 22-5-13 12:34
CCS PCM C Compiler, Version 4.106, 47914 23-V-13 16:19
 
Filename: D:\Honza\MLAB\Designs\Measuring_instruments\GM_counter\SW\counter\main.lst
Filename: Z:\home\kaklik\MLAB\Designs\Measuring_instruments\GM_counter\SW\counter\main.lst
 
ROM used: 2825 words (34%)
ROM used: 3009 words (37%)
Largest free fragment is 2048
RAM used: 36 (10%) at main() level
55 (15%) worst case
RAM used: 37 (10%) at main() level
56 (15%) worst case
Stack: 6 worst case (5 in main + 1 for interrupts)
 
*
89,80 → 89,80
....................
.................... #use delay(clock=8000000)
*
00A9: MOVLW 46
00AA: MOVWF 04
00AB: BCF 03.7
00AC: MOVF 00,W
00AD: BTFSC 03.2
00AE: GOTO 0BC
00AF: MOVLW 02
00B0: MOVWF 78
00B1: CLRF 77
00B2: DECFSZ 77,F
00B3: GOTO 0B2
00B4: DECFSZ 78,F
00B5: GOTO 0B1
00B6: MOVLW 97
00B7: MOVWF 77
00B8: DECFSZ 77,F
00B9: GOTO 0B8
00BA: DECFSZ 00,F
00BB: GOTO 0AF
00BC: RETURN
00A4: MOVLW 47
00A5: MOVWF 04
00A6: BCF 03.7
00A7: MOVF 00,W
00A8: BTFSC 03.2
00A9: GOTO 0B7
00AA: MOVLW 02
00AB: MOVWF 78
00AC: CLRF 77
00AD: DECFSZ 77,F
00AE: GOTO 0AD
00AF: DECFSZ 78,F
00B0: GOTO 0AC
00B1: MOVLW 97
00B2: MOVWF 77
00B3: DECFSZ 77,F
00B4: GOTO 0B3
00B5: DECFSZ 00,F
00B6: GOTO 0AA
00B7: RETURN
*
05FC: MOVLW 08
05FD: SUBWF 40,F
05FE: BTFSS 03.0
05FF: GOTO 60C
0600: MOVLW 40
0601: MOVWF 04
0602: BCF 03.7
0603: BCF 03.0
0604: RRF 00,F
0605: MOVF 00,W
0606: BTFSC 03.2
0607: GOTO 60C
0608: GOTO 60A
0609: NOP
060A: DECFSZ 00,F
060B: GOTO 609
060C: RETURN
0643: MOVLW 08
0644: SUBWF 41,F
0645: BTFSS 03.0
0646: GOTO 653
0647: MOVLW 41
0648: MOVWF 04
0649: BCF 03.7
064A: BCF 03.0
064B: RRF 00,F
064C: MOVF 00,W
064D: BTFSC 03.2
064E: GOTO 653
064F: GOTO 651
0650: NOP
0651: DECFSZ 00,F
0652: GOTO 650
0653: RETURN
.................... #use rs232(baud=9600,parity=N,xmit=PIN_B7,rcv=PIN_B6,bits=8)
*
0235: BSF 03.5
0236: BCF 06.7
0237: BCF 03.5
0238: BCF 06.7
0239: MOVLW 08
023A: MOVWF 78
023B: GOTO 23C
023C: NOP
023D: BSF 78.7
023E: GOTO 24D
023F: BCF 78.7
0240: RRF 45,F
0241: BTFSC 03.0
0242: BSF 06.7
0243: BTFSS 03.0
0244: BCF 06.7
0245: BSF 78.6
0246: GOTO 24D
0247: BCF 78.6
0248: DECFSZ 78,F
0249: GOTO 240
024A: GOTO 24B
024B: NOP
024C: BSF 06.7
024D: MOVLW 3F
024E: MOVWF 04
024F: DECFSZ 04,F
0250: GOTO 24F
0251: NOP
0252: BTFSC 78.7
0253: GOTO 23F
0254: BTFSC 78.6
0255: GOTO 247
0256: RETURN
0230: BSF 03.5
0231: BCF 06.7
0232: BCF 03.5
0233: BCF 06.7
0234: MOVLW 08
0235: MOVWF 78
0236: GOTO 237
0237: NOP
0238: BSF 78.7
0239: GOTO 248
023A: BCF 78.7
023B: RRF 46,F
023C: BTFSC 03.0
023D: BSF 06.7
023E: BTFSS 03.0
023F: BCF 06.7
0240: BSF 78.6
0241: GOTO 248
0242: BCF 78.6
0243: DECFSZ 78,F
0244: GOTO 23B
0245: GOTO 246
0246: NOP
0247: BSF 06.7
0248: MOVLW 3F
0249: MOVWF 04
024A: DECFSZ 04,F
024B: GOTO 24A
024C: NOP
024D: BTFSC 78.7
024E: GOTO 23A
024F: BTFSC 78.6
0250: GOTO 242
0251: RETURN
....................
....................
....................
384,13 → 384,13
.................... #if (defined(LCD_DATA4) && defined(LCD_DATA5) && defined(LCD_DATA6) && defined(LCD_DATA7))
.................... output_float(LCD_DATA4);
*
0122: BSF 08.4
011D: BSF 08.4
.................... output_float(LCD_DATA5);
0123: BSF 08.5
011E: BSF 08.5
.................... output_float(LCD_DATA6);
0124: BSF 08.6
011F: BSF 08.6
.................... output_float(LCD_DATA7);
0125: BSF 08.7
0120: BSF 08.7
.................... #else
.................... lcdtris.data = 0xF;
.................... #endif
397,48 → 397,48
.................... #endif
....................
.................... lcd_output_rw(1);
0121: BCF 03.5
0122: BSF 09.2
0123: BSF 03.5
0124: BCF 09.2
.................... delay_cycles(1);
0125: NOP
.................... lcd_output_enable(1);
0126: BCF 03.5
0127: BSF 09.2
0127: BSF 09.0
0128: BSF 03.5
0129: BCF 09.2
0129: BCF 09.0
.................... delay_cycles(1);
012A: NOP
.................... lcd_output_enable(1);
.................... high = lcd_read_nibble();
012B: BCF 03.5
012C: BSF 09.0
012D: BSF 03.5
012E: BCF 09.0
.................... delay_cycles(1);
012F: NOP
.................... high = lcd_read_nibble();
0130: BCF 03.5
0131: CALL 0E9
0132: MOVF 78,W
0133: MOVWF 4D
012C: CALL 0E4
012D: MOVF 78,W
012E: MOVWF 4E
....................
.................... lcd_output_enable(0);
0134: BCF 09.0
012F: BCF 09.0
0130: BSF 03.5
0131: BCF 09.0
.................... delay_cycles(1);
0132: NOP
.................... lcd_output_enable(1);
0133: BCF 03.5
0134: BSF 09.0
0135: BSF 03.5
0136: BCF 09.0
.................... delay_cycles(1);
0137: NOP
.................... lcd_output_enable(1);
0138: BCF 03.5
0139: BSF 09.0
013A: BSF 03.5
013B: BCF 09.0
.................... delay_us(1);
013C: GOTO 13D
0137: GOTO 138
.................... low = lcd_read_nibble();
013D: BCF 03.5
013E: CALL 0E9
013F: MOVF 78,W
0140: MOVWF 4C
0138: BCF 03.5
0139: CALL 0E4
013A: MOVF 78,W
013B: MOVWF 4D
....................
.................... lcd_output_enable(0);
0141: BCF 09.0
0142: BSF 03.5
0143: BCF 09.0
013C: BCF 09.0
013D: BSF 03.5
013E: BCF 09.0
....................
.................... #if defined(__PCB__)
.................... set_tris_lcd(LCD_OUTPUT_MAP);
445,13 → 445,13
.................... #else
.................... #if (defined(LCD_DATA4) && defined(LCD_DATA5) && defined(LCD_DATA6) && defined(LCD_DATA7))
.................... output_drive(LCD_DATA4);
0144: BCF 08.4
013F: BCF 08.4
.................... output_drive(LCD_DATA5);
0145: BCF 08.5
0140: BCF 08.5
.................... output_drive(LCD_DATA6);
0146: BCF 08.6
0141: BCF 08.6
.................... output_drive(LCD_DATA7);
0147: BCF 08.7
0142: BCF 08.7
.................... #else
.................... lcdtris.data = 0x0;
.................... #endif
458,14 → 458,14
.................... #endif
....................
.................... return( (high<<4) | low);
0148: BCF 03.5
0149: SWAPF 4D,W
014A: MOVWF 77
014B: MOVLW F0
014C: ANDWF 77,F
014D: MOVF 77,W
014E: IORWF 4C,W
014F: MOVWF 78
0143: BCF 03.5
0144: SWAPF 4E,W
0145: MOVWF 77
0146: MOVLW F0
0147: ANDWF 77,F
0148: MOVF 77,W
0149: IORWF 4D,W
014A: MOVWF 78
.................... }
....................
.................... BYTE lcd_read_nibble(void)
472,68 → 472,68
.................... {
.................... #if (defined(LCD_DATA4) && defined(LCD_DATA5) && defined(LCD_DATA6) && defined(LCD_DATA7))
*
00E9: CLRF 4E
00E4: CLRF 4F
.................... BYTE n = 0x00;
....................
.................... /* Read the data port */
.................... n |= input(LCD_DATA4);
00EA: BSF 03.5
00EB: BSF 08.4
00EC: MOVLW 00
00ED: BCF 03.5
00EE: BTFSC 08.4
00EF: MOVLW 01
00F0: IORWF 4E,F
00E5: BSF 03.5
00E6: BSF 08.4
00E7: MOVLW 00
00E8: BCF 03.5
00E9: BTFSC 08.4
00EA: MOVLW 01
00EB: IORWF 4F,F
.................... n |= input(LCD_DATA5) << 1;
00F1: BSF 03.5
00F2: BSF 08.5
00F3: MOVLW 00
00F4: BCF 03.5
00F5: BTFSC 08.5
00F6: MOVLW 01
00F7: MOVWF 77
00F8: BCF 03.0
00F9: RLF 77,F
00FA: MOVF 77,W
00FB: IORWF 4E,F
00EC: BSF 03.5
00ED: BSF 08.5
00EE: MOVLW 00
00EF: BCF 03.5
00F0: BTFSC 08.5
00F1: MOVLW 01
00F2: MOVWF 77
00F3: BCF 03.0
00F4: RLF 77,F
00F5: MOVF 77,W
00F6: IORWF 4F,F
.................... n |= input(LCD_DATA6) << 2;
00FC: BSF 03.5
00FD: BSF 08.6
00FE: MOVLW 00
00FF: BCF 03.5
0100: BTFSC 08.6
0101: MOVLW 01
0102: MOVWF 77
0103: RLF 77,F
0104: RLF 77,F
0105: MOVLW FC
0106: ANDWF 77,F
0107: MOVF 77,W
0108: IORWF 4E,F
00F7: BSF 03.5
00F8: BSF 08.6
00F9: MOVLW 00
00FA: BCF 03.5
00FB: BTFSC 08.6
00FC: MOVLW 01
00FD: MOVWF 77
00FE: RLF 77,F
00FF: RLF 77,F
0100: MOVLW FC
0101: ANDWF 77,F
0102: MOVF 77,W
0103: IORWF 4F,F
.................... n |= input(LCD_DATA7) << 3;
0109: BSF 03.5
010A: BSF 08.7
010B: MOVLW 00
010C: BCF 03.5
010D: BTFSC 08.7
010E: MOVLW 01
010F: MOVWF 77
0110: RLF 77,F
0111: RLF 77,F
0112: RLF 77,F
0113: MOVLW F8
0114: ANDWF 77,F
0115: MOVF 77,W
0116: IORWF 4E,F
0104: BSF 03.5
0105: BSF 08.7
0106: MOVLW 00
0107: BCF 03.5
0108: BTFSC 08.7
0109: MOVLW 01
010A: MOVWF 77
010B: RLF 77,F
010C: RLF 77,F
010D: RLF 77,F
010E: MOVLW F8
010F: ANDWF 77,F
0110: MOVF 77,W
0111: IORWF 4F,F
....................
.................... return(n);
0117: MOVF 4E,W
0118: MOVWF 78
0112: MOVF 4F,W
0113: MOVWF 78
.................... #else
.................... return(lcd.data);
.................... #endif
.................... }
0119: RETURN
0114: RETURN
....................
.................... void lcd_send_nibble(BYTE n)
.................... {
541,62 → 541,62
.................... /* Write to the data port */
.................... output_bit(LCD_DATA4, bit_test(n, 0));
*
00BD: BTFSC 4D.0
00BE: GOTO 0C1
00BF: BCF 08.4
00C0: GOTO 0C2
00C1: BSF 08.4
00C2: BSF 03.5
00C3: BCF 08.4
00B8: BTFSC 4E.0
00B9: GOTO 0BC
00BA: BCF 08.4
00BB: GOTO 0BD
00BC: BSF 08.4
00BD: BSF 03.5
00BE: BCF 08.4
.................... output_bit(LCD_DATA5, bit_test(n, 1));
00C4: BCF 03.5
00C5: BTFSC 4D.1
00C6: GOTO 0C9
00C7: BCF 08.5
00C8: GOTO 0CA
00C9: BSF 08.5
00CA: BSF 03.5
00CB: BCF 08.5
00BF: BCF 03.5
00C0: BTFSC 4E.1
00C1: GOTO 0C4
00C2: BCF 08.5
00C3: GOTO 0C5
00C4: BSF 08.5
00C5: BSF 03.5
00C6: BCF 08.5
.................... output_bit(LCD_DATA6, bit_test(n, 2));
00CC: BCF 03.5
00CD: BTFSC 4D.2
00CE: GOTO 0D1
00CF: BCF 08.6
00D0: GOTO 0D2
00D1: BSF 08.6
00D2: BSF 03.5
00D3: BCF 08.6
00C7: BCF 03.5
00C8: BTFSC 4E.2
00C9: GOTO 0CC
00CA: BCF 08.6
00CB: GOTO 0CD
00CC: BSF 08.6
00CD: BSF 03.5
00CE: BCF 08.6
.................... output_bit(LCD_DATA7, bit_test(n, 3));
00D4: BCF 03.5
00D5: BTFSC 4D.3
00D6: GOTO 0D9
00D7: BCF 08.7
00D8: GOTO 0DA
00D9: BSF 08.7
00DA: BSF 03.5
00DB: BCF 08.7
00CF: BCF 03.5
00D0: BTFSC 4E.3
00D1: GOTO 0D4
00D2: BCF 08.7
00D3: GOTO 0D5
00D4: BSF 08.7
00D5: BSF 03.5
00D6: BCF 08.7
.................... #else
.................... lcdlat.data = n;
.................... #endif
....................
.................... delay_cycles(1);
00DC: NOP
00D7: NOP
.................... lcd_output_enable(1);
00DD: BCF 03.5
00DE: BSF 09.0
00DF: BSF 03.5
00E0: BCF 09.0
00D8: BCF 03.5
00D9: BSF 09.0
00DA: BSF 03.5
00DB: BCF 09.0
.................... delay_us(2);
00E1: GOTO 0E2
00E2: GOTO 0E3
00DC: GOTO 0DD
00DD: GOTO 0DE
.................... lcd_output_enable(0);
00E3: BCF 03.5
00E4: BCF 09.0
00E5: BSF 03.5
00E6: BCF 09.0
00DE: BCF 03.5
00DF: BCF 09.0
00E0: BSF 03.5
00E1: BCF 09.0
.................... }
00E7: BCF 03.5
00E8: RETURN
00E2: BCF 03.5
00E3: RETURN
....................
.................... void lcd_send_byte(BYTE address, BYTE n)
.................... {
605,67 → 605,67
.................... #else
.................... lcd_enable_tris();
*
011A: BSF 03.5
011B: BCF 09.0
0115: BSF 03.5
0116: BCF 09.0
.................... lcd_rs_tris();
011C: BCF 09.1
0117: BCF 09.1
.................... lcd_rw_tris();
011D: BCF 09.2
0118: BCF 09.2
.................... #endif
....................
.................... lcd_output_rs(0);
011E: BCF 03.5
011F: BCF 09.1
0120: BSF 03.5
0121: BCF 09.1
0119: BCF 03.5
011A: BCF 09.1
011B: BSF 03.5
011C: BCF 09.1
.................... while ( bit_test(lcd_read_byte(),7) ) ;
*
0150: MOVF 78,W
0151: MOVWF 4C
0152: BTFSS 4C.7
014B: MOVF 78,W
014C: MOVWF 4D
014D: BTFSS 4D.7
014E: GOTO 151
014F: BSF 03.5
0150: GOTO 11D
.................... lcd_output_rs(address);
0151: MOVF 4B,F
0152: BTFSS 03.2
0153: GOTO 156
0154: BSF 03.5
0155: GOTO 122
.................... lcd_output_rs(address);
0156: MOVF 4A,F
0157: BTFSS 03.2
0158: GOTO 15B
0159: BCF 09.1
015A: GOTO 15C
015B: BSF 09.1
0154: BCF 09.1
0155: GOTO 157
0156: BSF 09.1
0157: BSF 03.5
0158: BCF 09.1
.................... delay_cycles(1);
0159: NOP
.................... lcd_output_rw(0);
015A: BCF 03.5
015B: BCF 09.2
015C: BSF 03.5
015D: BCF 09.1
015D: BCF 09.2
.................... delay_cycles(1);
015E: NOP
.................... lcd_output_rw(0);
.................... lcd_output_enable(0);
015F: BCF 03.5
0160: BCF 09.2
0160: BCF 09.0
0161: BSF 03.5
0162: BCF 09.2
.................... delay_cycles(1);
0163: NOP
.................... lcd_output_enable(0);
0164: BCF 03.5
0165: BCF 09.0
0166: BSF 03.5
0167: BCF 09.0
0162: BCF 09.0
.................... lcd_send_nibble(n >> 4);
0168: BCF 03.5
0169: SWAPF 4B,W
016A: MOVWF 4C
016B: MOVLW 0F
016C: ANDWF 4C,F
016D: MOVF 4C,W
016E: MOVWF 4D
016F: CALL 0BD
0163: BCF 03.5
0164: SWAPF 4C,W
0165: MOVWF 4D
0166: MOVLW 0F
0167: ANDWF 4D,F
0168: MOVF 4D,W
0169: MOVWF 4E
016A: CALL 0B8
.................... lcd_send_nibble(n & 0xf);
0170: MOVF 4B,W
0171: ANDLW 0F
0172: MOVWF 4C
0173: MOVWF 4D
0174: CALL 0BD
016B: MOVF 4C,W
016C: ANDLW 0F
016D: MOVWF 4D
016E: MOVWF 4E
016F: CALL 0B8
.................... }
0175: RETURN
0170: RETURN
....................
.................... #if defined(LCD_EXTENDED_NEWLINE)
.................... unsigned int8 g_LcdX, g_LcdY;
680,95 → 680,95
.................... #else
.................... #if (defined(LCD_DATA4) && defined(LCD_DATA5) && defined(LCD_DATA6) && defined(LCD_DATA7))
.................... output_drive(LCD_DATA4);
0176: BSF 03.5
0177: BCF 08.4
0171: BSF 03.5
0172: BCF 08.4
.................... output_drive(LCD_DATA5);
0178: BCF 08.5
0173: BCF 08.5
.................... output_drive(LCD_DATA6);
0179: BCF 08.6
0174: BCF 08.6
.................... output_drive(LCD_DATA7);
017A: BCF 08.7
0175: BCF 08.7
.................... #else
.................... lcdtris.data = 0x0;
.................... #endif
.................... lcd_enable_tris();
017B: BCF 09.0
0176: BCF 09.0
.................... lcd_rs_tris();
017C: BCF 09.1
0177: BCF 09.1
.................... lcd_rw_tris();
017D: BCF 09.2
0178: BCF 09.2
.................... #endif
....................
.................... lcd_output_rs(0);
017E: BCF 03.5
017F: BCF 09.1
0180: BSF 03.5
0181: BCF 09.1
0179: BCF 03.5
017A: BCF 09.1
017B: BSF 03.5
017C: BCF 09.1
.................... lcd_output_rw(0);
0182: BCF 03.5
0183: BCF 09.2
0184: BSF 03.5
0185: BCF 09.2
017D: BCF 03.5
017E: BCF 09.2
017F: BSF 03.5
0180: BCF 09.2
.................... lcd_output_enable(0);
0186: BCF 03.5
0187: BCF 09.0
0188: BSF 03.5
0189: BCF 09.0
0181: BCF 03.5
0182: BCF 09.0
0183: BSF 03.5
0184: BCF 09.0
....................
.................... delay_ms(15);
018A: MOVLW 0F
018B: BCF 03.5
018C: MOVWF 46
018D: CALL 0A9
0185: MOVLW 0F
0186: BCF 03.5
0187: MOVWF 47
0188: CALL 0A4
.................... for(i=1;i<=3;++i)
018E: MOVLW 01
018F: MOVWF 39
0190: MOVF 39,W
0191: SUBLW 03
0192: BTFSS 03.0
0193: GOTO 19C
0189: MOVLW 01
018A: MOVWF 3A
018B: MOVF 3A,W
018C: SUBLW 03
018D: BTFSS 03.0
018E: GOTO 197
.................... {
.................... lcd_send_nibble(3);
0194: MOVLW 03
0195: MOVWF 4D
0196: CALL 0BD
018F: MOVLW 03
0190: MOVWF 4E
0191: CALL 0B8
.................... delay_ms(5);
0197: MOVLW 05
0198: MOVWF 46
0199: CALL 0A9
0192: MOVLW 05
0193: MOVWF 47
0194: CALL 0A4
.................... }
019A: INCF 39,F
019B: GOTO 190
0195: INCF 3A,F
0196: GOTO 18B
....................
.................... lcd_send_nibble(2);
019C: MOVLW 02
019D: MOVWF 4D
019E: CALL 0BD
0197: MOVLW 02
0198: MOVWF 4E
0199: CALL 0B8
.................... for(i=0;i<=3;++i)
019F: CLRF 39
01A0: MOVF 39,W
01A1: SUBLW 03
01A2: BTFSS 03.0
01A3: GOTO 1AD
019A: CLRF 3A
019B: MOVF 3A,W
019C: SUBLW 03
019D: BTFSS 03.0
019E: GOTO 1A8
.................... lcd_send_byte(0,LCD_INIT_STRING[i]);
01A4: MOVF 39,W
01A5: CALL 038
01A6: MOVWF 3A
01A7: CLRF 4A
01A8: MOVF 3A,W
01A9: MOVWF 4B
01AA: CALL 11A
019F: MOVF 3A,W
01A0: CALL 038
01A1: MOVWF 3B
01A2: CLRF 4B
01A3: MOVF 3B,W
01A4: MOVWF 4C
01A5: CALL 115
....................
.................... #if defined(LCD_EXTENDED_NEWLINE)
01AB: INCF 39,F
01AC: GOTO 1A0
01A6: INCF 3A,F
01A7: GOTO 19B
.................... g_LcdX = 0;
.................... g_LcdY = 0;
.................... #endif
.................... }
01AD: BSF 0A.3
01AE: BCF 0A.4
01AF: GOTO 0B3 (RETURN)
01A8: BSF 0A.3
01A9: BCF 0A.4
01AA: GOTO 0BA (RETURN)
....................
.................... void lcd_gotoxy(BYTE x, BYTE y)
.................... {
775,29 → 775,29
.................... BYTE address;
....................
.................... if(y!=1)
01B0: DECFSZ 47,W
01B1: GOTO 1B3
01B2: GOTO 1B6
01AB: DECFSZ 48,W
01AC: GOTO 1AE
01AD: GOTO 1B1
.................... address=LCD_LINE_TWO;
01B3: MOVLW 40
01B4: MOVWF 48
01AE: MOVLW 40
01AF: MOVWF 49
.................... else
01B5: GOTO 1B7
01B0: GOTO 1B2
.................... address=0;
01B6: CLRF 48
01B1: CLRF 49
....................
.................... address+=x-1;
01B7: MOVLW 01
01B8: SUBWF 46,W
01B9: ADDWF 48,F
01B2: MOVLW 01
01B3: SUBWF 47,W
01B4: ADDWF 49,F
.................... lcd_send_byte(0,0x80|address);
01BA: MOVF 48,W
01BB: IORLW 80
01BC: MOVWF 49
01BD: CLRF 4A
01BE: MOVF 49,W
01BF: MOVWF 4B
01C0: CALL 11A
01B5: MOVF 49,W
01B6: IORLW 80
01B7: MOVWF 4A
01B8: CLRF 4B
01B9: MOVF 4A,W
01BA: MOVWF 4C
01BB: CALL 115
....................
.................... #if defined(LCD_EXTENDED_NEWLINE)
.................... g_LcdX = x - 1;
804,48 → 804,48
.................... g_LcdY = y - 1;
.................... #endif
.................... }
01C1: RETURN
01BC: RETURN
....................
.................... void lcd_putc(char c)
.................... {
.................... switch (c)
.................... {
01C2: MOVF 45,W
01C3: XORLW 07
01C4: BTFSC 03.2
01C5: GOTO 1D0
01C6: XORLW 0B
01C7: BTFSC 03.2
01C8: GOTO 1D5
01C9: XORLW 06
01CA: BTFSC 03.2
01CB: GOTO 1DD
01CC: XORLW 02
01CD: BTFSC 03.2
01CE: GOTO 1E3
01CF: GOTO 1E8
01BD: MOVF 46,W
01BE: XORLW 07
01BF: BTFSC 03.2
01C0: GOTO 1CB
01C1: XORLW 0B
01C2: BTFSC 03.2
01C3: GOTO 1D0
01C4: XORLW 06
01C5: BTFSC 03.2
01C6: GOTO 1D8
01C7: XORLW 02
01C8: BTFSC 03.2
01C9: GOTO 1DE
01CA: GOTO 1E3
.................... case '\a' : lcd_gotoxy(1,1); break;
01D0: MOVLW 01
01D1: MOVWF 46
01D2: MOVWF 47
01D3: CALL 1B0
01D4: GOTO 1EE
01CB: MOVLW 01
01CC: MOVWF 47
01CD: MOVWF 48
01CE: CALL 1AB
01CF: GOTO 1E9
....................
.................... case '\f' : lcd_send_byte(0,1);
01D5: CLRF 4A
01D6: MOVLW 01
01D7: MOVWF 4B
01D8: CALL 11A
01D0: CLRF 4B
01D1: MOVLW 01
01D2: MOVWF 4C
01D3: CALL 115
.................... delay_ms(2);
01D9: MOVLW 02
01DA: MOVWF 46
01DB: CALL 0A9
01D4: MOVLW 02
01D5: MOVWF 47
01D6: CALL 0A4
.................... #if defined(LCD_EXTENDED_NEWLINE)
.................... g_LcdX = 0;
.................... g_LcdY = 0;
.................... #endif
.................... break;
01DC: GOTO 1EE
01D7: GOTO 1E9
....................
.................... #if defined(LCD_EXTENDED_NEWLINE)
.................... case '\r' : lcd_gotoxy(1, g_LcdY+1); break;
858,20 → 858,20
.................... break;
.................... #else
.................... case '\n' : lcd_gotoxy(1,2); break;
01DD: MOVLW 01
01DE: MOVWF 46
01DF: MOVLW 02
01E0: MOVWF 47
01E1: CALL 1B0
01E2: GOTO 1EE
01D8: MOVLW 01
01D9: MOVWF 47
01DA: MOVLW 02
01DB: MOVWF 48
01DC: CALL 1AB
01DD: GOTO 1E9
.................... #endif
....................
.................... case '\b' : lcd_send_byte(0,0x10); break;
01E3: CLRF 4A
01E4: MOVLW 10
01E5: MOVWF 4B
01E6: CALL 11A
01E7: GOTO 1EE
01DE: CLRF 4B
01DF: MOVLW 10
01E0: MOVWF 4C
01E1: CALL 115
01E2: GOTO 1E9
....................
.................... #if defined(LCD_EXTENDED_NEWLINE)
.................... default :
883,16 → 883,16
.................... break;
.................... #else
.................... default : lcd_send_byte(1,c); break;
01E8: MOVLW 01
01E9: MOVWF 4A
01EA: MOVF 45,W
01EB: MOVWF 4B
01EC: CALL 11A
01ED: GOTO 1EE
01E3: MOVLW 01
01E4: MOVWF 4B
01E5: MOVF 46,W
01E6: MOVWF 4C
01E7: CALL 115
01E8: GOTO 1E9
.................... #endif
.................... }
.................... }
01EE: RETURN
01E9: RETURN
....................
.................... char lcd_getc(BYTE x, BYTE y)
.................... {
961,50 → 961,54
....................
.................... for(i=0;i<=lenght;i++)
*
060D: CLRF 3C
060E: MOVF 3C,W
060F: SUBWF 39,W
0610: BTFSS 03.0
0611: GOTO 655
0654: CLRF 3D
0655: MOVF 3D,W
0656: SUBWF 3A,W
0657: BTFSS 03.0
0658: GOTO 69C
.................... {
.................... output_toggle(BEEP);
0612: BSF 03.5
0613: BCF 08.2
0614: MOVLW 04
0615: BCF 03.5
0616: XORWF 08,F
0659: BSF 03.5
065A: BCF 08.2
065B: MOVLW 04
065C: BCF 03.5
065D: XORWF 08,F
.................... delay_us(1/frequency);
0617: CLRF 3E
0618: MOVLW 01
0619: MOVWF 3D
061A: MOVF 3B,W
061B: MOVWF 40
061C: MOVF 3A,W
061D: MOVWF 3F
065E: CLRF 3F
065F: MOVLW 01
0660: MOVWF 3E
0661: MOVF 3C,W
0662: MOVWF 41
0663: MOVF 3B,W
0664: MOVWF 40
*
0642: MOVF 79,W
0643: MOVWF 3E
0644: MOVF 78,W
0645: MOVWF 3D
0646: MOVF 3E,W
0647: MOVWF 3F
0648: INCF 3F,F
0649: DECF 3F,F
064A: BTFSC 03.2
064B: GOTO 650
064C: MOVLW FF
064D: MOVWF 40
064E: CALL 5FC
064F: GOTO 649
0650: MOVF 3D,W
0651: MOVWF 40
0652: CALL 5FC
0689: MOVF 79,W
068A: MOVWF 3F
068B: MOVF 78,W
068C: MOVWF 3E
068D: MOVF 3F,W
068E: MOVWF 40
068F: INCF 40,F
0690: DECF 40,F
0691: BTFSC 03.2
0692: GOTO 697
0693: MOVLW FF
0694: MOVWF 41
0695: CALL 643
0696: GOTO 690
0697: MOVF 3E,W
0698: MOVWF 41
0699: CALL 643
.................... }
0653: INCF 3C,F
0654: GOTO 60E
069A: INCF 3D,F
069B: GOTO 655
.................... }
0655: RETURN
069C: RETURN
....................
.................... #define TRESHOLD_setup 1
.................... #define INTERVAL_setup 0
....................
....................
.................... void main()
.................... {
*
1046,1073 → 1050,1216
0825: CLRF 31
0826: MOVLW 3C
0827: MOVWF 30
0828: CLRF 38
0829: CLRF 37
0828: BCF 36.1
0829: CLRF 38
082A: CLRF 37
082B: MOVLW 06
082C: MOVWF 39
.................... unsigned int16 integration_time=60;
.................... unsigned int16 time;
.................... unsigned int16 last_timer; // promena pro praskani
.................... unsigned int1 button_press,voltage_setup,time_setup; // semafor pro cteni tlacitek
.................... unsigned int1 button_press,setup_mode=INTERVAL_setup; // semafor pro cteni tlacitek
.................... unsigned int16 measurement_number=0;
.................... unsigned int8 treshold=6;
....................
.................... setup_adc_ports(sAN0|VSS_VDD);
082A: BSF 03.5
082B: BSF 03.6
082C: MOVF 09,W
082D: ANDLW C0
082E: MOVWF 09
082F: BCF 03.6
0830: BCF 1F.4
0831: BCF 1F.5
0832: MOVLW 01
0833: BSF 03.6
0834: MOVWF 08
082D: BSF 03.5
082E: BSF 03.6
082F: MOVF 09,W
0830: ANDLW C0
0831: MOVWF 09
0832: BCF 03.6
0833: BCF 1F.4
0834: BCF 1F.5
0835: MOVLW 01
0836: BSF 03.6
0837: MOVWF 08
.................... setup_adc(ADC_CLOCK_DIV_32);
0835: BCF 03.5
0836: BCF 03.6
0837: BCF 1F.6
0838: BSF 1F.7
0839: BSF 03.5
083A: BSF 1F.7
083B: BCF 03.5
083C: BSF 1F.0
0838: BCF 03.5
0839: BCF 03.6
083A: BCF 1F.6
083B: BSF 1F.7
083C: BSF 03.5
083D: BSF 1F.7
083E: BCF 03.5
083F: BSF 1F.0
.................... setup_spi(SPI_SS_DISABLED);
083D: BCF 14.5
083E: BCF 2F.5
083F: MOVF 2F,W
0840: BSF 03.5
0841: MOVWF 07
0842: BCF 03.5
0843: BSF 2F.4
0844: MOVF 2F,W
0845: BSF 03.5
0846: MOVWF 07
0847: BCF 03.5
0848: BCF 2F.3
0849: MOVF 2F,W
084A: BSF 03.5
084B: MOVWF 07
084C: MOVLW 01
084D: BCF 03.5
084E: MOVWF 14
084F: MOVLW 00
0850: BSF 03.5
0840: BCF 14.5
0841: BCF 2F.5
0842: MOVF 2F,W
0843: BSF 03.5
0844: MOVWF 07
0845: BCF 03.5
0846: BSF 2F.4
0847: MOVF 2F,W
0848: BSF 03.5
0849: MOVWF 07
084A: BCF 03.5
084B: BCF 2F.3
084C: MOVF 2F,W
084D: BSF 03.5
084E: MOVWF 07
084F: MOVLW 01
0850: BCF 03.5
0851: MOVWF 14
0852: MOVLW 00
0853: BSF 03.5
0854: MOVWF 14
.................... setup_timer_0(RTCC_INTERNAL|RTCC_DIV_256);
0852: MOVF 01,W
0853: ANDLW C0
0854: IORLW 07
0855: MOVWF 01
0855: MOVF 01,W
0856: ANDLW C0
0857: IORLW 07
0858: MOVWF 01
.................... setup_timer_1(T1_EXTERNAL|T1_DIV_BY_1);
0856: MOVLW 07
0857: BCF 03.5
0858: MOVWF 10
0859: MOVLW 07
085A: BCF 03.5
085B: MOVWF 10
.................... setup_timer_2(T2_DISABLED,0,1);
0859: MOVLW 00
085A: MOVWF 78
085B: MOVWF 12
085C: MOVLW 00
085D: BSF 03.5
085D: MOVWF 78
085E: MOVWF 12
085F: MOVLW 00
0860: BSF 03.5
0861: MOVWF 12
.................... setup_ccp1(CCP_PWM);
085F: BCF 03.5
0860: BCF 2F.2
0861: MOVF 2F,W
0862: BSF 03.5
0863: MOVWF 07
0864: BCF 03.5
0865: BCF 07.2
0866: BSF 03.5
0867: BCF 09.6
0868: MOVLW 0C
0869: BCF 03.5
086A: MOVWF 17
086B: BSF 03.5
086C: CLRF 1B
086D: CLRF 1C
086E: MOVLW 01
086F: MOVWF 1D
0862: BCF 03.5
0863: BCF 2F.2
0864: MOVF 2F,W
0865: BSF 03.5
0866: MOVWF 07
0867: BCF 03.5
0868: BCF 07.2
0869: BSF 03.5
086A: BCF 09.6
086B: MOVLW 0C
086C: BCF 03.5
086D: MOVWF 17
086E: BSF 03.5
086F: CLRF 1B
0870: CLRF 1C
0871: MOVLW 01
0872: MOVWF 1D
.................... setup_ccp2(CCP_PWM);
0870: BCF 03.5
0871: BCF 2F.1
0872: MOVF 2F,W
0873: BSF 03.5
0874: MOVWF 07
0875: BCF 03.5
0876: BCF 07.1
0877: MOVLW 0C
0878: MOVWF 1D
0879: MOVLW 01
087A: MOVWF 00
0873: BCF 03.5
0874: BCF 2F.1
0875: MOVF 2F,W
0876: BSF 03.5
0877: MOVWF 07
0878: BCF 03.5
0879: BCF 07.1
087A: MOVLW 0C
087B: MOVWF 1D
087C: MOVLW 01
087D: MOVWF 00
.................... setup_oscillator(OSC_8MHZ);
087B: MOVLW 71
087C: BSF 03.5
087D: MOVWF 0F
087E: MOVF 0F,W
087E: MOVLW 71
087F: BSF 03.5
0880: MOVWF 0F
0881: MOVF 0F,W
....................
.................... set_pwm1_duty(0);
087F: BCF 03.5
0880: CLRF 15
0882: BCF 03.5
0883: CLRF 15
.................... set_pwm2_duty(0);
0881: CLRF 1B
0884: CLRF 1B
....................
.................... output_high(LED1);
0882: BCF 2F.6
0883: MOVF 2F,W
0884: BSF 03.5
0885: MOVWF 07
0886: BCF 03.5
0887: BSF 07.6
0885: BCF 2F.6
0886: MOVF 2F,W
0887: BSF 03.5
0888: MOVWF 07
0889: BCF 03.5
088A: BSF 07.6
.................... output_high(LED2);
0888: BCF 2F.5
0889: MOVF 2F,W
088A: BSF 03.5
088B: MOVWF 07
088C: BCF 03.5
088D: BSF 07.5
088B: BCF 2F.5
088C: MOVF 2F,W
088D: BSF 03.5
088E: MOVWF 07
088F: BCF 03.5
0890: BSF 07.5
.................... output_high(LED3);
088E: BCF 2F.4
088F: MOVF 2F,W
0890: BSF 03.5
0891: MOVWF 07
0892: BCF 03.5
0893: BSF 07.4
0891: BCF 2F.4
0892: MOVF 2F,W
0893: BSF 03.5
0894: MOVWF 07
0895: BCF 03.5
0896: BSF 07.4
.................... output_high(LED4);
0894: BSF 03.5
0895: BCF 08.3
0896: BCF 03.5
0897: BSF 08.3
0897: BSF 03.5
0898: BCF 08.3
0899: BCF 03.5
089A: BSF 08.3
.................... output_low(BEEP);
0898: BSF 03.5
0899: BCF 08.2
089A: BCF 03.5
089B: BCF 08.2
089B: BSF 03.5
089C: BCF 08.2
089D: BCF 03.5
089E: BCF 08.2
....................
.................... setup_comparator(CP2_A0_VREF|CP2_OUT_ON_A5); // sets two comparators(A1 and VR and A2 as the output)
089C: BSF 03.6
089D: CLRF 07
089E: MOVLW A4
089F: MOVWF 08
08A0: MOVLW 10
08A1: MOVWF 09
08A2: BSF 03.5
08A3: BCF 03.6
08A4: BCF 05.5
08A5: BSF 05.0
.................... setup_vref(VREF_HIGH|6); //sets 3.6(vdd *value/32 +vdd/4) if vdd is 5.0V
08A6: MOVLW 86
08A7: MOVWF 17
089F: BSF 03.6
08A0: CLRF 07
08A1: MOVLW A4
08A2: MOVWF 08
08A3: MOVLW 10
08A4: MOVWF 09
08A5: BSF 03.5
08A6: BCF 03.6
08A7: BCF 05.5
08A8: BSF 05.0
.................... setup_vref(VREF_HIGH|treshold); //sets 3.6(vdd *value/32 +vdd/4) if vdd is 5.0V
08A9: BCF 03.5
08AA: MOVF 39,W
08AB: IORLW 80
08AC: MOVWF 3A
08AD: BSF 03.5
08AE: MOVWF 17
.................... enable_interrupts(INT_COMP); //enables the comparator interrupt
08A8: BSF 0D.5
08AF: BSF 0D.5
.................... enable_interrupts(INT_RTCC);
08A9: BCF 03.5
08AA: BSF 0B.5
08B0: BCF 03.5
08B1: BSF 0B.5
.................... enable_interrupts(INT_TIMER1);
08AB: BSF 03.5
08AC: BSF 0C.0
08B2: BSF 03.5
08B3: BSF 0C.0
.................... enable_interrupts(INT_TIMER2);
08AD: BSF 0C.1
08B4: BSF 0C.1
.................... enable_interrupts(GLOBAL);
08AE: MOVLW C0
08AF: BCF 03.5
08B0: IORWF 0B,F
08B5: MOVLW C0
08B6: BCF 03.5
08B7: IORWF 0B,F
.................... lcd_init();
08B1: BCF 0A.3
08B2: GOTO 176
08B3: BSF 0A.3
08B8: BCF 0A.3
08B9: GOTO 171
08BA: BSF 0A.3
....................
.................... lcd_putc("\fGM counter V1.0 \n 2013 MLAB");
08B4: MOVLW 5A
08B5: BSF 03.6
08B6: MOVWF 0D
08B7: MOVLW 00
08B8: MOVWF 0F
08B9: BCF 0A.3
08BA: BCF 03.6
08BB: CALL 1EF
08BC: BSF 0A.3
08BB: MOVLW 5A
08BC: BSF 03.6
08BD: MOVWF 0D
08BE: MOVLW 00
08BF: MOVWF 0F
08C0: BCF 0A.3
08C1: BCF 03.6
08C2: CALL 1EA
08C3: BSF 0A.3
.................... printf("Geiger-Muller Counter V1.0 \r\n");
08BD: MOVLW 6A
08BE: BSF 03.6
08BF: MOVWF 0D
08C0: MOVLW 00
08C1: MOVWF 0F
08C2: BCF 0A.3
08C3: BCF 03.6
08C4: CALL 257
08C5: BSF 0A.3
08C4: MOVLW 6A
08C5: BSF 03.6
08C6: MOVWF 0D
08C7: MOVLW 00
08C8: MOVWF 0F
08C9: BCF 0A.3
08CA: BCF 03.6
08CB: CALL 252
08CC: BSF 0A.3
.................... printf("(c) 2013 MLAB and UST.cz \r\n");
08C6: MOVLW 79
08C7: BSF 03.6
08C8: MOVWF 0D
08C9: MOVLW 00
08CA: MOVWF 0F
08CB: BCF 0A.3
08CC: BCF 03.6
08CD: CALL 257
08CE: BSF 0A.3
08CD: MOVLW 79
08CE: BSF 03.6
08CF: MOVWF 0D
08D0: MOVLW 00
08D1: MOVWF 0F
08D2: BCF 0A.3
08D3: BCF 03.6
08D4: CALL 252
08D5: BSF 0A.3
.................... Delay_ms(1000);
08CF: MOVLW 04
08D0: MOVWF 39
08D1: MOVLW FA
08D2: MOVWF 46
08D3: BCF 0A.3
08D4: CALL 0A9
08D5: BSF 0A.3
08D6: DECFSZ 39,F
08D7: GOTO 0D1
08D6: MOVLW 04
08D7: MOVWF 3A
08D8: MOVLW FA
08D9: MOVWF 47
08DA: BCF 0A.3
08DB: CALL 0A4
08DC: BSF 0A.3
08DD: DECFSZ 3A,F
08DE: GOTO 0D8
....................
.................... lcd_putc("\f");
08D8: MOVLW 87
08D9: BSF 03.6
08DA: MOVWF 0D
08DB: MOVLW 00
08DC: MOVWF 0F
08DD: BCF 0A.3
08DE: BCF 03.6
08DF: CALL 1EF
08E0: BSF 0A.3
08DF: MOVLW 87
08E0: BSF 03.6
08E1: MOVWF 0D
08E2: MOVLW 00
08E3: MOVWF 0F
08E4: BCF 0A.3
08E5: BCF 03.6
08E6: CALL 1EA
08E7: BSF 0A.3
.................... printf("\r\n");
08E1: MOVLW 0D
08E2: MOVWF 45
08E3: BCF 0A.3
08E4: CALL 235
08E5: BSF 0A.3
08E6: MOVLW 0A
08E7: MOVWF 45
08E8: BCF 0A.3
08E9: CALL 235
08EA: BSF 0A.3
08E8: MOVLW 0D
08E9: MOVWF 46
08EA: BCF 0A.3
08EB: CALL 230
08EC: BSF 0A.3
08ED: MOVLW 0A
08EE: MOVWF 46
08EF: BCF 0A.3
08F0: CALL 230
08F1: BSF 0A.3
....................
.................... set_timer1(0);
08EB: CLRF 0F
08EC: CLRF 0E
08F2: CLRF 0F
08F3: CLRF 0E
....................
.................... lcd_gotoxy(1,1); // vypsani hodnoty count, abz byla na LCD hned od zapnuti
08ED: MOVLW 01
08EE: MOVWF 46
08EF: MOVWF 47
08F0: BCF 0A.3
08F1: CALL 1B0
08F2: BSF 0A.3
08F4: MOVLW 01
08F5: MOVWF 47
08F6: MOVWF 48
08F7: BCF 0A.3
08F8: CALL 1AB
08F9: BSF 0A.3
.................... printf(lcd_putc,"Count:%lu ",pulse_count);
08F3: MOVLW 88
08F4: BSF 03.6
08F5: MOVWF 0D
08F6: MOVLW 00
08F7: MOVWF 0F
08F8: BCF 03.0
08F9: MOVLW 06
08FA: BCF 03.6
08FB: MOVWF 39
08FC: BCF 0A.3
08FD: CALL 29D
08FE: BSF 0A.3
08FF: MOVLW 41
0900: MOVWF 04
0901: MOVF 2A,W
0902: MOVWF 3C
0903: MOVF 29,W
0904: MOVWF 3B
0905: MOVF 28,W
0906: MOVWF 3A
0907: MOVF 27,W
0908: MOVWF 39
0909: BCF 0A.3
090A: CALL 32E
090B: BSF 0A.3
090C: MOVLW 8C
090D: BSF 03.6
090E: MOVWF 0D
090F: MOVLW 00
0910: MOVWF 0F
0911: BSF 03.0
0912: MOVLW 05
0913: BCF 03.6
0914: MOVWF 39
0915: BCF 0A.3
0916: CALL 29D
0917: BSF 0A.3
08FA: MOVLW 88
08FB: BSF 03.6
08FC: MOVWF 0D
08FD: MOVLW 00
08FE: MOVWF 0F
08FF: BCF 03.0
0900: MOVLW 06
0901: BCF 03.6
0902: MOVWF 3A
0903: BCF 0A.3
0904: CALL 298
0905: BSF 0A.3
0906: MOVLW 41
0907: MOVWF 04
0908: MOVF 2A,W
0909: MOVWF 3D
090A: MOVF 29,W
090B: MOVWF 3C
090C: MOVF 28,W
090D: MOVWF 3B
090E: MOVF 27,W
090F: MOVWF 3A
0910: BCF 0A.3
0911: CALL 329
0912: BSF 0A.3
0913: MOVLW 8C
0914: BSF 03.6
0915: MOVWF 0D
0916: MOVLW 00
0917: MOVWF 0F
0918: BSF 03.0
0919: MOVLW 05
091A: BCF 03.6
091B: MOVWF 3A
091C: BCF 0A.3
091D: CALL 298
091E: BSF 0A.3
....................
.................... while(true)
.................... {
.................... pulse_count = get_timer1() + (0xffff * overflow_count); // compute pulse count
0918: MOVF 0F,W
0919: MOVWF 7A
091A: MOVF 0E,W
091B: MOVWF 77
091C: MOVF 0F,W
091D: SUBWF 7A,W
091E: BTFSS 03.2
091F: GOTO 118
0920: MOVF 77,W
0921: MOVWF 39
0922: MOVF 7A,W
0923: MOVWF 3A
0924: MOVLW FF
0925: MOVWF 3C
0926: MOVWF 3B
0927: MOVF 2C,W
0928: MOVWF 3E
0929: MOVF 2B,W
092A: MOVWF 3D
092B: BCF 0A.3
092C: GOTO 38A
092D: BSF 0A.3
092E: MOVF 79,W
092F: MOVWF 7A
0930: MOVF 78,W
0931: ADDWF 39,W
0932: MOVWF 27
0933: MOVF 3A,W
0934: MOVWF 28
0935: MOVF 7A,W
0936: BTFSC 03.0
0937: INCFSZ 7A,W
0938: ADDWF 28,F
0939: CLRF 29
093A: CLRF 2A
091F: MOVF 0F,W
0920: MOVWF 7A
0921: MOVF 0E,W
0922: MOVWF 77
0923: MOVF 0F,W
0924: SUBWF 7A,W
0925: BTFSS 03.2
0926: GOTO 11F
0927: MOVF 77,W
0928: MOVWF 3A
0929: MOVF 7A,W
092A: MOVWF 3B
092B: MOVLW FF
092C: MOVWF 3D
092D: MOVWF 3C
092E: MOVF 2C,W
092F: MOVWF 3F
0930: MOVF 2B,W
0931: MOVWF 3E
0932: BCF 0A.3
0933: GOTO 385
0934: BSF 0A.3
0935: MOVF 79,W
0936: MOVWF 7A
0937: MOVF 78,W
0938: ADDWF 3A,W
0939: MOVWF 27
093A: MOVF 3B,W
093B: MOVWF 28
093C: MOVF 7A,W
093D: BTFSC 03.0
093E: INCFSZ 7A,W
093F: ADDWF 28,F
0940: CLRF 29
0941: CLRF 2A
.................... time = integration_time + 1 - (time_overflow_count * 0.0327); // compute time interval
093B: MOVLW 01
093C: ADDWF 30,W
093D: MOVWF 39
093E: MOVF 31,W
093F: MOVWF 3A
0940: BTFSC 03.0
0941: INCF 3A,F
0942: MOVF 2E,W
0943: MOVWF 40
0944: MOVF 2D,W
0945: MOVWF 3F
0946: BCF 0A.3
0947: CALL 3A1
0948: BSF 0A.3
0949: MOVF 7A,W
094A: MOVWF 3E
094B: MOVF 79,W
094C: MOVWF 3D
094D: MOVF 78,W
094E: MOVWF 3C
094F: MOVF 77,W
0950: MOVWF 3B
0951: MOVLW 6F
0952: MOVWF 42
0953: MOVLW F0
0954: MOVWF 41
0955: MOVLW 05
0956: MOVWF 40
0957: MOVLW 7A
0958: MOVWF 3F
0959: BCF 0A.3
095A: GOTO 3BE
095B: BSF 0A.3
095C: MOVF 77,W
095D: MOVWF 3B
095E: MOVF 78,W
095F: MOVWF 3C
0960: MOVF 79,W
0961: MOVWF 3D
0962: MOVF 7A,W
0963: MOVWF 3E
0964: MOVF 3A,W
0965: MOVWF 40
0966: MOVF 39,W
0967: MOVWF 3F
0968: BCF 0A.3
0969: CALL 3A1
096A: BSF 0A.3
096B: BSF 03.1
096C: MOVF 7A,W
096D: MOVWF 42
096E: MOVF 79,W
096F: MOVWF 41
0970: MOVF 78,W
0971: MOVWF 40
0972: MOVF 77,W
0973: MOVWF 3F
0974: MOVF 3E,W
0975: MOVWF 46
0976: MOVF 3D,W
0977: MOVWF 45
0978: MOVF 3C,W
0979: MOVWF 44
097A: MOVF 3B,W
097B: MOVWF 43
097C: BCF 0A.3
097D: GOTO 435
097E: BSF 0A.3
097F: MOVF 7A,W
0980: MOVWF 42
0981: MOVF 79,W
0982: MOVWF 41
0983: MOVF 78,W
0984: MOVWF 40
0985: MOVF 77,W
0986: MOVWF 3F
0987: BCF 0A.3
0988: GOTO 578
0989: BSF 0A.3
098A: MOVF 79,W
098B: MOVWF 33
098C: MOVF 78,W
098D: MOVWF 32
0942: MOVLW 01
0943: ADDWF 30,W
0944: MOVWF 3A
0945: MOVF 31,W
0946: MOVWF 3B
0947: BTFSC 03.0
0948: INCF 3B,F
0949: MOVF 2E,W
094A: MOVWF 41
094B: MOVF 2D,W
094C: MOVWF 40
094D: BCF 0A.3
094E: CALL 39C
094F: BSF 0A.3
0950: MOVF 7A,W
0951: MOVWF 3F
0952: MOVF 79,W
0953: MOVWF 3E
0954: MOVF 78,W
0955: MOVWF 3D
0956: MOVF 77,W
0957: MOVWF 3C
0958: MOVLW 6F
0959: MOVWF 43
095A: MOVLW F0
095B: MOVWF 42
095C: MOVLW 05
095D: MOVWF 41
095E: MOVLW 7A
095F: MOVWF 40
0960: BCF 0A.3
0961: GOTO 3B9
0962: BSF 0A.3
0963: MOVF 77,W
0964: MOVWF 3C
0965: MOVF 78,W
0966: MOVWF 3D
0967: MOVF 79,W
0968: MOVWF 3E
0969: MOVF 7A,W
096A: MOVWF 3F
096B: MOVF 3B,W
096C: MOVWF 41
096D: MOVF 3A,W
096E: MOVWF 40
096F: BCF 0A.3
0970: CALL 39C
0971: BSF 0A.3
0972: BSF 03.1
0973: MOVF 7A,W
0974: MOVWF 43
0975: MOVF 79,W
0976: MOVWF 42
0977: MOVF 78,W
0978: MOVWF 41
0979: MOVF 77,W
097A: MOVWF 40
097B: MOVF 3F,W
097C: MOVWF 47
097D: MOVF 3E,W
097E: MOVWF 46
097F: MOVF 3D,W
0980: MOVWF 45
0981: MOVF 3C,W
0982: MOVWF 44
0983: BCF 0A.3
0984: GOTO 430
0985: BSF 0A.3
0986: MOVF 7A,W
0987: MOVWF 43
0988: MOVF 79,W
0989: MOVWF 42
098A: MOVF 78,W
098B: MOVWF 41
098C: MOVF 77,W
098D: MOVWF 40
098E: BCF 0A.3
098F: GOTO 573
0990: BSF 0A.3
0991: MOVF 79,W
0992: MOVWF 33
0993: MOVF 78,W
0994: MOVWF 32
....................
.................... if(get_timer1() != last_timer) // timer count increment detection
098E: MOVF 0F,W
098F: MOVWF 7A
0990: MOVF 0E,W
0991: MOVWF 77
0992: MOVF 0F,W
0993: SUBWF 7A,W
0994: BTFSS 03.2
0995: GOTO 18E
0996: MOVF 77,W
0997: MOVWF 39
0998: MOVF 7A,W
0999: MOVWF 3A
099A: MOVF 34,W
099B: SUBWF 39,W
099C: BTFSS 03.2
099D: GOTO 1A2
099E: MOVF 35,W
099F: SUBWF 3A,W
09A0: BTFSC 03.2
09A1: GOTO 1EF
0995: MOVF 0F,W
0996: MOVWF 7A
0997: MOVF 0E,W
0998: MOVWF 77
0999: MOVF 0F,W
099A: SUBWF 7A,W
099B: BTFSS 03.2
099C: GOTO 195
099D: MOVF 77,W
099E: MOVWF 3A
099F: MOVF 7A,W
09A0: MOVWF 3B
09A1: MOVF 34,W
09A2: SUBWF 3A,W
09A3: BTFSS 03.2
09A4: GOTO 1A9
09A5: MOVF 35,W
09A6: SUBWF 3B,W
09A7: BTFSC 03.2
09A8: GOTO 1F6
.................... {
.................... output_toggle(BEEP);
09A2: BSF 03.5
09A3: BCF 08.2
09A4: MOVLW 04
09A5: BCF 03.5
09A6: XORWF 08,F
09A9: BSF 03.5
09AA: BCF 08.2
09AB: MOVLW 04
09AC: BCF 03.5
09AD: XORWF 08,F
.................... delay_ms(1);
09A7: MOVLW 01
09A8: MOVWF 46
09A9: BCF 0A.3
09AA: CALL 0A9
09AB: BSF 0A.3
09AE: MOVLW 01
09AF: MOVWF 47
09B0: BCF 0A.3
09B1: CALL 0A4
09B2: BSF 0A.3
.................... output_toggle(BEEP);
09AC: BSF 03.5
09AD: BCF 08.2
09AE: MOVLW 04
09AF: BCF 03.5
09B0: XORWF 08,F
.................... output_toggle(LED3);
09B1: BCF 2F.4
09B2: MOVF 2F,W
09B3: BSF 03.5
09B4: MOVWF 07
09B5: MOVLW 10
09B4: BCF 08.2
09B5: MOVLW 04
09B6: BCF 03.5
09B7: XORWF 07,F
09B7: XORWF 08,F
.................... output_toggle(LED3);
09B8: BCF 2F.4
09B9: MOVF 2F,W
09BA: BSF 03.5
09BB: MOVWF 07
09BC: MOVLW 10
09BD: BCF 03.5
09BE: XORWF 07,F
.................... last_timer=get_timer1();
09B8: MOVF 0F,W
09B9: MOVWF 7A
09BA: MOVF 0E,W
09BB: MOVWF 77
09BC: MOVF 0F,W
09BD: SUBWF 7A,W
09BE: BTFSS 03.2
09BF: GOTO 1B8
09C0: MOVF 77,W
09C1: MOVWF 34
09C2: MOVF 7A,W
09C3: MOVWF 35
09BF: MOVF 0F,W
09C0: MOVWF 7A
09C1: MOVF 0E,W
09C2: MOVWF 77
09C3: MOVF 0F,W
09C4: SUBWF 7A,W
09C5: BTFSS 03.2
09C6: GOTO 1BF
09C7: MOVF 77,W
09C8: MOVWF 34
09C9: MOVF 7A,W
09CA: MOVWF 35
.................... lcd_gotoxy(1,1); // prepsani dat na displeje
09C4: MOVLW 01
09C5: MOVWF 46
09C6: MOVWF 47
09C7: BCF 0A.3
09C8: CALL 1B0
09C9: BSF 0A.3
09CB: MOVLW 01
09CC: MOVWF 47
09CD: MOVWF 48
09CE: BCF 0A.3
09CF: CALL 1AB
09D0: BSF 0A.3
.................... printf(lcd_putc,"Count:%lu ",pulse_count);
09CA: MOVLW 90
09CB: BSF 03.6
09CC: MOVWF 0D
09CD: MOVLW 00
09CE: MOVWF 0F
09CF: BCF 03.0
09D0: MOVLW 06
09D1: BCF 03.6
09D2: MOVWF 39
09D3: BCF 0A.3
09D4: CALL 29D
09D5: BSF 0A.3
09D6: MOVLW 41
09D7: MOVWF 04
09D8: MOVF 2A,W
09D9: MOVWF 3C
09DA: MOVF 29,W
09DB: MOVWF 3B
09DC: MOVF 28,W
09DD: MOVWF 3A
09DE: MOVF 27,W
09DF: MOVWF 39
09E0: BCF 0A.3
09E1: CALL 32E
09E2: BSF 0A.3
09E3: MOVLW 94
09E4: BSF 03.6
09E5: MOVWF 0D
09E6: MOVLW 00
09E7: MOVWF 0F
09E8: BSF 03.0
09E9: MOVLW 05
09EA: BCF 03.6
09EB: MOVWF 39
09EC: BCF 0A.3
09ED: CALL 29D
09EE: BSF 0A.3
09D1: MOVLW 90
09D2: BSF 03.6
09D3: MOVWF 0D
09D4: MOVLW 00
09D5: MOVWF 0F
09D6: BCF 03.0
09D7: MOVLW 06
09D8: BCF 03.6
09D9: MOVWF 3A
09DA: BCF 0A.3
09DB: CALL 298
09DC: BSF 0A.3
09DD: MOVLW 41
09DE: MOVWF 04
09DF: MOVF 2A,W
09E0: MOVWF 3D
09E1: MOVF 29,W
09E2: MOVWF 3C
09E3: MOVF 28,W
09E4: MOVWF 3B
09E5: MOVF 27,W
09E6: MOVWF 3A
09E7: BCF 0A.3
09E8: CALL 329
09E9: BSF 0A.3
09EA: MOVLW 94
09EB: BSF 03.6
09EC: MOVWF 0D
09ED: MOVLW 00
09EE: MOVWF 0F
09EF: BSF 03.0
09F0: MOVLW 05
09F1: BCF 03.6
09F2: MOVWF 3A
09F3: BCF 0A.3
09F4: CALL 298
09F5: BSF 0A.3
.................... }
....................
.................... lcd_gotoxy(1,2);
09EF: MOVLW 01
09F0: MOVWF 46
09F1: MOVLW 02
09F2: MOVWF 47
09F3: BCF 0A.3
09F4: CALL 1B0
09F5: BSF 0A.3
.................... printf(lcd_putc,"T:%lu ",time);
09F6: MOVLW 54
09F7: MOVWF 45
09F8: BCF 0A.3
09F9: CALL 1C2
09FA: BSF 0A.3
09FB: MOVLW 3A
09FC: MOVWF 45
09FD: BCF 0A.3
09FE: CALL 1C2
09FF: BSF 0A.3
0A00: MOVLW 10
0A01: MOVWF 04
0A02: MOVF 33,W
0A03: MOVWF 3A
0A04: MOVF 32,W
0A05: MOVWF 39
0A06: BCF 0A.3
0A07: CALL 599
0A08: BSF 0A.3
0A09: MOVLW 20
0A0A: MOVWF 45
0A0B: BCF 0A.3
0A0C: CALL 1C2
0A0D: BSF 0A.3
0A0E: MOVLW 20
0A0F: MOVWF 45
0A10: BCF 0A.3
0A11: CALL 1C2
0A12: BSF 0A.3
0A13: MOVLW 20
0A14: MOVWF 45
0A15: BCF 0A.3
0A16: CALL 1C2
0A17: BSF 0A.3
.................... lcd_gotoxy(9,2);
0A18: MOVLW 09
0A19: MOVWF 46
0A1A: MOVLW 02
0A1B: MOVWF 47
09F6: MOVLW 01
09F7: MOVWF 47
09F8: MOVLW 02
09F9: MOVWF 48
09FA: BCF 0A.3
09FB: CALL 1AB
09FC: BSF 0A.3
.................... printf(lcd_putc,"T:%3lu I:%3lu U:%2u ",time,integration_time,treshold);
09FD: MOVLW 54
09FE: MOVWF 46
09FF: BCF 0A.3
0A00: CALL 1BD
0A01: BSF 0A.3
0A02: MOVLW 3A
0A03: MOVWF 46
0A04: BCF 0A.3
0A05: CALL 1BD
0A06: BSF 0A.3
0A07: MOVLW 02
0A08: MOVWF 04
0A09: MOVF 33,W
0A0A: MOVWF 3B
0A0B: MOVF 32,W
0A0C: MOVWF 3A
0A0D: BCF 0A.3
0A0E: CALL 594
0A0F: BSF 0A.3
0A10: MOVLW 20
0A11: MOVWF 46
0A12: BCF 0A.3
0A13: CALL 1BD
0A14: BSF 0A.3
0A15: MOVLW 49
0A16: MOVWF 46
0A17: BCF 0A.3
0A18: CALL 1BD
0A19: BSF 0A.3
0A1A: MOVLW 3A
0A1B: MOVWF 46
0A1C: BCF 0A.3
0A1D: CALL 1B0
0A1D: CALL 1BD
0A1E: BSF 0A.3
.................... printf(lcd_putc,"I:%lu ", integration_time);
0A1F: MOVLW 49
0A20: MOVWF 45
0A21: BCF 0A.3
0A22: CALL 1C2
0A23: BSF 0A.3
0A24: MOVLW 3A
0A25: MOVWF 45
0A26: BCF 0A.3
0A27: CALL 1C2
0A28: BSF 0A.3
0A29: MOVLW 10
0A2A: MOVWF 04
0A2B: MOVF 31,W
0A2C: MOVWF 3A
0A2D: MOVF 30,W
0A2E: MOVWF 39
0A1F: MOVLW 02
0A20: MOVWF 04
0A21: MOVF 31,W
0A22: MOVWF 3B
0A23: MOVF 30,W
0A24: MOVWF 3A
0A25: BCF 0A.3
0A26: CALL 594
0A27: BSF 0A.3
0A28: MOVLW 20
0A29: MOVWF 46
0A2A: BCF 0A.3
0A2B: CALL 1BD
0A2C: BSF 0A.3
0A2D: MOVLW 55
0A2E: MOVWF 46
0A2F: BCF 0A.3
0A30: CALL 599
0A30: CALL 1BD
0A31: BSF 0A.3
0A32: MOVLW 9A
0A33: BSF 03.6
0A34: MOVWF 0D
0A35: MOVLW 00
0A36: MOVWF 0F
0A37: BSF 03.0
0A38: MOVLW 04
0A39: BCF 03.6
0A3A: MOVWF 39
0A32: MOVLW 3A
0A33: MOVWF 46
0A34: BCF 0A.3
0A35: CALL 1BD
0A36: BSF 0A.3
0A37: MOVF 39,W
0A38: MOVWF 3A
0A39: MOVLW 11
0A3A: MOVWF 3B
0A3B: BCF 0A.3
0A3C: CALL 29D
0A3C: GOTO 60C
0A3D: BSF 0A.3
0A3E: MOVLW 20
0A3F: MOVWF 46
0A40: BCF 0A.3
0A41: CALL 1BD
0A42: BSF 0A.3
.................... // printf(lcd_putc,"I:%4lu ", integration_time);
....................
.................... if(time == 0) // po uplynuti mereneho intervalu vypis na seriovku
0A3E: MOVF 32,F
0A3F: BTFSS 03.2
0A40: GOTO 298
0A41: MOVF 33,F
0A42: BTFSS 03.2
0A43: GOTO 298
0A43: MOVF 32,F
0A44: BTFSS 03.2
0A45: GOTO 29D
0A46: MOVF 33,F
0A47: BTFSS 03.2
0A48: GOTO 29D
.................... {
.................... set_timer0(0);
0A44: CLRF 01
0A49: CLRF 01
.................... time_overflow_count=0;
0A45: CLRF 2E
0A46: CLRF 2D
0A4A: CLRF 2E
0A4B: CLRF 2D
.................... sound_beep(1000,700);
0A47: MOVLW E8
0A48: MOVWF 39
0A49: MOVLW 02
0A4A: MOVWF 3B
0A4B: MOVLW BC
0A4C: MOVWF 3A
0A4D: BCF 0A.3
0A4E: CALL 60D
0A4F: BSF 0A.3
0A4C: MOVLW E8
0A4D: MOVWF 3A
0A4E: MOVLW 02
0A4F: MOVWF 3C
0A50: MOVLW BC
0A51: MOVWF 3B
0A52: BCF 0A.3
0A53: CALL 654
0A54: BSF 0A.3
.................... printf("$GMC1.0 %lu %lu %lu \r\n", measurement_number, integration_time, pulse_count);
0A50: MOVLW 9D
0A51: BSF 03.6
0A52: MOVWF 0D
0A53: MOVLW 00
0A54: MOVWF 0F
0A55: BCF 03.0
0A56: MOVLW 08
0A57: BCF 03.6
0A58: MOVWF 39
0A59: BCF 0A.3
0A5A: CALL 656
0A5B: BSF 0A.3
0A5C: MOVLW 10
0A5D: MOVWF 04
0A5E: MOVF 38,W
0A5F: MOVWF 3A
0A60: MOVF 37,W
0A61: MOVWF 39
0A62: BCF 0A.3
0A63: CALL 6A5
0A64: BSF 0A.3
0A65: MOVLW 20
0A66: MOVWF 45
0A55: MOVLW 98
0A56: BSF 03.6
0A57: MOVWF 0D
0A58: MOVLW 00
0A59: MOVWF 0F
0A5A: BCF 03.0
0A5B: MOVLW 08
0A5C: BCF 03.6
0A5D: MOVWF 3A
0A5E: BCF 0A.3
0A5F: CALL 69D
0A60: BSF 0A.3
0A61: MOVLW 10
0A62: MOVWF 04
0A63: MOVF 38,W
0A64: MOVWF 3B
0A65: MOVF 37,W
0A66: MOVWF 3A
0A67: BCF 0A.3
0A68: CALL 235
0A68: CALL 6EC
0A69: BSF 0A.3
0A6A: MOVLW 10
0A6B: MOVWF 04
0A6C: MOVF 31,W
0A6D: MOVWF 3A
0A6E: MOVF 30,W
0A6F: MOVWF 39
0A70: BCF 0A.3
0A71: CALL 6A5
0A72: BSF 0A.3
0A73: MOVLW 20
0A74: MOVWF 45
0A6A: MOVLW 20
0A6B: MOVWF 46
0A6C: BCF 0A.3
0A6D: CALL 230
0A6E: BSF 0A.3
0A6F: MOVLW 10
0A70: MOVWF 04
0A71: MOVF 31,W
0A72: MOVWF 3B
0A73: MOVF 30,W
0A74: MOVWF 3A
0A75: BCF 0A.3
0A76: CALL 235
0A76: CALL 6EC
0A77: BSF 0A.3
0A78: MOVLW 41
0A79: MOVWF 04
0A7A: MOVF 2A,W
0A7B: MOVWF 3C
0A7C: MOVF 29,W
0A7D: MOVWF 3B
0A7E: MOVF 28,W
0A7F: MOVWF 3A
0A80: MOVF 27,W
0A81: MOVWF 39
0A82: BCF 0A.3
0A83: GOTO 708
0A84: BSF 0A.3
0A85: MOVLW A6
0A86: BSF 03.6
0A87: MOVWF 0D
0A88: MOVLW 00
0A89: MOVWF 0F
0A8A: BSF 03.0
0A8B: MOVLW 04
0A8C: BCF 03.6
0A8D: MOVWF 39
0A8E: BCF 0A.3
0A8F: CALL 656
0A90: BSF 0A.3
0A78: MOVLW 20
0A79: MOVWF 46
0A7A: BCF 0A.3
0A7B: CALL 230
0A7C: BSF 0A.3
0A7D: MOVLW 41
0A7E: MOVWF 04
0A7F: MOVF 2A,W
0A80: MOVWF 3D
0A81: MOVF 29,W
0A82: MOVWF 3C
0A83: MOVF 28,W
0A84: MOVWF 3B
0A85: MOVF 27,W
0A86: MOVWF 3A
0A87: BCF 0A.3
0A88: GOTO 74F
0A89: BSF 0A.3
0A8A: MOVLW A1
0A8B: BSF 03.6
0A8C: MOVWF 0D
0A8D: MOVLW 00
0A8E: MOVWF 0F
0A8F: BSF 03.0
0A90: MOVLW 04
0A91: BCF 03.6
0A92: MOVWF 3A
0A93: BCF 0A.3
0A94: CALL 69D
0A95: BSF 0A.3
.................... set_timer1(0);
0A91: CLRF 0F
0A92: CLRF 0E
0A96: CLRF 0F
0A97: CLRF 0E
.................... overflow_count=0;
0A93: CLRF 2C
0A94: CLRF 2B
0A98: CLRF 2C
0A99: CLRF 2B
.................... measurement_number++;
0A95: INCF 37,F
0A96: BTFSC 03.2
0A97: INCF 38,F
0A9A: INCF 37,F
0A9B: BTFSC 03.2
0A9C: INCF 38,F
.................... }
....................
.................... if(button_press==false ) // tlacitka se ctou znovu pouze pokud v redchozim cyklu nebyla zmacknuta.
0A98: BTFSC 36.0
0A99: GOTO 37E
0A9D: BTFSC 36.0
0A9E: GOTO 3EF
.................... {
.................... if(!input(S1))
0A9A: BSF 2F.2
0A9B: MOVF 2F,W
0A9C: BSF 03.5
0A9D: MOVWF 07
0A9E: BCF 03.5
0A9F: BTFSC 07.2
0AA0: GOTO 2C7
0A9F: BSF 2F.2
0AA0: MOVF 2F,W
0AA1: BSF 03.5
0AA2: MOVWF 07
0AA3: BCF 03.5
0AA4: BTFSC 07.2
0AA5: GOTO 2E2
.................... {
.................... delay_ms(20);
0AA1: MOVLW 14
0AA2: MOVWF 46
0AA3: BCF 0A.3
0AA4: CALL 0A9
0AA5: BSF 0A.3
0AA6: MOVLW 14
0AA7: MOVWF 47
0AA8: BCF 0A.3
0AA9: CALL 0A4
0AAA: BSF 0A.3
.................... if(!input(S1))
0AA6: BSF 2F.2
0AA7: MOVF 2F,W
0AA8: BSF 03.5
0AA9: MOVWF 07
0AAA: BCF 03.5
0AAB: BTFSC 07.2
0AAC: GOTO 2C7
0AAB: BSF 2F.2
0AAC: MOVF 2F,W
0AAD: BSF 03.5
0AAE: MOVWF 07
0AAF: BCF 03.5
0AB0: BTFSC 07.2
0AB1: GOTO 2E2
.................... {
.................... button_press=true;
0AAD: BSF 36.0
.................... if(time_setup==TRUE)
0AAE: BTFSS 36.2
0AAF: GOTO 2C7
0AB2: BSF 36.0
.................... sound_beep(100,700);
0AB3: MOVLW 64
0AB4: MOVWF 3A
0AB5: MOVLW 02
0AB6: MOVWF 3C
0AB7: MOVLW BC
0AB8: MOVWF 3B
0AB9: BCF 0A.3
0ABA: CALL 654
0ABB: BSF 0A.3
.................... switch (setup_mode)
.................... {
.................... sound_beep(100,700);
0AB0: MOVLW 64
0AB1: MOVWF 39
0AB2: MOVLW 02
0AB3: MOVWF 3B
0AB4: MOVLW BC
0AB5: MOVWF 3A
0AB6: BCF 0A.3
0AB7: CALL 60D
0AB8: BSF 0A.3
.................... if(integration_time < 0xfffa ) integration_time+=5;
0AB9: MOVF 31,W
0ABA: SUBLW FF
0ABB: BTFSS 03.0
0ABC: GOTO 2C7
0ABD: BTFSS 03.2
0ABE: GOTO 2C3
0ABF: MOVF 30,W
0AC0: SUBLW F9
0AC1: BTFSS 03.0
0AC2: GOTO 2C7
0AC3: MOVLW 05
0AC4: ADDWF 30,F
0AC5: BTFSC 03.0
0AC6: INCF 31,F
0ABC: MOVLW 00
0ABD: BTFSC 36.1
0ABE: MOVLW 01
0ABF: XORLW 00
0AC0: BTFSC 03.2
0AC1: GOTO 2C6
0AC2: XORLW 01
0AC3: BTFSC 03.2
0AC4: GOTO 2D5
0AC5: GOTO 2E2
.................... case INTERVAL_setup:
.................... if(integration_time < 0xfffa ) integration_time+=5;
0AC6: MOVF 31,W
0AC7: SUBLW FF
0AC8: BTFSS 03.0
0AC9: GOTO 2D4
0ACA: BTFSS 03.2
0ACB: GOTO 2D0
0ACC: MOVF 30,W
0ACD: SUBLW F9
0ACE: BTFSS 03.0
0ACF: GOTO 2D4
0AD0: MOVLW 05
0AD1: ADDWF 30,F
0AD2: BTFSC 03.0
0AD3: INCF 31,F
.................... break;
0AD4: GOTO 2E2
....................
.................... case TRESHOLD_setup:
.................... if(treshold < 0x0a ) treshold +=5;
0AD5: MOVF 39,W
0AD6: SUBLW 09
0AD7: BTFSS 03.0
0AD8: GOTO 2DB
0AD9: MOVLW 05
0ADA: ADDWF 39,F
.................... setup_vref(VREF_HIGH|treshold); //sets 3.6(vdd *value/32 +vdd/4) if vdd is 5.0V
0ADB: MOVF 39,W
0ADC: IORLW 80
0ADD: MOVWF 3A
0ADE: BSF 03.5
0ADF: MOVWF 17
.................... break;
0AE0: BCF 03.5
0AE1: GOTO 2E2
.................... }
.................... }
.................... }
....................
.................... if(!input(S2))
0AC7: BSF 2F.3
0AC8: MOVF 2F,W
0AC9: BSF 03.5
0ACA: MOVWF 07
0ACB: BCF 03.5
0ACC: BTFSC 07.3
0ACD: GOTO 2FA
0AE2: BSF 2F.3
0AE3: MOVF 2F,W
0AE4: BSF 03.5
0AE5: MOVWF 07
0AE6: BCF 03.5
0AE7: BTFSC 07.3
0AE8: GOTO 32B
.................... {
.................... delay_ms(20);
0ACE: MOVLW 14
0ACF: MOVWF 46
0AD0: BCF 0A.3
0AD1: CALL 0A9
0AD2: BSF 0A.3
0AE9: MOVLW 14
0AEA: MOVWF 47
0AEB: BCF 0A.3
0AEC: CALL 0A4
0AED: BSF 0A.3
.................... if(!input(S2))
0AD3: BSF 2F.3
0AD4: MOVF 2F,W
0AD5: BSF 03.5
0AD6: MOVWF 07
0AD7: BCF 03.5
0AD8: BTFSC 07.3
0AD9: GOTO 2FA
0AEE: BSF 2F.3
0AEF: MOVF 2F,W
0AF0: BSF 03.5
0AF1: MOVWF 07
0AF2: BCF 03.5
0AF3: BTFSC 07.3
0AF4: GOTO 32B
.................... {
.................... button_press=true;
0ADA: BSF 36.0
.................... if(time_setup==TRUE)
0ADB: BTFSS 36.2
0ADC: GOTO 2FA
0AF5: BSF 36.0
.................... sound_beep(100,600);
0AF6: MOVLW 64
0AF7: MOVWF 3A
0AF8: MOVLW 02
0AF9: MOVWF 3C
0AFA: MOVLW 58
0AFB: MOVWF 3B
0AFC: BCF 0A.3
0AFD: CALL 654
0AFE: BSF 0A.3
.................... switch (setup_mode)
.................... {
.................... sound_beep(100,600);
0ADD: MOVLW 64
0ADE: MOVWF 39
0ADF: MOVLW 02
0AE0: MOVWF 3B
0AE1: MOVLW 58
0AE2: MOVWF 3A
0AE3: BCF 0A.3
0AE4: CALL 60D
0AE5: BSF 0A.3
.................... if(integration_time > 0x0005 ) integration_time-=5;
0AE6: MOVF 31,F
0AE7: BTFSS 03.2
0AE8: GOTO 2ED
0AE9: MOVF 30,W
0AEA: SUBLW 05
0AEB: BTFSC 03.0
0AEC: GOTO 2F3
0AED: MOVLW 05
0AEE: SUBWF 30,F
0AEF: MOVLW 00
0AF0: BTFSS 03.0
0AF1: MOVLW 01
0AF2: SUBWF 31,F
....................
.................... set_timer0(0); // vynulovani pocitadel, kdyz uzivatel sahne na tlacitka
0AF3: CLRF 01
.................... time_overflow_count=0;
0AF4: CLRF 2E
0AF5: CLRF 2D
.................... set_timer1(0);
0AF6: CLRF 0F
0AF7: CLRF 0E
.................... overflow_count=0;
0AF8: CLRF 2C
0AF9: CLRF 2B
0AFF: MOVLW 00
0B00: BTFSC 36.1
0B01: MOVLW 01
0B02: XORLW 00
0B03: BTFSC 03.2
0B04: GOTO 309
0B05: XORLW 01
0B06: BTFSC 03.2
0B07: GOTO 31E
0B08: GOTO 32B
.................... case INTERVAL_setup:
.................... if(integration_time > 0x0005 ) integration_time-=5;
0B09: MOVF 31,F
0B0A: BTFSS 03.2
0B0B: GOTO 310
0B0C: MOVF 30,W
0B0D: SUBLW 05
0B0E: BTFSC 03.0
0B0F: GOTO 316
0B10: MOVLW 05
0B11: SUBWF 30,F
0B12: MOVLW 00
0B13: BTFSS 03.0
0B14: MOVLW 01
0B15: SUBWF 31,F
.................... set_timer0(0); // vynulovani pocitadel, kdyz uzivatel sahne na tlacitka
0B16: CLRF 01
.................... time_overflow_count=0;
0B17: CLRF 2E
0B18: CLRF 2D
.................... set_timer1(0);
0B19: CLRF 0F
0B1A: CLRF 0E
.................... overflow_count=0;
0B1B: CLRF 2C
0B1C: CLRF 2B
.................... break;
0B1D: GOTO 32B
.................... case TRESHOLD_setup:
.................... if(treshold > 0x05 ) treshold +=5;
0B1E: MOVF 39,W
0B1F: SUBLW 05
0B20: BTFSC 03.0
0B21: GOTO 324
0B22: MOVLW 05
0B23: ADDWF 39,F
.................... setup_vref(VREF_HIGH|treshold); //sets 3.6(vdd *value/32 +vdd/4) if vdd is 5.0V
0B24: MOVF 39,W
0B25: IORLW 80
0B26: MOVWF 3A
0B27: BSF 03.5
0B28: MOVWF 17
.................... break;
0B29: BCF 03.5
0B2A: GOTO 32B
.................... }
.................... }
.................... }
....................
.................... if(!input(S3))
0AFA: BSF 03.5
0AFB: BSF 08.0
0AFC: BCF 03.5
0AFD: BTFSC 08.0
0AFE: GOTO 31D
0B2B: BSF 03.5
0B2C: BSF 08.0
0B2D: BCF 03.5
0B2E: BTFSC 08.0
0B2F: GOTO 362
.................... {
.................... delay_ms(20);
0AFF: MOVLW 14
0B00: MOVWF 46
0B01: BCF 0A.3
0B02: CALL 0A9
0B03: BSF 0A.3
0B30: MOVLW 14
0B31: MOVWF 47
0B32: BCF 0A.3
0B33: CALL 0A4
0B34: BSF 0A.3
.................... if(!input(S3))
0B04: BSF 03.5
0B05: BSF 08.0
0B06: BCF 03.5
0B07: BTFSC 08.0
0B08: GOTO 31D
0B35: BSF 03.5
0B36: BSF 08.0
0B37: BCF 03.5
0B38: BTFSC 08.0
0B39: GOTO 362
.................... {
.................... button_press=true;
0B09: BSF 36.0
.................... if(time_setup==TRUE)
0B0A: BTFSS 36.2
0B0B: GOTO 31D
0B3A: BSF 36.0
.................... sound_beep(100,500);
0B3B: MOVLW 64
0B3C: MOVWF 3A
0B3D: MOVLW 01
0B3E: MOVWF 3C
0B3F: MOVLW F4
0B40: MOVWF 3B
0B41: BCF 0A.3
0B42: CALL 654
0B43: BSF 0A.3
.................... switch (setup_mode)
.................... {
.................... sound_beep(100,500);
0B0C: MOVLW 64
0B0D: MOVWF 39
0B0E: MOVLW 01
0B0F: MOVWF 3B
0B10: MOVLW F4
0B11: MOVWF 3A
0B12: BCF 0A.3
0B13: CALL 60D
0B14: BSF 0A.3
.................... if(integration_time < 0xffff ) integration_time++;
0B15: INCFSZ 30,W
0B16: GOTO 31A
0B17: INCFSZ 31,W
0B18: GOTO 31A
0B19: GOTO 31D
0B1A: INCF 30,F
0B1B: BTFSC 03.2
0B1C: INCF 31,F
0B44: MOVLW 00
0B45: BTFSC 36.1
0B46: MOVLW 01
0B47: XORLW 00
0B48: BTFSC 03.2
0B49: GOTO 34E
0B4A: XORLW 01
0B4B: BTFSC 03.2
0B4C: GOTO 357
0B4D: GOTO 362
.................... case INTERVAL_setup:
.................... if(integration_time < 0xffff ) integration_time++;
0B4E: INCFSZ 30,W
0B4F: GOTO 353
0B50: INCFSZ 31,W
0B51: GOTO 353
0B52: GOTO 356
0B53: INCF 30,F
0B54: BTFSC 03.2
0B55: INCF 31,F
.................... break;
0B56: GOTO 362
....................
.................... case TRESHOLD_setup:
.................... if(treshold < 0x0F ) treshold ++;
0B57: MOVF 39,W
0B58: SUBLW 0E
0B59: BTFSC 03.0
0B5A: INCF 39,F
.................... setup_vref(VREF_HIGH|treshold); //sets 3.6(vdd *value/32 +vdd/4) if vdd is 5.0V
0B5B: MOVF 39,W
0B5C: IORLW 80
0B5D: MOVWF 3A
0B5E: BSF 03.5
0B5F: MOVWF 17
.................... break;
0B60: BCF 03.5
0B61: GOTO 362
.................... }
.................... }
.................... }
....................
.................... if(!input(S4))
0B1D: BSF 03.5
0B1E: BSF 08.1
0B1F: BCF 03.5
0B20: BTFSC 08.1
0B21: GOTO 34A
0B62: BSF 03.5
0B63: BSF 08.1
0B64: BCF 03.5
0B65: BTFSC 08.1
0B66: GOTO 3A3
.................... {
.................... delay_ms(20);
0B22: MOVLW 14
0B23: MOVWF 46
0B24: BCF 0A.3
0B25: CALL 0A9
0B26: BSF 0A.3
0B67: MOVLW 14
0B68: MOVWF 47
0B69: BCF 0A.3
0B6A: CALL 0A4
0B6B: BSF 0A.3
.................... if(!input(S4))
0B27: BSF 03.5
0B28: BSF 08.1
0B29: BCF 03.5
0B2A: BTFSC 08.1
0B2B: GOTO 34A
0B6C: BSF 03.5
0B6D: BSF 08.1
0B6E: BCF 03.5
0B6F: BTFSC 08.1
0B70: GOTO 3A3
.................... {
.................... button_press=true;
0B2C: BSF 36.0
.................... if(time_setup==TRUE)
0B2D: BTFSS 36.2
0B2E: GOTO 34A
0B71: BSF 36.0
.................... sound_beep(100,400);
0B72: MOVLW 64
0B73: MOVWF 3A
0B74: MOVLW 01
0B75: MOVWF 3C
0B76: MOVLW 90
0B77: MOVWF 3B
0B78: BCF 0A.3
0B79: CALL 654
0B7A: BSF 0A.3
.................... switch (setup_mode)
.................... {
.................... sound_beep(100,400);
0B2F: MOVLW 64
0B30: MOVWF 39
0B31: MOVLW 01
0B32: MOVWF 3B
0B33: MOVLW 90
0B34: MOVWF 3A
0B35: BCF 0A.3
0B36: CALL 60D
0B37: BSF 0A.3
.................... if(integration_time > 0x0001 ) integration_time--;
0B38: MOVF 31,F
0B39: BTFSS 03.2
0B3A: GOTO 33F
0B3B: MOVF 30,W
0B3C: SUBLW 01
0B3D: BTFSC 03.0
0B3E: GOTO 343
0B3F: MOVF 30,W
0B40: BTFSC 03.2
0B41: DECF 31,F
0B42: DECF 30,F
0B7B: MOVLW 00
0B7C: BTFSC 36.1
0B7D: MOVLW 01
0B7E: XORLW 00
0B7F: BTFSC 03.2
0B80: GOTO 385
0B81: XORLW 01
0B82: BTFSC 03.2
0B83: GOTO 398
0B84: GOTO 3A3
.................... case INTERVAL_setup:
....................
.................... if(integration_time > 0x0001 ) integration_time--;
0B85: MOVF 31,F
0B86: BTFSS 03.2
0B87: GOTO 38C
0B88: MOVF 30,W
0B89: SUBLW 01
0B8A: BTFSC 03.0
0B8B: GOTO 390
0B8C: MOVF 30,W
0B8D: BTFSC 03.2
0B8E: DECF 31,F
0B8F: DECF 30,F
....................
.................... set_timer0(0); // vynulovani pocitadel, kdyz uzivatel sahne na tlacitka
0B43: CLRF 01
.................... time_overflow_count=0;
0B44: CLRF 2E
0B45: CLRF 2D
.................... set_timer1(0);
0B46: CLRF 0F
0B47: CLRF 0E
.................... overflow_count=0;
0B48: CLRF 2C
0B49: CLRF 2B
.................... set_timer0(0); // vynulovani pocitadel, kdyz uzivatel sahne na tlacitka
0B90: CLRF 01
.................... time_overflow_count=0;
0B91: CLRF 2E
0B92: CLRF 2D
.................... set_timer1(0);
0B93: CLRF 0F
0B94: CLRF 0E
.................... overflow_count=0;
0B95: CLRF 2C
0B96: CLRF 2B
.................... break;
0B97: GOTO 3A3
.................... case TRESHOLD_setup:
.................... if(treshold > 0x01 ) treshold--;
0B98: MOVF 39,W
0B99: SUBLW 01
0B9A: BTFSS 03.0
0B9B: DECF 39,F
.................... setup_vref(VREF_HIGH|treshold); //sets 3.6(vdd *value/32 +vdd/4) if vdd is 5.0V
0B9C: MOVF 39,W
0B9D: IORLW 80
0B9E: MOVWF 3A
0B9F: BSF 03.5
0BA0: MOVWF 17
.................... break;
0BA1: BCF 03.5
0BA2: GOTO 3A3
.................... }
.................... }
.................... }
....................
.................... if(!input(S5)) // prepnuti na nastavovani casu
0B4A: BSF 03.5
0B4B: BSF 06.1
0B4C: BCF 03.5
0B4D: BTFSC 06.1
0B4E: GOTO 364
0BA3: BSF 03.5
0BA4: BSF 06.1
0BA5: BCF 03.5
0BA6: BTFSC 06.1
0BA7: GOTO 3C9
.................... {
.................... delay_ms(20);
0B4F: MOVLW 14
0B50: MOVWF 46
0B51: BCF 0A.3
0B52: CALL 0A9
0B53: BSF 0A.3
0BA8: MOVLW 14
0BA9: MOVWF 47
0BAA: BCF 0A.3
0BAB: CALL 0A4
0BAC: BSF 0A.3
.................... if(!input(S5))
0B54: BSF 03.5
0B55: BSF 06.1
0B56: BCF 03.5
0B57: BTFSC 06.1
0B58: GOTO 364
0BAD: BSF 03.5
0BAE: BSF 06.1
0BAF: BCF 03.5
0BB0: BTFSC 06.1
0BB1: GOTO 3C9
.................... {
.................... button_press=true;
0BB2: BSF 36.0
.................... sound_beep(100,800);
0B59: MOVLW 64
0B5A: MOVWF 39
0B5B: MOVLW 03
0B5C: MOVWF 3B
0B5D: MOVLW 20
0B5E: MOVWF 3A
0B5F: BCF 0A.3
0B60: CALL 60D
0B61: BSF 0A.3
.................... voltage_setup=FALSE;
0B62: BCF 36.1
.................... time_setup=TRUE;
0B63: BSF 36.2
0BB3: MOVLW 64
0BB4: MOVWF 3A
0BB5: MOVLW 03
0BB6: MOVWF 3C
0BB7: MOVLW 20
0BB8: MOVWF 3B
0BB9: BCF 0A.3
0BBA: CALL 654
0BBB: BSF 0A.3
.................... setup_mode=INTERVAL_setup;
0BBC: BCF 36.1
.................... lcd_gotoxy(16,1); // prepsani dat na displeje
0BBD: MOVLW 10
0BBE: MOVWF 47
0BBF: MOVLW 01
0BC0: MOVWF 48
0BC1: BCF 0A.3
0BC2: CALL 1AB
0BC3: BSF 0A.3
.................... printf(lcd_putc,"I");
0BC4: MOVLW 49
0BC5: MOVWF 46
0BC6: BCF 0A.3
0BC7: CALL 1BD
0BC8: BSF 0A.3
.................... }
.................... }
....................
.................... if(!input(S6)) // prepnuti na nastavovani napeti
0B64: BSF 03.5
0B65: BSF 06.2
0B66: BCF 03.5
0B67: BTFSC 06.2
0B68: GOTO 37E
0BC9: BSF 03.5
0BCA: BSF 06.2
0BCB: BCF 03.5
0BCC: BTFSC 06.2
0BCD: GOTO 3EF
.................... {
.................... delay_ms(20);
0B69: MOVLW 14
0B6A: MOVWF 46
0B6B: BCF 0A.3
0B6C: CALL 0A9
0B6D: BSF 0A.3
0BCE: MOVLW 14
0BCF: MOVWF 47
0BD0: BCF 0A.3
0BD1: CALL 0A4
0BD2: BSF 0A.3
.................... if(!input(S6))
0B6E: BSF 03.5
0B6F: BSF 06.2
0B70: BCF 03.5
0B71: BTFSC 06.2
0B72: GOTO 37E
0BD3: BSF 03.5
0BD4: BSF 06.2
0BD5: BCF 03.5
0BD6: BTFSC 06.2
0BD7: GOTO 3EF
.................... {
.................... button_press=true;
0BD8: BSF 36.0
.................... sound_beep(100,800);
0B73: MOVLW 64
0B74: MOVWF 39
0B75: MOVLW 03
0B76: MOVWF 3B
0B77: MOVLW 20
0B78: MOVWF 3A
0B79: BCF 0A.3
0B7A: CALL 60D
0B7B: BSF 0A.3
.................... voltage_setup=TRUE;
0B7C: BSF 36.1
.................... time_setup=FALSE;
0B7D: BCF 36.2
0BD9: MOVLW 64
0BDA: MOVWF 3A
0BDB: MOVLW 03
0BDC: MOVWF 3C
0BDD: MOVLW 20
0BDE: MOVWF 3B
0BDF: BCF 0A.3
0BE0: CALL 654
0BE1: BSF 0A.3
.................... setup_mode=TRESHOLD_setup;
0BE2: BSF 36.1
.................... lcd_gotoxy(16,1); // prepsani dat na displeje
0BE3: MOVLW 10
0BE4: MOVWF 47
0BE5: MOVLW 01
0BE6: MOVWF 48
0BE7: BCF 0A.3
0BE8: CALL 1AB
0BE9: BSF 0A.3
.................... printf(lcd_putc,"U");
0BEA: MOVLW 55
0BEB: MOVWF 46
0BEC: BCF 0A.3
0BED: CALL 1BD
0BEE: BSF 0A.3
.................... }
.................... }
.................... }
....................
.................... if ( input(S1) && input(S2) && input(S3) && input(S4) && input(S5) && input(S6)) // detekce pustenych tlacitek
0B7E: BSF 2F.2
0B7F: MOVF 2F,W
0B80: BSF 03.5
0B81: MOVWF 07
0B82: BCF 03.5
0B83: BTFSS 07.2
0B84: GOTO 3A1
0B85: BSF 2F.3
0B86: MOVF 2F,W
0B87: BSF 03.5
0B88: MOVWF 07
0B89: BCF 03.5
0B8A: BTFSS 07.3
0B8B: GOTO 3A1
0B8C: BSF 03.5
0B8D: BSF 08.0
0B8E: BCF 03.5
0B8F: BTFSS 08.0
0B90: GOTO 3A1
0B91: BSF 03.5
0B92: BSF 08.1
0B93: BCF 03.5
0B94: BTFSS 08.1
0B95: GOTO 3A1
0B96: BSF 03.5
0B97: BSF 06.1
0B98: BCF 03.5
0B99: BTFSS 06.1
0B9A: GOTO 3A1
0B9B: BSF 03.5
0B9C: BSF 06.2
0B9D: BCF 03.5
0B9E: BTFSS 06.2
0B9F: GOTO 3A1
0BEF: BSF 2F.2
0BF0: MOVF 2F,W
0BF1: BSF 03.5
0BF2: MOVWF 07
0BF3: BCF 03.5
0BF4: BTFSS 07.2
0BF5: GOTO 412
0BF6: BSF 2F.3
0BF7: MOVF 2F,W
0BF8: BSF 03.5
0BF9: MOVWF 07
0BFA: BCF 03.5
0BFB: BTFSS 07.3
0BFC: GOTO 412
0BFD: BSF 03.5
0BFE: BSF 08.0
0BFF: BCF 03.5
0C00: BTFSS 08.0
0C01: GOTO 412
0C02: BSF 03.5
0C03: BSF 08.1
0C04: BCF 03.5
0C05: BTFSS 08.1
0C06: GOTO 412
0C07: BSF 03.5
0C08: BSF 06.1
0C09: BCF 03.5
0C0A: BTFSS 06.1
0C0B: GOTO 412
0C0C: BSF 03.5
0C0D: BSF 06.2
0C0E: BCF 03.5
0C0F: BTFSS 06.2
0C10: GOTO 412
.................... {
.................... button_press=false;
0BA0: BCF 36.0
0C11: BCF 36.0
.................... }
.................... }
0BA1: GOTO 118
0C12: GOTO 11F
.................... }
0BA2: SLEEP
0C13: SLEEP
 
Configuration Fuses:
Word 1: 2CF5 INTRC NOWDT NOPUT MCLR NOPROTECT NOCPD NOBROWNOUT IESO FCMEN NOLVP NODEBUG
/Designs/Measuring_instruments/GM_counter/SW/counter/main.pjt
17,7 → 17,7
0=0000 %S 0 0 796 451 3 0
[Opened Files]
1=main.c
2=main.h
2=
3=C:\Program Files (x86)\PICC\devices\16F887.h
4=C:\Program Files (x86)\PICC\drivers\lcd.c
5=
/Designs/Measuring_instruments/GM_counter/SW/counter/main.sta
1,23 → 1,23
 
ROM used: 2825 (34%)
2979 (36%) including unused fragments
ROM used: 3009 (37%)
3092 (38%) including unused fragments
 
3 Average locations per line
12 Average locations per statement
 
RAM used: 36 (10%) at main() level
55 (15%) worst case
RAM used: 37 (10%) at main() level
56 (15%) worst case
 
Stack used: 6 worst case (out of 8 total available)
 
Lines Stmts % Files
----- ----- --- -----
235 140 61 main.c
269 158 64 main.c
21 0 0 main.h
423 0 0 C:\Program Files (x86)\PICC\devices\16F887.h
408 88 39 C:\Program Files (x86)\PICC\drivers\lcd.c
408 88 36 C:\Program Files (x86)\PICC\drivers\lcd.c
----- -----
1087 228 Total
1121 246 Total
 
Page ROM % RAM Vol Diff Functions:
---- --- --- --- --- ---- ----------
27,19 → 27,19
0 8 0 0 @const78
Inline 3 751 4.5 lcd_read_byte
0 49 2 2 254 3.7 lcd_read_nibble
0 44 2 1 391 2.4 lcd_send_nibble
0 44 1 1 391 2.4 lcd_send_nibble
0 92 3 3 402 3.6 lcd_send_byte
0 58 2 2 666 5.0 lcd_init
0 18 1 4 191 5.8 lcd_gotoxy
0 45 2 1 354 4.7 lcd_putc
0 45 1 1 354 4.7 lcd_putc
0 7 0 0 17 1.3 RTCC_isr
0 19 1 0 50 1.5 TIMER1_isr
0 73 3 7 166 4.5 sound_beep
0 73 2 7 170 4.1 sound_beep
Inline 5 @DIV1616
1 931 33 15 5088 10.6 MAIN
1 1044 35 16 6137 12.7 MAIN
0 16 1 0 @const124
0 70 2 3 @PSTRINGC7_96
0 15 1 0 @const126
0 15 0 0 @const126
0 70 2 3 @PSTRINGC7_64
0 14 0 0 @const128
0 1 0 0 @const129
53,31 → 53,32
0 323 11 16 @ADDFF
0 33 1 4 @SFTOI
0 8 0 0 @const152
0 99 4 9 @PRINTF_LU_96
0 5 0 0 @const156
0 12 0 0 @const157
0 99 3 9 @PRINTF_LU_96
0 21 1 3 @DIV88
0 55 2 2 @PRINTF_U_96
0 12 0 0 @const162
0 79 3 4 @PSTRINGCN7_64
0 99 4 9 @PRINTF_LU_64
0 99 3 9 @PRINTF_LU_64
0 94 3 12 @PRINTF_L32U_64
 
Program metrics:
Functions 11
Statements 228
Comments 188
Volume (V) 11427
Difficilty (D) 46.2
Effort to implement (E) 528005
Time to implement (T) 8 hours, 9 minutes
Statements 246
Comments 195
Volume (V) 12590
Difficilty (D) 48.1
Effort to implement (E) 605765
Time to implement (T) 9 hours, 21 minutes
Est Delivered Bugs (B) 2
Cyclomatic Complexity 33
Maintainability (MI) 91
Cyclomatic Complexity 41
Maintainability (MI) 95
 
Segment Used Free
----------- ---- ----
00000-00003 4 0
00004-00037 52 0
00038-007FF 1838 154
00800-00FFF 931 1117
00038-007FF 1909 83
00800-00FFF 1044 1004
01000-017FF 0 2048
01800-01FFF 0 2048
 
/Designs/Measuring_instruments/GM_counter/SW/counter/main.sym
1,7 → 1,7
004 @WRITE_PROGRAM_MEMORY8.P1
004-005 @READ_PROGRAM_MEMORY8.P2
015 CCP_1_LOW
015 CCP_1
015 CCP_1_LOW
016 CCP_1_HIGH
01B CCP_2_LOW
01B CCP_2
21,120 → 21,125
032-033 MAIN.time
034-035 MAIN.last_timer
036.0 MAIN.button_press
036.1 MAIN.voltage_setup
036.2 MAIN.time_setup
036.1 MAIN.setup_mode
037-038 MAIN.measurement_number
039-03C @PRINTF_L32U_64.P1
039 sound_beep.lenght
039 @PSTRINGCN7_96.P1
039 lcd_init.i
039 @PSTRINGCN7_64.P1
039-03A @PRINTF_LU_96.P2
039-03C @PRINTF_L32U_96.P3
039-03A @PRINTF_LU_64.P4
039 MAIN.@SCRATCH1
039 @PSTRINGC7_96.@SCRATCH1
039 @PSTRINGC7_64.@SCRATCH1
03A-03B sound_beep.frequency
03A lcd_init.@SCRATCH1
03A MAIN.@SCRATCH2
03A @PSTRINGC7_96.@SCRATCH2
03A @PSTRINGC7_64.@SCRATCH2
03A @PSTRINGCN7_96.@SCRATCH1
03A @PSTRINGCN7_64.@SCRATCH1
03B-03C @MUL1616.P1
03B-03E @MULFF.P2
03B MAIN.@SCRATCH3
03B @PSTRINGC7_96.@SCRATCH3
03B @PSTRINGC7_64.@SCRATCH3
03B @PSTRINGCN7_96.@SCRATCH2
03B @PRINTF_LU_96.@SCRATCH1
03B @PSTRINGCN7_64.@SCRATCH2
03B @PRINTF_LU_64.@SCRATCH1
03C sound_beep.i
03C MAIN.@SCRATCH4
03C @PSTRINGCN7_96.@SCRATCH3
03C @PRINTF_LU_96.@SCRATCH2
03C @PSTRINGCN7_64.@SCRATCH3
03C @PRINTF_LU_64.@SCRATCH2
03D-03E @DIV1616.P1
03D-03E @MUL1616.P2
03D sound_beep.@SCRATCH1
03D MAIN.@SCRATCH5
03D @PRINTF_L32U_96.@SCRATCH1
03D @PRINTF_LU_96.@SCRATCH3
03D @PRINTF_LU_64.@SCRATCH3
03D @PRINTF_L32U_64.@SCRATCH1
03E sound_beep.@SCRATCH2
03E MAIN.@SCRATCH6
03E @PRINTF_L32U_96.@SCRATCH2
03E @PRINTF_LU_96.@SCRATCH4
03E @PRINTF_LU_64.@SCRATCH4
03E @PRINTF_L32U_64.@SCRATCH2
03F-042 @ADDFF.P1
03F-040 @DIV1616.P2
03F-042 @MULFF.P3
03F-040 @ITOF.P4
03F-042 @SFTOI.P5
03F sound_beep.@SCRATCH3
03F @PRINTF_L32U_96.@SCRATCH3
03F @MUL1616.@SCRATCH1
03F @PRINTF_LU_96.@SCRATCH5
03F @PRINTF_LU_64.@SCRATCH5
03F @PRINTF_L32U_64.@SCRATCH3
040 @delay_us1.P1
040 @PRINTF_L32U_96.@SCRATCH4
040 @PRINTF_LU_96.@SCRATCH6
040 @PRINTF_LU_64.@SCRATCH6
040 @PRINTF_L32U_64.@SCRATCH4
041 @DIV1616.@SCRATCH1
041 @PRINTF_L32U_96.@SCRATCH5
041 @PRINTF_LU_96.@SCRATCH7
041 @PRINTF_LU_64.@SCRATCH7
041 @PRINTF_L32U_64.@SCRATCH5
042 @PRINTF_L32U_96.@SCRATCH6
042 @PRINTF_L32U_64.@SCRATCH6
043-046 @ADDFF.P1
043 @PRINTF_L32U_96.@SCRATCH7
043 @MULFF.@SCRATCH1
043 @PRINTF_L32U_64.@SCRATCH7
044 @PRINTF_L32U_96.@SCRATCH8
044 @MULFF.@SCRATCH2
044 @PRINTF_L32U_64.@SCRATCH8
045-048 @DIV3232.P1
045 @PUTCHAR_1_.P2
045 lcd_putc.c
045 @MULFF.@SCRATCH3
046 @delay_ms1.P1
046 lcd_gotoxy.x
046 @MULFF.@SCRATCH4
047 lcd_gotoxy.y
047 @MULFF.@SCRATCH5
047 @ADDFF.@SCRATCH1
048 lcd_gotoxy.address
048 @ADDFF.@SCRATCH2
049-04C @DIV3232.P1
049 lcd_gotoxy.@SCRATCH1
049 @ADDFF.@SCRATCH3
04A lcd_send_byte.address
04A @ADDFF.@SCRATCH4
04B lcd_send_byte.n
04B @ADDFF.@SCRATCH5
04C lcd_read_byte.low
04C lcd_send_byte.@SCRATCH1
04C @ADDFF.@SCRATCH6
04D lcd_send_nibble.n
04D lcd_read_byte.high
04D @DIV3232.@SCRATCH1
04D @ADDFF.@SCRATCH7
04E lcd_read_nibble.n
04E lcd_read_byte.@SCRATCH1
04E @DIV3232.@SCRATCH2
04E @ADDFF.@SCRATCH8
04F lcd_read_nibble.@SCRATCH1
04F @DIV3232.@SCRATCH3
050 @DIV3232.@SCRATCH4
051 @DIV3232.@SCRATCH5
039 MAIN.treshold
03A @PRINTF_U_96.P1
03A @PSTRINGCN7_64.P2
03A-03B @PRINTF_LU_96.P3
03A-03D @PRINTF_L32U_64.P4
03A-03B @PRINTF_LU_64.P5
03A sound_beep.lenght
03A @PSTRINGCN7_96.P1
03A-03D @PRINTF_L32U_96.P2
03A lcd_init.i
03A MAIN.@SCRATCH1
03A @PSTRINGC7_96.@SCRATCH1
03A @PSTRINGC7_64.@SCRATCH1
03B-03C sound_beep.frequency
03B @PRINTF_U_96.P1
03B lcd_init.@SCRATCH1
03B MAIN.@SCRATCH2
03B @PSTRINGC7_96.@SCRATCH2
03B @PSTRINGC7_64.@SCRATCH2
03B @PSTRINGCN7_96.@SCRATCH1
03B @PSTRINGCN7_64.@SCRATCH1
03C-03D @MUL1616.P1
03C-03F @MULFF.P2
03C @DIV88.P3
03C MAIN.@SCRATCH3
03C @PSTRINGC7_96.@SCRATCH3
03C @PSTRINGC7_64.@SCRATCH3
03C @PSTRINGCN7_96.@SCRATCH2
03C @PRINTF_LU_96.@SCRATCH1
03C @PSTRINGCN7_64.@SCRATCH2
03C @PRINTF_LU_64.@SCRATCH1
03D sound_beep.i
03D @DIV88.P1
03D MAIN.@SCRATCH4
03D @PSTRINGCN7_96.@SCRATCH3
03D @PRINTF_LU_96.@SCRATCH2
03D @PSTRINGCN7_64.@SCRATCH3
03D @PRINTF_LU_64.@SCRATCH2
03E-03F @MUL1616.P1
03E-03F @DIV1616.P2
03E sound_beep.@SCRATCH1
03E MAIN.@SCRATCH5
03E @PRINTF_L32U_96.@SCRATCH1
03E @PRINTF_LU_96.@SCRATCH3
03E @DIV88.@SCRATCH1
03E @PRINTF_LU_64.@SCRATCH3
03E @PRINTF_L32U_64.@SCRATCH1
03F sound_beep.@SCRATCH2
03F MAIN.@SCRATCH6
03F @PRINTF_L32U_96.@SCRATCH2
03F @PRINTF_LU_96.@SCRATCH4
03F @PRINTF_LU_64.@SCRATCH4
03F @PRINTF_L32U_64.@SCRATCH2
040-041 @DIV1616.P1
040-043 @MULFF.P2
040-043 @ADDFF.P3
040-041 @ITOF.P4
040-043 @SFTOI.P5
040 sound_beep.@SCRATCH3
040 @PRINTF_L32U_96.@SCRATCH3
040 @MUL1616.@SCRATCH1
040 @PRINTF_LU_96.@SCRATCH5
040 @PRINTF_LU_64.@SCRATCH5
040 @PRINTF_L32U_64.@SCRATCH3
041 @delay_us1.P1
041 @PRINTF_L32U_96.@SCRATCH4
041 @PRINTF_LU_96.@SCRATCH6
041 @PRINTF_LU_64.@SCRATCH6
041 @PRINTF_L32U_64.@SCRATCH4
042 @DIV1616.@SCRATCH1
042 @PRINTF_L32U_96.@SCRATCH5
042 @PRINTF_LU_96.@SCRATCH7
042 @PRINTF_LU_64.@SCRATCH7
042 @PRINTF_L32U_64.@SCRATCH5
043 @PRINTF_L32U_96.@SCRATCH6
043 @PRINTF_L32U_64.@SCRATCH6
044-047 @ADDFF.P1
044 @PRINTF_L32U_96.@SCRATCH7
044 @MULFF.@SCRATCH1
044 @PRINTF_L32U_64.@SCRATCH7
045 @PRINTF_L32U_96.@SCRATCH8
045 @MULFF.@SCRATCH2
045 @PRINTF_L32U_64.@SCRATCH8
046 @PUTCHAR_1_.P1
046-049 @DIV3232.P2
046 lcd_putc.c
046 @MULFF.@SCRATCH3
047 @delay_ms1.P1
047 lcd_gotoxy.x
047 @MULFF.@SCRATCH4
048 lcd_gotoxy.y
048 @MULFF.@SCRATCH5
048 @ADDFF.@SCRATCH1
049 lcd_gotoxy.address
049 @ADDFF.@SCRATCH2
04A-04D @DIV3232.P1
04A lcd_gotoxy.@SCRATCH1
04A @ADDFF.@SCRATCH3
04B lcd_send_byte.address
04B @ADDFF.@SCRATCH4
04C lcd_send_byte.n
04C @ADDFF.@SCRATCH5
04D lcd_read_byte.low
04D lcd_send_byte.@SCRATCH1
04D @ADDFF.@SCRATCH6
04E lcd_read_byte.high
04E lcd_send_nibble.n
04E @DIV3232.@SCRATCH1
04E @ADDFF.@SCRATCH7
04F lcd_read_nibble.n
04F lcd_read_byte.@SCRATCH1
04F @DIV3232.@SCRATCH2
04F @ADDFF.@SCRATCH8
050 lcd_read_nibble.@SCRATCH1
050 @DIV3232.@SCRATCH3
051 @DIV3232.@SCRATCH4
052 @DIV3232.@SCRATCH5
077 @SCRATCH
078 @SCRATCH
078 _RETURN_
178,44 → 183,45
FFF @INTERRUPT_AREA
 
ROM Allocation:
00A9 @delay_ms1
05FC @delay_us1
0235 @PUTCHAR_1_
00A4 @delay_ms1
0643 @delay_us1
0230 @PUTCHAR_1_
0038 LCD_INIT_STRING
0122 lcd_read_byte
00E9 lcd_read_nibble
00BD lcd_send_nibble
011A lcd_send_byte
0176 lcd_init
01B0 lcd_gotoxy
01C2 lcd_putc
011D lcd_read_byte
00E4 lcd_read_nibble
00B8 lcd_send_nibble
0115 lcd_send_byte
0171 lcd_init
01AB lcd_gotoxy
01BD lcd_putc
0040 RTCC_isr
0047 TIMER1_isr
060D sound_beep
061E @DIV1616
0654 sound_beep
0665 @DIV1616
0800 MAIN
005A @const124
01EF @PSTRINGC7_96
01EA @PSTRINGC7_96
006A @const126
0257 @PSTRINGC7_64
0252 @PSTRINGC7_64
0079 @const128
0087 @const129
0088 @const131
029D @PSTRINGCN7_96
02EC @DIV3232
032E @PRINTF_L32U_96
038A @MUL1616
03A1 @ITOF
03BE @MULFF
0435 @ADDFF
0578 @SFTOI
0298 @PSTRINGCN7_96
02E7 @DIV3232
0329 @PRINTF_L32U_96
0385 @MUL1616
039C @ITOF
03B9 @MULFF
0430 @ADDFF
0573 @SFTOI
0090 @const152
0599 @PRINTF_LU_96
0098 @const156
009D @const157
0656 @PSTRINGCN7_64
06A5 @PRINTF_LU_64
0708 @PRINTF_L32U_64
0594 @PRINTF_LU_96
05F7 @DIV88
060C @PRINTF_U_96
0098 @const162
069D @PSTRINGCN7_64
06EC @PRINTF_LU_64
074F @PRINTF_L32U_64
0800 @cinit
 
 
224,7 → 230,7
User Memory space:
 
Project Directory:
D:\Honza\MLAB\Designs\Measuring_instruments\GM_counter\SW\counter\
Z:\home\kaklik\MLAB\Designs\Measuring_instruments\GM_counter\SW\counter\
 
Project Files:
main.c
233,7 → 239,7
C:\Program Files (x86)\PICC\drivers\lcd.c
 
Units:
D:\Honza\MLAB\Designs\Measuring_instruments\GM_counter\SW\counter\main (main)
Z:\home\kaklik\MLAB\Designs\Measuring_instruments\GM_counter\SW\counter\main (main)
 
Compiler Settings:
Processor: PIC16F887
/Designs/Measuring_instruments/GM_counter/SW/counter/main.tre
1,5 → 1,5
ÀÄmain
ÃÄMAIN 1/931 Ram=15
ÃÄMAIN 1/1044 Ram=16
³ ÃÄ??0??
³ ÃÄlcd_init 0/58 Ram=2
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
743,7 → 743,69
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ÃÄ@PRINTF_LU_96 0/99 Ram=9
³ ³ ÀÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
818,42 → 880,8
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@PRINTF_LU_96 0/99 Ram=9
³ ³ ÀÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@PSTRINGCN7_96 0/79 Ram=4
³ ÃÄ@PRINTF_U_96 0/55 Ram=2
³ ³ ÃÄ@DIV88 0/21 Ram=3
³ ³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
888,6 → 916,41
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@DIV88 0/21 Ram=3
³ ³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
922,6 → 985,40
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄsound_beep 0/73 Ram=7
³ ³ ÃÄ@DIV1616 (Inline) Ram=5
³ ³ ÃÄ@delay_us1 0/17 Ram=1
967,10 → 1064,92
³ ³ ÃÄ@DIV1616 (Inline) Ram=5
³ ³ ÃÄ@delay_us1 0/17 Ram=1
³ ³ ÀÄ@delay_us1 0/17 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_putc 0/45 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄ@delay_ms1 0/20 Ram=1
³ ³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÀÄsound_beep 0/73 Ram=7
³ ÃÄ@DIV1616 (Inline) Ram=5
³ ÃÄ@delay_us1 0/17 Ram=1
³ ÀÄ@delay_us1 0/17 Ram=1
³ ÃÄsound_beep 0/73 Ram=7
³ ³ ÃÄ@DIV1616 (Inline) Ram=5
³ ³ ÃÄ@delay_us1 0/17 Ram=1
³ ³ ÀÄ@delay_us1 0/17 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_putc 0/45 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄ@delay_ms1 0/20 Ram=1
³ ÃÄlcd_gotoxy 0/18 Ram=4
³ ³ ÀÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÃÄlcd_send_byte 0/92 Ram=3
³ ³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ³ ÀÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_byte 0/92 Ram=3
³ ÃÄlcd_read_byte (Inline) Ram=3
³ ³ ÃÄlcd_read_nibble 0/49 Ram=2
³ ³ ÀÄlcd_read_nibble 0/49 Ram=2
³ ÃÄlcd_send_nibble 0/44 Ram=1
³ ÀÄlcd_send_nibble 0/44 Ram=1
ÃÄRTCC_isr 0/7 Ram=0
ÀÄTIMER1_isr 0/19 Ram=0