📄 board test.lst
字号:
260 0071 delay@x: ; 1 bytes @ 0x1
261 0071 ds 1
262 global delay@i
263 0072 delay@i: ; 1 bytes @ 0x2
264 0072 ds 1
265 global delay@j
266 0073 delay@j: ; 1 bytes @ 0x3
267 0073 ds 1
268 global delay@z
269 0074 delay@z: ; 1 bytes @ 0x4
270 0074 ds 1
271 global ??_error_alarm
272 0075 ??_error_alarm: ; 0 bytes @ 0x5
273 global ??_pass_alarm
274 0075 ??_pass_alarm: ; 0 bytes @ 0x5
275 global ??_UNITA_TEST
276 0075 ??_UNITA_TEST: ; 0 bytes @ 0x5
277 0075 ds 1
278 global UNITA_TEST@i
279 0076 UNITA_TEST@i: ; 1 bytes @ 0x6
280 global error_alarm@i
281 0076 error_alarm@i: ; 1 bytes @ 0x6
282 global pass_alarm@i
283 0076 pass_alarm@i: ; 1 bytes @ 0x6
284 0076 ds 1
285 global ??_UNITE_TEST
286 0077 ??_UNITE_TEST: ; 0 bytes @ 0x7
287 global ??_UNITB_TEST
288 0077 ??_UNITB_TEST: ; 0 bytes @ 0x7
289 0077 ds 1
290 global UNITE_TEST@i
291 0078 UNITE_TEST@i: ; 1 bytes @ 0x8
292 global UNITB_TEST@i
293 0078 UNITB_TEST@i: ; 1 bytes @ 0x8
294 0078 ds 1
295 global ??_main
296 0079 ??_main: ; 0 bytes @ 0x9
297 global main@i
298 0079 main@i: ; 1 bytes @ 0x9
299 0079 ds 1
300 ;;Data sizes: Strings 0, constant 32, data 0, bss 13, persistent 0 stack 0
301 ;;Auto spaces: Size Autos Used
302 ;; COMMON 14 10 13
303 ;; BANK0 80 0 10
304 ;; BANK1 80 0 0
305 ;; BANK3 96 0 0
306 ;; BANK2 96 0 0
307
308 ;;
309 ;; Pointer list with targets:
310
311
312
313 ;;
314 ;; Critical Paths under _main in COMMON
315 ;;
316 ;; _main->_UNITE_TEST
317 ;; _main->_UNITB_TEST
318 ;; _UNITB_TEST->_error_alarm
319 ;; _UNITB_TEST->_pass_alarm
320 ;; _UNITE_TEST->_error_alarm
321 ;; _UNITE_TEST->_pass_alarm
322 ;; _pass_alarm->_delay
323 ;; _error_alarm->_delay
324 ;; _UNITA_TEST->_delay
325 ;;
326 ;; Critical Paths under _main in BANK0
327 ;;
328 ;; None.
329 ;;
330 ;; Critical Paths under _main in BANK1
331 ;;
332 ;; None.
333 ;;
334 ;; Critical Paths under _main in BANK3
335 ;;
336 ;; None.
337 ;;
338 ;; Critical Paths under _main in BANK2
339 ;;
340 ;; None.
341
342 ;;
343 ;;Main: autosize = 0, tempsize = 0, incstack = 0, save=0
344 ;;
345
346 ;;
347 ;;Call Graph Tables:
348 ;;
349 ;; ---------------------------------------------------------------------------------
350 ;; (Depth) Function Calls Base Space Used Autos Params Refs
351 ;; ---------------------------------------------------------------------------------
352 ;; (0) _main 1 1 0 1708
353 ;; 9 COMMON 1 1 0
354 ;; _init
355 ;; _UNITA_TEST
356 ;; _UNITE_TEST
357 ;; _UNITB_TEST
358 ;; ---------------------------------------------------------------------------------
359 ;; (1) _UNITB_TEST 2 2 0 706
360 ;; 7 COMMON 2 2 0
361 ;; _delay
362 ;; _error_alarm
363 ;; _pass_alarm
364 ;; ---------------------------------------------------------------------------------
365 ;; (1) _UNITE_TEST 2 2 0 706
366 ;; 7 COMMON 2 2 0
367 ;; _delay
368 ;; _error_alarm
369 ;; _pass_alarm
370 ;; ---------------------------------------------------------------------------------
371 ;; (2) _pass_alarm 2 2 0 206
372 ;; 5 COMMON 2 2 0
373 ;; _delay
374 ;; ---------------------------------------------------------------------------------
375 ;; (2) _error_alarm 2 2 0 206
376 ;; 5 COMMON 2 2 0
377 ;; _delay
378 ;; ---------------------------------------------------------------------------------
379 ;; (1) _UNITA_TEST 2 2 0 295
380 ;; 5 COMMON 2 2 0
381 ;; _delay
382 ;; ---------------------------------------------------------------------------------
383 ;; (1) _init 0 0 0 0
384 ;; ---------------------------------------------------------------------------------
385 ;; (3) _delay 5 5 0 160
386 ;; 0 COMMON 5 5 0
387 ;; ---------------------------------------------------------------------------------
388 ;; Estimated maximum stack depth 3
389 ;; ---------------------------------------------------------------------------------
390
391 ;; Call Graph Graphs:
392
393 ;; _main (ROOT)
394 ;; _init
395 ;; _UNITA_TEST
396 ;; _delay
397 ;; _UNITE_TEST
398 ;; _delay
399 ;; _error_alarm
400 ;; _delay
401 ;; _pass_alarm
402 ;; _delay
403 ;; _UNITB_TEST
404 ;; _delay
405 ;; _error_alarm
406 ;; _delay
407 ;; _pass_alarm
408 ;; _delay
409 ;;
410
411 ;; Address spaces:
412
413 ;;Name Size Autos Total Cost Usage
414 ;;BITCOMMON E 0 0 0 0.0%
415 ;;EEDATA 100 0 0 0 0.0%
416 ;;NULL 0 0 0 0 0.0%
417 ;;CODE 0 0 0 0 0.0%
418 ;;COMMON E A D 1 92.9%
419 ;;BITSFR0 0 0 0 1 0.0%
420 ;;SFR0 0 0 0 1 0.0%
421 ;;BITSFR1 0 0 0 2 0.0%
422 ;;SFR1 0 0 0 2 0.0%
423 ;;STACK 0 0 3 2 0.0%
424 ;;ABS 0 0 17 3 0.0%
425 ;;BITBANK0 50 0 0 4 0.0%
426 ;;BITSFR3 0 0 0 4 0.0%
427 ;;SFR3 0 0 0 4 0.0%
428 ;;BANK0 50 0 A 5 12.5%
429 ;;BITSFR2 0 0 0 5 0.0%
430 ;;SFR2 0 0 0 5 0.0%
431 ;;BITBANK1 50 0 0 6 0.0%
432 ;;BANK1 50 0 0 7 0.0%
433 ;;BITBANK3 60 0 0 8 0.0%
434 ;;BANK3 60 0 0 9 0.0%
435 ;;BITBANK2 60 0 0 10 0.0%
436 ;;BANK2 60 0 0 11 0.0%
437 ;;DATA 0 0 1A 12 0.0%
438
439 global _main
440 psect maintext,global,class=CODE,delta=2
441 global __pmaintext
442 067B __pmaintext:
443
444 ;; *************** function _main *****************
445 ;; Defined at:
446 ;; line 139 in file "F:\PIC-DESIGN\circuit status check for first\board_test.c"
447 ;; Parameters: Size Location Type
448 ;; None
449 ;; Auto vars: Size Location Type
450 ;; i 1 9[COMMON] unsigned char
451 ;; Return value: Size Location Type
452 ;; None void
453 ;; Registers used:
454 ;; wreg, fsr0l, fsr0h, status,2, status,0, pclath, cstack
455 ;; Tracked objects:
456 ;; On entry : 17F/0
457 ;; On exit : 0/0
458 ;; Unchanged: 0/0
459 ;; Data sizes: COMMON BANK0 BANK1 BANK3 BANK2
460 ;; Params: 0 0 0 0 0
461 ;; Locals: 1 0 0 0 0
462 ;; Temps: 0 0 0 0 0
463 ;; Totals: 1 0 0 0 0
464 ;;Total ram usage: 1 bytes
465 ;; Hardware stack levels required when called: 3
466 ;; This function calls:
467 ;; _init
468 ;; _UNITA_TEST
469 ;; _UNITE_TEST
470 ;; _UNITB_TEST
471 ;; This function is called by:
472 ;; Startup code after reset
473 ;; This function uses a non-reentrant model
474 ;;
475 psect maintext
476 file "F:\PIC-DESIGN\circuit status check for first\board_test.c"
477 line 139
478 global __size_of_main
479 002D __size_of_main equ __end_of_main-_main
480
481 067B _main:
482 opt stack 5
483 ; Regs used in _main: [wreg-fsr0h+status,2+status,0+pclath+cstack]
484 line 140
485
486 067B l2079:
487 ;board_test.c: 140: unsigned char i=0;
488 067B 1003 clrc
489 067C 3000 movlw 0
490 067D 1803 btfsc status,0
491 067E 3001 movlw 1
492 067F 00F9 movwf (main@i)
493 line 141
494
495 0680 l2081:
496 ;board_test.c: 141: init();
497 0680 120A 118A 262C fcall _init
120A 118A
498 0685 2E86 goto l2083
499 line 142
500 ;board_test.c: 142: while(1)
501
502 0686 l629:
503 line 144
504
505 0686 l2083:
506 ;board_test.c: 143: {
507 ;board_test.c: 144: if(RC1==1)
508 0686 1283 bcf status, 5 ;RP0=0, select bank0
509 0687 1303 bcf status, 6 ;RP1=0, select bank0
510 0688 1C87 btfss (57/8),(57)&7
511 0689 2E8B goto u2581
512 068A 2E8C goto u2580
513 068B u2581:
514 068B 2E97 goto l2087
515 068C u2580:
516 line 146
517
518 068C l2085:
519 ;board_test.c: 145: {
520 ;board_test.c: 146: UNITA_TEST();
521 068C 120A 118A 26E3 fcall _UNITA_TEST
120A 118A
522 line 147
523 ;board_test.c: 147: UNITE_TEST();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -