system.lst

来自「dsp tmslf2407a 汇编,c的原代码,包括i2c,scitimer,f」· LST 代码 · 共 1,020 行 · 第 1/4 页

LST
1,020
字号
     434 00a9 b901          LACK    1
     435 00aa bc00!         LDPK    _bPowerUp
     436 00ab 9000!         SACL    _bPowerUp
     437                    .line   42
     438            ;>>>>           ledVlu = 0x00;  /* close 5 leds,opt out disable*/
     439 00ac b900          LACK    0
     440 00ad bc00!         LDPK    _ledVlu
     441 00ae 9000!         SACL    _ledVlu
     442                    .line   43
     443            ;>>>>           LedOptOut();
     444 00af 7a80          CALL    _LedOptOut
         00b0 0000! 
     445                    .line   44
     446            ;>>>>           initRfPara();  
TMS320C1x/C2x/C2xx/C5x COFF Assembler Version 7.00  Thu Dec  8 11:06:23 2005
Copyright (c) 1987-1999  Texas Instruments Incorporated 
system.asm                                                           PAGE   10

     447 00b1 7a80          CALL    _initRfPara
         00b2 0000! 
     448                    .line   45
     449            ;>>>>           enable();
     450            ;>>>>   //      judgePower();
     451 00b3 7a80          CALL    _enable
         00b4 00c3' 
     452 00b5       EPI0_2:
     453                    .line   47
     454 00b5 7c02          SBRK    2
     455 00b6 0090          LAR     AR0,*-
     456 00b7 7680          PSHD    *
     457 00b8 ef00          RET
     458            
     459                    .endfunc        69,000000000H,1
     460            
     461                    .sym    _disable,_disable,32,2,0
     462                    .globl  _disable
     463            
     464                    .func   70
     465            ;>>>>   void inline disable()
     466            ******************************************************
     467            * FUNCTION DEF : _disable
     468            ******************************************************
     469 00b9       _disable:
     470 00b9 8aa0          POPD    *+
     471 00ba 80a0          SAR     AR0,*+
     472 00bb 8180          SAR     AR1,*
     473 00bc b001          LARK    AR0,1
     474 00bd 00e0          LAR     AR0,*0+
     475            
     476                    .line   3
     477            ;>>>>           asm(" setc INTM");
     478 00be be41   setc INTM
     479 00bf       EPI0_3:
     480                    .line   4
     481 00bf 7c02          SBRK    2
     482 00c0 0090          LAR     AR0,*-
     483 00c1 7680          PSHD    *
     484 00c2 ef00          RET
     485            
     486                    .endfunc        73,000000000H,1
     487            
     488                    .sym    _enable,_enable,32,2,0
     489                    .globl  _enable
     490            
     491                    .func   74
     492            ;>>>>   void inline enable()
     493            ******************************************************
     494            * FUNCTION DEF : _enable
     495            ******************************************************
     496 00c3       _enable:
     497 00c3 8aa0          POPD    *+
     498 00c4 80a0          SAR     AR0,*+
TMS320C1x/C2x/C2xx/C5x COFF Assembler Version 7.00  Thu Dec  8 11:06:23 2005
Copyright (c) 1987-1999  Texas Instruments Incorporated 
system.asm                                                           PAGE   11

     499 00c5 8180          SAR     AR1,*
     500 00c6 b001          LARK    AR0,1
     501 00c7 00e0          LAR     AR0,*0+
     502            
     503                    .line   3
     504            ;>>>>           asm(" clrc INTM");
     505 00c8 be40   clrc INTM
     506 00c9       EPI0_4:
     507                    .line   4
     508 00c9 7c02          SBRK    2
     509 00ca 0090          LAR     AR0,*-
     510 00cb 7680          PSHD    *
     511 00cc ef00          RET
     512            
     513                    .endfunc        77,000000000H,1
     514            
     515                    .sym    _systemDelay,_systemDelay,32,2,0
     516                    .globl  _systemDelay
     517            
     518                    .func   79
     519            ;>>>>   void systemDelay(uchar n) 
     520            ******************************************************
     521            * FUNCTION DEF : _systemDelay
     522            ******************************************************
     523 00cd       _systemDelay:
     524            
     525      0000  LF5     .set    0
     526            
     527 00cd 8aa0          POPD    *+
     528 00ce 80a0          SAR     AR0,*+
     529 00cf 8180          SAR     AR1,*
     530 00d0 b003          LARK    AR0,3
     531 00d1 00ea          LAR     AR0,*0+,AR2
     532            
     533                    .sym    _n,-3+LF5,12,9,16
     534                    .sym    _i,1,12,1,16
     535                    .sym    _j,2,12,1,16
     536                    .line   2
     537            ;>>>>           uchar i,j;
     538                    .line   4
     539            ;>>>>           for(i=0;i<n;i++)        
     540 00d2 b900          LACK    0
     541 00d3 b201          LARK    AR2,1
     542 00d4 8be0          MAR     *0+
     543 00d5 9080          SACL    * 
     544 00d6 6980          ZALS    * 
     545 00d7 7c04          SBRK    4-LF5
     546 00d8 6680          SUBS    * 
     547 00d9 e38c          BGEZ    L4
         00da 00fb' 
     548 00db 8b89          MAR     * ,AR1
     549 00dc       L3:
     550                    .line   6
     551            ;>>>>                   feedWatchDog();
