A51 MACRO ASSEMBLER  MAIN                                                                 03/23/2017 09:49:21 PAGE     1


MACRO ASSEMBLER A51 V8.02b
OBJECT MODULE PLACED IN .\Output\main.OBJ
ASSEMBLER INVOKED BY: C:\Keil_v4\C51\BIN\A51.EXE .\Output\main.src PR(.\Listing\main.ls1) EP DEBUG

LOC  OBJ            LINE     SOURCE

                       1     ; .\Output\main.SRC generated from: ..\User\Source\main.c
                       2     ; COMPILER INVOKED BY:
                       3     ;        C:\Keil_v4\C51\BIN\C51.EXE ..\User\Source\main.c LARGE OMF2 WARNINGLEVEL(0) BROWSE
                              INCDIR(..\Library\FU68xx_Hardware_Driver\Include;..\User\Include) DEBUG PRINT(.\Listing\ma
                             in.lst) TABS(2) SRC(.\Output\main.SRC)
                       4     
                       5     $nomod51 
                       6     
                       7     NAME    MAIN
                       8     
  00E2                 9     SV_USL  DATA    0E2H
  00AB                10     TIM2_CNTRH      DATA    0ABH
  00B4                11     GP34    BIT     0B0H.4
  00A5                12     GP25    BIT     0A0H.5
  0096                13     GP16    BIT     090H.6
  0087                14     GP07    BIT     080H.7
  0089                15     IT01    BIT     088H.1
  008B                16     IT10    BIT     088H.3
  00F6                17     PI_UKMIN        DATA    0F6H
  00C2                18     MD_MA   DATA    0C2H
  00A3                19     TIM3_CNTRH      DATA    0A3H
  00B5                20     GP35    BIT     0B0H.5
  00A6                21     GP26    BIT     0A0H.6
  0097                22     GP17    BIT     090H.7
  0080                23     P0      DATA    080H
  008C                24     IT11    BIT     088H.4
  00CA                25     MD_MB   DATA    0CAH
  0093                26     TIM4_CNTRH      DATA    093H
  00B6                27     GP36    BIT     0B0H.6
  00A7                28     GP27    BIT     0A0H.7
  0090                29     P1      DATA    090H
  00D9                30     EVT_FILT        DATA    0D9H
  00F4                31     PI_UKMAX        DATA    0F4H
  008B                32     TIM5_CNTRH      DATA    08BH
  00B2                33     TIM2_CMTRL      DATA    0B2H
  00B7                34     GP37    BIT     0B0H.7
  00A0                35     P2      DATA    0A0H
  00AA                36     TIM2_CNTRL      DATA    0AAH
  00B0                37     P3      DATA    0B0H
  00A2                38     TIM3_CNTRL      DATA    0A2H
  00D6                39     AC      BIT     0D0H.6
  0092                40     TIM4_CNTRL      DATA    092H
  008A                41     TIM5_CNTRL      DATA    08AH
  00B6                42     TIM0_CCR1       DATA    0B6H
  00AF                43     EA      BIT     0A8H.7
  00D5                44     CMP_CR0 DATA    0D5H
  00BA                45     TIM0_CCR2       DATA    0BAH
  00D6                46     CMP_CR1 DATA    0D6H
  00BC                47     TIM0_CCR3       DATA    0BCH
  0085                48     PSCTL   DATA    085H
  00DA                49     CMP_CR2 DATA    0DAH
  00BE                50     TIM0_CCR4       DATA    0BEH
  00BA                51     PX00    BIT     0B8H.2
  00EA                52     PI_EK   DATA    0EAH
  00F8                53     OISUH   BIT     0F8H.0
  00BB                54     PX01    BIT     0B8H.3
  00BC                55     PX10    BIT     0B8H.4
  00FA                56     OISVH   BIT     0F8H.2
A51 MACRO ASSEMBLER  MAIN                                                                 03/23/2017 09:49:21 PAGE     2

  00BD                57     PX11    BIT     0B8H.5
  00FC                58     OISWH   BIT     0F8H.4
  00DC                59     LPF_K   DATA    0DCH
  00F2                60     PI_KI   DATA    0F2H
  00F9                61     OISUL   BIT     0F8H.1
  00A8                62     IE      DATA    0A8H
  00FB                63     OISVL   BIT     0F8H.3
  00FD                64     OISWL   BIT     0F8H.5
  00D1                65     P1IE    DATA    0D1H
  009E                66     MOD0    BIT     098H.6
  00D3                67     P2IE    DATA    0D3H
  00D2                68     P1IF    DATA    0D2H
  00F9                69     PL_CR   DATA    0F9H
  009F                70     MOD1    BIT     098H.7
  00D4                71     P2IF    DATA    0D4H
  00AC                72     TIM2_DR DATA    0ACH
  0082                73     DP      DATA    082H
  00EE                74     PI_KP   DATA    0EEH
  00A4                75     TIM3_DR DATA    0A4H
  0094                76     TIM4_DR DATA    094H
  008C                77     TIM5_DR DATA    08CH
  00F1                78     OSC_CFG DATA    0F1H
  00C1                79     MD_MODE DATA    0C1H
  00EC                80     PI_UK   DATA    0ECH
  00DE                81     LPF_X   DATA    0DEH
  0098                82     RI      BIT     098H.0
  00E6                83     LPF_Y   DATA    0E6H
  00C0                84     PTIM00  BIT     0C0H.0
  00D7                85     CY      BIT     0D0H.7
  0099                86     TI      BIT     098H.1
  00C1                87     PTIM01  BIT     0C0H.1
  00C2                88     PTIM10  BIT     0C0H.2
  00C3                89     PTIM11  BIT     0C0H.3
  00E1                90     SV_CR   DATA    0E1H
  0098                91     UT_CR   DATA    098H
  0099                92     UT_DR   DATA    099H
  00FE                93     OIS4    BIT     0F8H.6
  0081                94     SP      DATA    081H
  00D2                95     OV      BIT     0D0H.2
  00C4                96     MD_DA0  DATA    0C4H
  009A                97     UT_BAUD DATA    09AH
  00CC                98     MD_DB0  DATA    0CCH
  00C5                99     MD_DA1  DATA    0C5H
  00CD               100     MD_DB1  DATA    0CDH
  00C6               101     MD_DA2  DATA    0C6H
  00CE               102     MD_DB2  DATA    0CEH
  00C7               103     MD_DA3  DATA    0C7H
  00B4               104     TIM2_ADTR       DATA    0B4H
  00CF               105     MD_DB3  DATA    0CFH
  00AF               106     TIM2_ARRH       DATA    0AFH
  00A7               107     TIM3_ARRH       DATA    0A7H
  0097               108     TIM4_ARRH       DATA    097H
  008F               109     TIM5_ARRH       DATA    08FH
  00AE               110     TIM2_ARRL       DATA    0AEH
  00A6               111     TIM3_ARRL       DATA    0A6H
  0087               112     PCON    DATA    087H
  00E2               113     SV_US   DATA    0E2H
  0096               114     TIM4_ARRL       DATA    096H
  008E               115     TIM5_ARRL       DATA    08EH
  00B2               116     TIM2_CMTR       DATA    0B2H
  0088               117     TCON    DATA    088H
  00AA               118     TIM2_CNTR       DATA    0AAH
  00A2               119     TIM3_CNTR       DATA    0A2H
  0092               120     TIM4_CNTR       DATA    092H
  008A               121     TIM5_CNTR       DATA    08AH
  00E5               122     SV_ANGLEH       DATA    0E5H
