Rev 6 | 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\motory\dc\regulator_letadlo\main.LST
ROM used: 27 (3%)
Largest free fragment is 997
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\motory\DC\regulator_letadlo\main.h"
.................... #include <16F84.h>
.................... //////// Standard Header file for the PIC16F84 device ////////////////
.................... #device PIC16F84
.................... #list
....................
.................... #use delay(clock=4000000)
.................... #fuses XT,NOWDT
....................
....................
....................
....................
.................... void main()
.................... {
0004: CLRF 04
0005: MOVLW 1F
0006: ANDWF 03,F
.................... while (true)
.................... {
....................
.................... output_high(pin_A1);
0007: BSF 03.5
0008: BCF 05.1
0009: BCF 03.5
000A: BSF 05.1
.................... Delay_us(10);
000B: MOVLW 03
000C: MOVWF 0C
000D: DECFSZ 0C,F
000E: GOTO 00D
.................... output_low(pin_A1);
000F: BSF 03.5
0010: BCF 05.1
0011: BCF 03.5
0012: BCF 05.1
.................... Delay_us(150);
0013: MOVLW 31
0014: MOVWF 0C
0015: DECFSZ 0C,F
0016: GOTO 015
0017: NOP
0018: NOP
.................... }
0019: GOTO 007
.................... }
....................
001A: SLEEP