1045 |
jacho |
1 |
CCS PCM C Compiler, Version 4.106, 47914 25-3-13 12:15 |
|
|
2 |
|
|
|
3 |
Filename: C:\Users\Honza\Documents\pic\serio_tlak\main.lst |
|
|
4 |
|
|
|
5 |
ROM used: 24 words (0%) |
|
|
6 |
Largest free fragment is 2048 |
|
|
7 |
RAM used: 5 (1%) at main() level |
|
|
8 |
5 (1%) 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 <16F887.h> |
|
|
17 |
.................... //////// Standard Header file for the PIC16F887 device //////////////// |
|
|
18 |
.................... #device PIC16F887 |
|
|
19 |
.................... #list |
|
|
20 |
.................... |
|
|
21 |
.................... |
|
|
22 |
.................... void main() { |
|
|
23 |
0004: CLRF 04 |
|
|
24 |
0005: BCF 03.7 |
|
|
25 |
0006: MOVLW 1F |
|
|
26 |
0007: ANDWF 03,F |
|
|
27 |
0008: BSF 03.5 |
|
|
28 |
0009: BSF 03.6 |
|
|
29 |
000A: MOVF 09,W |
|
|
30 |
000B: ANDLW C0 |
|
|
31 |
000C: MOVWF 09 |
|
|
32 |
000D: BCF 03.6 |
|
|
33 |
000E: BCF 1F.4 |
|
|
34 |
000F: BCF 1F.5 |
|
|
35 |
0010: MOVLW 00 |
|
|
36 |
0011: BSF 03.6 |
|
|
37 |
0012: MOVWF 08 |
|
|
38 |
0013: BCF 03.5 |
|
|
39 |
0014: CLRF 07 |
|
|
40 |
0015: CLRF 08 |
|
|
41 |
0016: CLRF 09 |
|
|
42 |
.................... |
|
|
43 |
.................... } |
|
|
44 |
0017: SLEEP |
|
|
45 |
|
|
|
46 |
Configuration Fuses: |
|
|
47 |
Word 1: 2FE7 RC NOWDT PUT MCLR NOPROTECT NOCPD BROWNOUT IESO FCMEN NOLVP NODEBUG |
|
|
48 |
Word 2: 3FFF NOWRT BORV40 |