A51 MACRO ASSEMBLER  MAIN                                                                 03/23/2017 09:49:21 PAGE     3

  00D8               123     PUART0  BIT     0D8H.0
  00E4               124     SV_ANGLEL       DATA    0E4H
  00C6               125     MD_DAH  DATA    0C6H
  00D9               126     PUART1  BIT     0D8H.1
  00DA               127     PI2C0   BIT     0D8H.2
  008A               128     IF0     BIT     088H.2
  00CE               129     MD_DBH  DATA    0CEH
  00DB               130     PI2C1   BIT     0D8H.3
  00F0               131     B       DATA    0F0H
  00C4               132     MD_DAL  DATA    0C4H
  00A1               133     TIM2_CR0        DATA    0A1H
  00CC               134     MD_DBL  DATA    0CCH
  009C               135     TIM3_CR0        DATA    09CH
  00A9               136     TIM2_CR1        DATA    0A9H
  009E               137     TIM4_CR0        DATA    09EH
  009D               138     TIM3_CR1        DATA    09DH
  0089               139     TIM5_CR0        DATA    089H
  009F               140     TIM4_CR1        DATA    09FH
  00F8               141     DRV_OUT DATA    0F8H
  0091               142     TIM5_CR1        DATA    091H
  00E0               143     ACC     DATA    0E0H
  00F7               144     PI_UKMINH       DATA    0F7H
  00C3               145     MD_MAH  DATA    0C3H
  00AC               146     ES0     BIT     0A8H.4
  00DB               147     LVSR    DATA    0DBH
  00CB               148     MD_MBH  DATA    0CBH
  00C4               149     PADC0   BIT     0C0H.4
  00B8               150     IP0     DATA    0B8H
  00F5               151     PI_UKMAXH       DATA    0F5H
  00C5               152     PADC1   BIT     0C0H.5
  00C0               153     IP1     DATA    0C0H
  00C8               154     IP2     DATA    0C8H
  00F6               155     PI_UKMINL       DATA    0F6H
  00C2               156     MD_MAL  DATA    0C2H
  009A               157     RB8     BIT     098H.2
  00D8               158     IP3     DATA    0D8H
  00CA               159     MD_MBL  DATA    0CAH
  00A8               160     EX0     BIT     0A8H.0
  00F4               161     PI_UKMAXL       DATA    0F4H
  009B               162     TB8     BIT     098H.3
  00B7               163     TIM0_CCR1H      DATA    0B7H
  00AA               164     EX1     BIT     0A8H.2
  00BB               165     TIM0_CCR2H      DATA    0BBH
  00D0               166     P       BIT     0D0H.0
  00BD               167     TIM0_CCR3H      DATA    0BDH
  00BF               168     TIM0_CCR4H      DATA    0BFH
  00CA               169     PTIM230 BIT     0C8H.2
  00EB               170     PI_EKH  DATA    0EBH
  009D               171     SM2     BIT     098H.5
  00B6               172     TIM0_CCR1L      DATA    0B6H
  00B1               173     TIM0_SR1        DATA    0B1H
  00CB               174     PTIM231 BIT     0C8H.3
  00BA               175     TIM0_CCR2L      DATA    0BAH
  00BC               176     TIM0_CCR3L      DATA    0BCH
  00BE               177     TIM0_CCR4L      DATA    0BEH
  00DE               178     PMCD0   BIT     0D8H.6
  00CC               179     PTIM450 BIT     0C8H.4
  00D3               180     RS0     BIT     0D0H.3
  00DD               181     LPF_KH  DATA    0DDH
  00F3               182     PI_KIH  DATA    0F3H
  00EA               183     PI_EKL  DATA    0EAH
  00E8               184     FOC_SET0        DATA    0E8H
  00DF               185     PMCD1   BIT     0D8H.7
  00CD               186     PTIM451 BIT     0C8H.5
  00D4               187     RS1     BIT     0D0H.4
  00E9               188     FOC_SET1        DATA    0E9H
A51 MACRO ASSEMBLER  MAIN                                                                 03/23/2017 09:49:21 PAGE     4

  00BE               189     PFOC0   BIT     0B8H.6
  00DC               190     LPF_KL  DATA    0DCH
  00F2               191     PI_KIL  DATA    0F2H
  00BF               192     PFOC1   BIT     0B8H.7
  00AD               193     TIM2_DRH        DATA    0ADH
  00B9               194     TIM0_IER        DATA    0B9H
  0083               195     DPH     DATA    083H
  00EF               196     PI_KPH  DATA    0EFH
  00A5               197     TIM3_DRH        DATA    0A5H
  0095               198     TIM4_DRH        DATA    095H
  008D               199     TIM5_DRH        DATA    08DH
  00AC               200     TIM2_DRL        DATA    0ACH
  0082               201     DPL     DATA    082H
  00EE               202     PI_KPL  DATA    0EEH
  00A4               203     TIM3_DRL        DATA    0A4H
  00FF               204     MOE     BIT     0F8H.7
  00C6               205     PCMP0   BIT     0C0H.6
  00ED               206     PI_UKH  DATA    0EDH
  0094               207     TIM4_DRL        DATA    094H
  00C7               208     PCMP1   BIT     0C0H.7
  00DF               209     LPF_XH  DATA    0DFH
  008C               210     TIM5_DRL        DATA    08CH
  00AE               211     TIM2_ARR        DATA    0AEH
  00AD               212     MCDIE   BIT     0A8H.5
  00C9               213     RSTSRC  DATA    0C9H
  00E7               214     LPF_YH  DATA    0E7H
  00A6               215     TIM3_ARR        DATA    0A6H
  008E               216     MCDIF   BIT     088H.6
  009C               217     REN     BIT     098H.4
  0096               218     TIM4_ARR        DATA    096H
  00EC               219     PI_UKL  DATA    0ECH
  00D7               220     CMP_SR  DATA    0D7H
  008E               221     TIM5_ARR        DATA    08EH
  00DE               222     LPF_XL  DATA    0DEH
  00E6               223     LPF_YL  DATA    0E6H
  00C8               224     PRTC0   BIT     0C8H.0
  00C9               225     PRTC1   BIT     0C8H.1
  00EF               226     FOCEN   BIT     0E8H.7
  00CE               227     PTSD0   BIT     0C8H.6
  00DC               228     PSPI0   BIT     0D8H.4
  00CF               229     PTSD1   BIT     0C8H.7
  00DD               230     PSPI1   BIT     0D8H.5
  009B               231     UT_BAUDH        DATA    09BH
  00E4               232     SV_ANGLE        DATA    0E4H
  00B5               233     TIM2_ADTRH      DATA    0B5H
  009A               234     UT_BAUDL        DATA    09AH
  00FC               235     P0_OE   DATA    0FCH
  00FD               236     P1_OE   DATA    0FDH
  00D5               237     F0      BIT     0D0H.5
  00B4               238     TIM2_ADTRL      DATA    0B4H
  00FE               239     P2_OE   DATA    0FEH
  00D1               240     F1      BIT     0D0H.1
  0080               241     GP00    BIT     080H.0
  00FF               242     P3_OE   DATA    0FFH
  0090               243     GP10    BIT     090H.0
  0081               244     GP01    BIT     080H.1
  00AE               245     RTCIE   BIT     0A8H.6
  00A0               246     GP20    BIT     0A0H.0
  0091               247     GP11    BIT     090H.1
  0082               248     GP02    BIT     080H.2
  00E3               249     SV_USH  DATA    0E3H
  00B0               250     GP30    BIT     0B0H.0
  00A1               251     GP21    BIT     0A0H.1
  0092               252     GP12    BIT     090H.2
  0083               253     GP03    BIT     080H.3
  00B8               254     PLVW0   BIT     0B8H.0
