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

                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_0X99  equ  0X99
HRAM_0X9A  equ  0X9a
HRAM_0XA  equ  0Xa
HRAM_0XC0  equ  0Xc0
HRAM_0XC1  equ  0Xc1
HRAM_0XC2  equ  0Xc2
HRAM_0XC5  equ  0Xc5
HRAM_0XD3  equ  0Xd3
HRAM_0XD4  equ  0Xd4
HRAM_0XD8  equ  0Xd8
HRAM_0XDC  equ  0Xdc
HRAM_0XDD  equ  0Xdd
HRAM_0XDE  equ  0Xde
HRAM_0XDF  equ  0Xdf
HRAM_0XE1  equ  0Xe1
HRAM_0XE2  equ  0Xe2

                ORG             0X00
HADR_0X0:
:0X0  c790f000                  AJMP            HADR_0X90
                                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\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .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\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .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
;描  述：中断服务程序，若没有用到周期寄存器高字节，为了提高效率，可以用T31CNTLDL代替period
;        从而不使用period变量。
;输入值：无
;输出值：无
;返回值：无
;*******************************************************/
;void isr(void) interrupt
;{
;    if (T8NIE==1 && T8NIF==1)        //定时器溢出中断
:0X1b  e500                     MOVI            0X0
:0X1c  9999                     JBC             HRAM_0X99,      1
: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  6874                     GOTO            HADR_0X74
:0X24  e500                     MOVI            0X0
:0X25  999a                     JBC             HRAM_0X9A,      1
: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  6874                     GOTO            HADR_0X74
;    {
;        T8NIF = 0;          //清标志位
:0X2c  a99a                     BCC             (_T8NIF_0)>>3,  1                    ;(_T8NIF_0)>>3: Bank 511    Addr: 65434    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;
;        T8N += 6;        //进中断先赋计数器初值
:0X2d  50bd                     MOV             _T8N_0,         A                    ;_T8N_0: Bank 511    Addr: 65469    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
:0X2e  e006                     ADDI            0X6
:0X2f  e6bd                     MOVA            _T8N_0                               ;_T8N_0: Bank 511    Addr: 65469    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;        if ((++g_10ms_flag) >= 10)       //10ms定时到
:0X30  5004                     MOV             (_g_10ms_flag)&7f,              A    ;(_g_10ms_flag)&7f: Bank 0    Addr: 4     
:0X31  e001                     ADDI            0X1
:0X32  e600                     MOVA            HRAM_0X0
:0X33  5000                     MOV             HRAM_0X0,       A
:0X34  e604                     MOVA            (_g_10ms_flag)&7f                    ;(_g_10ms_flag)&7f: Bank 0    Addr: 4     
:0X35  5000                     MOV             HRAM_0X0,       A
:0X36  e601                     MOVA            HRAM_0X1
:0X37  e50a                     MOVI            0XA
:0X38  ee01                     SUB             HRAM_0X1,       A
:0X39  9084                     JBS             HRAM_0X84,      0
:0X3a  6874                     GOTO            HADR_0X74
;        {
;            PA5=~PA5;
:0X3b  2da8                     BTT             (_PA5_0)>>3,    5                    ;(_PA5_0)>>3: Bank 511    Addr: 65448    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;            g_10ms_flag = 0;
:0X3c  e704                     CLR             (_g_10ms_flag)&7f                    ;(_g_10ms_flag)&7f: Bank 0    Addr: 4     
;            period = T31CNTLDH;          //若没有用到周期寄存器高字节，可以不使用period变量，直接使用T31CNTLDL参与计算
:0X3d  e706                     CLR             (_period+1)&7f                       ;(_period+1)&7f: Bank 0    Addr: 6     
:0X3e  50df                     MOV             HRAM_0XDF,      A
:0X3f  e605                     MOVA            (_period)&7f                         ;(_period)&7f: Bank 0    Addr: 5     
;            period = (period<<8) | T31CNTLDL;
:0X40  5005                     MOV             (_period)&7f,   A                    ;(_period)&7f: Bank 0    Addr: 5     
:0X41  e601                     MOVA            HRAM_0X1
:0X42  e700                     CLR             HRAM_0X0
:0X43  e703                     CLR             HRAM_0X3
:0X44  50de                     MOV             HRAM_0XDE,      A
:0X45  e602                     MOVA            HRAM_0X2
:0X46  5002                     MOV             HRAM_0X2,       A
:0X47  5800                     IOR             HRAM_0X0,       A
:0X48  e605                     MOVA            (_period)&7f                         ;(_period)&7f: Bank 0    Addr: 5     
:0X49  5003                     MOV             HRAM_0X3,       A
:0X4a  5801                     IOR             HRAM_0X1,       A
:0X4b  e606                     MOVA            (_period+1)&7f                       ;(_period+1)&7f: Bank 0    Addr: 6     
;            if (period <= 78)            //pwm频率高于205kHz，重新从100kHz开始递增
:0X4c  5006                     MOV             (_period+1)&7f, A                    ;(_period+1)&7f: Bank 0    Addr: 6     
:0X4d  ce00                     SUBI            0X0
:0X4e  9284                     JBS             HRAM_0X84,      2
:0X4f  6852                     GOTO            HADR_0X52
:0X50  5005                     MOV             (_period)&7f,   A                    ;(_period)&7f: Bank 0    Addr: 5     
:0X51  ce4e                     SUBI            0X4E
HADR_0X52:
:0X52  9084                     JBS             HRAM_0X84,      0
:0X53  6858                     GOTO            HADR_0X58
;            {
;                period = 0xA0;
:0X54  e500                     MOVI            0X0
:0X55  e606                     MOVA            (_period+1)&7f                       ;(_period+1)&7f: Bank 0    Addr: 6     
:0X56  e5a0                     MOVI            0XA0
:0X57  e605                     MOVA            (_period)&7f                         ;(_period)&7f: Bank 0    Addr: 5     
HADR_0X58:
;            period--;      //pwm频率按1kHz步进
:0X58  5005                     MOV             (_period)&7f,   A                    ;(_period)&7f: Bank 0    Addr: 5     
:0X59  9284                     JBS             HRAM_0X84,      2
:0X5a  685c                     GOTO            HADR_0X5C
:0X5b  1106                     DEC             (_period+1)&7f, R                    ;(_period+1)&7f: Bank 0    Addr: 6     
HADR_0X5C:
:0X5c  1105                     DEC             (_period)&7f,   R                    ;(_period)&7f: Bank 0    Addr: 5     
;            UED = 1;       //禁止更新事件，写入值不会复制到缓冲器中(即写入值不生效)。
:0X5d  a1c1                     BSS             HRAM_0XC1,      1
;            T31CNTLDH = period>>8;
:0X5e  e508                     MOVI            0X8
:0X5f  e001                     ADDI            0X1
:0X60  2007                     MOVAR           ?_TMP                                ;?_TMP: Bank 0    Addr: 7     
:0X61  5005                     MOV             (_period)&7f,   A                    ;(_period)&7f: Bank 0    Addr: 5     
:0X62  2008                     MOVAR           ?_TMP+1                              ;?_TMP+1: Bank 0    Addr: 8     
:0X63  5006                     MOV             (_period+1)&7f, A                    ;(_period+1)&7f: Bank 0    Addr: 6     
:0X64  2009                     MOVAR           ?_TMP+2                              ;?_TMP+2: Bank 0    Addr: 9     
:0X65  7807                     MOVRA           ?_TMP                                ;?_TMP: Bank 0    Addr: 7     
:0X66  686b                     GOTO            HADR_0X6B
HADR_0X67:
:0X67  a884                     BCC             HRAM_0X84,      0
:0X68  ea00                     SECTION         0X0
:0X69  d109                     RRB             (?_TMP+2)&7f,   R,              0X1  ;(?_TMP+2)&7f: Bank 0    Addr: 9     
:0X6a  d108                     RRB             (?_TMP+1)&7f,   R,              0X1  ;(?_TMP+1)&7f: Bank 0    Addr: 8     
HADR_0X6B:
:0X6b  e0ff                     ADDI            0XFF
:0X6c  9284                     JBS             HRAM_0X84,      2
:0X6d  6867                     GOTO            HADR_0X67
:0X6e  ea00                     SECTION         0X0
:0X6f  5008                     MOV             (?_TMP+1)&7f,   A                    ;(?_TMP+1)&7f: Bank 0    Addr: 8     
:0X70  e6df                     MOVA            HRAM_0XDF
;            T31CNTLDL = period;      
:0X71  7885                     MOVRA           _period                              ;_period: Bank 1    Addr: 133     
:0X72  e6de                     MOVA            HRAM_0XDE
;            UED = 0;       //允许更新事件，下一次计数器溢出时T31CNTLD生效
:0X73  a9c1                     BCC             HRAM_0XC1,      1
HADR_0X74:
;            //UPT = 1;       //更新所有寄存器的缓冲器，使写入值立即生效
;        }       
;    }
;}
:0X74  ea00                     SECTION         0X0
:0X75  6876                     GOTO            HADR_0X76
HADR_0X76:
:0X76  ffff                     NOP
:0X77  ffff                     NOP
:0X78  5003                     MOV             HRAM_0X3,       A
:0X79  e607                     MOVA            HRAM_0X7
:0X7a  5004                     MOV             HRAM_0X4,       A
:0X7b  e608                     MOVA            HRAM_0X8
:0X7c  5005                     MOV             HRAM_0X5,       A
:0X7d  e609                     MOVA            HRAM_0X9
:0X7e  5006                     MOV             HRAM_0X6,       A
:0X7f  e60a                     MOVA            HRAM_0XA
:0X80  5012                     MOV             (CSEG_PTR+3)&7f,                A    ;(CSEG_PTR+3)&7f: Bank 0    Addr: 18     
:0X81  e610                     MOVA            (CSEG_PTR+1)&7f                      ;(CSEG_PTR+1)&7f: Bank 0    Addr: 16     
:0X82  5011                     MOV             (CSEG_PTR+2)&7f,                A    ;(CSEG_PTR+2)&7f: Bank 0    Addr: 17     
:0X83  e60f                     MOVA            (CSEG_PTR)&7f                        ;(CSEG_PTR)&7f: Bank 0    Addr: 15     
:0X84  500d                     MOV             (MUL_TEMP+2)&7f,                A    ;(MUL_TEMP+2)&7f: Bank 0    Addr: 13     
:0X85  e60b                     MOVA            (MUL_TEMP)&7f                        ;(MUL_TEMP)&7f: Bank 0    Addr: 11     
:0X86  e688                     MOVA            HRAM_0X88
:0X87  500e                     MOV             (MUL_TEMP+3)&7f,                A    ;(MUL_TEMP+3)&7f: Bank 0    Addr: 14     
:0X88  e60c                     MOVA            (MUL_TEMP+1)&7f                      ;(MUL_TEMP+1)&7f: Bank 0    Addr: 12     
:0X89  e689                     MOVA            HRAM_0X89
:0X8a  5001                     MOV             (SAVED_FSR+1)&7f,               A    ;(SAVED_FSR+1)&7f: Bank 0    Addr: 1    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
:0X8b  e682                     MOVA            HRAM_0X82
:0X8c  5000                     MOV             (SAVED_FSR)&7f, A                    ;(SAVED_FSR)&7f: Bank 0    Addr: 0    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
:0X8d  e681                     MOVA            HRAM_0X81
:0X8e  c181                     POP
:0X8f  c189                     RETIE
HADR_0X90:
;
;/*******************************************************
;函数名：void main(void)
;描  述：主函数，T31_CH1(PB5)/T31_CH1N(PB2)输出死区互补pwm，周期在100kHz~205kHz连续变化
;输入值：无
;输出值：无
;返回值：无
;*******************************************************/
;void main(void) 
;{
;    RAMclear();
:0X90  e783                     CLR             HRAM_0X83
:0X91  ec00                     PAGE            (_RAMclear)>>11
:0X92  60b4                     CALL            HADR_0XB4
:0X93  ec00                     PAGE            (_0)>>11
;    GPIOInit();
:0X94  ec00                     PAGE            (_GPIOInit)>>11
:0X95  60c6                     CALL            HADR_0XC6
:0X96  ec00                     PAGE            (_1)>>11
;    T8NInit(); 
:0X97  ec00                     PAGE            (_T8NInit)>>11
:0X98  60d3                     CALL            HADR_0XD3
:0X99  ec00                     PAGE            (_2)>>11
;    T31C0H = 0x40;          //T31C0H<6>(HTOEOFF)调试模式下需软件固定为1，死区发生器时钟频率tDTS=tCK_INT
:0X9a  e540                     MOVI            0X40
:0X9b  e6c2                     MOVA            HRAM_0XC2
;    T31C0L = 0xE0;          //中心对齐模式3，初始递增计数(DIR=0)，使能T31CNTLD寄存器缓冲(即写入值在下一次更新事件时生效)。
:0X9c  e5e0                     MOVI            0XE0
:0X9d  e6c1                     MOVA            HRAM_0XC1
;    //T31CH4C = 0x60;         //通道4配置为输出，pwm1模式
;    //T31CH3C = 0x60;         //通道3配置为输出，pwm1模式
;    //T31CH2C = 0x60;         //通道2配置为输出，pwm1模式
;    T31CH1C = 0x60;         //通道配1置为输出，pwm1模式
:0X9e  e560                     MOVI            0X60
:0X9f  e6d4                     MOVA            HRAM_0XD4
;    //T31PINCH = 0x05;        //T31_CH3高电平有效，使能输出。T31_CH3N通道高电平有效，使能输出。
;    T31PINCL = 0x05;        //T31_CH1通道高电平有效，使能输出。T31_CH1N通道高电平有效，使能输出。
:0Xa0  e505                     MOVI            0X5
:0Xa1  e6d8                     MOVA            HRAM_0XD8
;    //T31C2H = 0x00;
;    T31C2L = 0x00;          //禁止从模式
:0Xa2  e7c5                     CLR             HRAM_0XC5
;    T31PRSH = 0x00;         //预分频系数1:1
:0Xa3  e7dd                     CLR             HRAM_0XDD
;    T31PRSL = 0x00;
:0Xa4  e7dc                     CLR             HRAM_0XDC
;    T31CNTLDH = 0x00;       //重装载值，代表pwm周期长度，pwm模式中央对齐计数下，周期=T31CNTLD*2
:0Xa5  e7df                     CLR             HRAM_0XDF
;    T31CNTLDL = 0x50;
:0Xa6  e550                     MOVI            0X50
:0Xa7  e6de                     MOVA            HRAM_0XDE
;    T31CH1RH = 0x00;        //比较寄存器3值，代表pwm占空比长度
:0Xa8  e7e2                     CLR             HRAM_0XE2
;    T31CH1RL = 0x28;
:0Xa9  e528                     MOVI            0X28
:0Xaa  e6e1                     MOVA            HRAM_0XE1
;    T31DLYT = 0x00;         //死区时间
:0Xab  e7c0                     CLR             HRAM_0XC0
;    //HALT_PWM = 1;           //在线调试暂停状态下，PWM停止输出，此时通道n端口状态与端口方向寄存器设置的状态(输入/输出)相同
;    HALT_PWM = 0;           //在线调试暂停状态下，PWM仍输出，但频率保持不变
:0Xac  a8a7                     BCC             (_HALT_PWM_0)>>3,               0    ;(_HALT_PWM_0)>>3: Bank 511    Addr: 65447    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;    UPT = 1;        //更新所有寄存器的缓冲器，使写入值立即生效
:0Xad  a0d3                     BSS             HRAM_0XD3,      0
;    CHOE = 1;       //使能输出
:0Xae  a7bf                     BSS             (_CHOE_0)>>3,   7                    ;(_CHOE_0)>>3: Bank 511    Addr: 65471    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;    GIE = 1;        //开全局中断
:0Xaf  a796                     BSS             (_GIE_0)>>3,    7                    ;(_GIE_0)>>3: Bank 511    Addr: 65430    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;    T8NEN = 1;      //使能T8N   
:0Xb0  a7be                     BSS             (_T8NEN_0)>>3,  7                    ;(_T8NEN_0)>>3: Bank 511    Addr: 65470    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;    T31EN = 1;      //使能计数器
:0Xb1  a0c1                     BSS             HRAM_0XC1,      0
HADR_0XB2:
;    while (1)
:0Xb2  c18b                     CWDT
;    }
:0Xb3  68b2                     GOTO            HADR_0XB2
HADR_0XB4:
;/*******************************************************
;*Copyright(C),2020,Shanghai Eastsoft Microelectronics Co.,Ltd.
;*文件名：pwm_adjustable_freq.c
;*作  者：AE Team
;*版  本：v1.0，编译于iDesigner(v4.2.3.166) + 工具链HRCC(v1.2.0.106)
;*日  期：2020/12/18
;*描  述：多功能定时器，T31_CH1(PB5)/T31_CH1N(PB2)输出互补pwm。频率范围100kHz~205kHz，每10ms以1kHz步进，
;        大于205kHz时重新从100kHz开始。
;        说明：起始频率100kHz，Fosc=16MHz，则在边沿计数模式下计数器初值=16MHz/100kHz=160(0xA0)。频率越大周期越小重装载值(T31CNTLD)越小
;        假设当前频率为f(单位kHz)，步进后的频率为(f+1)kHz。则周期寄存器值变化△=16MHz/f - 16MHz/(f+1)=16MHz*1kHz/(f*(f+1))
;        由此可见，当前频率越大，频率每增加1kHz，周期寄存器的值变化愈小。所以我们取每10ms周期寄存器值减1简单表示步进1kHz。
;        注意：PWM模式调试状态下，须软件固定设置T31C0H<6>=1，否则PWM输出可能会异常。
;*备  注：本软件仅供学习和演示使用，对用户直接引用代码所带来的风险或后果不承担任何法律责任。
;*******************************************************/
;#include <hic.h>
;
;#define CLRWDT()   {__Asm CWDT;}        //宏定义清狗指令
;
;unsigned char g_10ms_flag;        //10ms定时标志
;unsigned int  period;             //pwm周期值
;
;/******************************************************
;函数名：void RAMclear(void)
;描  述：RAM区数据清零，RAM区地址0x0000~0x03FF
;输入值：无
;输出值：无
;返回值：无
;*******************************************************/
;void RAMclear(void)
;{
;    for (IAAH=0; IAAH<=0x03; IAAH++)
:0Xb4  e783                     CLR             HRAM_0X83
:0Xb5  e782                     CLR             _IAAH_0                              ;_IAAH_0: Bank 511    Addr: 65410    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
HADR_0XB6:
:0Xb6  5082                     MOV             _IAAH_0,        A                    ;_IAAH_0: Bank 511    Addr: 65410    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
:0Xb7  ce03                     SUBI            0X3
:0Xb8  9084                     JBS             HRAM_0X84,      0
:0Xb9  68c5                     GOTO            HADR_0XC5
;    {
;        for (IAAL=0; IAAL<0xFF; IAAL++)
:0Xba  e781                     CLR             _IAAL_0                              ;_IAAL_0: Bank 511    Addr: 65409    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
HADR_0XBB:
:0Xbb  e5ff                     MOVI            0XFF
:0Xbc  ee81                     SUB             _IAAL_0,        A                    ;_IAAL_0: Bank 511    Addr: 65409    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
:0Xbd  9884                     JBC             HRAM_0X84,      0
:0Xbe  68c2                     GOTO            HADR_0XC2
;            IAD = 0x00;
:0Xbf  e780                     CLR             _IAD_0                               ;_IAD_0: Bank 511    Addr: 65408    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
:0Xc0  5581                     INC             _IAAL_0,        R                    ;_IAAL_0: Bank 511    Addr: 65409    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
:0Xc1  68bb                     GOTO            HADR_0XBB
HADR_0XC2:
;        IAD = 0x00;
:0Xc2  e780                     CLR             _IAD_0                               ;_IAD_0: Bank 511    Addr: 65408    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
:0Xc3  5582                     INC             _IAAH_0,        R                    ;_IAAH_0: Bank 511    Addr: 65410    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;    }
:0Xc4  68b6                     GOTO            HADR_0XB6
HADR_0XC5:
;}
:0Xc5  c183                     RET
HADR_0XC6:
;
;/******************************************************
;函数名：void GPIOInit(void)
;描  述：首先初始化所有未用到的IO口为输出低电平
;输入值：无
;输出值：无
;返回值：无
;*******************************************************/
;void GPIOInit(void)
;{
;    ANSH = 0xFF;        //选择对应端口为数字IO功能
:0Xc6  e783                     CLR             HRAM_0X83
:0Xc7  e5ff                     MOVI            0XFF
:0Xc8  e68d                     MOVA            _ANSH_0                              ;_ANSH_0: Bank 511    Addr: 65421    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;    ANSL = 0xFF;        //选择对应端口为数字IO功能
:0Xc9  e5ff                     MOVI            0XFF
:0Xca  e6bc                     MOVA            _ANSL_0                              ;_ANSL_0: Bank 511    Addr: 65468    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;    PAT = 0x00;         //所有IO设为输出低电平
:0Xcb  e7ad                     CLR             _PAT_0                               ;_PAT_0: Bank 511    Addr: 65453    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;    PBT = 0x00;
:0Xcc  e7ae                     CLR             _PBT_0                               ;_PBT_0: Bank 511    Addr: 65454    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;    PCT = 0x00;
:0Xcd  e7af                     CLR             _PCT_0                               ;_PCT_0: Bank 511    Addr: 65455    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;    PA = 0x00;
:0Xce  e7a8                     CLR             _PA_0                                ;_PA_0: Bank 511    Addr: 65448    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;    PB = 0x00;
:0Xcf  e7a9                     CLR             _PB_0                                ;_PB_0: Bank 511    Addr: 65449    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;    PC = 0x00;
:0Xd0  e7aa                     CLR             _PC_0                                ;_PC_0: Bank 511    Addr: 65450    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;
;    PB7 = 1;              //使能蜂鸣器
:0Xd1  a7a9                     BSS             (_PB7_0)>>3,    7                    ;(_PB7_0)>>3: Bank 511    Addr: 65449    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;}
:0Xd2  c183                     RET
HADR_0XD3:
;
;/*******************************************************
;函数名：void T8Ninit(void)
;描  述：T8N初始化，用于生成10ms时基
;输入值：无
;输出值：无
;返回值：无
;*******************************************************/
;void T8NInit(void)
;{
;    T8NC = 0x0C;         //定时器模式，预分频1:(Fosc/2)/32
:0Xd3  e783                     CLR             HRAM_0X83
:0Xd4  e50c                     MOVI            0XC
:0Xd5  e6be                     MOVA            _T8NC_0                              ;_T8NC_0: Bank 511    Addr: 65470    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;    T8N = 6;             //赋计数器初值
:0Xd6  e506                     MOVI            0X6
:0Xd7  e6bd                     MOVA            _T8N_0                               ;_T8N_0: Bank 511    Addr: 65469    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;    T8NIE = 1;           //打开定时器溢出中断
:0Xd8  a199                     BSS             (_T8NIE_0)>>3,  1                    ;(_T8NIE_0)>>3: Bank 511    Addr: 65433    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;    T8NIF = 0;           //清溢出标志位   
:0Xd9  a99a                     BCC             (_T8NIF_0)>>3,  1                    ;(_T8NIF_0)>>3: Bank 511    Addr: 65434    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\T31\pwm_adjust_freq\debug\pwm_adjustable_freq .obj 
;}
:0Xda  c183                     RET

                                END