TMS320C1x/C2x/C2xx/C5x COFF Assembler Version 7.00  Thu Dec  8 11:06:23 2005
Copyright (c) 1987-1999  Texas Instruments Incorporated 
system.asm                                                           PAGE   12

     552 00dc 7a89          CALL    _feedWatchDog,AR1
         00dd 0000! 
     553                    .line   7
     554            ;>>>>                   for(j=0;j<10000;j++)
     555 00de b900          LACK    0
     556 00df 8b8a          MAR     * ,AR2
     557 00e0 b202          LARK    AR2,2
     558 00e1 8be0          MAR     *0+
     559 00e2 9080          SACL    * 
     560 00e3 6980          ZALS    * 
     561 00e4 bfa0          SUBK    10000
         00e5 2710  
     562 00e6 e38c          BGEZ    L6
         00e7 00f2' 
     563 00e8       L5:
     564                    .line   9
     565            ;>>>>                           j=j;
     566 00e8 1080          LAC     * 
     567 00e9 9080          SACL    * 
     568                    .line   7
     569 00ea 1080          LAC     * 
     570 00eb b801          ADDK    1
     571 00ec 9080          SACL    * 
     572 00ed 6980          ZALS    * 
     573 00ee bfa0          SUBK    10000
         00ef 2710  
     574 00f0 e344          BLZ     L5
         00f1 00e8' 
     575 00f2       L6:
     576                    .line   4
     577 00f2 8b90          MAR     *-
     578 00f3 1080          LAC     * 
     579 00f4 b801          ADDK    1
     580 00f5 9080          SACL    * 
     581 00f6 6980          ZALS    * 
     582 00f7 7c04          SBRK    4-LF5
     583 00f8 6689          SUBS    * ,AR1
     584 00f9 e344          BLZ     L3
         00fa 00dc' 
     585 00fb       L4:
     586 00fb       EPI0_5:
     587                    .line   12
     588 00fb 8b89          MAR     * ,AR1
     589 00fc 7c04          SBRK    4
     590 00fd 0090          LAR     AR0,*-
     591 00fe 7680          PSHD    *
     592 00ff ef00          RET
     593            
     594                    .endfunc        90,000000000H,3
     595            
     596                    .sym    _globalLevel,_globalLevel,12,2,16
     597                    .globl  _globalLevel
     598            *****************************************************
     599            * UNDEFINED REFERENCES                              *
TMS320C1x/C2x/C2xx/C5x COFF Assembler Version 7.00  Thu Dec  8 11:06:23 2005
Copyright (c) 1987-1999  Texas Instruments Incorporated 
system.asm                                                           PAGE   13

     600            *****************************************************
     601                    .global I$$SAVE
     602                    .global I$$REST
     603                    .global _Check_SST_39VF400A
     604                    .global _readAllCfg
     605                    .global _externRam_init
     606                    .global _feedWatchDog
     607                    .global _readAddr
     608                    .global _initIo
     609                    .global _initTimer3
     610                    .global _simInit
     611                    .global _serialPortInit
     612                    .global _setX9c503ToLowest
     613                    .global _Pcf8583IoInit
     614                    .global _ledOptInit
     615                    .global _LedOptOut
     616                    .global _initRfPara
     617                    .end

 No Errors,  No Warnings
TMS320C1x/C2x/C2xx/C5x COFF Assembler Version 7.00  Thu Dec  8 11:06:23 2005
Copyright (c) 1987-1999  Texas Instruments Incorporated 
system.asm                                                           PAGE   14

LABEL                            VALUE       DEFN    REF

.TMS32010                        0000           0 
.TMS32016                        0000           0 
.TMS32020                        0000           0 
.TMS32025                        0000           0 
.TMS3202XX                       0001           0 
.TMS32050                        0000           0 
.TMS32056                        0000           0 
.TMS32057                        0000           0 
.TMS320XX                        001d           0 
.tms32010                        0000           0 
.tms32016                        0000           0 
.tms32020                        0000           0 
.tms32025                        0000           0 
.tms3202xx                       0001           0 
.tms32050                        0000           0 
.tms32056                        0000           0 
.tms32057                        0000           0 
.tms320xx                        001d           0 
EPI0_1                           0006    '    232 
EPI0_2                           00b5    '    452 
EPI0_3                           00bf    '    479 
EPI0_4                           00c9    '    506 
EPI0_5                           00fb    '    586 
I$$REST                          REF                 235    602 
I$$SAVE                          REF                 224    601 
L1                               008c    '    385    371 
L2                               008f    '    393    384 
L3                               00dc    '    549    584 
L4                               00fb    '    585    547 
L5                               00e8    '    563    574 
L6                               00f2    '    575    562 
LF5                              0000         525    533    545    582 
_ACTRA                           REF                 150 
_ACTRB                           REF                 179 
_ADCCTRL1                        REF                  58 
_ADCCTRL2                        REF                  59 
_AUTOSEQSR                       REF                  65 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?