Subversion Repositories svnkaklik

Rev

Rev 6 | Blame | Last modification | View Log | Download

CCS PCW C Compiler, Version 3.110, 15448

               Filename: d:\@kaklik\programy\pic_c\motory\menice\main.LST

               ROM used: 60 (6%)
                         Largest free fragment is 964
               RAM used: 2 (3%) at main() level
                         3 (4%) worst case
               Stack:    1 locations

*
0000:  MOVLW  00
0001:  MOVWF  0A
0002:  GOTO   019
0003:  NOP
....................  #include "D:\@Kaklik\programy\PIC_C\motory\menice\main.h" 
....................  #include <16F84.h> 
....................  //////// Standard Header file for the PIC16F84 device ////////////////  
.................... #device PIC16F84  
.................... #list  
....................  
.................... #use delay(clock=4000000)  
0004:  MOVLW  0F
0005:  MOVWF  04
0006:  MOVF   00,W
0007:  BTFSC  03.2
0008:  GOTO   018
0009:  MOVLW  01
000A:  MOVWF  0D
000B:  CLRF   0C
000C:  DECFSZ 0C,F
000D:  GOTO   00C
000E:  DECFSZ 0D,F
000F:  GOTO   00B
0010:  MOVLW  4A
0011:  MOVWF  0C
0012:  DECFSZ 0C,F
0013:  GOTO   012
0014:  NOP
0015:  NOP
0016:  DECFSZ 00,F
0017:  GOTO   009
0018:  RETLW  00
.................... #fuses HS,WDT  
....................   
....................  
....................   
.................... #DEFINE     L1    pin_A0  
.................... #DEFINE     L2    pin_A1  
....................   
.................... void main()  
.................... {  
0019:  CLRF   04
001A:  MOVLW  1F
001B:  ANDWF  03,F
....................    output_low(L1);  
001C:  BSF    03.5
001D:  BCF    05.0
001E:  BCF    03.5
001F:  BCF    05.0
....................    output_low(L2);  
0020:  BSF    03.5
0021:  BCF    05.1
0022:  BCF    03.5
0023:  BCF    05.1
....................      
....................    while(true)  
....................    {  
....................       output_low(L2);  
0024:  BSF    03.5
0025:  BCF    05.1
0026:  BCF    03.5
0027:  BCF    05.1
....................       output_high(L1);  
0028:  BSF    03.5
0029:  BCF    05.0
002A:  BCF    03.5
002B:  BSF    05.0
....................       Delay_ms(17);  
002C:  MOVLW  11
002D:  MOVWF  0F
002E:  CALL   004
....................       output_low(L1);  
002F:  BSF    03.5
0030:  BCF    05.0
0031:  BCF    03.5
0032:  BCF    05.0
....................       output_high(L2);  
0033:  BSF    03.5
0034:  BCF    05.1
0035:  BCF    03.5
0036:  BSF    05.1
....................       Delay_ms(17);  
0037:  MOVLW  11
0038:  MOVWF  0F
0039:  CALL   004
....................         
....................    }  
003A:  GOTO   024
.................... }  
....................  
003B:  SLEEP