A51 MACRO ASSEMBLER  MAIN                                                                 03/23/2017 09:49:21 PAGE     5

  00A9               255     TSDIE   BIT     0A8H.1
  00D0               256     PSW     DATA    0D0H
  00B1               257     GP31    BIT     0B0H.1
  00A2               258     GP22    BIT     0A0H.2
  0093               259     GP13    BIT     090H.3
  0084               260     GP04    BIT     080H.4
  00B9               261     PLVW1   BIT     0B8H.1
  00AB               262     SPIIE   BIT     0A8H.3
  008D               263     TSDIF   BIT     088H.5
  00B2               264     GP32    BIT     0B0H.2
  00A3               265     GP23    BIT     0A0H.3
  0094               266     GP14    BIT     090H.4
  0085               267     GP05    BIT     080H.5
  0084               268     FLKEY   DATA    084H
  00B3               269     TIM2_CMTRH      DATA    0B3H
  00B3               270     GP33    BIT     0B0H.3
  00A4               271     GP24    BIT     0A0H.4
  0095               272     GP15    BIT     090H.5
  0086               273     GP06    BIT     080H.6
  0088               274     IT00    BIT     088H.0
                     275     ?PR?main?MAIN        SEGMENT CODE 
                     276     ?XD?main?MAIN        SEGMENT XDATA OVERLAYABLE
                     277     ?PR?SoftwareInit?MAIN                    SEGMENT CODE 
                     278     ?PR?HardwareInit?MAIN                    SEGMENT CODE 
                     279             EXTRN   CODE (SPIInit)
                     280             EXTRN   CODE (PWMIN_Init)
                     281             EXTRN   CODE (DriverInit)
                     282             EXTRN   XDATA (MC)
                     283             EXTRN   CODE (MotorMain)
                     284             EXTRN   CODE (BuzzerInit)
                     285             EXTRN   CODE (SystemInit)
                     286             EXTRN   CODE (TIM0Init)
                     287             EXTRN   CODE (IRInit)
                     288             EXTRN   CODE (TIM3Init)
                     289             EXTRN   CODE (TIM4Init)
                     290             EXTRN   CODE (ParameterInit)
                     291             EXTRN   CODE (KeyInit)
                     292             EXTRN   CODE (GPIOInit)
                     293             EXTRN   CODE (LEDControlInit)
                     294             EXTRN   CODE (UARTScanInit)
                     295             EXTRN   CODE (ADCInit)
                     296             EXTRN   CODE (SinCosInit)
                     297             EXTRN   CODE (InterruptInit)
                     298             EXTRN   CODE (WatchDogRefresh)
                     299             EXTRN   CODE (AMPIint)
                     300             EXTRN   CODE (CMPIint)
                     301             EXTRN   CODE (MDUInit)
                     302             EXTRN   CODE (?C_STARTUP)
                     303             EXTRN   CODE (?C?LSTKXDATA)
                     304             EXTRN   CODE (?C?ULCMP)
                     305             EXTRN   CODE (?C?LSTXDATA)
                     306             PUBLIC  HardwareInit
                     307             PUBLIC  SoftwareInit
                     308             PUBLIC  main
                     309     
----                 310             RSEG  ?XD?main?MAIN
0000                 311     ?main?BYTE:
0000                 312      PowerUpCnt?040:   DS   4
                     313     ; /**************************** (C) COPYRIGHT 2015 Fortiortech shenzhen *******************
                             **********
                     314     ; * File Name          : Main.c
                     315     ; * Author             : Billy Long Fortiortech  Market Dept
                     316     ; * Version            : V1.0
                     317     ; * Date               : 01/07/2015
                     318     ; * Description        : This file contains main function used for Motor Control.
                     319     ; *****************************************************************************************
A51 MACRO ASSEMBLER  MAIN                                                                 03/23/2017 09:49:21 PAGE     6

                             **********
                     320     ; * All Rights Reserved
                     321     ; *****************************************************************************************
                             *********/ 
                     322     ; 
                     323     ; 
                     324     ; /* Includes -----------------------------------------------------------------------------
                             --------*/
                     325     ; #include <FU68xx.h>
                     326     ; #include <FU68xx_Sys.h>
                     327     ; #include <Myproject.h>
                     328     ; 
                     329     ; /* Private typedef ----------------------------------------------------------------------
                             --------*/
                     330     ; /* Private define -----------------------------------------------------------------------
                             --------*/
                     331     ; /* Private macro ------------------------------------------------------------------------
                             --------*/
                     332     ; /* Private variables --------------------------------------------------------------------
                             --------*/
                     333     ; 
                     334     ; /* Private function prototypes ----------------------------------------------------------
                             --------*/
                     335     ; /* Private functions --------------------------------------------------------------------
                             --------*/
                     336     ; void SoftwareInit(void);
                     337     ; void HardwareInit(void);
                     338     ; 
                     339     ; 
                     340     ; /*---------------------------------------------------------------------------------------
                             ----------
                     341     ;       Function Name : void main(void)
                     342     ;       Description   : Ö÷º¯ÊÖ÷Òª¹¦ÄÜÊÇ³õÊ¼»¯£¬°üÀ¨ÏµÍ³³õÊ¼»¯£¬Èí¼þ³õÊ¼»¯£¬Ó²¼þ³õÊ¼»¯£¬Ö÷Ñ­
                             »·
                     343     ;                   É¨Ãè¡£
                     344     ;                   ÏµÍ³³õÊ¼»¯--ÏµÍ³Ê±ÖÓÅäÖÃ£¬ÏµÍ³µçÔ´ÅäÖÃ£¬¿´ÃÅ¹·ÅäÖÃ
                     345     ;                   Èí¼þ³õÊ¼»¯--³õÊ¼»¯ËùÓÐ¶¨ÒåµÄ±äÁ¿
                     346     ;                   Ó²¼þ³õÊ¼»¯--³õÊ¼»¯Ó²¼þÉè±¸ÅäÖÃ
                     347     ;                   Ö÷Ñ­»·É¨Ãè--¿´ÃÅ¹·Î¹¹·£¬µç»ú¿ØÖÆ×´Ì¬É¨Ãè£¬µ÷ÊÔ²âÊÔº¯Ê
                     348     ;       Input         : ÎÞ
                     349     ;   Output                              :       ÎÞ
                     350     ; -----------------------------------------------------------------------------------------
                             --------*/
                     351     ;       void main(void)
                     352     
