1809 lines
89 KiB
Plaintext
1809 lines
89 KiB
Plaintext
|
||
|
||
HI-TECH Software PIC LITE Macro Assembler V9.82 build 9453
|
||
Fri Apr 15 10:29:00 2016
|
||
|
||
HI-TECH Software Omniscient Code Generator (Lite mode) build 9453
|
||
1 0000 opt subtitle "HI-TECH Software Omniscient Code Generator (Lite mode) build 9453"
|
||
2
|
||
3 opt pagewidth 120
|
||
4
|
||
5 opt lm
|
||
6
|
||
7 processor 16F628A
|
||
8 clrc macro
|
||
9 bcf 3,0
|
||
10 0000 endm
|
||
11 clrz macro
|
||
12 bcf 3,2
|
||
13 0000 endm
|
||
14 setc macro
|
||
15 bsf 3,0
|
||
16 0000 endm
|
||
17 setz macro
|
||
18 bsf 3,2
|
||
19 0000 endm
|
||
20 skipc macro
|
||
21 btfss 3,0
|
||
22 0000 endm
|
||
23 skipz macro
|
||
24 btfss 3,2
|
||
25 0000 endm
|
||
26 skipnc macro
|
||
27 btfsc 3,0
|
||
28 0000 endm
|
||
29 skipnz macro
|
||
30 btfsc 3,2
|
||
31 0000 endm
|
||
32 0000 indf equ 0
|
||
33 0000 indf0 equ 0
|
||
34 0002 pc equ 2
|
||
35 0002 pcl equ 2
|
||
36 0003 status equ 3
|
||
37 0004 fsr equ 4
|
||
38 0004 fsr0 equ 4
|
||
39 0001 c equ 1
|
||
40 0000 z equ 0
|
||
41 000A pclath equ 10
|
||
42 # 5 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
43 psect config,class=CONFIG,delta=2 ;#
|
||
44 # 5 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
45 2007 FF01 dw 0xFF7F & 0xFFBF & 0xFFFF & 0xFFDF & 0xFFF7 & 0xFFFB & 0xFFED ;#
|
||
46 FNCALL _main,_evaluate_tastatur
|
||
47 FNCALL _main,_SendRc5
|
||
48 FNCALL _SendRc5,_One
|
||
49 FNCALL _SendRc5,_Zero
|
||
50 FNCALL _SendRc5,_delay_89ms
|
||
51 FNCALL _Zero,_ON
|
||
52 FNCALL _Zero,_OFF
|
||
53 FNCALL _One,_OFF
|
||
54 FNCALL _One,_ON
|
||
55 FNROOT _main
|
||
56 FNCALL intlevel1,_ISR
|
||
57 global intlevel1
|
||
58 FNROOT intlevel1
|
||
59 global _CountB
|
||
60 global _CountC
|
||
61 global _somethingpressed
|
||
62 global _CountA
|
||
63 global _toggle
|
||
64 global _CMCON
|
||
65 psect text296,local,class=CODE,delta=2
|
||
66 global __ptext296
|
||
67 0000 __ptext296:
|
||
68 001F _CMCON set 31
|
||
69 global _INTCON
|
||
70 000B _INTCON set 11
|
||
71 global _PORTA
|
||
72 0005 _PORTA set 5
|
||
73 global _PORTB
|
||
74 0006 _PORTB set 6
|
||
75 global _CARRY
|
||
76 0018 _CARRY set 24
|
||
77 global _CM0
|
||
78 00F8 _CM0 set 248
|
||
79 global _CM1
|
||
80 00F9 _CM1 set 249
|
||
81 global _CM2
|
||
82 00FA _CM2 set 250
|
||
83 global _GIE
|
||
84 005F _GIE set 95
|
||
85 global _RA0
|
||
86 0028 _RA0 set 40
|
||
87 global _RBIE
|
||
88 005B _RBIE set 91
|
||
89 global _RBIF
|
||
90 0058 _RBIF set 88
|
||
91 global _EEADR
|
||
92 009B _EEADR set 155
|
||
93 global _EECON1
|
||
94 009C _EECON1 set 156
|
||
95 global _EECON2
|
||
96 009D _EECON2 set 157
|
||
97 global _EEDATA
|
||
98 009A _EEDATA set 154
|
||
99 global _OPTION_REG
|
||
100 0081 _OPTION_REG set 129
|
||
101 global _TRISA
|
||
102 0085 _TRISA set 133
|
||
103 global _TRISB
|
||
104 0086 _TRISB set 134
|
||
105 global _RD
|
||
106 04E0 _RD set 1248
|
||
107 global _WR
|
||
108 04E1 _WR set 1249
|
||
109 global _WREN
|
||
110 04E2 _WREN set 1250
|
||
111 file "RC5_Remote_Control.as"
|
||
112 line #
|
||
113 psect cinit,class=CODE,delta=2
|
||
114 global start_initialization
|
||
115 0167 start_initialization:
|
||
116
|
||
117 psect bssCOMMON,class=COMMON,space=1
|
||
118 global __pbssCOMMON
|
||
119 0077 __pbssCOMMON:
|
||
120 0077 _CountA:
|
||
121 0077 ds 2
|
||
122
|
||
123 0079 _toggle:
|
||
124 0079 ds 1
|
||
125
|
||
126 psect bssBANK0,class=BANK0,space=1
|
||
127 global __pbssBANK0
|
||
128 0028 __pbssBANK0:
|
||
129 0028 _CountB:
|
||
130 0028 ds 2
|
||
131
|
||
132 002A _CountC:
|
||
133 002A ds 2
|
||
134
|
||
135 002C _somethingpressed:
|
||
136 002C ds 2
|
||
137
|
||
138 ; Clear objects allocated to COMMON
|
||
139 psect cinit,class=CODE,delta=2
|
||
140 0167 01F7 clrf ((__pbssCOMMON)+0)&07Fh
|
||
141 0168 01F8 clrf ((__pbssCOMMON)+1)&07Fh
|
||
142 0169 01F9 clrf ((__pbssCOMMON)+2)&07Fh
|
||
143 ; Clear objects allocated to BANK0
|
||
144 psect cinit,class=CODE,delta=2
|
||
145 016A 01A8 clrf ((__pbssBANK0)+0)&07Fh
|
||
146 016B 01A9 clrf ((__pbssBANK0)+1)&07Fh
|
||
147 016C 01AA clrf ((__pbssBANK0)+2)&07Fh
|
||
148 016D 01AB clrf ((__pbssBANK0)+3)&07Fh
|
||
149 016E 01AC clrf ((__pbssBANK0)+4)&07Fh
|
||
150 016F 01AD clrf ((__pbssBANK0)+5)&07Fh
|
||
151 psect cinit,class=CODE,delta=2
|
||
152 global end_of_initialization
|
||
153
|
||
154 ;End of C runtime variable initialization code
|
||
155
|
||
156 0170 end_of_initialization:
|
||
157 0170 0183 clrf status
|
||
158 0171 28E0 ljmp _main ;jump to C main() function
|
||
159 psect cstackCOMMON,class=COMMON,space=1
|
||
160 global __pcstackCOMMON
|
||
161 0070 __pcstackCOMMON:
|
||
162 global ?_ON
|
||
163 0070 ?_ON: ; 0 bytes @ 0x0
|
||
164 global ?_OFF
|
||
165 0070 ?_OFF: ; 0 bytes @ 0x0
|
||
166 global ?_ISR
|
||
167 0070 ?_ISR: ; 0 bytes @ 0x0
|
||
168 global ??_ISR
|
||
169 0070 ??_ISR: ; 0 bytes @ 0x0
|
||
170 global ?_delay_89ms
|
||
171 0070 ?_delay_89ms: ; 0 bytes @ 0x0
|
||
172 global ?_One
|
||
173 0070 ?_One: ; 0 bytes @ 0x0
|
||
174 global ?_Zero
|
||
175 0070 ?_Zero: ; 0 bytes @ 0x0
|
||
176 global ?_evaluate_tastatur
|
||
177 0070 ?_evaluate_tastatur: ; 0 bytes @ 0x0
|
||
178 global ?_main
|
||
179 0070 ?_main: ; 0 bytes @ 0x0
|
||
180 0070 ds 4
|
||
181 global ??_ON
|
||
182 0074 ??_ON: ; 0 bytes @ 0x4
|
||
183 global ??_OFF
|
||
184 0074 ??_OFF: ; 0 bytes @ 0x4
|
||
185 global ??_delay_89ms
|
||
186 0074 ??_delay_89ms: ; 0 bytes @ 0x4
|
||
187 global ??_evaluate_tastatur
|
||
188 0074 ??_evaluate_tastatur: ; 0 bytes @ 0x4
|
||
189 0074 ds 1
|
||
190 global ON@i
|
||
191 0075 ON@i: ; 1 bytes @ 0x5
|
||
192 global OFF@i
|
||
193 0075 OFF@i: ; 1 bytes @ 0x5
|
||
194 0075 ds 1
|
||
195 global ??_One
|
||
196 0076 ??_One: ; 0 bytes @ 0x6
|
||
197 global ??_Zero
|
||
198 0076 ??_Zero: ; 0 bytes @ 0x6
|
||
199 global ?_SendRc5
|
||
200 0076 ?_SendRc5: ; 0 bytes @ 0x6
|
||
201 global SendRc5@group
|
||
202 0076 SendRc5@group: ; 1 bytes @ 0x6
|
||
203 0076 ds 1
|
||
204 psect cstackBANK0,class=BANK0,space=1
|
||
205 global __pcstackBANK0
|
||
206 0020 __pcstackBANK0:
|
||
207 global ??_SendRc5
|
||
208 0020 ??_SendRc5: ; 0 bytes @ 0x0
|
||
209 global evaluate_tastatur@comcode
|
||
210 0020 evaluate_tastatur@comcode: ; 1 bytes @ 0x0
|
||
211 0020 ds 1
|
||
212 global evaluate_tastatur@e
|
||
213 0021 evaluate_tastatur@e: ; 1 bytes @ 0x1
|
||
214 global SendRc5@command
|
||
215 0021 SendRc5@command: ; 1 bytes @ 0x1
|
||
216 0021 ds 1
|
||
217 global evaluate_tastatur@i
|
||
218 0022 evaluate_tastatur@i: ; 1 bytes @ 0x2
|
||
219 global SendRc5@i
|
||
220 0022 SendRc5@i: ; 1 bytes @ 0x2
|
||
221 0022 ds 1
|
||
222 global evaluate_tastatur@a
|
||
223 0023 evaluate_tastatur@a: ; 1 bytes @ 0x3
|
||
224 0023 ds 1
|
||
225 global ??_main
|
||
226 0024 ??_main: ; 0 bytes @ 0x4
|
||
227 0024 ds 1
|
||
228 global main@help
|
||
229 0025 main@help: ; 1 bytes @ 0x5
|
||
230 0025 ds 1
|
||
231 global main@subcode
|
||
232 0026 main@subcode: ; 1 bytes @ 0x6
|
||
233 0026 ds 1
|
||
234 global main@comcode
|
||
235 0027 main@comcode: ; 1 bytes @ 0x7
|
||
236 0027 ds 1
|
||
237 ;;Data sizes: Strings 0, constant 0, data 0, bss 9, persistent 0 stack 0
|
||
238 ;;Auto spaces: Size Autos Used
|
||
239 ;; COMMON 14 7 10
|
||
240 ;; BANK0 80 8 14
|
||
241 ;; BANK1 80 0 0
|
||
242 ;; BANK2 48 0 0
|
||
243
|
||
244 ;;
|
||
245 ;; Pointer list with targets:
|
||
246
|
||
247 ;; SendRc5@command PTR unsigned char size(1) Largest target is 1
|
||
248 ;; -> main@comcode(BANK0[1]),
|
||
249 ;;
|
||
250 ;; SendRc5@group PTR unsigned char size(1) Largest target is 1
|
||
251 ;; -> main@subcode(BANK0[1]),
|
||
252 ;;
|
||
253 ;; evaluate_tastatur@comcode PTR unsigned char size(1) Largest target is 1
|
||
254 ;; -> main@comcode(BANK0[1]),
|
||
255 ;;
|
||
256
|
||
257
|
||
258 ;;
|
||
259 ;; Critical Paths under _main in COMMON
|
||
260 ;;
|
||
261 ;; _main->_SendRc5
|
||
262 ;; _Zero->_ON
|
||
263 ;; _Zero->_OFF
|
||
264 ;; _One->_OFF
|
||
265 ;; _One->_ON
|
||
266 ;;
|
||
267 ;; Critical Paths under _ISR in COMMON
|
||
268 ;;
|
||
269 ;; None.
|
||
270 ;;
|
||
271 ;; Critical Paths under _main in BANK0
|
||
272 ;;
|
||
273 ;; _main->_evaluate_tastatur
|
||
274 ;;
|
||
275 ;; Critical Paths under _ISR in BANK0
|
||
276 ;;
|
||
277 ;; None.
|
||
278 ;;
|
||
279 ;; Critical Paths under _main in BANK1
|
||
280 ;;
|
||
281 ;; None.
|
||
282 ;;
|
||
283 ;; Critical Paths under _ISR in BANK1
|
||
284 ;;
|
||
285 ;; None.
|
||
286 ;;
|
||
287 ;; Critical Paths under _main in BANK2
|
||
288 ;;
|
||
289 ;; None.
|
||
290 ;;
|
||
291 ;; Critical Paths under _ISR in BANK2
|
||
292 ;;
|
||
293 ;; None.
|
||
294
|
||
295 ;;
|
||
296 ;;Main: autosize = 0, tempsize = 1, incstack = 0, save=0
|
||
297 ;;
|
||
298
|
||
299 ;;
|
||
300 ;;Call Graph Tables:
|
||
301 ;;
|
||
302 ;; ---------------------------------------------------------------------------------
|
||
303 ;; (Depth) Function Calls Base Space Used Autos Params Refs
|
||
304 ;; ---------------------------------------------------------------------------------
|
||
305 ;; (0) _main 4 4 0 788
|
||
306 ;; 4 BANK0 4 4 0
|
||
307 ;; _evaluate_tastatur
|
||
308 ;; _SendRc5
|
||
309 ;; ---------------------------------------------------------------------------------
|
||
310 ;; (1) _SendRc5 4 3 1 402
|
||
311 ;; 6 COMMON 1 0 1
|
||
312 ;; 0 BANK0 3 3 0
|
||
313 ;; _One
|
||
314 ;; _Zero
|
||
315 ;; _delay_89ms
|
||
316 ;; ---------------------------------------------------------------------------------
|
||
317 ;; (2) _Zero 0 0 0 71
|
||
318 ;; _ON
|
||
319 ;; _OFF
|
||
320 ;; ---------------------------------------------------------------------------------
|
||
321 ;; (2) _One 0 0 0 71
|
||
322 ;; _OFF
|
||
323 ;; _ON
|
||
324 ;; ---------------------------------------------------------------------------------
|
||
325 ;; (1) _evaluate_tastatur 6 6 0 266
|
||
326 ;; 4 COMMON 2 2 0
|
||
327 ;; 0 BANK0 4 4 0
|
||
328 ;; ---------------------------------------------------------------------------------
|
||
329 ;; (2) _delay_89ms 0 0 0 0
|
||
330 ;; ---------------------------------------------------------------------------------
|
||
331 ;; (3) _OFF 2 2 0 34
|
||
332 ;; 4 COMMON 2 2 0
|
||
333 ;; ---------------------------------------------------------------------------------
|
||
334 ;; (3) _ON 2 2 0 37
|
||
335 ;; 4 COMMON 2 2 0
|
||
336 ;; ---------------------------------------------------------------------------------
|
||
337 ;; Estimated maximum stack depth 3
|
||
338 ;; ---------------------------------------------------------------------------------
|
||
339 ;; (Depth) Function Calls Base Space Used Autos Params Refs
|
||
340 ;; ---------------------------------------------------------------------------------
|
||
341 ;; (4) _ISR 4 4 0 0
|
||
342 ;; 0 COMMON 4 4 0
|
||
343 ;; ---------------------------------------------------------------------------------
|
||
344 ;; Estimated maximum stack depth 4
|
||
345 ;; ---------------------------------------------------------------------------------
|
||
346
|
||
347 ;; Call Graph Graphs:
|
||
348
|
||
349 ;; _main (ROOT)
|
||
350 ;; _evaluate_tastatur
|
||
351 ;; _SendRc5
|
||
352 ;; _One
|
||
353 ;; _OFF
|
||
354 ;; _ON
|
||
355 ;; _Zero
|
||
356 ;; _ON
|
||
357 ;; _OFF
|
||
358 ;; _delay_89ms
|
||
359 ;;
|
||
360 ;; _ISR (ROOT)
|
||
361 ;;
|
||
362
|
||
363 ;; Address spaces:
|
||
364
|
||
365 ;;Name Size Autos Total Cost Usage
|
||
366 ;;BITCOMMON E 0 0 0 0.0%
|
||
367 ;;EEDATA 80 0 0 0 0.0%
|
||
368 ;;NULL 0 0 0 0 0.0%
|
||
369 ;;CODE 0 0 0 0 0.0%
|
||
370 ;;COMMON E 7 A 1 71.4%
|
||
371 ;;BITSFR0 0 0 0 1 0.0%
|
||
372 ;;SFR0 0 0 0 1 0.0%
|
||
373 ;;BITSFR1 0 0 0 2 0.0%
|
||
374 ;;SFR1 0 0 0 2 0.0%
|
||
375 ;;STACK 0 0 3 2 0.0%
|
||
376 ;;BANK0 50 8 E 3 17.5%
|
||
377 ;;BITSFR3 0 0 0 4 0.0%
|
||
378 ;;SFR3 0 0 0 4 0.0%
|
||
379 ;;ABS 0 0 18 4 0.0%
|
||
380 ;;BITBANK0 50 0 0 5 0.0%
|
||
381 ;;BITSFR2 0 0 0 5 0.0%
|
||
382 ;;SFR2 0 0 0 5 0.0%
|
||
383 ;;BITBANK1 50 0 0 6 0.0%
|
||
384 ;;BANK1 50 0 0 7 0.0%
|
||
385 ;;BITBANK2 30 0 0 8 0.0%
|
||
386 ;;BANK2 30 0 0 9 0.0%
|
||
387 ;;DATA 0 0 1B 10 0.0%
|
||
388
|
||
389 global _main
|
||
390 psect maintext,global,class=CODE,delta=2
|
||
391 global __pmaintext
|
||
392 00E0 __pmaintext:
|
||
393
|
||
394 ;; *************** function _main *****************
|
||
395 ;; Defined at:
|
||
396 ;; line 159 in file "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
397 ;; Parameters: Size Location Type
|
||
398 ;; None
|
||
399 ;; Auto vars: Size Location Type
|
||
400 ;; comcode 1 7[BANK0 ] unsigned char
|
||
401 ;; subcode 1 6[BANK0 ] unsigned char
|
||
402 ;; help 1 5[BANK0 ] unsigned char
|
||
403 ;; Return value: Size Location Type
|
||
404 ;; None void
|
||
405 ;; Registers used:
|
||
406 ;; wreg, fsr0l, fsr0h, status,2, status,0, pclath, cstack
|
||
407 ;; Tracked objects:
|
||
408 ;; On entry : 17F/0
|
||
409 ;; On exit : 0/0
|
||
410 ;; Unchanged: 0/0
|
||
411 ;; Data sizes: COMMON BANK0 BANK1 BANK2
|
||
412 ;; Params: 0 0 0 0
|
||
413 ;; Locals: 0 3 0 0
|
||
414 ;; Temps: 0 1 0 0
|
||
415 ;; Totals: 0 4 0 0
|
||
416 ;;Total ram usage: 4 bytes
|
||
417 ;; Hardware stack levels required when called: 4
|
||
418 ;; This function calls:
|
||
419 ;; _evaluate_tastatur
|
||
420 ;; _SendRc5
|
||
421 ;; This function is called by:
|
||
422 ;; Startup code after reset
|
||
423 ;; This function uses a non-reentrant model
|
||
424 ;;
|
||
425 psect maintext
|
||
426 file "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
427 line 159
|
||
428 global __size_of_main
|
||
429 0049 __size_of_main equ __end_of_main-_main
|
||
430
|
||
431 00E0 _main:
|
||
432 opt stack 4
|
||
433 ; Regs used in _main: [wreg-fsr0h+status,2+status,0+pclath+cstack]
|
||
434 line 160
|
||
435
|
||
436 00E0 l2408:
|
||
437 ;main.c: 160: unsigned char comcode = 0;
|
||
438 00E0 1283 bcf status, 5 ;RP0=0, select bank0
|
||
439 00E1 1303 bcf status, 6 ;RP1=0, select bank0
|
||
440 00E2 01A7 clrf (main@comcode)
|
||
441 line 161
|
||
442 ;main.c: 161: char subcode = 0;
|
||
443 00E3 01A6 clrf (main@subcode)
|
||
444 line 163
|
||
445
|
||
446 00E4 l2410:
|
||
447 ;main.c: 163: OPTION_REG = 0b00000010;
|
||
448 00E4 3002 movlw (02h)
|
||
449 00E5 1683 bsf status, 5 ;RP0=1, select bank1
|
||
450 00E6 1303 bcf status, 6 ;RP1=0, select bank1
|
||
451 00E7 0081 movwf (129)^080h ;volatile
|
||
452 line 164
|
||
453 ;main.c: 164: CMCON = 0x07;
|
||
454 00E8 3007 movlw (07h)
|
||
455 00E9 1283 bcf status, 5 ;RP0=0, select bank0
|
||
456 00EA 1303 bcf status, 6 ;RP1=0, select bank0
|
||
457 00EB 009F movwf (31) ;volatile
|
||
458 line 165
|
||
459
|
||
460 00EC l2412:
|
||
461 ;main.c: 165: TRISA = 0x00;
|
||
462 00EC 1683 bsf status, 5 ;RP0=1, select bank1
|
||
463 00ED 1303 bcf status, 6 ;RP1=0, select bank1
|
||
464 00EE 0185 clrf (133)^080h ;volatile
|
||
465 line 166
|
||
466
|
||
467 00EF l2414:
|
||
468 ;main.c: 166: TRISB = 0xF0;
|
||
469 00EF 30F0 movlw (0F0h)
|
||
470 00F0 0086 movwf (134)^080h ;volatile
|
||
471 line 167
|
||
472
|
||
473 00F1 l2416:
|
||
474 ;main.c: 167: GIE = 1;
|
||
475 00F1 178B bsf (95/8),(95)&7
|
||
476 line 168
|
||
477
|
||
478 00F2 l2418:
|
||
479 ;main.c: 168: CM0 = 1;
|
||
480 00F2 1283 bcf status, 5 ;RP0=0, select bank0
|
||
481 00F3 1303 bcf status, 6 ;RP1=0, select bank0
|
||
482 00F4 141F bsf (248/8),(248)&7
|
||
483 line 169
|
||
484
|
||
485 00F5 l2420:
|
||
486 ;main.c: 169: CM1 = 1;
|
||
487 00F5 149F bsf (249/8),(249)&7
|
||
488 line 170
|
||
489
|
||
490 00F6 l2422:
|
||
491 ;main.c: 170: CM2 = 1;
|
||
492 00F6 151F bsf (250/8),(250)&7
|
||
493 line 171
|
||
494 ;main.c: 171: PORTA = 0;
|
||
495 00F7 0185 clrf (5) ;volatile
|
||
496 line 172
|
||
497
|
||
498 00F8 l2424:
|
||
499 ;main.c: 172: PORTB = 0xFF;
|
||
500 00F8 30FF movlw (0FFh)
|
||
501 00F9 0086 movwf (6) ;volatile
|
||
502 line 173
|
||
503
|
||
504 00FA l2426:
|
||
505 ;main.c: 173: subcode = 29;
|
||
506 00FA 301D movlw (01Dh)
|
||
507 00FB 00A4 movwf (??_main+0)+0
|
||
508 00FC 0824 movf (??_main+0)+0,w
|
||
509 00FD 00A6 movwf (main@subcode)
|
||
510 line 174
|
||
511 ;main.c: 174: INTCON = 0;
|
||
512 00FE 018B clrf (11) ;volatile
|
||
513 line 175
|
||
514
|
||
515 00FF l2428:
|
||
516 ;main.c: 175: RBIE = 1;
|
||
517 00FF 158B bsf (91/8),(91)&7
|
||
518 line 176
|
||
519
|
||
520 0100 l2430:
|
||
521 ;main.c: 176: char help = 0;
|
||
522 0100 01A5 clrf (main@help)
|
||
523 0101 2904 goto l431
|
||
524 line 178
|
||
525 ;main.c: 178: while(1)
|
||
526
|
||
527 0102 l430:
|
||
528 line 180
|
||
529 ;main.c: 179: {
|
||
530 ;main.c: 180: while(!RBIF)
|
||
531 0102 2904 goto l431
|
||
532
|
||
533 0103 l432:
|
||
534 line 181
|
||
535 # 181 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
536 0103 0063 sleep ;#
|
||
537 psect maintext
|
||
538
|
||
539 0104 l431:
|
||
540 line 180
|
||
541 0104 1C0B btfss (88/8),(88)&7
|
||
542 0105 2907 goto u2801
|
||
543 0106 2908 goto u2800
|
||
544 0107 u2801:
|
||
545 0107 2903 goto l432
|
||
546 0108 u2800:
|
||
547 0108 2909 goto l2432
|
||
548
|
||
549 0109 l433:
|
||
550 line 182
|
||
551
|
||
552 0109 l2432:
|
||
553 ;main.c: 182: PORTB = 0xFF;
|
||
554 0109 30FF movlw (0FFh)
|
||
555 010A 1283 bcf status, 5 ;RP0=0, select bank0
|
||
556 010B 1303 bcf status, 6 ;RP1=0, select bank0
|
||
557 010C 0086 movwf (6) ;volatile
|
||
558 line 183
|
||
559
|
||
560 010D l2434:
|
||
561 ;main.c: 183: evaluate_tastatur(&comcode);
|
||
562 010D 3027 movlw (main@comcode)&0ffh
|
||
563 010E 2081 fcall _evaluate_tastatur
|
||
564 line 184
|
||
565
|
||
566 010F l2436:
|
||
567 ;main.c: 184: if(somethingpressed == 1)
|
||
568 010F 3001 movlw 01h
|
||
569 0110 1283 bcf status, 5 ;RP0=0, select bank0
|
||
570 0111 1303 bcf status, 6 ;RP1=0, select bank0
|
||
571 0112 062C xorwf (_somethingpressed),w
|
||
572 0113 042D iorwf (_somethingpressed+1),w
|
||
573 0114 1D03 skipz
|
||
574 0115 2917 goto u2811
|
||
575 0116 2918 goto u2810
|
||
576 0117 u2811:
|
||
577 0117 2904 goto l431
|
||
578 0118 u2810:
|
||
579 line 186
|
||
580
|
||
581 0118 l2438:
|
||
582 ;main.c: 185: {
|
||
583 ;main.c: 186: SendRc5(&comcode, &subcode);
|
||
584 0118 3026 movlw (main@subcode)&0ffh
|
||
585 0119 00A4 movwf (??_main+0)+0
|
||
586 011A 0824 movf (??_main+0)+0,w
|
||
587 011B 00F6 movwf (?_SendRc5)
|
||
588 011C 3027 movlw (main@comcode)&0ffh
|
||
589 011D 2011 fcall _SendRc5
|
||
590 line 187
|
||
591
|
||
592 011E l2440:
|
||
593 ;main.c: 187: somethingpressed = 0;
|
||
594 011E 1283 bcf status, 5 ;RP0=0, select bank0
|
||
595 011F 1303 bcf status, 6 ;RP1=0, select bank0
|
||
596 0120 01AC clrf (_somethingpressed)
|
||
597 0121 01AD clrf (_somethingpressed+1)
|
||
598 line 188
|
||
599
|
||
600 0122 l2442:
|
||
601 ;main.c: 188: help = 1;
|
||
602 0122 01A5 clrf (main@help)
|
||
603 0123 1403 bsf status,0
|
||
604 0124 0DA5 rlf (main@help),f
|
||
605 0125 2904 goto l431
|
||
606 line 189
|
||
607
|
||
608 0126 l434:
|
||
609 0126 2904 goto l431
|
||
610 line 190
|
||
611
|
||
612 0127 l435:
|
||
613 line 178
|
||
614 0127 2904 goto l431
|
||
615
|
||
616 0128 l436:
|
||
617 line 191
|
||
618
|
||
619 0128 l437:
|
||
620 global start
|
||
621 0128 2810 ljmp start
|
||
622 opt stack 0
|
||
623 GLOBAL __end_of_main
|
||
624 0129 __end_of_main:
|
||
625 ;; =============== function _main ends ============
|
||
626
|
||
627 signat _main,88
|
||
628 global _SendRc5
|
||
629 psect text297,local,class=CODE,delta=2
|
||
630 global __ptext297
|
||
631 0011 __ptext297:
|
||
632
|
||
633 ;; *************** function _SendRc5 *****************
|
||
634 ;; Defined at:
|
||
635 ;; line 128 in file "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
636 ;; Parameters: Size Location Type
|
||
637 ;; command 1 wreg PTR unsigned char
|
||
638 ;; -> main@comcode(1),
|
||
639 ;; group 1 6[COMMON] PTR unsigned char
|
||
640 ;; -> main@subcode(1),
|
||
641 ;; Auto vars: Size Location Type
|
||
642 ;; command 1 1[BANK0 ] PTR unsigned char
|
||
643 ;; -> main@comcode(1),
|
||
644 ;; i 1 2[BANK0 ] unsigned char
|
||
645 ;; Return value: Size Location Type
|
||
646 ;; None void
|
||
647 ;; Registers used:
|
||
648 ;; wreg, fsr0l, fsr0h, status,2, status,0, pclath, cstack
|
||
649 ;; Tracked objects:
|
||
650 ;; On entry : 0/0
|
||
651 ;; On exit : 0/0
|
||
652 ;; Unchanged: 0/0
|
||
653 ;; Data sizes: COMMON BANK0 BANK1 BANK2
|
||
654 ;; Params: 1 0 0 0
|
||
655 ;; Locals: 0 2 0 0
|
||
656 ;; Temps: 0 1 0 0
|
||
657 ;; Totals: 1 3 0 0
|
||
658 ;;Total ram usage: 4 bytes
|
||
659 ;; Hardware stack levels used: 1
|
||
660 ;; Hardware stack levels required when called: 3
|
||
661 ;; This function calls:
|
||
662 ;; _One
|
||
663 ;; _Zero
|
||
664 ;; _delay_89ms
|
||
665 ;; This function is called by:
|
||
666 ;; _main
|
||
667 ;; This function uses a non-reentrant model
|
||
668 ;;
|
||
669 psect text297
|
||
670 file "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
671 line 128
|
||
672 global __size_of_SendRc5
|
||
673 0070 __size_of_SendRc5 equ __end_of_SendRc5-_SendRc5
|
||
674
|
||
675 0011 _SendRc5:
|
||
676 opt stack 4
|
||
677 ; Regs used in _SendRc5: [wreg-fsr0h+status,2+status,0+pclath+cstack]
|
||
678 ;SendRc5@command stored from wreg
|
||
679 line 130
|
||
680 0011 1283 bcf status, 5 ;RP0=0, select bank0
|
||
681 0012 1303 bcf status, 6 ;RP1=0, select bank0
|
||
682 0013 00A1 movwf (SendRc5@command)
|
||
683
|
||
684 0014 l2366:
|
||
685 ;main.c: 129: unsigned char i;
|
||
686 ;main.c: 130: One();
|
||
687 0014 2180 fcall _One
|
||
688 line 131
|
||
689 ;main.c: 131: One();
|
||
690 0015 2180 fcall _One
|
||
691 line 133
|
||
692
|
||
693 0016 l2368:
|
||
694 ;main.c: 133: toggle = toggle ^ 1 & 1;
|
||
695 0016 0879 movf (_toggle),w
|
||
696 0017 3A01 xorlw 01h
|
||
697 0018 1283 bcf status, 5 ;RP0=0, select bank0
|
||
698 0019 1303 bcf status, 6 ;RP1=0, select bank0
|
||
699 001A 00A0 movwf (??_SendRc5+0)+0
|
||
700 001B 0820 movf (??_SendRc5+0)+0,w
|
||
701 001C 00F9 movwf (_toggle)
|
||
702 line 134
|
||
703
|
||
704 001D l2370:
|
||
705 ;main.c: 134: if(toggle == 1)
|
||
706 001D 0879 movf (_toggle),w
|
||
707 001E 3A01 xorlw 01h
|
||
708 001F 1D03 skipz
|
||
709 0020 2822 goto u2711
|
||
710 0021 2823 goto u2710
|
||
711 0022 u2711:
|
||
712 0022 2825 goto l2374
|
||
713 0023 u2710:
|
||
714 line 135
|
||
715
|
||
716 0023 l2372:
|
||
717 ;main.c: 135: One();
|
||
718 0023 2180 fcall _One
|
||
719 0024 2827 goto l2376
|
||
720 line 136
|
||
721
|
||
722 0025 l417:
|
||
723 line 137
|
||
724
|
||
725 0025 l2374:
|
||
726 ;main.c: 136: else
|
||
727 ;main.c: 137: Zero();
|
||
728 0025 217D fcall _Zero
|
||
729 0026 2827 goto l2376
|
||
730
|
||
731 0027 l418:
|
||
732 line 139
|
||
733
|
||
734 0027 l2376:
|
||
735 ;main.c: 139: for(i = 4; i != 255; i--)
|
||
736 0027 3004 movlw (04h)
|
||
737 0028 1283 bcf status, 5 ;RP0=0, select bank0
|
||
738 0029 1303 bcf status, 6 ;RP1=0, select bank0
|
||
739 002A 00A0 movwf (??_SendRc5+0)+0
|
||
740 002B 0820 movf (??_SendRc5+0)+0,w
|
||
741 002C 00A2 movwf (SendRc5@i)
|
||
742
|
||
743 002D l2378:
|
||
744 002D 0822 movf (SendRc5@i),w
|
||
745 002E 3AFF xorlw 0FFh
|
||
746 002F 1D03 skipz
|
||
747 0030 2832 goto u2721
|
||
748 0031 2833 goto u2720
|
||
749 0032 u2721:
|
||
750 0032 2835 goto l2382
|
||
751 0033 u2720:
|
||
752 0033 2854 goto l2392
|
||
753
|
||
754 0034 l2380:
|
||
755 0034 2854 goto l2392
|
||
756 line 140
|
||
757
|
||
758 0035 l419:
|
||
759 line 141
|
||
760
|
||
761 0035 l2382:
|
||
762 ;main.c: 140: {
|
||
763 ;main.c: 141: if(((*group>>i))&1)
|
||
764 0035 0876 movf (SendRc5@group),w
|
||
765 0036 0084 movwf fsr0
|
||
766 0037 1383 bcf status, 7 ;select IRP bank0
|
||
767 0038 0800 movf indf,w
|
||
768 0039 00A0 movwf (??_SendRc5+0)+0
|
||
769 003A 0A22 incf (SendRc5@i),w
|
||
770 003B 283E goto u2734
|
||
771 003C u2735:
|
||
772 003C 1003 clrc
|
||
773 003D 0CA0 rrf (??_SendRc5+0)+0,f
|
||
774 003E u2734:
|
||
775 003E 3EFF addlw -1
|
||
776 003F 1D03 skipz
|
||
777 0040 283C goto u2735
|
||
778 0041 1C20 btfss 0+(??_SendRc5+0)+0,(0)&7
|
||
779 0042 2844 goto u2741
|
||
780 0043 2845 goto u2740
|
||
781 0044 u2741:
|
||
782 0044 2847 goto l2386
|
||
783 0045 u2740:
|
||
784 line 142
|
||
785
|
||
786 0045 l2384:
|
||
787 ;main.c: 142: One();
|
||
788 0045 2180 fcall _One
|
||
789 0046 2849 goto l2388
|
||
790 line 143
|
||
791
|
||
792 0047 l421:
|
||
793 line 144
|
||
794
|
||
795 0047 l2386:
|
||
796 ;main.c: 143: else
|
||
797 ;main.c: 144: Zero();
|
||
798 0047 217D fcall _Zero
|
||
799 0048 2849 goto l2388
|
||
800
|
||
801 0049 l422:
|
||
802 line 139
|
||
803
|
||
804 0049 l2388:
|
||
805 0049 3001 movlw low(01h)
|
||
806 004A 1283 bcf status, 5 ;RP0=0, select bank0
|
||
807 004B 1303 bcf status, 6 ;RP1=0, select bank0
|
||
808 004C 02A2 subwf (SendRc5@i),f
|
||
809
|
||
810 004D l2390:
|
||
811 004D 0822 movf (SendRc5@i),w
|
||
812 004E 3AFF xorlw 0FFh
|
||
813 004F 1D03 skipz
|
||
814 0050 2852 goto u2751
|
||
815 0051 2853 goto u2750
|
||
816 0052 u2751:
|
||
817 0052 2835 goto l2382
|
||
818 0053 u2750:
|
||
819 0053 2854 goto l2392
|
||
820
|
||
821 0054 l420:
|
||
822 line 146
|
||
823
|
||
824 0054 l2392:
|
||
825 ;main.c: 145: }
|
||
826 ;main.c: 146: for(i = 5; i != 255; i--)
|
||
827 0054 3005 movlw (05h)
|
||
828 0055 00A0 movwf (??_SendRc5+0)+0
|
||
829 0056 0820 movf (??_SendRc5+0)+0,w
|
||
830 0057 00A2 movwf (SendRc5@i)
|
||
831 0058 0822 movf (SendRc5@i),w
|
||
832 0059 3AFF xorlw 0FFh
|
||
833 005A 1D03 skipz
|
||
834 005B 285D goto u2761
|
||
835 005C 285E goto u2760
|
||
836 005D u2761:
|
||
837 005D 2860 goto l2396
|
||
838 005E u2760:
|
||
839 005E 287F goto l2406
|
||
840
|
||
841 005F l2394:
|
||
842 005F 287F goto l2406
|
||
843 line 147
|
||
844
|
||
845 0060 l423:
|
||
846 line 148
|
||
847
|
||
848 0060 l2396:
|
||
849 ;main.c: 147: {
|
||
850 ;main.c: 148: if(((*command)>>i)&1)
|
||
851 0060 0821 movf (SendRc5@command),w
|
||
852 0061 0084 movwf fsr0
|
||
853 0062 1383 bcf status, 7 ;select IRP bank0
|
||
854 0063 0800 movf indf,w
|
||
855 0064 00A0 movwf (??_SendRc5+0)+0
|
||
856 0065 0A22 incf (SendRc5@i),w
|
||
857 0066 2869 goto u2774
|
||
858 0067 u2775:
|
||
859 0067 1003 clrc
|
||
860 0068 0CA0 rrf (??_SendRc5+0)+0,f
|
||
861 0069 u2774:
|
||
862 0069 3EFF addlw -1
|
||
863 006A 1D03 skipz
|
||
864 006B 2867 goto u2775
|
||
865 006C 1C20 btfss 0+(??_SendRc5+0)+0,(0)&7
|
||
866 006D 286F goto u2781
|
||
867 006E 2870 goto u2780
|
||
868 006F u2781:
|
||
869 006F 2872 goto l2400
|
||
870 0070 u2780:
|
||
871 line 149
|
||
872
|
||
873 0070 l2398:
|
||
874 ;main.c: 149: One();
|
||
875 0070 2180 fcall _One
|
||
876 0071 2874 goto l2402
|
||
877 line 150
|
||
878
|
||
879 0072 l425:
|
||
880 line 151
|
||
881
|
||
882 0072 l2400:
|
||
883 ;main.c: 150: else
|
||
884 ;main.c: 151: Zero();
|
||
885 0072 217D fcall _Zero
|
||
886 0073 2874 goto l2402
|
||
887
|
||
888 0074 l426:
|
||
889 line 146
|
||
890
|
||
891 0074 l2402:
|
||
892 0074 3001 movlw low(01h)
|
||
893 0075 1283 bcf status, 5 ;RP0=0, select bank0
|
||
894 0076 1303 bcf status, 6 ;RP1=0, select bank0
|
||
895 0077 02A2 subwf (SendRc5@i),f
|
||
896
|
||
897 0078 l2404:
|
||
898 0078 0822 movf (SendRc5@i),w
|
||
899 0079 3AFF xorlw 0FFh
|
||
900 007A 1D03 skipz
|
||
901 007B 287D goto u2791
|
||
902 007C 287E goto u2790
|
||
903 007D u2791:
|
||
904 007D 2860 goto l2396
|
||
905 007E u2790:
|
||
906 007E 287F goto l2406
|
||
907
|
||
908 007F l424:
|
||
909 line 153
|
||
910
|
||
911 007F l2406:
|
||
912 ;main.c: 152: }
|
||
913 ;main.c: 153: delay_89ms();
|
||
914 007F 2147 fcall _delay_89ms
|
||
915 line 155
|
||
916
|
||
917 0080 l427:
|
||
918 0080 0008 return
|
||
919 opt stack 0
|
||
920 GLOBAL __end_of_SendRc5
|
||
921 0081 __end_of_SendRc5:
|
||
922 ;; =============== function _SendRc5 ends ============
|
||
923
|
||
924 signat _SendRc5,8312
|
||
925 global _Zero
|
||
926 psect text298,local,class=CODE,delta=2
|
||
927 global __ptext298
|
||
928 017D __ptext298:
|
||
929
|
||
930 ;; *************** function _Zero *****************
|
||
931 ;; Defined at:
|
||
932 ;; line 94 in file "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
933 ;; Parameters: Size Location Type
|
||
934 ;; None
|
||
935 ;; Auto vars: Size Location Type
|
||
936 ;; None
|
||
937 ;; Return value: Size Location Type
|
||
938 ;; None void
|
||
939 ;; Registers used:
|
||
940 ;; wreg, status,2, status,0, pclath, cstack
|
||
941 ;; Tracked objects:
|
||
942 ;; On entry : 0/0
|
||
943 ;; On exit : 0/0
|
||
944 ;; Unchanged: 0/0
|
||
945 ;; Data sizes: COMMON BANK0 BANK1 BANK2
|
||
946 ;; Params: 0 0 0 0
|
||
947 ;; Locals: 0 0 0 0
|
||
948 ;; Temps: 0 0 0 0
|
||
949 ;; Totals: 0 0 0 0
|
||
950 ;;Total ram usage: 0 bytes
|
||
951 ;; Hardware stack levels used: 1
|
||
952 ;; Hardware stack levels required when called: 2
|
||
953 ;; This function calls:
|
||
954 ;; _ON
|
||
955 ;; _OFF
|
||
956 ;; This function is called by:
|
||
957 ;; _SendRc5
|
||
958 ;; This function uses a non-reentrant model
|
||
959 ;;
|
||
960 psect text298
|
||
961 file "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
962 line 94
|
||
963 global __size_of_Zero
|
||
964 0003 __size_of_Zero equ __end_of_Zero-_Zero
|
||
965
|
||
966 017D _Zero:
|
||
967 opt stack 4
|
||
968 ; Regs used in _Zero: [wreg+status,2+status,0+pclath+cstack]
|
||
969 line 95
|
||
970
|
||
971 017D l2364:
|
||
972 ;main.c: 95: ON();
|
||
973 017D 2129 fcall _ON
|
||
974 line 96
|
||
975 ;main.c: 96: OFF();
|
||
976 017E 2157 fcall _OFF
|
||
977 line 97
|
||
978
|
||
979 017F l406:
|
||
980 017F 0008 return
|
||
981 opt stack 0
|
||
982 GLOBAL __end_of_Zero
|
||
983 0180 __end_of_Zero:
|
||
984 ;; =============== function _Zero ends ============
|
||
985
|
||
986 signat _Zero,88
|
||
987 global _One
|
||
988 psect text299,local,class=CODE,delta=2
|
||
989 global __ptext299
|
||
990 0180 __ptext299:
|
||
991
|
||
992 ;; *************** function _One *****************
|
||
993 ;; Defined at:
|
||
994 ;; line 89 in file "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
995 ;; Parameters: Size Location Type
|
||
996 ;; None
|
||
997 ;; Auto vars: Size Location Type
|
||
998 ;; None
|
||
999 ;; Return value: Size Location Type
|
||
1000 ;; None void
|
||
1001 ;; Registers used:
|
||
1002 ;; wreg, status,2, status,0, pclath, cstack
|
||
1003 ;; Tracked objects:
|
||
1004 ;; On entry : 0/0
|
||
1005 ;; On exit : 0/0
|
||
1006 ;; Unchanged: 0/0
|
||
1007 ;; Data sizes: COMMON BANK0 BANK1 BANK2
|
||
1008 ;; Params: 0 0 0 0
|
||
1009 ;; Locals: 0 0 0 0
|
||
1010 ;; Temps: 0 0 0 0
|
||
1011 ;; Totals: 0 0 0 0
|
||
1012 ;;Total ram usage: 0 bytes
|
||
1013 ;; Hardware stack levels used: 1
|
||
1014 ;; Hardware stack levels required when called: 2
|
||
1015 ;; This function calls:
|
||
1016 ;; _OFF
|
||
1017 ;; _ON
|
||
1018 ;; This function is called by:
|
||
1019 ;; _SendRc5
|
||
1020 ;; This function uses a non-reentrant model
|
||
1021 ;;
|
||
1022 psect text299
|
||
1023 file "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1024 line 89
|
||
1025 global __size_of_One
|
||
1026 0003 __size_of_One equ __end_of_One-_One
|
||
1027
|
||
1028 0180 _One:
|
||
1029 opt stack 4
|
||
1030 ; Regs used in _One: [wreg+status,2+status,0+pclath+cstack]
|
||
1031 line 90
|
||
1032
|
||
1033 0180 l2362:
|
||
1034 ;main.c: 90: OFF();
|
||
1035 0180 2157 fcall _OFF
|
||
1036 line 91
|
||
1037 ;main.c: 91: ON();
|
||
1038 0181 2129 fcall _ON
|
||
1039 line 92
|
||
1040
|
||
1041 0182 l403:
|
||
1042 0182 0008 return
|
||
1043 opt stack 0
|
||
1044 GLOBAL __end_of_One
|
||
1045 0183 __end_of_One:
|
||
1046 ;; =============== function _One ends ============
|
||
1047
|
||
1048 signat _One,88
|
||
1049 global _evaluate_tastatur
|
||
1050 psect text300,local,class=CODE,delta=2
|
||
1051 global __ptext300
|
||
1052 0081 __ptext300:
|
||
1053
|
||
1054 ;; *************** function _evaluate_tastatur *****************
|
||
1055 ;; Defined at:
|
||
1056 ;; line 101 in file "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1057 ;; Parameters: Size Location Type
|
||
1058 ;; comcode 1 wreg PTR unsigned char
|
||
1059 ;; -> main@comcode(1),
|
||
1060 ;; Auto vars: Size Location Type
|
||
1061 ;; comcode 1 0[BANK0 ] PTR unsigned char
|
||
1062 ;; -> main@comcode(1),
|
||
1063 ;; a 1 3[BANK0 ] unsigned char
|
||
1064 ;; i 1 2[BANK0 ] unsigned char
|
||
1065 ;; e 1 1[BANK0 ] unsigned char
|
||
1066 ;; Return value: Size Location Type
|
||
1067 ;; None void
|
||
1068 ;; Registers used:
|
||
1069 ;; wreg, fsr0l, fsr0h, status,2, status,0
|
||
1070 ;; Tracked objects:
|
||
1071 ;; On entry : 0/0
|
||
1072 ;; On exit : 0/0
|
||
1073 ;; Unchanged: 0/0
|
||
1074 ;; Data sizes: COMMON BANK0 BANK1 BANK2
|
||
1075 ;; Params: 0 0 0 0
|
||
1076 ;; Locals: 0 4 0 0
|
||
1077 ;; Temps: 2 0 0 0
|
||
1078 ;; Totals: 2 4 0 0
|
||
1079 ;;Total ram usage: 6 bytes
|
||
1080 ;; Hardware stack levels used: 1
|
||
1081 ;; Hardware stack levels required when called: 1
|
||
1082 ;; This function calls:
|
||
1083 ;; Nothing
|
||
1084 ;; This function is called by:
|
||
1085 ;; _main
|
||
1086 ;; This function uses a non-reentrant model
|
||
1087 ;;
|
||
1088 psect text300
|
||
1089 file "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1090 line 101
|
||
1091 global __size_of_evaluate_tastatur
|
||
1092 005F __size_of_evaluate_tastatur equ __end_of_evaluate_tastatur-_evaluate_tastatur
|
||
1093
|
||
1094 0081 _evaluate_tastatur:
|
||
1095 opt stack 6
|
||
1096 ; Regs used in _evaluate_tastatur: [wreg-fsr0h+status,2+status,0]
|
||
1097 ;evaluate_tastatur@comcode stored from wreg
|
||
1098 line 105
|
||
1099 0081 1283 bcf status, 5 ;RP0=0, select bank0
|
||
1100 0082 1303 bcf status, 6 ;RP1=0, select bank0
|
||
1101 0083 00A0 movwf (evaluate_tastatur@comcode)
|
||
1102
|
||
1103 0084 l2330:
|
||
1104 ;main.c: 102: unsigned char i;
|
||
1105 ;main.c: 103: unsigned char a;
|
||
1106 ;main.c: 104: unsigned char e;
|
||
1107 ;main.c: 105: e = 0;
|
||
1108 0084 01A1 clrf (evaluate_tastatur@e)
|
||
1109 line 107
|
||
1110
|
||
1111 0085 l2332:
|
||
1112 ;main.c: 107: for(i=3; i != 255; i--)
|
||
1113 0085 3003 movlw (03h)
|
||
1114 0086 00F4 movwf (??_evaluate_tastatur+0)+0
|
||
1115 0087 0874 movf (??_evaluate_tastatur+0)+0,w
|
||
1116 0088 00A2 movwf (evaluate_tastatur@i)
|
||
1117 0089 0822 movf (evaluate_tastatur@i),w
|
||
1118 008A 3AFF xorlw 0FFh
|
||
1119 008B 1D03 skipz
|
||
1120 008C 288E goto u2641
|
||
1121 008D 288F goto u2640
|
||
1122 008E u2641:
|
||
1123 008E 2891 goto l2336
|
||
1124 008F u2640:
|
||
1125 008F 28DF goto l414
|
||
1126
|
||
1127 0090 l2334:
|
||
1128 0090 28DF goto l414
|
||
1129 line 108
|
||
1130
|
||
1131 0091 l409:
|
||
1132 line 109
|
||
1133
|
||
1134 0091 l2336:
|
||
1135 ;main.c: 108: {
|
||
1136 ;main.c: 109: PORTB = 0xFF;
|
||
1137 0091 30FF movlw (0FFh)
|
||
1138 0092 0086 movwf (6) ;volatile
|
||
1139 line 110
|
||
1140
|
||
1141 0093 l2338:
|
||
1142 ;main.c: 110: PORTB &= ~(1<<i);
|
||
1143 0093 3001 movlw (01h)
|
||
1144 0094 00F4 movwf (??_evaluate_tastatur+0)+0
|
||
1145 0095 0A22 incf (evaluate_tastatur@i),w
|
||
1146 0096 2899 goto u2654
|
||
1147 0097 u2655:
|
||
1148 0097 1003 clrc
|
||
1149 0098 0DF4 rlf (??_evaluate_tastatur+0)+0,f
|
||
1150 0099 u2654:
|
||
1151 0099 3EFF addlw -1
|
||
1152 009A 1D03 skipz
|
||
1153 009B 2897 goto u2655
|
||
1154 009C 0874 movf 0+(??_evaluate_tastatur+0)+0,w
|
||
1155 009D 3AFF xorlw 0ffh
|
||
1156 009E 00F5 movwf (??_evaluate_tastatur+1)+0
|
||
1157 009F 0875 movf (??_evaluate_tastatur+1)+0,w
|
||
1158 00A0 0586 andwf (6),f ;volatile
|
||
1159 line 111
|
||
1160
|
||
1161 00A1 l2340:
|
||
1162 ;main.c: 111: for(a=4; a <= 7; a++)
|
||
1163 00A1 3004 movlw (04h)
|
||
1164 00A2 00F4 movwf (??_evaluate_tastatur+0)+0
|
||
1165 00A3 0874 movf (??_evaluate_tastatur+0)+0,w
|
||
1166 00A4 00A3 movwf (evaluate_tastatur@a)
|
||
1167
|
||
1168 00A5 l2342:
|
||
1169 00A5 3008 movlw (08h)
|
||
1170 00A6 0223 subwf (evaluate_tastatur@a),w
|
||
1171 00A7 1C03 skipc
|
||
1172 00A8 28AA goto u2661
|
||
1173 00A9 28AB goto u2660
|
||
1174 00AA u2661:
|
||
1175 00AA 28AD goto l2346
|
||
1176 00AB u2660:
|
||
1177 00AB 28D6 goto l2358
|
||
1178
|
||
1179 00AC l2344:
|
||
1180 00AC 28D6 goto l2358
|
||
1181 line 112
|
||
1182
|
||
1183 00AD l411:
|
||
1184 line 113
|
||
1185
|
||
1186 00AD l2346:
|
||
1187 ;main.c: 112: {
|
||
1188 ;main.c: 113: e++;
|
||
1189 00AD 3001 movlw (01h)
|
||
1190 00AE 00F4 movwf (??_evaluate_tastatur+0)+0
|
||
1191 00AF 0874 movf (??_evaluate_tastatur+0)+0,w
|
||
1192 00B0 07A1 addwf (evaluate_tastatur@e),f
|
||
1193 line 114
|
||
1194 ;main.c: 114: if( ((PORTB>>a) & 1) == 0)
|
||
1195 00B1 0806 movf (6),w ;volatile
|
||
1196 00B2 00F4 movwf (??_evaluate_tastatur+0)+0
|
||
1197 00B3 0A23 incf (evaluate_tastatur@a),w
|
||
1198 00B4 28B7 goto u2674
|
||
1199 00B5 u2675:
|
||
1200 00B5 1003 clrc
|
||
1201 00B6 0CF4 rrf (??_evaluate_tastatur+0)+0,f
|
||
1202 00B7 u2674:
|
||
1203 00B7 3EFF addlw -1
|
||
1204 00B8 1D03 skipz
|
||
1205 00B9 28B5 goto u2675
|
||
1206 00BA 1874 btfsc 0+(??_evaluate_tastatur+0)+0,(0)&7
|
||
1207 00BB 28BD goto u2681
|
||
1208 00BC 28BE goto u2680
|
||
1209 00BD u2681:
|
||
1210 00BD 28CB goto l2354
|
||
1211 00BE u2680:
|
||
1212 line 116
|
||
1213
|
||
1214 00BE l2348:
|
||
1215 ;main.c: 115: {
|
||
1216 ;main.c: 116: *comcode = e;
|
||
1217 00BE 0821 movf (evaluate_tastatur@e),w
|
||
1218 00BF 00F4 movwf (??_evaluate_tastatur+0)+0
|
||
1219 00C0 0820 movf (evaluate_tastatur@comcode),w
|
||
1220 00C1 0084 movwf fsr0
|
||
1221 00C2 0874 movf (??_evaluate_tastatur+0)+0,w
|
||
1222 00C3 1383 bcf status, 7 ;select IRP bank0
|
||
1223 00C4 0080 movwf indf
|
||
1224 line 117
|
||
1225
|
||
1226 00C5 l2350:
|
||
1227 ;main.c: 117: somethingpressed = 1;
|
||
1228 00C5 3001 movlw low(01h)
|
||
1229 00C6 00AC movwf (_somethingpressed)
|
||
1230 00C7 3000 movlw high(01h)
|
||
1231 00C8 00AD movwf ((_somethingpressed))+1
|
||
1232 00C9 28DF goto l414
|
||
1233 line 118
|
||
1234
|
||
1235 00CA l2352:
|
||
1236 ;main.c: 118: return;
|
||
1237 00CA 28DF goto l414
|
||
1238 line 119
|
||
1239
|
||
1240 00CB l413:
|
||
1241 line 111
|
||
1242
|
||
1243 00CB l2354:
|
||
1244 00CB 3001 movlw (01h)
|
||
1245 00CC 00F4 movwf (??_evaluate_tastatur+0)+0
|
||
1246 00CD 0874 movf (??_evaluate_tastatur+0)+0,w
|
||
1247 00CE 07A3 addwf (evaluate_tastatur@a),f
|
||
1248
|
||
1249 00CF l2356:
|
||
1250 00CF 3008 movlw (08h)
|
||
1251 00D0 0223 subwf (evaluate_tastatur@a),w
|
||
1252 00D1 1C03 skipc
|
||
1253 00D2 28D4 goto u2691
|
||
1254 00D3 28D5 goto u2690
|
||
1255 00D4 u2691:
|
||
1256 00D4 28AD goto l2346
|
||
1257 00D5 u2690:
|
||
1258 00D5 28D6 goto l2358
|
||
1259
|
||
1260 00D6 l412:
|
||
1261 line 107
|
||
1262
|
||
1263 00D6 l2358:
|
||
1264 00D6 3001 movlw low(01h)
|
||
1265 00D7 02A2 subwf (evaluate_tastatur@i),f
|
||
1266
|
||
1267 00D8 l2360:
|
||
1268 00D8 0822 movf (evaluate_tastatur@i),w
|
||
1269 00D9 3AFF xorlw 0FFh
|
||
1270 00DA 1D03 skipz
|
||
1271 00DB 28DD goto u2701
|
||
1272 00DC 28DE goto u2700
|
||
1273 00DD u2701:
|
||
1274 00DD 2891 goto l2336
|
||
1275 00DE u2700:
|
||
1276 00DE 28DF goto l414
|
||
1277
|
||
1278 00DF l410:
|
||
1279 line 125
|
||
1280
|
||
1281 00DF l414:
|
||
1282 00DF 0008 return
|
||
1283 opt stack 0
|
||
1284 GLOBAL __end_of_evaluate_tastatur
|
||
1285 00E0 __end_of_evaluate_tastatur:
|
||
1286 ;; =============== function _evaluate_tastatur ends ============
|
||
1287
|
||
1288 signat _evaluate_tastatur,4216
|
||
1289 global _delay_89ms
|
||
1290 psect text301,local,class=CODE,delta=2
|
||
1291 global __ptext301
|
||
1292 0147 __ptext301:
|
||
1293
|
||
1294 ;; *************** function _delay_89ms *****************
|
||
1295 ;; Defined at:
|
||
1296 ;; line 64 in file "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1297 ;; Parameters: Size Location Type
|
||
1298 ;; None
|
||
1299 ;; Auto vars: Size Location Type
|
||
1300 ;; None
|
||
1301 ;; Return value: Size Location Type
|
||
1302 ;; None void
|
||
1303 ;; Registers used:
|
||
1304 ;; None
|
||
1305 ;; Tracked objects:
|
||
1306 ;; On entry : 0/0
|
||
1307 ;; On exit : 0/0
|
||
1308 ;; Unchanged: 0/0
|
||
1309 ;; Data sizes: COMMON BANK0 BANK1 BANK2
|
||
1310 ;; Params: 0 0 0 0
|
||
1311 ;; Locals: 0 0 0 0
|
||
1312 ;; Temps: 0 0 0 0
|
||
1313 ;; Totals: 0 0 0 0
|
||
1314 ;;Total ram usage: 0 bytes
|
||
1315 ;; Hardware stack levels used: 1
|
||
1316 ;; Hardware stack levels required when called: 1
|
||
1317 ;; This function calls:
|
||
1318 ;; Nothing
|
||
1319 ;; This function is called by:
|
||
1320 ;; _SendRc5
|
||
1321 ;; This function uses a non-reentrant model
|
||
1322 ;;
|
||
1323 psect text301
|
||
1324 file "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1325 line 64
|
||
1326 global __size_of_delay_89ms
|
||
1327 0010 __size_of_delay_89ms equ __end_of_delay_89ms-_delay_89ms
|
||
1328
|
||
1329 0147 _delay_89ms:
|
||
1330 opt stack 5
|
||
1331 ; Regs used in _delay_89ms: []
|
||
1332 line 66
|
||
1333
|
||
1334 0147 l2328:
|
||
1335 # 66 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1336 0147 pause89ms ;#
|
||
1337 line 67
|
||
1338 # 67 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1339 0147 01F7 clrf _CountA ;#
|
||
1340 line 68
|
||
1341 # 68 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1342 0148 01A8 clrf _CountB ;#
|
||
1343 line 69
|
||
1344 # 69 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1345 0149 01AA clrf _CountC ;#
|
||
1346 line 70
|
||
1347 # 70 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1348 014A 3074 movlw 0x74 ;#
|
||
1349 line 71
|
||
1350 # 71 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1351 014B 00A8 movwf _CountB ;#
|
||
1352 line 72
|
||
1353 # 72 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1354 014C 3002 movlw 0x02 ;#
|
||
1355 line 73
|
||
1356 # 73 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1357 014D 00F7 movwf _CountA ;#
|
||
1358 line 74
|
||
1359 # 74 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1360 014E 3001 movlw 0x01 ;#
|
||
1361 line 75
|
||
1362 # 75 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1363 014F 00AA movwf _CountC ;#
|
||
1364 line 77
|
||
1365 # 77 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1366 0150 Loop ;Wiederholung der Zeitverz<72>gerung ;#
|
||
1367 line 78
|
||
1368 # 78 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1369 0150 0BF7 decfsz _CountA ;#
|
||
1370 line 79
|
||
1371 # 79 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1372 0151 2950 goto Loop ;#
|
||
1373 line 80
|
||
1374 # 80 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1375 0152 0BA8 decfsz _CountB ;#
|
||
1376 line 81
|
||
1377 # 81 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1378 0153 2950 goto Loop ;#
|
||
1379 line 82
|
||
1380 # 82 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1381 0154 0BAA decfsz _CountC ;#
|
||
1382 line 83
|
||
1383 # 83 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1384 0155 2950 goto Loop ;#
|
||
1385 psect text301
|
||
1386 line 86
|
||
1387 ;main.c: 85: return;
|
||
1388
|
||
1389 0156 l400:
|
||
1390 0156 0008 return
|
||
1391 opt stack 0
|
||
1392 GLOBAL __end_of_delay_89ms
|
||
1393 0157 __end_of_delay_89ms:
|
||
1394 ;; =============== function _delay_89ms ends ============
|
||
1395
|
||
1396 signat _delay_89ms,88
|
||
1397 global _OFF
|
||
1398 psect text302,local,class=CODE,delta=2
|
||
1399 global __ptext302
|
||
1400 0157 __ptext302:
|
||
1401
|
||
1402 ;; *************** function _OFF *****************
|
||
1403 ;; Defined at:
|
||
1404 ;; line 46 in file "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1405 ;; Parameters: Size Location Type
|
||
1406 ;; None
|
||
1407 ;; Auto vars: Size Location Type
|
||
1408 ;; i 1 5[COMMON] unsigned char
|
||
1409 ;; Return value: Size Location Type
|
||
1410 ;; None void
|
||
1411 ;; Registers used:
|
||
1412 ;; wreg, status,2, status,0
|
||
1413 ;; Tracked objects:
|
||
1414 ;; On entry : 0/0
|
||
1415 ;; On exit : 0/0
|
||
1416 ;; Unchanged: 0/0
|
||
1417 ;; Data sizes: COMMON BANK0 BANK1 BANK2
|
||
1418 ;; Params: 0 0 0 0
|
||
1419 ;; Locals: 1 0 0 0
|
||
1420 ;; Temps: 1 0 0 0
|
||
1421 ;; Totals: 2 0 0 0
|
||
1422 ;;Total ram usage: 2 bytes
|
||
1423 ;; Hardware stack levels used: 1
|
||
1424 ;; Hardware stack levels required when called: 1
|
||
1425 ;; This function calls:
|
||
1426 ;; Nothing
|
||
1427 ;; This function is called by:
|
||
1428 ;; _One
|
||
1429 ;; _Zero
|
||
1430 ;; This function uses a non-reentrant model
|
||
1431 ;;
|
||
1432 psect text302
|
||
1433 file "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1434 line 46
|
||
1435 global __size_of_OFF
|
||
1436 0010 __size_of_OFF equ __end_of_OFF-_OFF
|
||
1437
|
||
1438 0157 _OFF:
|
||
1439 opt stack 4
|
||
1440 ; Regs used in _OFF: [wreg+status,2+status,0]
|
||
1441 line 47
|
||
1442
|
||
1443 0157 l2324:
|
||
1444 ;main.c: 47: unsigned char i = 0;
|
||
1445 0157 01F5 clrf (OFF@i)
|
||
1446 line 48
|
||
1447 ;main.c: 48: do
|
||
1448
|
||
1449 0158 l392:
|
||
1450 line 50
|
||
1451 ;main.c: 49: {
|
||
1452 ;main.c: 50: RA0=0;
|
||
1453 0158 1283 bcf status, 5 ;RP0=0, select bank0
|
||
1454 0159 1303 bcf status, 6 ;RP1=0, select bank0
|
||
1455 015A 1005 bcf (40/8),(40)&7
|
||
1456 line 52
|
||
1457
|
||
1458 015B l2326:
|
||
1459 ;main.c: 51: }
|
||
1460 ;main.c: 52: while(i++<59);
|
||
1461 015B 3001 movlw (01h)
|
||
1462 015C 00F4 movwf (??_OFF+0)+0
|
||
1463 015D 0874 movf (??_OFF+0)+0,w
|
||
1464 015E 07F5 addwf (OFF@i),f
|
||
1465 015F 303C movlw (03Ch)
|
||
1466 0160 0275 subwf ((OFF@i)),w
|
||
1467 0161 1C03 skipc
|
||
1468 0162 2964 goto u2631
|
||
1469 0163 2965 goto u2630
|
||
1470 0164 u2631:
|
||
1471 0164 2958 goto l392
|
||
1472 0165 u2630:
|
||
1473 0165 2966 goto l394
|
||
1474
|
||
1475 0166 l393:
|
||
1476 line 53
|
||
1477
|
||
1478 0166 l394:
|
||
1479 0166 0008 return
|
||
1480 opt stack 0
|
||
1481 GLOBAL __end_of_OFF
|
||
1482 0167 __end_of_OFF:
|
||
1483 ;; =============== function _OFF ends ============
|
||
1484
|
||
1485 signat _OFF,88
|
||
1486 global _ON
|
||
1487 psect text303,local,class=CODE,delta=2
|
||
1488 global __ptext303
|
||
1489 0129 __ptext303:
|
||
1490
|
||
1491 ;; *************** function _ON *****************
|
||
1492 ;; Defined at:
|
||
1493 ;; line 19 in file "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1494 ;; Parameters: Size Location Type
|
||
1495 ;; None
|
||
1496 ;; Auto vars: Size Location Type
|
||
1497 ;; i 1 5[COMMON] unsigned char
|
||
1498 ;; Return value: Size Location Type
|
||
1499 ;; None void
|
||
1500 ;; Registers used:
|
||
1501 ;; wreg, status,2, status,0
|
||
1502 ;; Tracked objects:
|
||
1503 ;; On entry : 0/0
|
||
1504 ;; On exit : 0/0
|
||
1505 ;; Unchanged: 0/0
|
||
1506 ;; Data sizes: COMMON BANK0 BANK1 BANK2
|
||
1507 ;; Params: 0 0 0 0
|
||
1508 ;; Locals: 1 0 0 0
|
||
1509 ;; Temps: 1 0 0 0
|
||
1510 ;; Totals: 2 0 0 0
|
||
1511 ;;Total ram usage: 2 bytes
|
||
1512 ;; Hardware stack levels used: 1
|
||
1513 ;; Hardware stack levels required when called: 1
|
||
1514 ;; This function calls:
|
||
1515 ;; Nothing
|
||
1516 ;; This function is called by:
|
||
1517 ;; _One
|
||
1518 ;; _Zero
|
||
1519 ;; This function uses a non-reentrant model
|
||
1520 ;;
|
||
1521 psect text303
|
||
1522 file "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1523 line 19
|
||
1524 global __size_of_ON
|
||
1525 001E __size_of_ON equ __end_of_ON-_ON
|
||
1526
|
||
1527 0129 _ON:
|
||
1528 opt stack 4
|
||
1529 ; Regs used in _ON: [wreg+status,2+status,0]
|
||
1530 line 20
|
||
1531
|
||
1532 0129 l2318:
|
||
1533 ;main.c: 20: unsigned char i = 0;
|
||
1534 0129 01F5 clrf (ON@i)
|
||
1535 line 21
|
||
1536 ;main.c: 21: do
|
||
1537
|
||
1538 012A l387:
|
||
1539 line 23
|
||
1540 ;main.c: 22: {
|
||
1541 ;main.c: 23: RA0 = 1;
|
||
1542 012A 1283 bcf status, 5 ;RP0=0, select bank0
|
||
1543 012B 1303 bcf status, 6 ;RP1=0, select bank0
|
||
1544 012C 1405 bsf (40/8),(40)&7
|
||
1545 line 24
|
||
1546 ;main.c: 24: RA0 = 1;
|
||
1547 012D 1405 bsf (40/8),(40)&7
|
||
1548 line 25
|
||
1549 ;main.c: 25: RA0 = 1;
|
||
1550 012E 1405 bsf (40/8),(40)&7
|
||
1551 line 26
|
||
1552 ;main.c: 26: RA0 = 1;
|
||
1553 012F 1405 bsf (40/8),(40)&7
|
||
1554 line 28
|
||
1555 ;main.c: 28: RA0 = 0;
|
||
1556 0130 1005 bcf (40/8),(40)&7
|
||
1557 line 29
|
||
1558 ;main.c: 29: RA0 = 0;
|
||
1559 0131 1005 bcf (40/8),(40)&7
|
||
1560 line 30
|
||
1561 ;main.c: 30: RA0 = 0;
|
||
1562 0132 1005 bcf (40/8),(40)&7
|
||
1563 line 31
|
||
1564 ;main.c: 31: RA0 = 0;
|
||
1565 0133 1005 bcf (40/8),(40)&7
|
||
1566 line 32
|
||
1567 ;main.c: 32: RA0 = 0;
|
||
1568 0134 1005 bcf (40/8),(40)&7
|
||
1569 line 33
|
||
1570 ;main.c: 33: RA0 = 0;
|
||
1571 0135 1005 bcf (40/8),(40)&7
|
||
1572 line 34
|
||
1573 ;main.c: 34: RA0 = 0;
|
||
1574 0136 1005 bcf (40/8),(40)&7
|
||
1575 line 35
|
||
1576 ;main.c: 35: RA0 = 0;
|
||
1577 0137 1005 bcf (40/8),(40)&7
|
||
1578 line 36
|
||
1579 ;main.c: 36: RA0 = 0;
|
||
1580 0138 1005 bcf (40/8),(40)&7
|
||
1581 line 37
|
||
1582 ;main.c: 37: RA0 = 0;
|
||
1583 0139 1005 bcf (40/8),(40)&7
|
||
1584 line 38
|
||
1585 ;main.c: 38: RA0 = 0;
|
||
1586 013A 1005 bcf (40/8),(40)&7
|
||
1587 line 39
|
||
1588
|
||
1589 013B l2320:
|
||
1590 ;main.c: 39: i++;
|
||
1591 013B 3001 movlw (01h)
|
||
1592 013C 00F4 movwf (??_ON+0)+0
|
||
1593 013D 0874 movf (??_ON+0)+0,w
|
||
1594 013E 07F5 addwf (ON@i),f
|
||
1595 line 41
|
||
1596
|
||
1597 013F l2322:
|
||
1598 ;main.c: 40: }
|
||
1599 ;main.c: 41: while(i<32);
|
||
1600 013F 3020 movlw (020h)
|
||
1601 0140 0275 subwf (ON@i),w
|
||
1602 0141 1C03 skipc
|
||
1603 0142 2944 goto u2621
|
||
1604 0143 2945 goto u2620
|
||
1605 0144 u2621:
|
||
1606 0144 292A goto l387
|
||
1607 0145 u2620:
|
||
1608
|
||
1609 0145 l388:
|
||
1610 line 42
|
||
1611 ;main.c: 42: RA0 = 0;
|
||
1612 0145 1005 bcf (40/8),(40)&7
|
||
1613 line 43
|
||
1614
|
||
1615 0146 l389:
|
||
1616 0146 0008 return
|
||
1617 opt stack 0
|
||
1618 GLOBAL __end_of_ON
|
||
1619 0147 __end_of_ON:
|
||
1620 ;; =============== function _ON ends ============
|
||
1621
|
||
1622 signat _ON,88
|
||
1623 global _ISR
|
||
1624 psect text304,local,class=CODE,delta=2
|
||
1625 global __ptext304
|
||
1626 0172 __ptext304:
|
||
1627
|
||
1628 ;; *************** function _ISR *****************
|
||
1629 ;; Defined at:
|
||
1630 ;; line 59 in file "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1631 ;; Parameters: Size Location Type
|
||
1632 ;; None
|
||
1633 ;; Auto vars: Size Location Type
|
||
1634 ;; None
|
||
1635 ;; Return value: Size Location Type
|
||
1636 ;; None void
|
||
1637 ;; Registers used:
|
||
1638 ;; None
|
||
1639 ;; Tracked objects:
|
||
1640 ;; On entry : 0/0
|
||
1641 ;; On exit : 0/0
|
||
1642 ;; Unchanged: 0/0
|
||
1643 ;; Data sizes: COMMON BANK0 BANK1 BANK2
|
||
1644 ;; Params: 0 0 0 0
|
||
1645 ;; Locals: 0 0 0 0
|
||
1646 ;; Temps: 4 0 0 0
|
||
1647 ;; Totals: 4 0 0 0
|
||
1648 ;;Total ram usage: 4 bytes
|
||
1649 ;; Hardware stack levels used: 1
|
||
1650 ;; This function calls:
|
||
1651 ;; Nothing
|
||
1652 ;; This function is called by:
|
||
1653 ;; Interrupt level 1
|
||
1654 ;; This function uses a non-reentrant model
|
||
1655 ;;
|
||
1656 psect text304
|
||
1657 file "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
|
||
1658 line 59
|
||
1659 global __size_of_ISR
|
||
1660 000B __size_of_ISR equ __end_of_ISR-_ISR
|
||
1661
|
||
1662 0172 _ISR:
|
||
1663 opt stack 4
|
||
1664 ; Regs used in _ISR: []
|
||
1665 psect intentry,class=CODE,delta=2
|
||
1666 global __pintentry
|
||
1667 0004 __pintentry:
|
||
1668 global interrupt_function
|
||
1669 0004 interrupt_function:
|
||
1670 global saved_w
|
||
1671 007E saved_w set btemp+0
|
||
1672 0004 00FE movwf saved_w
|
||
1673 0005 0E03 swapf status,w
|
||
1674 0006 00F0 movwf (??_ISR+0)
|
||
1675 0007 0804 movf fsr0,w
|
||
1676 0008 00F1 movwf (??_ISR+1)
|
||
1677 0009 080A movf pclath,w
|
||
1678 000A 00F2 movwf (??_ISR+2)
|
||
1679 000B 1283 bcf status, 5 ;RP0=0, select bank0
|
||
1680 000C 1303 bcf status, 6 ;RP1=0, select bank0
|
||
1681 000D 087F movf btemp+1,w
|
||
1682 000E 00F3 movwf (??_ISR+3)
|
||
1683 000F 2972 ljmp _ISR
|
||
1684 psect text304
|
||
1685 line 61
|
||
1686
|
||
1687 0172 i1l397:
|
||
1688 0172 0873 movf (??_ISR+3),w
|
||
1689 0173 00FF movwf btemp+1
|
||
1690 0174 0872 movf (??_ISR+2),w
|
||
1691 0175 008A movwf pclath
|
||
1692 0176 0871 movf (??_ISR+1),w
|
||
1693 0177 0084 movwf fsr0
|
||
1694 0178 0E70 swapf (??_ISR+0)^0FFFFFF80h,w
|
||
1695 0179 0083 movwf status
|
||
1696 017A 0EFE swapf saved_w,f
|
||
1697 017B 0E7E swapf saved_w,w
|
||
1698 017C 0009 retfie
|
||
1699 opt stack 0
|
||
1700 GLOBAL __end_of_ISR
|
||
1701 017D __end_of_ISR:
|
||
1702 ;; =============== function _ISR ends ============
|
||
1703
|
||
1704 signat _ISR,88
|
||
1705 psect text305,local,class=CODE,delta=2
|
||
1706 global __ptext305
|
||
1707 0000 __ptext305:
|
||
1708 global btemp
|
||
1709 007E btemp set 07Eh
|
||
1710
|
||
1711 DABS 1,126,2 ;btemp
|
||
1712 global wtemp0
|
||
1713 007E wtemp0 set btemp
|
||
|
||
|
||
HI-TECH Software PICC Macro Assembler V9.82 build 9453
|
||
Symbol Table Fri Apr 15 10:29:00 2016
|
||
|
||
_RD 04E0 _ON 0129 _WR 04E1
|
||
?_ON 0070 ON@i 0075 l400 0156
|
||
l410 00DF l411 00AD l403 0182
|
||
l412 00D6 l420 0054 l413 00CB
|
||
l421 0047 l414 00DF l406 017F
|
||
l422 0049 l430 0102 l423 0060
|
||
l431 0104 l424 007F l432 0103
|
||
l409 0091 l425 0072 l417 0025
|
||
l433 0109 l426 0074 l418 0027
|
||
l434 0126 l427 0080 l419 0035
|
||
l435 0127 l436 0128 l437 0128
|
||
_CM0 00F8 _CM1 00F9 l392 0158
|
||
_CM2 00FA l393 0166 l394 0166
|
||
l387 012A l388 0145 l389 0146
|
||
_GIE 005F _RA0 0028 _OFF 0157
|
||
_ISR 0172 Loop 0150 _One 0180
|
||
__end_of_evaluate_tastatur 00E0 fsr0 0004 indf 0000
|
||
??_ON 0074 ?_OFF 0070 ?_ISR 0070
|
||
OFF@i 0075 main@comcode 0027 ?_One 0070
|
||
l2320 013B l2400 0072 l2322 013F
|
||
l2330 0084 l2402 0074 l2410 00E4
|
||
l2324 0157 l2340 00A1 l2332 0085
|
||
l2404 0078 l2420 00F5 l2412 00EC
|
||
l2318 0129 l2326 015B l2350 00C5
|
||
l2342 00A5 l2334 0090 l2406 007F
|
||
l2430 0100 l2422 00F6 l2414 00EF
|
||
l2328 0147 l2360 00D8 l2352 00CA
|
||
l2344 00AC l2336 0091 l2440 011E
|
||
l2432 0109 l2424 00F8 l2416 00F1
|
||
l2408 00E0 l2354 00CB l2346 00AD
|
||
l2338 0093 l2362 0180 l2370 001D
|
||
l2442 0122 l2434 010D l2426 00FA
|
||
l2418 00F2 l2356 00CF l2348 00BE
|
||
l2364 017D l2380 0034 l2372 0023
|
||
l2436 010F l2428 00FF l2358 00D6
|
||
l2390 004D l2382 0035 l2374 0025
|
||
l2366 0014 l2438 0118 l2384 0045
|
||
l2392 0054 l2376 0027 l2368 0016
|
||
l2394 005F l2386 0047 l2378 002D
|
||
l2396 0060 l2388 0049 l2398 0070
|
||
u2620 0145 u2700 00DE u2621 0144
|
||
u2701 00DD u2630 0165 u2710 0023
|
||
u2631 0164 u2711 0022 u2640 008F
|
||
u2720 0033 u2800 0108 u2641 008E
|
||
u2721 0032 u2801 0107 u2810 0118
|
||
u2811 0117 u2660 00AB u2740 0045
|
||
u2661 00AA u2741 0044 u2654 0099
|
||
u2750 0053 u2734 003E u2655 0097
|
||
u2751 0052 u2735 003C u2680 00BE
|
||
u2760 005E u2681 00BD u2761 005D
|
||
u2690 00D5 u2674 00B7 u2691 00D4
|
||
u2675 00B5 u2780 0070 u2781 006F
|
||
u2790 007E u2774 0069 u2791 007D
|
||
u2775 0067 _RBIE 005B _RBIF 0058
|
||
_WREN 04E2 _Zero 017D _main 00E0
|
||
btemp 007E main@subcode 0026 start 0010
|
||
evaluate_tastatur@comcode 0020 ??_OFF 0074 ??_ISR 0070
|
||
??_One 0076 __end_of_SendRc5 0081 ?_Zero 0070
|
||
?_main 0070 _EEADR 009B _CARRY 0018
|
||
_CMCON 001F i1l397 0172 _PORTA 0005
|
||
_PORTB 0006 _TRISA 0085 _TRISB 0086
|
||
pclath 000A status 0003 wtemp0 007E
|
||
__end_of_Zero 0180 __end_of_main 0129 ??_Zero 0076
|
||
??_main 0024 __size_of_evaluate_tastatur 005F _EEDATA 009A
|
||
_EECON1 009C _EECON2 009D _INTCON 000B
|
||
_CountA 0077 _CountB 0028 _CountC 002A
|
||
??_SendRc5 0020 _toggle 0079 saved_w 007E
|
||
__pcstackCOMMON 0070 __end_of_ON 0147 __pbssBANK0 0028
|
||
_delay_89ms 0147 __pmaintext 00E0 __pintentry 0004
|
||
_somethingpressed 002C _SendRc5 0011 __size_of_OFF 0010
|
||
__size_of_ISR 000B __size_of_One 0003 end_of_initialization 0170
|
||
SendRc5@group 0076 ?_delay_89ms 0070 evaluate_tastatur@a 0023
|
||
evaluate_tastatur@e 0021 evaluate_tastatur@i 0022 __size_of_delay_89ms 0010
|
||
start_initialization 0167 __end_of_OFF 0167 __end_of_ISR 017D
|
||
__end_of_One 0183 __pbssCOMMON 0077 __pcstackBANK0 0020
|
||
?_SendRc5 0076 __ptext300 0081 __ptext301 0147
|
||
__ptext302 0157 __ptext303 0129 __ptext304 0172
|
||
__ptext305 0000 __ptext296 0000 __ptext297 0011
|
||
__ptext298 017D __ptext299 0180 __size_of_ON 001E
|
||
interrupt_function 0004 ??_delay_89ms 0074 __end_of_delay_89ms 0157
|
||
SendRc5@i 0022 SendRc5@command 0021 __size_of_SendRc5 0070
|
||
__size_of_Zero 0003 __size_of_main 0049 main@help 0025
|
||
pause89ms 0147 intlevel1 0000 _OPTION_REG 0081
|
||
_evaluate_tastatur 0081 ?_evaluate_tastatur 0070 ??_evaluate_tastatur 0074
|