Subversion Repositories svnkaklik

Rev

Rev 410 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download

CCS PCW C Compiler, Version 3.110, 15448

               Filename: d:\@kaklik\programy\pic_c\mereni_ultraz\main.LST

               ROM used: 47 (5%)
                         Largest free fragment is 977
               RAM used: 2 (3%) at main() level
                         2 (3%) worst case
               Stack:    0 locations

*
0000:  MOVLW  00
0001:  MOVWF  0A
0002:  GOTO   004
0003:  NOP
....................  #include "D:\@Kaklik\programy\PIC_C\mereni_ultraz\main.h" 
....................  #include <16F84.h> 
....................  //////// Standard Header file for the PIC16F84 device ////////////////  
.................... #device PIC16F84  
.................... #list  
....................  
.................... #use delay(clock=4000000)  
.................... #fuses XT,NOWDT  
....................   
....................  
.................... #use fast_io(A)  
....................   
.................... void main()  
.................... {  
0004:  CLRF   04
0005:  MOVLW  1F
0006:  ANDWF  03,F
....................   
....................    setup_counters(RTCC_INTERNAL,WDT_18MS);  
0007:  MOVLW  08
0008:  MOVWF  0C
0009:  BTFSS  0C.3
000A:  GOTO   013
000B:  MOVLW  07
000C:  CLRF   01
000D:  MOVLW  81
000E:  MOVWF  04
000F:  MOVF   00,W
0010:  ANDLW  C0
0011:  IORLW  0F
0012:  MOVWF  00
0013:  CLRWDT
0014:  MOVLW  81
0015:  MOVWF  04
0016:  MOVF   00,W
0017:  ANDLW  C0
0018:  IORWF  0C,W
0019:  MOVWF  00
....................   
....................    set_tris_A(0b11111100);  
001A:  MOVLW  FC
001B:  TRIS   5
....................    output_high(pin_A3);  
001C:  BSF    05.3
....................   
.................... mainloop:  
....................    output_high(pin_A0);   
001D:  BSF    05.0
....................    output_low(pin_A1);  
001E:  BCF    05.1
....................    delay_us(9);  
001F:  MOVLW  02
0020:  MOVWF  0C
0021:  DECFSZ 0C,F
0022:  GOTO   021
0023:  NOP
0024:  NOP
....................    output_high(pin_A1);  
0025:  BSF    05.1
....................    output_low(pin_A0);  
0026:  BCF    05.0
....................    delay_us(9);  
0027:  MOVLW  02
0028:  MOVWF  0C
0029:  DECFSZ 0C,F
002A:  GOTO   029
002B:  NOP
002C:  NOP
....................   
....................    goto mainloop;  
002D:  GOTO   01D
....................   
.................... }  
....................   
002E:  SLEEP
....................