----                 353             RSEG  ?PR?main?MAIN
0000                 354     main:
                     355             USING   0
                     356                             ; SOURCE LINE # 39
                     357     ; {
                     358                             ; SOURCE LINE # 40
                     359     ;       uint32 PowerUpCnt;
                     360     ;       
                     361     ;       /*Wait For Power Up*/
                     362     ;       for(PowerUpCnt=0;PowerUpCnt<SystemPowerUpTime;PowerUpCnt++){};
                     363                             ; SOURCE LINE # 44
0000 900000   F      364             MOV     DPTR,#PowerUpCnt?040
0003 120000   F      365             LCALL   ?C?LSTKXDATA
0006 00              366             DB      00H
0007 00              367             DB      00H
0008 00              368             DB      00H
0009 00              369             DB      00H
000A                 370     ?C0001:
000A 7FA0            371             MOV     R7,#0A0H
000C 7E86            372             MOV     R6,#086H
000E 7D01            373             MOV     R5,#01H
A51 MACRO ASSEMBLER  MAIN                                                                 03/23/2017 09:49:21 PAGE     7

0010 7C00            374             MOV     R4,#00H
0012 900000   F      375             MOV     DPTR,#PowerUpCnt?040
0015 E0              376             MOVX    A,@DPTR
0016 F8              377             MOV     R0,A
0017 A3              378             INC     DPTR
0018 E0              379             MOVX    A,@DPTR
0019 F9              380             MOV     R1,A
001A A3              381             INC     DPTR
001B E0              382             MOVX    A,@DPTR
001C FA              383             MOV     R2,A
001D A3              384             INC     DPTR
001E E0              385             MOVX    A,@DPTR
001F FB              386             MOV     R3,A
0020 C3              387             CLR     C
0021 120000   F      388             LCALL   ?C?ULCMP
0024 5021            389             JNC     ?C0002
0026 900000   F      390             MOV     DPTR,#PowerUpCnt?040
0029 E0              391             MOVX    A,@DPTR
002A FC              392             MOV     R4,A
002B A3              393             INC     DPTR
002C E0              394             MOVX    A,@DPTR
002D FD              395             MOV     R5,A
002E A3              396             INC     DPTR
002F E0              397             MOVX    A,@DPTR
0030 FE              398             MOV     R6,A
0031 A3              399             INC     DPTR
0032 E0              400             MOVX    A,@DPTR
0033 2401            401             ADD     A,#01H
0035 FF              402             MOV     R7,A
0036 E4              403             CLR     A
0037 3E              404             ADDC    A,R6
0038 FE              405             MOV     R6,A
0039 E4              406             CLR     A
003A 3D              407             ADDC    A,R5
003B FD              408             MOV     R5,A
003C E4              409             CLR     A
003D 3C              410             ADDC    A,R4
003E FC              411             MOV     R4,A
003F 900000   F      412             MOV     DPTR,#PowerUpCnt?040
0042 120000   F      413             LCALL   ?C?LSTXDATA
0045 80C3            414             SJMP    ?C0001
0047                 415     ?C0002:
                     416     ; 
                     417     ;       /*System Init*/
                     418     ;       SystemInit();
                     419                             ; SOURCE LINE # 47
0047 120000   F      420             LCALL   SystemInit
                     421     ;  
                     422     ;       /*Software Init*/       
                     423     ;   SoftwareInit();
                     424                             ; SOURCE LINE # 50
004A 120000   F      425             LCALL   SoftwareInit
                     426     ; 
                     427     ;       /*Hardware Init*/       
                     428     ;   HardwareInit();
                     429                             ; SOURCE LINE # 53
004D 120000   F      430             LCALL   HardwareInit
0050                 431     ?C0004:
                     432     ;   
                     433     ;       
                     434     ;       while(1)
                     435                             ; SOURCE LINE # 56
                     436     ;       {               
                     437                             ; SOURCE LINE # 57
                     438     ;               /*Ö÷¿Øº¯Ê£¬×´Ì¬É¨Ãè*/
                     439     ;               MotorMain();
A51 MACRO ASSEMBLER  MAIN                                                                 03/23/2017 09:49:21 PAGE     8

                     440                             ; SOURCE LINE # 59
0050 120000   F      441             LCALL   MotorMain
                     442     ;               /*ADC²ÉÑùÏÔÊ¾*/
                     443     ; //    ADCGetConversionValue(); // for Test£¬ÔËÐÐÊ±¼ä486us£¬É÷ÓÃ
                     444     ;         #pragma asm
                     445     ;               MOV a,0
0053 E500            446               MOV a,0
                     447     ;               ADD a,1
0055 2501            448               ADD a,1
                     449     ;               #pragma endasm
                     450     ;               
                     451     ;               /*WDT Feed*/
                     452     ;               WatchDogRefresh();  // Î¹¹·Ê±¼ä¼ä¸ô100ms        
                     453                             ; SOURCE LINE # 68
0057 120000   F      454             LCALL   WatchDogRefresh
                     455     ;       }
                     456                             ; SOURCE LINE # 69
005A 80F4            457             SJMP    ?C0004
                     458     ; END OF main
                     459     
                     460     ; }
                     461     ; 
                     462     ; /*---------------------------------------------------------------------------------------
                             ----------
                     463     ;       Function Name : void SoftwareInit(void)
                     464     ;       Description   : Èí¼þ³õÊ¼»¯£¬³õÊ¼»¯ËùÓÐ¶¨Òå±äÁ¿£¬°´¼ü³õÊ¼»¯É¨Ãè
                     465     ;       Input         : ÎÞ
                     466     ;   Output                              :       ÎÞ
                     467     ; -----------------------------------------------------------------------------------------
                             --------*/
                     468     ; void SoftwareInit(void)
                     469     
