;The Num of Instruction(Size):220. The Max Address(Begin with 0):220 

                MCU  ES7P169C

A    equ    0
R    equ    1
HRAM_0X0  equ  0X0
HRAM_0X1  equ  0X1
HRAM_0X2  equ  0X2
HRAM_0X3  equ  0X3
HRAM_0X4  equ  0X4
HRAM_0X5  equ  0X5
HRAM_0X6  equ  0X6
HRAM_0X7  equ  0X7
HRAM_0X8  equ  0X8
HRAM_0X81  equ  0X81
HRAM_0X82  equ  0X82
HRAM_0X83  equ  0X83
HRAM_0X84  equ  0X84
HRAM_0X87  equ  0X87
HRAM_0X88  equ  0X88
HRAM_0X89  equ  0X89
HRAM_0X9  equ  0X9
HRAM_0X9D  equ  0X9d
HRAM_0X9E  equ  0X9e
HRAM_0XA  equ  0Xa
HRAM_0XE9  equ  0Xe9
HRAM_0XEE  equ  0Xee
HRAM_0XEF  equ  0Xef
HRAM_0XF0  equ  0Xf0
HRAM_0XF1  equ  0Xf1
HRAM_0XF2  equ  0Xf2
HRAM_0XF3  equ  0Xf3
HRAM_0XF4  equ  0Xf4
HRAM_0XF5  equ  0Xf5
HRAM_0XF6  equ  0Xf6

                ORG             0X00
HADR_0X0:
:0X0  c79bf000                  AJMP            HADR_0X9B
                                ORG             0X2
:0X2  6800                      GOTO            HADR_0X0
                                ORG             0X4
