Subversion Repositories svnkaklik

Rev

Go to most recent revision | Details | Last modification | View Log

Rev Author Line No. Line
6 kaklik 1
CCS PCW C Compiler, Version 3.110, 15448
2
 
3
               Filename: d:\@kaklik\programy\pic_c\motory\dc\regulator_letadlo\main.LST
4
 
5
               ROM used: 27 (3%)
6
                         Largest free fragment is 997
7
               RAM used: 2 (3%) at main() level
8
                         2 (3%) worst case
9
               Stack:    0 locations
10
 
11
*
12
0000:  MOVLW  00
13
0001:  MOVWF  0A
14
0002:  GOTO   004
15
0003:  NOP
16
....................  #include "D:\@Kaklik\programy\PIC_C\motory\DC\regulator_letadlo\main.h" 
17
....................  #include <16F84.h> 
18
....................  //////// Standard Header file for the PIC16F84 device ////////////////  
19
.................... #device PIC16F84  
20
.................... #list  
21
....................  
22
.................... #use delay(clock=4000000)  
23
.................... #fuses XT,NOWDT  
24
....................   
25
....................  
26
....................   
27
....................   
28
.................... void main()  
29
.................... {  
30
0004:  CLRF   04
31
0005:  MOVLW  1F
32
0006:  ANDWF  03,F
33
....................    while (true)  
34
....................    {  
35
....................   
36
....................    output_high(pin_A1);  
37
0007:  BSF    03.5
38
0008:  BCF    05.1
39
0009:  BCF    03.5
40
000A:  BSF    05.1
41
....................    Delay_us(10);  
42
000B:  MOVLW  03
43
000C:  MOVWF  0C
44
000D:  DECFSZ 0C,F
45
000E:  GOTO   00D
46
....................    output_low(pin_A1);  
47
000F:  BSF    03.5
48
0010:  BCF    05.1
49
0011:  BCF    03.5
50
0012:  BCF    05.1
51
....................    Delay_us(150);  
52
0013:  MOVLW  31
53
0014:  MOVWF  0C
54
0015:  DECFSZ 0C,F
55
0016:  GOTO   015
56
0017:  NOP
57
0018:  NOP
58
....................    }  
59
0019:  GOTO   007
60
.................... }  
61
....................  
62
001A:  SLEEP