----                 470             RSEG  ?PR?SoftwareInit?MAIN
0000                 471     SoftwareInit:
                     472             USING   0
                     473                             ; SOURCE LINE # 78
                     474     ; {
                     475                             ; SOURCE LINE # 79
                     476     ;       
                     477     ;   /*µç»ú²ÎÊ³õÊ¼»¯*/
                     478     ;       ParameterInit();
                     479                             ; SOURCE LINE # 82
0000 120000   F      480             LCALL   ParameterInit
                     481     ;       
                     482     ;       /*BaseConfig Init*/
                     483     ;       MC.Fault.RestartOCCnt = 0;
                     484                             ; SOURCE LINE # 85
0003 E4              485             CLR     A
0004 900000   F      486             MOV     DPTR,#MC+05EH
0007 F0              487             MOVX    @DPTR,A
                     488     ;       MC.MotorStatus = MOTOR_INIT;    
                     489                             ; SOURCE LINE # 86
0008 900000   F      490             MOV     DPTR,#MC+0AH
000B 04              491             INC     A
000C F0              492             MOVX    @DPTR,A
                     493     ; 
                     494     ;   KeyInit();  
                     495                             ; SOURCE LINE # 88
000D 120000   F      496             LCALL   KeyInit
                     497     ;       IRInit();
                     498                             ; SOURCE LINE # 89
0010 120000   F      499             LCALL   IRInit
                     500     ;   PWMIN_Init(); 
                     501                             ; SOURCE LINE # 90
0013 120000   F      502             LCALL   PWMIN_Init
                     503     ;   BuzzerInit();       
A51 MACRO ASSEMBLER  MAIN                                                                 03/23/2017 09:49:21 PAGE     9

                     504                             ; SOURCE LINE # 91
0016 120000   F      505             LCALL   BuzzerInit
                     506     ;       UARTScanInit();
                     507                             ; SOURCE LINE # 92
0019 120000   F      508             LCALL   UARTScanInit
                     509     ;   LEDControlInit();   
                     510                             ; SOURCE LINE # 93
001C 020000   F      511             LJMP    LEDControlInit
                     512     ; END OF SoftwareInit
                     513     
                     514     ; }
                     515     ; 
                     516     ; /*---------------------------------------------------------------------------------------
                             ----------
                     517     ;       Function Name : void HardwareInit(void)
                     518     ;       Description   : Ó²¼þ³õÊ¼»¯£¬³õÊ¼»¯ÐèÒªÊ¹ÓÃµÄÓ²¼þÉè±¸ÅäÖÃ
                     519     ;       Input         : ÎÞ
                     520     ;   Output                              :       ÎÞ
                     521     ; -----------------------------------------------------------------------------------------
                             --------*/
                     522     ; void HardwareInit(void)
                     523     