:0X4  c180                      PUSH
:0X5  e787                      CLR             HRAM_0X87
:0X6  e783                      CLR             HRAM_0X83
:0X7  5081                      MOV             HRAM_0X81,      A
:0X8  e600                      MOVA            (SAVED_FSR)&7f                        ;(SAVED_FSR)&7f: Bank 0    Addr: 0    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
:0X9  5082                      MOV             HRAM_0X82,      A
:0Xa  e601                      MOVA            (SAVED_FSR+1)&7f                      ;(SAVED_FSR+1)&7f: Bank 0    Addr: 1    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
:0Xb  500f                      MOV             (CSEG_PTR)&7f,  A                     ;(CSEG_PTR)&7f: Bank 0    Addr: 15     
:0Xc  e611                      MOVA            (CSEG_PTR+2)&7f                       ;(CSEG_PTR+2)&7f: Bank 0    Addr: 17     
:0Xd  5010                      MOV             (CSEG_PTR+1)&7f,                A     ;(CSEG_PTR+1)&7f: Bank 0    Addr: 16     
:0Xe  e612                      MOVA            (CSEG_PTR+3)&7f                       ;(CSEG_PTR+3)&7f: Bank 0    Addr: 18     
:0Xf  500b                      MOV             (MUL_TEMP)&7f,  A                     ;(MUL_TEMP)&7f: Bank 0    Addr: 11     
:0X10  e60d                     MOVA            (MUL_TEMP+2)&7f                      ;(MUL_TEMP+2)&7f: Bank 0    Addr: 13     
:0X11  500c                     MOV             (MUL_TEMP+1)&7f,                A    ;(MUL_TEMP+1)&7f: Bank 0    Addr: 12     
:0X12  e60e                     MOVA            (MUL_TEMP+3)&7f                      ;(MUL_TEMP+3)&7f: Bank 0    Addr: 14     
:0X13  5007                     MOV             HRAM_0X7,       A
:0X14  e603                     MOVA            HRAM_0X3
:0X15  5008                     MOV             HRAM_0X8,       A
:0X16  e604                     MOVA            HRAM_0X4
:0X17  5009                     MOV             HRAM_0X9,       A
:0X18  e605                     MOVA            HRAM_0X5
:0X19  500a                     MOV             HRAM_0XA,       A
:0X1a  e606                     MOVA            HRAM_0X6
;
;/*******************************************************
;函数名：void isr(void) interrupt
;描  述：中断服务程序
;输入值：无
;输出值：无
;返回值：无
;*******************************************************/
;void isr(void) interrupt
;{
;    if (T21MIE0==1 && T21MIF0==1)        //定时器捕捉0中断，上升沿捕捉
:0X1b  e500                     MOVI            0X0
:0X1c  9c9d                     JBC             HRAM_0X9D,      4
:0X1d  e501                     MOVI            0X1
:0X1e  ea01                     SECTION         0X1
:0X1f  e600                     MOVA            HRAM_0X0
:0X20  5000                     MOV             HRAM_0X0,       A
:0X21  e301                     XORI            0X1
:0X22  9284                     JBS             HRAM_0X84,      2
:0X23  683d                     GOTO            HADR_0X3D
:0X24  e500                     MOVI            0X0
:0X25  9c9e                     JBC             HRAM_0X9E,      4
:0X26  e501                     MOVI            0X1
:0X27  e600                     MOVA            HRAM_0X0
:0X28  5000                     MOV             HRAM_0X0,       A
:0X29  e301                     XORI            0X1
:0X2a  9284                     JBS             HRAM_0X84,      2
:0X2b  683d                     GOTO            HADR_0X3D
;    { 
;        T21MIF0 = 0;        //清标志位
:0X2c  ac9e                     BCC             (_T21MIF0_0)>>3,                4    ;(_T21MIF0_0)>>3: Bank 511    Addr: 65438    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;        capvalue0 = T21R0H;               //保存捕捉寄存器的值
:0X2d  e706                     CLR             (_capvalue0+1)&7f                    ;(_capvalue0+1)&7f: Bank 0    Addr: 6     
:0X2e  50ef                     MOV             HRAM_0XEF,      A
:0X2f  e605                     MOVA            (_capvalue0)&7f                      ;(_capvalue0)&7f: Bank 0    Addr: 5     
;        capvalue0 = (capvalue0<<8) | T21R0L;
:0X30  5005                     MOV             (_capvalue0)&7f,                A    ;(_capvalue0)&7f: Bank 0    Addr: 5     
:0X31  e601                     MOVA            HRAM_0X1
:0X32  e700                     CLR             HRAM_0X0
:0X33  e703                     CLR             HRAM_0X3
:0X34  50ee                     MOV             HRAM_0XEE,      A
:0X35  e602                     MOVA            HRAM_0X2
:0X36  5002                     MOV             HRAM_0X2,       A
:0X37  5800                     IOR             HRAM_0X0,       A
:0X38  e605                     MOVA            (_capvalue0)&7f                      ;(_capvalue0)&7f: Bank 0    Addr: 5     
:0X39  5003                     MOV             HRAM_0X3,       A
:0X3a  5801                     IOR             HRAM_0X1,       A
:0X3b  e606                     MOVA            (_capvalue0+1)&7f                    ;(_capvalue0+1)&7f: Bank 0    Addr: 6     
;        PA1 = ~PA1;
:0X3c  29a8                     BTT             (_PA1_0)>>3,    1                    ;(_PA1_0)>>3: Bank 511    Addr: 65448    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
HADR_0X3D:
;    }
:0X3d  e500                     MOVI            0X0
:0X3e  9d9d                     JBC             HRAM_0X9D,      5
:0X3f  e501                     MOVI            0X1
:0X40  e600                     MOVA            HRAM_0X0
:0X41  5000                     MOV             HRAM_0X0,       A
:0X42  e301                     XORI            0X1
:0X43  9284                     JBS             HRAM_0X84,      2
:0X44  685e                     GOTO            HADR_0X5E
:0X45  e500                     MOVI            0X0
:0X46  9d9e                     JBC             HRAM_0X9E,      5
:0X47  e501                     MOVI            0X1
:0X48  e600                     MOVA            HRAM_0X0
:0X49  5000                     MOV             HRAM_0X0,       A
:0X4a  e301                     XORI            0X1
:0X4b  9284                     JBS             HRAM_0X84,      2
:0X4c  685e                     GOTO            HADR_0X5E
;    {       
;        T21MIF1 = 0;        //清标志位
:0X4d  ad9e                     BCC             (_T21MIF1_0)>>3,                5    ;(_T21MIF1_0)>>3: Bank 511    Addr: 65438    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;        capvalue1 = T21R1H;               //保存捕捉寄存器的值
:0X4e  e708                     CLR             (_capvalue1+1)&7f                    ;(_capvalue1+1)&7f: Bank 0    Addr: 8     
:0X4f  50f4                     MOV             HRAM_0XF4,      A
:0X50  e607                     MOVA            (_capvalue1)&7f                      ;(_capvalue1)&7f: Bank 0    Addr: 7     
;        capvalue1 = (capvalue1<<8) | T21R1L;
:0X51  5007                     MOV             (_capvalue1)&7f,                A    ;(_capvalue1)&7f: Bank 0    Addr: 7     
:0X52  e601                     MOVA            HRAM_0X1
:0X53  e700                     CLR             HRAM_0X0
:0X54  e703                     CLR             HRAM_0X3
:0X55  50f3                     MOV             HRAM_0XF3,      A
:0X56  e602                     MOVA            HRAM_0X2
:0X57  5002                     MOV             HRAM_0X2,       A
:0X58  5800                     IOR             HRAM_0X0,       A
:0X59  e607                     MOVA            (_capvalue1)&7f                      ;(_capvalue1)&7f: Bank 0    Addr: 7     
:0X5a  5003                     MOV             HRAM_0X3,       A
:0X5b  5801                     IOR             HRAM_0X1,       A
:0X5c  e608                     MOVA            (_capvalue1+1)&7f                    ;(_capvalue1+1)&7f: Bank 0    Addr: 8     
;        PA6 = ~PA6;
:0X5d  2ea8                     BTT             (_PA6_0)>>3,    6                    ;(_PA6_0)>>3: Bank 511    Addr: 65448    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
HADR_0X5E:
;    }
:0X5e  e500                     MOVI            0X0
:0X5f  9f9d                     JBC             HRAM_0X9D,      7
:0X60  e501                     MOVI            0X1
:0X61  e600                     MOVA            HRAM_0X0
:0X62  5000                     MOV             HRAM_0X0,       A
:0X63  e301                     XORI            0X1
:0X64  9284                     JBS             HRAM_0X84,      2
:0X65  687f                     GOTO            HADR_0X7F
:0X66  e500                     MOVI            0X0
:0X67  9f9e                     JBC             HRAM_0X9E,      7
:0X68  e501                     MOVI            0X1
:0X69  e600                     MOVA            HRAM_0X0
:0X6a  5000                     MOV             HRAM_0X0,       A
:0X6b  e301                     XORI            0X1
:0X6c  9284                     JBS             HRAM_0X84,      2
:0X6d  687f                     GOTO            HADR_0X7F
;    {    
;        T21MIF2 = 0;        //清标志位
:0X6e  af9e                     BCC             (_T21MIF2_0)>>3,                7    ;(_T21MIF2_0)>>3: Bank 511    Addr: 65438    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;        capvalue2 = T21R2H;               //保存捕捉寄存器的值
:0X6f  e70a                     CLR             (_capvalue2+1)&7f                    ;(_capvalue2+1)&7f: Bank 0    Addr: 10     
:0X70  50f6                     MOV             HRAM_0XF6,      A
:0X71  e609                     MOVA            (_capvalue2)&7f                      ;(_capvalue2)&7f: Bank 0    Addr: 9     
;        capvalue2 = (capvalue2<<8) | T21R2L;
:0X72  5009                     MOV             (_capvalue2)&7f,                A    ;(_capvalue2)&7f: Bank 0    Addr: 9     
:0X73  e601                     MOVA            HRAM_0X1
:0X74  e700                     CLR             HRAM_0X0
:0X75  e703                     CLR             HRAM_0X3
:0X76  50f5                     MOV             HRAM_0XF5,      A
:0X77  e602                     MOVA            HRAM_0X2
:0X78  5002                     MOV             HRAM_0X2,       A
:0X79  5800                     IOR             HRAM_0X0,       A
:0X7a  e609                     MOVA            (_capvalue2)&7f                      ;(_capvalue2)&7f: Bank 0    Addr: 9     
:0X7b  5003                     MOV             HRAM_0X3,       A
:0X7c  5801                     IOR             HRAM_0X1,       A
:0X7d  e60a                     MOVA            (_capvalue2+1)&7f                    ;(_capvalue2+1)&7f: Bank 0    Addr: 10     
;        PA3 = ~PA3;
:0X7e  2ba8                     BTT             (_PA3_0)>>3,    3                    ;(_PA3_0)>>3: Bank 511    Addr: 65448    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
HADR_0X7F:
;    }
;}
:0X7f  ea00                     SECTION         0X0
:0X80  6881                     GOTO            HADR_0X81
HADR_0X81:
:0X81  ffff                     NOP
:0X82  ffff                     NOP
:0X83  5003                     MOV             HRAM_0X3,       A
:0X84  e607                     MOVA            HRAM_0X7
:0X85  5004                     MOV             HRAM_0X4,       A
:0X86  e608                     MOVA            HRAM_0X8
:0X87  5005                     MOV             HRAM_0X5,       A
:0X88  e609                     MOVA            HRAM_0X9
:0X89  5006                     MOV             HRAM_0X6,       A
:0X8a  e60a                     MOVA            HRAM_0XA
:0X8b  5012                     MOV             (CSEG_PTR+3)&7f,                A    ;(CSEG_PTR+3)&7f: Bank 0    Addr: 18     
:0X8c  e610                     MOVA            (CSEG_PTR+1)&7f                      ;(CSEG_PTR+1)&7f: Bank 0    Addr: 16     
:0X8d  5011                     MOV             (CSEG_PTR+2)&7f,                A    ;(CSEG_PTR+2)&7f: Bank 0    Addr: 17     
:0X8e  e60f                     MOVA            (CSEG_PTR)&7f                        ;(CSEG_PTR)&7f: Bank 0    Addr: 15     
:0X8f  500d                     MOV             (MUL_TEMP+2)&7f,                A    ;(MUL_TEMP+2)&7f: Bank 0    Addr: 13     
:0X90  e60b                     MOVA            (MUL_TEMP)&7f                        ;(MUL_TEMP)&7f: Bank 0    Addr: 11     
:0X91  e688                     MOVA            HRAM_0X88
:0X92  500e                     MOV             (MUL_TEMP+3)&7f,                A    ;(MUL_TEMP+3)&7f: Bank 0    Addr: 14     
:0X93  e60c                     MOVA            (MUL_TEMP+1)&7f                      ;(MUL_TEMP+1)&7f: Bank 0    Addr: 12     
:0X94  e689                     MOVA            HRAM_0X89
:0X95  5001                     MOV             (SAVED_FSR+1)&7f,               A    ;(SAVED_FSR+1)&7f: Bank 0    Addr: 1    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
:0X96  e682                     MOVA            HRAM_0X82
:0X97  5000                     MOV             (SAVED_FSR)&7f, A                    ;(SAVED_FSR)&7f: Bank 0    Addr: 0    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
:0X98  e681                     MOVA            HRAM_0X81
:0X99  c181                     POP
:0X9a  c189                     RETIE
HADR_0X9B:
;
;/*******************************************************
;函数名：void main(void)
;描  述：主函数，T21_CH0(PA0)和T21_CH1(PA7)输入相同的波形，调试状态下可以直接看到被测波形的周期和占空比
;输入值：无
;输出值：无
;返回值：无
;*******************************************************/
;void main(void) 
;{
;    RAMclear();
:0X9b  e783                     CLR             HRAM_0X83
:0X9c  ec00                     PAGE            (_RAMclear)>>11
:0X9d  60bc                     CALL            HADR_0XBC
:0X9e  ec00                     PAGE            (_0)>>11
;    GPIOInit();
:0X9f  ec00                     PAGE            (_GPIOInit)>>11
:0Xa0  60ce                     CALL            HADR_0XCE
:0Xa1  ec00                     PAGE            (_1)>>11
;    T21CL = 0x46;        //捕捉模式，T21_CH0上升沿捕捉，T21_CH1下降沿捕捉
:0Xa2  e546                     MOVI            0X46
:0Xa3  e6f0                     MOVA            HRAM_0XF0
;    T21CM = 0xCF;        //T21_CH2双沿捕捉，计数器预分频1:16
:0Xa4  e5cf                     MOVI            0XCF
:0Xa5  e6f1                     MOVA            HRAM_0XF1
;    T21OC = 0x25;        //使能T21_CH0(PA0)、T21_CH1(PA7)、T21_CH2(PB7)端口功能
:0Xa6  e525                     MOVI            0X25
:0Xa7  e6e9                     MOVA            HRAM_0XE9
;    T21MIE0 = 1;         //打开T21捕捉0中断
:0Xa8  a49d                     BSS             (_T21MIE0_0)>>3,                4    ;(_T21MIE0_0)>>3: Bank 511    Addr: 65437    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;    T21MIE1 = 1;         //打开T21捕捉1中断
:0Xa9  a59d                     BSS             (_T21MIE1_0)>>3,                5    ;(_T21MIE1_0)>>3: Bank 511    Addr: 65437    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;    T21MIE2 = 1;         //打开T21捕捉2中断
:0Xaa  a79d                     BSS             (_T21MIE2_0)>>3,                7    ;(_T21MIE2_0)>>3: Bank 511    Addr: 65437    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;    T21MIF0 = 0;         //清标志位
:0Xab  ac9e                     BCC             (_T21MIF0_0)>>3,                4    ;(_T21MIF0_0)>>3: Bank 511    Addr: 65438    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;    T21MIF1 = 0;         //清标志位
:0Xac  ad9e                     BCC             (_T21MIF1_0)>>3,                5    ;(_T21MIF1_0)>>3: Bank 511    Addr: 65438    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;    T21MIF2 = 0;         //清标志位
:0Xad  af9e                     BCC             (_T21MIF2_0)>>3,                7    ;(_T21MIF2_0)>>3: Bank 511    Addr: 65438    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;    GIE = 1;             //开全局中断
:0Xae  a796                     BSS             (_GIE_0)>>3,    7                    ;(_GIE_0)>>3: Bank 511    Addr: 65430    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;    T21EN = 1;           //使能T21
:0Xaf  a7f2                     BSS             HRAM_0XF2,      7
HADR_0XB0:
;    while (1)
:0Xb0  e500                     MOVI            0X0
:0Xb1  9a9e                     JBC             HRAM_0X9E,      2
:0Xb2  e501                     MOVI            0X1
:0Xb3  ea01                     SECTION         0X1
:0Xb4  e604                     MOVA            HRAM_0X4
:0Xb5  5004                     MOV             HRAM_0X4,       A
:0Xb6  e301                     XORI            0X1
:0Xb7  9284                     JBS             HRAM_0X84,      2
:0Xb8  68ba                     GOTO            HADR_0XBA
;        {
;            T21VIF = 0;
:0Xb9  aa9e                     BCC             (_T21VIF_0)>>3, 2                    ;(_T21VIF_0)>>3: Bank 511    Addr: 65438    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
HADR_0XBA:
;        }
:0Xba  c18b                     CWDT
;    }
:0Xbb  68b0                     GOTO            HADR_0XB0
HADR_0XBC:
;/*******************************************************
;*Copyright(C),2020,Shanghai Eastsoft Microelectronics Co.,Ltd.
;*文件名：capture.c
;*作  者：AE Team
;*版  本：v1.0，编译于iDesigner(v4.2.3.166) + 工具链HRCC(v1.2.0.106)
;*日  期：2020/07/08
;*描  述：T21定时器捕捉模式，T21_CH0(PA0)上升沿捕捉，捕捉成功翻转PA1，T21_CH1(PA7)下降沿捕捉，捕捉成功翻转PA6，
;        T21_CH2(PB7)双沿捕捉，捕捉成功翻转PA3（PA3需配置为数字输入输出）。capvalue0、capvalue1、capvalue2保存捕捉时捕捉寄存器的值。
;*备  注：本软件仅供学习和演示使用，对用户直接引用代码所带来的风险或后果不承担任何法律责任。
;*******************************************************/
;#include <hic.h>
;
;#define CLRWDT()   {__Asm CWDT;}        //宏定义清狗指令
;
;unsigned int capvalue0,capvalue1,capvalue2;        //变量保存捕捉寄存器的值
;
;/******************************************************
;函数名：void RAMclear(void)
;描  述：RAM区数据清零，RAM区地址0x0000~0x03FF
;输入值：无
;输出值：无
;返回值：无
;*******************************************************/
;void RAMclear(void)
;{
;    for (IAAH=0; IAAH<=0x03; IAAH++)
:0Xbc  e783                     CLR             HRAM_0X83
:0Xbd  e782                     CLR             _IAAH_0                              ;_IAAH_0: Bank 511    Addr: 65410    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
HADR_0XBE:
:0Xbe  5082                     MOV             _IAAH_0,        A                    ;_IAAH_0: Bank 511    Addr: 65410    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
:0Xbf  ce03                     SUBI            0X3
:0Xc0  9084                     JBS             HRAM_0X84,      0
:0Xc1  68cd                     GOTO            HADR_0XCD
;    {
;        for (IAAL=0; IAAL<0xFF; IAAL++)
:0Xc2  e781                     CLR             _IAAL_0                              ;_IAAL_0: Bank 511    Addr: 65409    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
HADR_0XC3:
:0Xc3  e5ff                     MOVI            0XFF
:0Xc4  ee81                     SUB             _IAAL_0,        A                    ;_IAAL_0: Bank 511    Addr: 65409    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
:0Xc5  9884                     JBC             HRAM_0X84,      0
:0Xc6  68ca                     GOTO            HADR_0XCA
;            IAD = 0x00;
:0Xc7  e780                     CLR             _IAD_0                               ;_IAD_0: Bank 511    Addr: 65408    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
:0Xc8  5581                     INC             _IAAL_0,        R                    ;_IAAL_0: Bank 511    Addr: 65409    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
:0Xc9  68c3                     GOTO            HADR_0XC3
HADR_0XCA:
;        IAD = 0x00;
:0Xca  e780                     CLR             _IAD_0                               ;_IAD_0: Bank 511    Addr: 65408    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
:0Xcb  5582                     INC             _IAAH_0,        R                    ;_IAAH_0: Bank 511    Addr: 65410    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;    }
:0Xcc  68be                     GOTO            HADR_0XBE
HADR_0XCD:
;}
:0Xcd  c183                     RET
HADR_0XCE:
;
;/******************************************************
;函数名：void GPIOInit(void)
;描  述：首先初始化所有未用到的IO口为输出低电平
;输入值：无
;输出值：无
;返回值：无
;*******************************************************/
;void GPIOInit(void)
;{
;    ANSL = 0xFF;        //选择对应端口为数字IO功能
:0Xce  e783                     CLR             HRAM_0X83
:0Xcf  e5ff                     MOVI            0XFF
:0Xd0  e6bc                     MOVA            _ANSL_0                              ;_ANSL_0: Bank 511    Addr: 65468    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;	ANSH = 0xFF;
:0Xd1  e5ff                     MOVI            0XFF
:0Xd2  e68d                     MOVA            _ANSH_0                              ;_ANSH_0: Bank 511    Addr: 65421    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;    PAT = 0x00;         //所有IO设为输出
:0Xd3  e7ad                     CLR             _PAT_0                               ;_PAT_0: Bank 511    Addr: 65453    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;    PBT = 0x00;
:0Xd4  e7ae                     CLR             _PBT_0                               ;_PBT_0: Bank 511    Addr: 65454    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;    PCT = 0x00;
:0Xd5  e7af                     CLR             _PCT_0                               ;_PCT_0: Bank 511    Addr: 65455    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;    PA = 0x00;
:0Xd6  e7a8                     CLR             _PA_0                                ;_PA_0: Bank 511    Addr: 65448    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;    PB = 0x00;
:0Xd7  e7a9                     CLR             _PB_0                                ;_PB_0: Bank 511    Addr: 65449    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;    PC = 0x00;
:0Xd8  e7aa                     CLR             _PC_0                                ;_PC_0: Bank 511    Addr: 65450    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;
;    PAT0 = 1;           //T21_CH0设为输入
:0Xd9  a0ad                     BSS             (_PAT0_0)>>3,   0                    ;(_PAT0_0)>>3: Bank 511    Addr: 65453    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;    PAT7 = 1;           //T21_CH1设为输入
:0Xda  a7ad                     BSS             (_PAT7_0)>>3,   7                    ;(_PAT7_0)>>3: Bank 511    Addr: 65453    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;    PBT7 = 1;           //T21_CH2设为输入
:0Xdb  a7ae                     BSS             (_PBT7_0)>>3,   7                    ;(_PBT7_0)>>3: Bank 511    Addr: 65454    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T21\capture\debug\capture.obj 
;    //PAPD0 = 1;        //使能下拉
;    //PAPU7 = 1;        //使能上拉
;	//PBPD7 = 1;        //使能下拉
;}
:0Xdc  c183                     RET

                                END
