Line 1... |
Line 1... |
1 |
CCS PCM C Compiler, Version 4.106, 47914 23-V-13 16:19 |
1 |
CCS PCM C Compiler, Version 4.106, 47914 06-X-13 22:07 |
2 |
|
2 |
|
3 |
Filename: Z:\home\kaklik\MLAB\Designs\Measuring_instruments\GM_counter\SW\counter\main.lst |
3 |
Filename: Z:\home\kaklik\svnMLAB\Designs\Measuring_instruments\GM_counter\SW\PIC16F887\main.lst |
4 |
|
4 |
|
5 |
ROM used: 3009 words (37%) |
5 |
ROM used: 3009 words (37%) |
6 |
Largest free fragment is 2048 |
6 |
Largest free fragment is 2048 |
7 |
RAM used: 37 (10%) at main() level |
7 |
RAM used: 37 (10%) at main() level |
8 |
56 (15%) worst case |
8 |
56 (15%) worst case |
Line 1925... |
Line 1925... |
1925 |
0B1B: CLRF 2C |
1925 |
0B1B: CLRF 2C |
1926 |
0B1C: CLRF 2B |
1926 |
0B1C: CLRF 2B |
1927 |
.................... break; |
1927 |
.................... break; |
1928 |
0B1D: GOTO 32B |
1928 |
0B1D: GOTO 32B |
1929 |
.................... case TRESHOLD_setup: |
1929 |
.................... case TRESHOLD_setup: |
1930 |
.................... if(treshold > 0x05 ) treshold +=5; |
1930 |
.................... if(treshold > 0x05 ) treshold -=5; |
1931 |
0B1E: MOVF 39,W |
1931 |
0B1E: MOVF 39,W |
1932 |
0B1F: SUBLW 05 |
1932 |
0B1F: SUBLW 05 |
1933 |
0B20: BTFSC 03.0 |
1933 |
0B20: BTFSC 03.0 |
1934 |
0B21: GOTO 324 |
1934 |
0B21: GOTO 324 |
1935 |
0B22: MOVLW 05 |
1935 |
0B22: MOVLW 05 |
1936 |
0B23: ADDWF 39,F |
1936 |
0B23: SUBWF 39,F |
1937 |
.................... setup_vref(VREF_HIGH|treshold); //sets 3.6(vdd *value/32 +vdd/4) if vdd is 5.0V |
1937 |
.................... setup_vref(VREF_HIGH|treshold); //sets 3.6(vdd *value/32 +vdd/4) if vdd is 5.0V |
1938 |
0B24: MOVF 39,W |
1938 |
0B24: MOVF 39,W |
1939 |
0B25: IORLW 80 |
1939 |
0B25: IORLW 80 |
1940 |
0B26: MOVWF 3A |
1940 |
0B26: MOVWF 3A |
1941 |
0B27: BSF 03.5 |
1941 |
0B27: BSF 03.5 |