----                 524             RSEG  ?PR?HardwareInit?MAIN
0000                 525     HardwareInit:
                     526             USING   0
                     527                             ; SOURCE LINE # 102
                     528     ; {
                     529                             ; SOURCE LINE # 103
                     530     ;       /*¹¦ÄÜIO³õÊ¼»¯*/
                     531     ;       GPIOInit();     
                     532                             ; SOURCE LINE # 105
0000 120000   F      533             LCALL   GPIOInit
                     534     ; 
                     535     ;   /*UART³õÊ¼»¯*/
                     536     ; //  UARTInit();
                     537     ;       
                     538     ;       /*SPI³õÊ¼»¯*/   
                     539     ;       SPIInit();              
                     540                             ; SOURCE LINE # 111
0003 120000   F      541             LCALL   SPIInit
                     542     ;               
                     543     ;       /*±È½ÏÆ÷³õÊ¼»¯*/
                     544     ;       CMPIint();      
                     545                             ; SOURCE LINE # 114
0006 120000   F      546             LCALL   CMPIint
                     547     ;       
                     548     ;       /*ÔËËã·Å´óÆ÷³õÊ¼»¯*/
                     549     ;       AMPIint();
                     550                             ; SOURCE LINE # 117
0009 120000   F      551             LCALL   AMPIint
                     552     ;       
                     553     ;       /*MDU³õÊ¼»¯*/
                     554     ;   MDUInit();  
                     555                             ; SOURCE LINE # 120
000C 120000   F      556             LCALL   MDUInit
                     557     ;   
                     558     ;       /*ADC³õÊ¼»¯*/
                     559     ;       ADCInit();      
                     560                             ; SOURCE LINE # 123
000F 120000   F      561             LCALL   ADCInit
                     562     ;       
                     563     ;       /*SinCos³õÊ¼»¯*/
                     564     ;       SinCosInit();
                     565                             ; SOURCE LINE # 126
0012 120000   F      566             LCALL   SinCosInit
                     567     ;       
A51 MACRO ASSEMBLER  MAIN                                                                 03/23/2017 09:49:21 PAGE    10

                     568     ;       /*Driver³õÊ¼»¯*/
                     569     ;       DriverInit();
                     570                             ; SOURCE LINE # 129
0015 120000   F      571             LCALL   DriverInit
                     572     ;       
                     573     ;       /*Timer³õÊ¼»¯*/
                     574     ;       TIM0Init();
                     575                             ; SOURCE LINE # 132
0018 120000   F      576             LCALL   TIM0Init
                     577     ;       TIM3Init();
                     578                             ; SOURCE LINE # 133
001B 120000   F      579             LCALL   TIM3Init
                     580     ;       TIM4Init();
                     581                             ; SOURCE LINE # 134
001E 120000   F      582             LCALL   TIM4Init
                     583     ; 
                     584     ;       /*Interrupt³õÊ¼»¯*/
                     585     ;       InterruptInit();
                     586                             ; SOURCE LINE # 137
0021 020000   F      587             LJMP    InterruptInit
                     588     ; END OF HardwareInit
                     589     
                     590             END
A51 MACRO ASSEMBLER  MAIN                                                                 03/23/2017 09:49:21 PAGE    11

SYMBOL TABLE LISTING
------ ----- -------


N A M E                T Y P E  V A L U E   ATTRIBUTES

?C0001. . . . . . . .  C ADDR   000AH   R   SEG=?PR?MAIN?MAIN
?C0002. . . . . . . .  C ADDR   0047H   R   SEG=?PR?MAIN?MAIN
?C0004. . . . . . . .  C ADDR   0050H   R   SEG=?PR?MAIN?MAIN
?C?LSTKXDATA. . . . .  C ADDR   -----       EXT
?C?LSTXDATA . . . . .  C ADDR   -----       EXT
?C?ULCMP. . . . . . .  C ADDR   -----       EXT
?C_STARTUP. . . . . .  C ADDR   -----       EXT
?MAIN?BYTE. . . . . .  X ADDR   0000H   R   SEG=?XD?MAIN?MAIN
?PR?HARDWAREINIT?MAIN  C SEG    0024H       REL=UNIT
?PR?MAIN?MAIN . . . .  C SEG    005CH       REL=UNIT
?PR?SOFTWAREINIT?MAIN  C SEG    001FH       REL=UNIT
?XD?MAIN?MAIN . . . .  X SEG    0004H       REL=UNIT
AC. . . . . . . . . .  B ADDR   00D0H.6 A   
ACC . . . . . . . . .  D ADDR   00E0H   A   
ADCINIT . . . . . . .  C ADDR   -----       EXT
AMPIINT . . . . . . .  C ADDR   -----       EXT
B . . . . . . . . . .  D ADDR   00F0H   A   
BUZZERINIT. . . . . .  C ADDR   -----       EXT
CMPIINT . . . . . . .  C ADDR   -----       EXT
CMP_CR0 . . . . . . .  D ADDR   00D5H   A   
CMP_CR1 . . . . . . .  D ADDR   00D6H   A   
CMP_CR2 . . . . . . .  D ADDR   00DAH   A   
CMP_SR. . . . . . . .  D ADDR   00D7H   A   
CY. . . . . . . . . .  B ADDR   00D0H.7 A   
DP. . . . . . . . . .  D ADDR   0082H   A   
DPH . . . . . . . . .  D ADDR   0083H   A   
DPL . . . . . . . . .  D ADDR   0082H   A   
DRIVERINIT. . . . . .  C ADDR   -----       EXT
DRV_OUT . . . . . . .  D ADDR   00F8H   A   
EA. . . . . . . . . .  B ADDR   00A8H.7 A   
ES0 . . . . . . . . .  B ADDR   00A8H.4 A   
EVT_FILT. . . . . . .  D ADDR   00D9H   A   
EX0 . . . . . . . . .  B ADDR   00A8H.0 A   
EX1 . . . . . . . . .  B ADDR   00A8H.2 A   
F0. . . . . . . . . .  B ADDR   00D0H.5 A   
F1. . . . . . . . . .  B ADDR   00D0H.1 A   
FLKEY . . . . . . . .  D ADDR   0084H   A   
FOCEN . . . . . . . .  B ADDR   00E8H.7 A   
FOC_SET0. . . . . . .  D ADDR   00E8H   A   
FOC_SET1. . . . . . .  D ADDR   00E9H   A   
GP00. . . . . . . . .  B ADDR   0080H.0 A   
GP01. . . . . . . . .  B ADDR   0080H.1 A   
GP02. . . . . . . . .  B ADDR   0080H.2 A   
GP03. . . . . . . . .  B ADDR   0080H.3 A   
GP04. . . . . . . . .  B ADDR   0080H.4 A   
GP05. . . . . . . . .  B ADDR   0080H.5 A   
GP06. . . . . . . . .  B ADDR   0080H.6 A   
GP07. . . . . . . . .  B ADDR   0080H.7 A   
GP10. . . . . . . . .  B ADDR   0090H.0 A   
GP11. . . . . . . . .  B ADDR   0090H.1 A   
GP12. . . . . . . . .  B ADDR   0090H.2 A   
GP13. . . . . . . . .  B ADDR   0090H.3 A   
GP14. . . . . . . . .  B ADDR   0090H.4 A   
GP15. . . . . . . . .  B ADDR   0090H.5 A   
GP16. . . . . . . . .  B ADDR   0090H.6 A   
GP17. . . . . . . . .  B ADDR   0090H.7 A   
GP20. . . . . . . . .  B ADDR   00A0H.0 A   
GP21. . . . . . . . .  B ADDR   00A0H.1 A   
GP22. . . . . . . . .  B ADDR   00A0H.2 A   
GP23. . . . . . . . .  B ADDR   00A0H.3 A   
A51 MACRO ASSEMBLER  MAIN                                                                 03/23/2017 09:49:21 PAGE    12

GP24. . . . . . . . .  B ADDR   00A0H.4 A   
GP25. . . . . . . . .  B ADDR   00A0H.5 A   
GP26. . . . . . . . .  B ADDR   00A0H.6 A   
GP27. . . . . . . . .  B ADDR   00A0H.7 A   
GP30. . . . . . . . .  B ADDR   00B0H.0 A   
GP31. . . . . . . . .  B ADDR   00B0H.1 A   
GP32. . . . . . . . .  B ADDR   00B0H.2 A   
GP33. . . . . . . . .  B ADDR   00B0H.3 A   
GP34. . . . . . . . .  B ADDR   00B0H.4 A   
GP35. . . . . . . . .  B ADDR   00B0H.5 A   
GP36. . . . . . . . .  B ADDR   00B0H.6 A   
GP37. . . . . . . . .  B ADDR   00B0H.7 A   
GPIOINIT. . . . . . .  C ADDR   -----       EXT
HARDWAREINIT. . . . .  C ADDR   0000H   R   SEG=?PR?HARDWAREINIT?MAIN
IE. . . . . . . . . .  D ADDR   00A8H   A   
IF0 . . . . . . . . .  B ADDR   0088H.2 A   
INTERRUPTINIT . . . .  C ADDR   -----       EXT
IP0 . . . . . . . . .  D ADDR   00B8H   A   
IP1 . . . . . . . . .  D ADDR   00C0H   A   
IP2 . . . . . . . . .  D ADDR   00C8H   A   
IP3 . . . . . . . . .  D ADDR   00D8H   A   
IRINIT. . . . . . . .  C ADDR   -----       EXT
IT00. . . . . . . . .  B ADDR   0088H.0 A   
IT01. . . . . . . . .  B ADDR   0088H.1 A   
IT10. . . . . . . . .  B ADDR   0088H.3 A   
IT11. . . . . . . . .  B ADDR   0088H.4 A   
KEYINIT . . . . . . .  C ADDR   -----       EXT
LEDCONTROLINIT. . . .  C ADDR   -----       EXT
LPF_K . . . . . . . .  D ADDR   00DCH   A   
LPF_KH. . . . . . . .  D ADDR   00DDH   A   
LPF_KL. . . . . . . .  D ADDR   00DCH   A   
LPF_X . . . . . . . .  D ADDR   00DEH   A   
LPF_XH. . . . . . . .  D ADDR   00DFH   A   
LPF_XL. . . . . . . .  D ADDR   00DEH   A   
LPF_Y . . . . . . . .  D ADDR   00E6H   A   
LPF_YH. . . . . . . .  D ADDR   00E7H   A   
LPF_YL. . . . . . . .  D ADDR   00E6H   A   
LVSR. . . . . . . . .  D ADDR   00DBH   A   
MAIN. . . . . . . . .  C ADDR   0000H   R   SEG=?PR?MAIN?MAIN
MC. . . . . . . . . .  X ADDR   -----       EXT
MCDIE . . . . . . . .  B ADDR   00A8H.5 A   
MCDIF . . . . . . . .  B ADDR   0088H.6 A   
MDUINIT . . . . . . .  C ADDR   -----       EXT
MD_DA0. . . . . . . .  D ADDR   00C4H   A   
MD_DA1. . . . . . . .  D ADDR   00C5H   A   
MD_DA2. . . . . . . .  D ADDR   00C6H   A   
MD_DA3. . . . . . . .  D ADDR   00C7H   A   
MD_DAH. . . . . . . .  D ADDR   00C6H   A   
MD_DAL. . . . . . . .  D ADDR   00C4H   A   
MD_DB0. . . . . . . .  D ADDR   00CCH   A   
MD_DB1. . . . . . . .  D ADDR   00CDH   A   
MD_DB2. . . . . . . .  D ADDR   00CEH   A   
MD_DB3. . . . . . . .  D ADDR   00CFH   A   
MD_DBH. . . . . . . .  D ADDR   00CEH   A   
MD_DBL. . . . . . . .  D ADDR   00CCH   A   
MD_MA . . . . . . . .  D ADDR   00C2H   A   
MD_MAH. . . . . . . .  D ADDR   00C3H   A   
MD_MAL. . . . . . . .  D ADDR   00C2H   A   
MD_MB . . . . . . . .  D ADDR   00CAH   A   
MD_MBH. . . . . . . .  D ADDR   00CBH   A   
MD_MBL. . . . . . . .  D ADDR   00CAH   A   
MD_MODE . . . . . . .  D ADDR   00C1H   A   
MOD0. . . . . . . . .  B ADDR   0098H.6 A   
MOD1. . . . . . . . .  B ADDR   0098H.7 A   
MOE . . . . . . . . .  B ADDR   00F8H.7 A   
MOTORMAIN . . . . . .  C ADDR   -----       EXT
A51 MACRO ASSEMBLER  MAIN                                                                 03/23/2017 09:49:21 PAGE    13

OIS4. . . . . . . . .  B ADDR   00F8H.6 A   
OISUH . . . . . . . .  B ADDR   00F8H.0 A   
OISUL . . . . . . . .  B ADDR   00F8H.1 A   
OISVH . . . . . . . .  B ADDR   00F8H.2 A   
OISVL . . . . . . . .  B ADDR   00F8H.3 A   
OISWH . . . . . . . .  B ADDR   00F8H.4 A   
OISWL . . . . . . . .  B ADDR   00F8H.5 A   
OSC_CFG . . . . . . .  D ADDR   00F1H   A   
OV. . . . . . . . . .  B ADDR   00D0H.2 A   
P . . . . . . . . . .  B ADDR   00D0H.0 A   
P0. . . . . . . . . .  D ADDR   0080H   A   
P0_OE . . . . . . . .  D ADDR   00FCH   A   
P1. . . . . . . . . .  D ADDR   0090H   A   
P1IE. . . . . . . . .  D ADDR   00D1H   A   
P1IF. . . . . . . . .  D ADDR   00D2H   A   
P1_OE . . . . . . . .  D ADDR   00FDH   A   
P2. . . . . . . . . .  D ADDR   00A0H   A   
P2IE. . . . . . . . .  D ADDR   00D3H   A   
P2IF. . . . . . . . .  D ADDR   00D4H   A   
P2_OE . . . . . . . .  D ADDR   00FEH   A   
P3. . . . . . . . . .  D ADDR   00B0H   A   
P3_OE . . . . . . . .  D ADDR   00FFH   A   
PADC0 . . . . . . . .  B ADDR   00C0H.4 A   
PADC1 . . . . . . . .  B ADDR   00C0H.5 A   
PARAMETERINIT . . . .  C ADDR   -----       EXT
PCMP0 . . . . . . . .  B ADDR   00C0H.6 A   
PCMP1 . . . . . . . .  B ADDR   00C0H.7 A   
PCON. . . . . . . . .  D ADDR   0087H   A   
PFOC0 . . . . . . . .  B ADDR   00B8H.6 A   
PFOC1 . . . . . . . .  B ADDR   00B8H.7 A   
PI2C0 . . . . . . . .  B ADDR   00D8H.2 A   
PI2C1 . . . . . . . .  B ADDR   00D8H.3 A   
PI_EK . . . . . . . .  D ADDR   00EAH   A   
PI_EKH. . . . . . . .  D ADDR   00EBH   A   
PI_EKL. . . . . . . .  D ADDR   00EAH   A   
PI_KI . . . . . . . .  D ADDR   00F2H   A   
PI_KIH. . . . . . . .  D ADDR   00F3H   A   
PI_KIL. . . . . . . .  D ADDR   00F2H   A   
PI_KP . . . . . . . .  D ADDR   00EEH   A   
PI_KPH. . . . . . . .  D ADDR   00EFH   A   
PI_KPL. . . . . . . .  D ADDR   00EEH   A   
PI_UK . . . . . . . .  D ADDR   00ECH   A   
PI_UKH. . . . . . . .  D ADDR   00EDH   A   
PI_UKL. . . . . . . .  D ADDR   00ECH   A   
PI_UKMAX. . . . . . .  D ADDR   00F4H   A   
PI_UKMAXH . . . . . .  D ADDR   00F5H   A   
PI_UKMAXL . . . . . .  D ADDR   00F4H   A   
PI_UKMIN. . . . . . .  D ADDR   00F6H   A   
PI_UKMINH . . . . . .  D ADDR   00F7H   A   
PI_UKMINL . . . . . .  D ADDR   00F6H   A   
PLVW0 . . . . . . . .  B ADDR   00B8H.0 A   
PLVW1 . . . . . . . .  B ADDR   00B8H.1 A   
PL_CR . . . . . . . .  D ADDR   00F9H   A   
PMCD0 . . . . . . . .  B ADDR   00D8H.6 A   
PMCD1 . . . . . . . .  B ADDR   00D8H.7 A   
POWERUPCNT?040. . . .  X ADDR   0000H   R   SEG=?XD?MAIN?MAIN
PRTC0 . . . . . . . .  B ADDR   00C8H.0 A   
PRTC1 . . . . . . . .  B ADDR   00C8H.1 A   
PSCTL . . . . . . . .  D ADDR   0085H   A   
PSPI0 . . . . . . . .  B ADDR   00D8H.4 A   
PSPI1 . . . . . . . .  B ADDR   00D8H.5 A   
PSW . . . . . . . . .  D ADDR   00D0H   A   
PTIM00. . . . . . . .  B ADDR   00C0H.0 A   
PTIM01. . . . . . . .  B ADDR   00C0H.1 A   
PTIM10. . . . . . . .  B ADDR   00C0H.2 A   
PTIM11. . . . . . . .  B ADDR   00C0H.3 A   
A51 MACRO ASSEMBLER  MAIN                                                                 03/23/2017 09:49:21 PAGE    14

PTIM230 . . . . . . .  B ADDR   00C8H.2 A   
PTIM231 . . . . . . .  B ADDR   00C8H.3 A   
PTIM450 . . . . . . .  B ADDR   00C8H.4 A   
PTIM451 . . . . . . .  B ADDR   00C8H.5 A   
PTSD0 . . . . . . . .  B ADDR   00C8H.6 A   
PTSD1 . . . . . . . .  B ADDR   00C8H.7 A   
PUART0. . . . . . . .  B ADDR   00D8H.0 A   
PUART1. . . . . . . .  B ADDR   00D8H.1 A   
PWMIN_INIT. . . . . .  C ADDR   -----       EXT
PX00. . . . . . . . .  B ADDR   00B8H.2 A   
PX01. . . . . . . . .  B ADDR   00B8H.3 A   
PX10. . . . . . . . .  B ADDR   00B8H.4 A   
PX11. . . . . . . . .  B ADDR   00B8H.5 A   
RB8 . . . . . . . . .  B ADDR   0098H.2 A   
REN . . . . . . . . .  B ADDR   0098H.4 A   
RI. . . . . . . . . .  B ADDR   0098H.0 A   
RS0 . . . . . . . . .  B ADDR   00D0H.3 A   
RS1 . . . . . . . . .  B ADDR   00D0H.4 A   
RSTSRC. . . . . . . .  D ADDR   00C9H   A   
RTCIE . . . . . . . .  B ADDR   00A8H.6 A   
SINCOSINIT. . . . . .  C ADDR   -----       EXT
SM2 . . . . . . . . .  B ADDR   0098H.5 A   
SOFTWAREINIT. . . . .  C ADDR   0000H   R   SEG=?PR?SOFTWAREINIT?MAIN
SP. . . . . . . . . .  D ADDR   0081H   A   
SPIIE . . . . . . . .  B ADDR   00A8H.3 A   
SPIINIT . . . . . . .  C ADDR   -----       EXT
SV_ANGLE. . . . . . .  D ADDR   00E4H   A   
SV_ANGLEH . . . . . .  D ADDR   00E5H   A   
SV_ANGLEL . . . . . .  D ADDR   00E4H   A   
SV_CR . . . . . . . .  D ADDR   00E1H   A   
SV_US . . . . . . . .  D ADDR   00E2H   A   
SV_USH. . . . . . . .  D ADDR   00E3H   A   
SV_USL. . . . . . . .  D ADDR   00E2H   A   
SYSTEMINIT. . . . . .  C ADDR   -----       EXT
TB8 . . . . . . . . .  B ADDR   0098H.3 A   
TCON. . . . . . . . .  D ADDR   0088H   A   
TI. . . . . . . . . .  B ADDR   0098H.1 A   
TIM0INIT. . . . . . .  C ADDR   -----       EXT
TIM0_CCR1 . . . . . .  D ADDR   00B6H   A   
TIM0_CCR1H. . . . . .  D ADDR   00B7H   A   
TIM0_CCR1L. . . . . .  D ADDR   00B6H   A   
TIM0_CCR2 . . . . . .  D ADDR   00BAH   A   
TIM0_CCR2H. . . . . .  D ADDR   00BBH   A   
TIM0_CCR2L. . . . . .  D ADDR   00BAH   A   
TIM0_CCR3 . . . . . .  D ADDR   00BCH   A   
TIM0_CCR3H. . . . . .  D ADDR   00BDH   A   
TIM0_CCR3L. . . . . .  D ADDR   00BCH   A   
TIM0_CCR4 . . . . . .  D ADDR   00BEH   A   
TIM0_CCR4H. . . . . .  D ADDR   00BFH   A   
TIM0_CCR4L. . . . . .  D ADDR   00BEH   A   
TIM0_IER. . . . . . .  D ADDR   00B9H   A   
TIM0_SR1. . . . . . .  D ADDR   00B1H   A   
TIM2_ADTR . . . . . .  D ADDR   00B4H   A   
TIM2_ADTRH. . . . . .  D ADDR   00B5H   A   
TIM2_ADTRL. . . . . .  D ADDR   00B4H   A   
TIM2_ARR. . . . . . .  D ADDR   00AEH   A   
TIM2_ARRH . . . . . .  D ADDR   00AFH   A   
TIM2_ARRL . . . . . .  D ADDR   00AEH   A   
TIM2_CMTR . . . . . .  D ADDR   00B2H   A   
TIM2_CMTRH. . . . . .  D ADDR   00B3H   A   
TIM2_CMTRL. . . . . .  D ADDR   00B2H   A   
TIM2_CNTR . . . . . .  D ADDR   00AAH   A   
TIM2_CNTRH. . . . . .  D ADDR   00ABH   A   
TIM2_CNTRL. . . . . .  D ADDR   00AAH   A   
TIM2_CR0. . . . . . .  D ADDR   00A1H   A   
TIM2_CR1. . . . . . .  D ADDR   00A9H   A   
A51 MACRO ASSEMBLER  MAIN                                                                 03/23/2017 09:49:21 PAGE    15

TIM2_DR . . . . . . .  D ADDR   00ACH   A   
TIM2_DRH. . . . . . .  D ADDR   00ADH   A   
TIM2_DRL. . . . . . .  D ADDR   00ACH   A   
TIM3INIT. . . . . . .  C ADDR   -----       EXT
TIM3_ARR. . . . . . .  D ADDR   00A6H   A   
TIM3_ARRH . . . . . .  D ADDR   00A7H   A   
TIM3_ARRL . . . . . .  D ADDR   00A6H   A   
TIM3_CNTR . . . . . .  D ADDR   00A2H   A   
TIM3_CNTRH. . . . . .  D ADDR   00A3H   A   
TIM3_CNTRL. . . . . .  D ADDR   00A2H   A   
TIM3_CR0. . . . . . .  D ADDR   009CH   A   
TIM3_CR1. . . . . . .  D ADDR   009DH   A   
TIM3_DR . . . . . . .  D ADDR   00A4H   A   
TIM3_DRH. . . . . . .  D ADDR   00A5H   A   
TIM3_DRL. . . . . . .  D ADDR   00A4H   A   
TIM4INIT. . . . . . .  C ADDR   -----       EXT
TIM4_ARR. . . . . . .  D ADDR   0096H   A   
TIM4_ARRH . . . . . .  D ADDR   0097H   A   
TIM4_ARRL . . . . . .  D ADDR   0096H   A   
TIM4_CNTR . . . . . .  D ADDR   0092H   A   
TIM4_CNTRH. . . . . .  D ADDR   0093H   A   
TIM4_CNTRL. . . . . .  D ADDR   0092H   A   
TIM4_CR0. . . . . . .  D ADDR   009EH   A   
TIM4_CR1. . . . . . .  D ADDR   009FH   A   
TIM4_DR . . . . . . .  D ADDR   0094H   A   
TIM4_DRH. . . . . . .  D ADDR   0095H   A   
TIM4_DRL. . . . . . .  D ADDR   0094H   A   
TIM5_ARR. . . . . . .  D ADDR   008EH   A   
TIM5_ARRH . . . . . .  D ADDR   008FH   A   
TIM5_ARRL . . . . . .  D ADDR   008EH   A   
TIM5_CNTR . . . . . .  D ADDR   008AH   A   
TIM5_CNTRH. . . . . .  D ADDR   008BH   A   
TIM5_CNTRL. . . . . .  D ADDR   008AH   A   
TIM5_CR0. . . . . . .  D ADDR   0089H   A   
TIM5_CR1. . . . . . .  D ADDR   0091H   A   
TIM5_DR . . . . . . .  D ADDR   008CH   A   
TIM5_DRH. . . . . . .  D ADDR   008DH   A   
TIM5_DRL. . . . . . .  D ADDR   008CH   A   
TSDIE . . . . . . . .  B ADDR   00A8H.1 A   
TSDIF . . . . . . . .  B ADDR   0088H.5 A   
UARTSCANINIT. . . . .  C ADDR   -----       EXT
UT_BAUD . . . . . . .  D ADDR   009AH   A   
UT_BAUDH. . . . . . .  D ADDR   009BH   A   
UT_BAUDL. . . . . . .  D ADDR   009AH   A   
UT_CR . . . . . . . .  D ADDR   0098H   A   
UT_DR . . . . . . . .  D ADDR   0099H   A   
WATCHDOGREFRESH . . .  C ADDR   -----       EXT


REGISTER BANK(S) USED: 0 


ASSEMBLY COMPLETE.  0 WARNING(S), 0 ERROR(S)
