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

                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_0X80  equ  0X80
HRAM_0X81  equ  0X81
HRAM_0X82  equ  0X82
HRAM_0X83  equ  0X83
HRAM_0X84  equ  0X84
HRAM_0X88  equ  0X88
HRAM_0X89  equ  0X89
HRAM_0X9D  equ  0X9d
HRAM_0X9E  equ  0X9e
HRAM_0XCF  equ  0Xcf
HRAM_0XD0  equ  0Xd0
HRAM_0XD1  equ  0Xd1
HRAM_0XD2  equ  0Xd2
HRAM_0XD3  equ  0Xd3
HRAM_0XDA  equ  0Xda
HRAM_0XDB  equ  0Xdb
HRAM_0XDC  equ  0Xdc
HRAM_0XDD  equ  0Xdd
HRAM_0XDE  equ  0Xde
HRAM_0XDF  equ  0Xdf
HRAM_0XEC  equ  0Xec
HRAM_0XED  equ  0Xed
HRAM_0XF0  equ  0Xf0
HRAM_0XF1  equ  0Xf1
HRAM_0XF2  equ  0Xf2

                ORG             0X00
HADR_0X0:
:0X0  c727f000                  AJMP            HADR_0X27
                                ORG             0X2
:0X2  6800                      GOTO            HADR_0X0
                                ORG             0X8
:0X8  c180                      PUSH
:0X9  ec00                      PAGE            (_INT_ENTRY_0X8)>>11
:0Xa  694e                      GOTO            HADR_0X14E
                                ORG             0Xc
:0Xc  c180                      PUSH
:0Xd  ec00                      PAGE            (_INT_ENTRY_0XC)>>11
:0Xe  68e8                      GOTO            HADR_0XE8
                                ORG             0X18
:0X18  c180                     PUSH
:0X19  ec00                     PAGE            (_INT_ENTRY_0X18)>>11
:0X1a  68a5                     GOTO            HADR_0XA5
                                ORG             0X24
:0X24  c180                     PUSH
:0X25  ec00                     PAGE            (_INT_ENTRY_0X24)>>11
:0X26  6882                     GOTO            HADR_0X82
HADR_0X27:
;
;/*******************************************************
;函数名：void main(void)
;描  述：主函数，默认中断向量表，IG6、IG3配置为高优先级中断，IG0、IG7配置为低优先级中断
;        配置优先级顺序：IG6(高)>IG3(高)>IG0(低)>IG7(低)，高优先级可以嵌套响应低优先级
;输入值：无
;输出值：无
;返回值：无
;*******************************************************/
;void main(void)
;{
;    RAMclear();
:0X27  e783                     CLR             HRAM_0X83
:0X28  ec00                     PAGE            (_RAMclear)>>11
:0X29  6064                     CALL            HADR_0X64
:0X2a  ec00                     PAGE            (_4)>>11
;    GPIOInit();
:0X2b  ec00                     PAGE            (_GPIOInit)>>11
:0X2c  6076                     CALL            HADR_0X76
:0X2d  ec00                     PAGE            (_5)>>11
;    i2c_temp = 0;
:0X2e  ea01                     SECTION         0X1
:0X2f  e706                     CLR             (_i2c_temp)&7f                       ;(_i2c_temp)&7f: Bank 0    Addr: 6     
;    INTG = 0x07;        //向量中断模式，中断向量表INTV<1:0>=11
:0X30  e507                     MOVI            0X7
:0X31  e696                     MOVA            _INTG_0                              ;_INTG_0: Bank 511    Addr: 65430    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    IGP6 = 1;           //I2C中断高优先级
:0X32  a697                     BSS             (_IGP6_0)>>3,   6                    ;(_IGP6_0)>>3: Bank 511    Addr: 65431    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    IGP3 = 1;           //UART中断高优先级
:0X33  a397                     BSS             (_IGP3_0)>>3,   3                    ;(_IGP3_0)>>3: Bank 511    Addr: 65431    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;
;/**********************T8N初始化************************/
;    T8NC = 0x0E;         //定时器模式，预分频1:(Fosc/2)/128
:0X34  e50e                     MOVI            0XE
:0X35  e6be                     MOVA            _T8NC_0                              ;_T8NC_0: Bank 511    Addr: 65470    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    T8N = 6;             //赋计数器初值，计数器4ms溢出
:0X36  e506                     MOVI            0X6
:0X37  e6bd                     MOVA            _T8N_0                               ;_T8N_0: Bank 511    Addr: 65469    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    T8NIF = 0;           //清溢出标志位
:0X38  a99a                     BCC             (_T8NIF_0)>>3,  1                    ;(_T8NIF_0)>>3: Bank 511    Addr: 65434    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    T8NIE = 1;           //打开定时器溢出中断
:0X39  a199                     BSS             (_T8NIE_0)>>3,  1                    ;(_T8NIE_0)>>3: Bank 511    Addr: 65433    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;
;/**********************T21初始化************************/
;    T21CL = 0x00;        //定时器模式
:0X3a  e7f0                     CLR             HRAM_0XF0
;    T21CM = 0x0F;        //预分频1:16
:0X3b  e50f                     MOVI            0XF
:0X3c  e6f1                     MOVA            HRAM_0XF1
;    T21CH = 0x0F;        //后分频次数16
:0X3d  e50f                     MOVI            0XF
:0X3e  e6f2                     MOVA            HRAM_0XF2
;    T21PH = 0xF4;        //周期值高8位
:0X3f  e5f4                     MOVI            0XF4
:0X40  e6ed                     MOVA            HRAM_0XED
;    T21PL = 0x24;
:0X41  e524                     MOVI            0X24
:0X42  e6ec                     MOVA            HRAM_0XEC
;    T21VIF = 0;          //清溢出标志位
:0X43  aa9e                     BCC             (_T21VIF_0)>>3, 2                    ;(_T21VIF_0)>>3: Bank 511    Addr: 65438    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    T21VIE = 1;          //打开T21溢出中断
:0X44  a29d                     BSS             (_T21VIE_0)>>3, 2                    ;(_T21VIE_0)>>3: Bank 511    Addr: 65437    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;
;/**********************IIC初始化************************/
;    PBT0 = 1;           //I2C_SDA输入
:0X45  a0ae                     BSS             (_PBT0_0)>>3,   0                    ;(_PBT0_0)>>3: Bank 511    Addr: 65454    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    PBT1 = 1;           //I2C_SCL输入
:0X46  a1ae                     BSS             (_PBT1_0)>>3,   1                    ;(_PBT1_0)>>3: Bank 511    Addr: 65454    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    I2CC = 0xE0;        //I2C端口使能，使能上拉，开漏方式，发送ACK
:0X47  e5e0                     MOVI            0XE0
:0X48  a483                     BSS             HRAM_0X83,      4
:0X49  e6da                     MOVA            HRAM_0XDA
;    I2CSA = SLAVE_ADDR<<1;      //从机地址       
:0X4a  e55a                     MOVI            0X5A
:0X4b  e6db                     MOVA            HRAM_0XDB
;    I2CIFC = 0x00;      //清除标志位    
:0X4c  e7df                     CLR             HRAM_0XDF
;    I2CRBIE = 1;        //使能I2C接收中断
:0X4d  a3de                     BSS             HRAM_0XDE,      3
;    I2CIF = 0;          //清I2C总标志位
:0X4e  ae9e                     BCC             (_I2CIF_0)>>3,  6                    ;(_I2CIF_0)>>3: Bank 511    Addr: 65438    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    I2CIE = 1;          //使能I2C总中断
:0X4f  a69d                     BSS             (_I2CIE_0)>>3,  6                    ;(_I2CIE_0)>>3: Bank 511    Addr: 65437    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;
;/**********************UART初始化***********************/
;    PAT1 = 0;       //TX输出
:0X50  a9ad                     BCC             (_PAT1_0)>>3,   1                    ;(_PAT1_0)>>3: Bank 511    Addr: 65453    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    PAT2 = 1;       //RX输入
:0X51  a2ad                     BSS             (_PAT2_0)>>3,   2                    ;(_PAT2_0)>>3: Bank 511    Addr: 65453    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    RX0LEN = 0;     //8位数据接收格式
:0X52  aed0                     BCC             HRAM_0XD0,      6
;    TX0LEN = 0;     //8位数据发送格式
:0X53  aed2                     BCC             HRAM_0XD2,      6
;    BRGH0 = 0;      //波特率高速模式：波特率=Fosc/(64*(BRR<7:0>+1))
:0X54  add2                     BCC             HRAM_0XD2,      5
;    BR0R = 25;      //波特率=16MHz/(64*26)≈9600bps
:0X55  e519                     MOVI            0X19
:0X56  e6d3                     MOVA            HRAM_0XD3
;    TX0IE = 1;      //发送空中断
:0X57  a09d                     BSS             (_TX0IE_0)>>3,  0                    ;(_TX0IE_0)>>3: Bank 511    Addr: 65437    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    RX0IE = 1;      //接收满中断
:0X58  a19d                     BSS             (_RX0IE_0)>>3,  1                    ;(_RX0IE_0)>>3: Bank 511    Addr: 65437    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    
;/*****************打开全局中断，使能模块*****************/   
;    GIEL = 1;           //开低优先级中断
:0X59  a696                     BSS             (_GIEL_0)>>3,   6                    ;(_GIEL_0)>>3: Bank 511    Addr: 65430    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    GIE = 1;            //开全局中断
:0X5a  a796                     BSS             (_GIE_0)>>3,    7                    ;(_GIE_0)>>3: Bank 511    Addr: 65430    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    T8NEN = 1;          //使能T8N
:0X5b  a7be                     BSS             (_T8NEN_0)>>3,  7                    ;(_T8NEN_0)>>3: Bank 511    Addr: 65470    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    T21EN = 1;          //使能T21
:0X5c  ac83                     BCC             HRAM_0X83,      4
:0X5d  a7f2                     BSS             HRAM_0XF2,      7
;    I2CEN = 1;          //使能I2C
:0X5e  a483                     BSS             HRAM_0X83,      4
:0X5f  a0da                     BSS             HRAM_0XDA,      0
;    RX0EN = 1;          //使能UART接收
:0X60  a7d0                     BSS             HRAM_0XD0,      7
;    TX0EN = 1;          //使能UART发送
:0X61  a7d2                     BSS             HRAM_0XD2,      7
HADR_0X62:
;    while (1)
:0X62  c18b                     CWDT
;    }
:0X63  6862                     GOTO            HADR_0X62
HADR_0X64:
;/*******************************************************
;*Copyright(C),2020,Shanghai Eastsoft Microelectronics Co.,Ltd.
;*文件名：vector.c
;*作  者：AE Team
;*版  本：v1.0，编译于iDesigner(v4.2.3.166) + 工具链HRCC(v1.2.0.106)
;*日  期：2020/07/10
;*描  述：使用向量中断模式前，需在配置字界面选择->向量中断模式，且需右键工程->属性->编译->Support interrupt vectors->True        
;        设置完成后切记保存设置；依据INTV<1:0>和INTP寄存器配置，优先响应高优先级中断。高优先级中断可以嵌套响应低优先级中断，
;        同属高(或低)优先级中断之间不能嵌套响应
;*备  注：本软件仅供学习和演示使用，对用户直接引用代码所带来的风险或后果不承担任何法律责任。
;*******************************************************/
;#include <hic.h>
;
;#define SLAVE_ADDR  0x2D            //宏定义IIC从机地址
;#define I2C_RLENGTH 64
;#define CLRWDT()   {__Asm CWDT;}        //宏定义清狗指令
;
;unsigned char t8nisr;        //T8N中断计次标志
;unsigned char i2c_sta,i2c_rxd[I2C_RLENGTH],i2c_temp;      //I2C启动/重启动状态
;unsigned char uart_rxd;
;
;/******************************************************
;函数名：void RAMclear(void)
;描  述：RAM区数据清零，RAM区地址0x0000~0x03FF
;输入值：无
;输出值：无
;返回值：无
;*******************************************************/
;void RAMclear(void)
;{
;    for (IAAH=0; IAAH<=0x03; IAAH++)
:0X64  e783                     CLR             HRAM_0X83
:0X65  e782                     CLR             _IAAH_0                              ;_IAAH_0: Bank 511    Addr: 65410    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
HADR_0X66:
:0X66  5082                     MOV             _IAAH_0,        A                    ;_IAAH_0: Bank 511    Addr: 65410    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
:0X67  ce03                     SUBI            0X3
:0X68  9084                     JBS             HRAM_0X84,      0
:0X69  6875                     GOTO            HADR_0X75
;    {
;        for (IAAL=0; IAAL<0xFF; IAAL++)
:0X6a  e781                     CLR             _IAAL_0                              ;_IAAL_0: Bank 511    Addr: 65409    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
HADR_0X6B:
:0X6b  e5ff                     MOVI            0XFF
:0X6c  ee81                     SUB             _IAAL_0,        A                    ;_IAAL_0: Bank 511    Addr: 65409    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
:0X6d  9884                     JBC             HRAM_0X84,      0
:0X6e  6872                     GOTO            HADR_0X72
;            IAD = 0x00;
:0X6f  e780                     CLR             _IAD_0                               ;_IAD_0: Bank 511    Addr: 65408    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
:0X70  5581                     INC             _IAAL_0,        R                    ;_IAAL_0: Bank 511    Addr: 65409    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
:0X71  686b                     GOTO            HADR_0X6B
HADR_0X72:
;        IAD = 0x00;
:0X72  e780                     CLR             _IAD_0                               ;_IAD_0: Bank 511    Addr: 65408    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
:0X73  5582                     INC             _IAAH_0,        R                    ;_IAAH_0: Bank 511    Addr: 65410    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    }
:0X74  6866                     GOTO            HADR_0X66
HADR_0X75:
;}
:0X75  c183                     RET
HADR_0X76:
;
;/******************************************************
;函数名：void GPIOInit(void)
;描  述：首先初始化所有未用到的IO口为输出低电平
;输入值：无
;输出值：无
;返回值：无
;*******************************************************/
;void GPIOInit(void)
;{
;    ANSL = 0xFF;        //选择对应端口为数字IO功能
:0X76  e783                     CLR             HRAM_0X83
:0X77  e5ff                     MOVI            0XFF
:0X78  e6bc                     MOVA            _ANSL_0                              ;_ANSL_0: Bank 511    Addr: 65468    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;	ANSH = 0xFF;
:0X79  e5ff                     MOVI            0XFF
:0X7a  e68d                     MOVA            _ANSH_0                              ;_ANSH_0: Bank 511    Addr: 65421    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    PAT = 0x00;         //所有IO设为输出低电平
:0X7b  e7ad                     CLR             _PAT_0                               ;_PAT_0: Bank 511    Addr: 65453    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    PBT = 0x00;
:0X7c  e7ae                     CLR             _PBT_0                               ;_PBT_0: Bank 511    Addr: 65454    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    PCT = 0x00;
:0X7d  e7af                     CLR             _PCT_0                               ;_PCT_0: Bank 511    Addr: 65455    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    PA = 0x00;
:0X7e  e7a8                     CLR             _PA_0                                ;_PA_0: Bank 511    Addr: 65448    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    PB = 0x00;
:0X7f  e7a9                     CLR             _PB_0                                ;_PB_0: Bank 511    Addr: 65449    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    PC = 0x00;
:0X80  e7aa                     CLR             _PC_0                                ;_PC_0: Bank 511    Addr: 65450    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;} 
:0X81  c183                     RET
HADR_0X82:
:0X82  ec00                     PAGE            (_0)>>11
:0X83  e783                     CLR             HRAM_0X83
:0X84  5081                     MOV             HRAM_0X81,      A
:0X85  e601                     MOVA            (SAVED_FSR_INT1)&7f                  ;(SAVED_FSR_INT1)&7f: Bank 0    Addr: 1     
:0X86  5082                     MOV             HRAM_0X82,      A
:0X87  e602                     MOVA            (SAVED_FSR_INT1+1)&7f                ;(SAVED_FSR_INT1+1)&7f: Bank 0    Addr: 2     
:0X88  5005                     MOV             (MUL_TEMP)&7f,  A                    ;(MUL_TEMP)&7f: Bank 0    Addr: 5     
:0X89  e607                     MOVA            (MUL_TEMP_INT1)&7f                   ;(MUL_TEMP_INT1)&7f: Bank 0    Addr: 7     
:0X8a  5006                     MOV             (MUL_TEMP+1)&7f,                A    ;(MUL_TEMP+1)&7f: Bank 0    Addr: 6     
:0X8b  e608                     MOVA            (MUL_TEMP_INT1+1)&7f                 ;(MUL_TEMP_INT1+1)&7f: Bank 0    Addr: 8     
;
;/*******************************************************
;函数名：void isrx(void) interrupt
;描  述：向量中断服务程序，isrx对应IGx
;输入值：无
;输出值：无
;返回值：无
;*******************************************************/
;void isr0(void) interrupt_low 0x24        //IG0(T8N)1s定时中断
;{
;    T8N = 6;          //赋计数器初值
:0X8c  e506                     MOVI            0X6
:0X8d  e6bd                     MOVA            _T8N_0                               ;_T8N_0: Bank 511    Addr: 65469    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;    t8nisr++;
:0X8e  ea01                     SECTION         0X1
:0X8f  5507                     INC             (_t8nisr)&7f,   R                    ;(_t8nisr)&7f: Bank 0    Addr: 7     
;    if (t8nisr >= 250)      //1s计时
:0X90  e5fa                     MOVI            0XFA
:0X91  ee07                     SUB             (_t8nisr)&7f,   A                    ;(_t8nisr)&7f: Bank 0    Addr: 7     
:0X92  9084                     JBS             HRAM_0X84,      0
:0X93  6896                     GOTO            HADR_0X96
;    {
;        t8nisr = 0;
:0X94  e707                     CLR             (_t8nisr)&7f                         ;(_t8nisr)&7f: Bank 0    Addr: 7     
;        PA4 = ~PA4;
:0X95  2ca8                     BTT             (_PA4_0)>>3,    4                    ;(_PA4_0)>>3: Bank 511    Addr: 65448    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
HADR_0X96:
;    }   
:0X96  a99a                     BCC             (_T8NIF_0)>>3,  1                    ;(_T8NIF_0)>>3: Bank 511    Addr: 65434    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;}
:0X97  ea00                     SECTION         0X0
:0X98  6899                     GOTO            HADR_0X99
HADR_0X99:
:0X99  5007                     MOV             (MUL_TEMP_INT1)&7f,             A    ;(MUL_TEMP_INT1)&7f: Bank 0    Addr: 7     
:0X9a  e605                     MOVA            (MUL_TEMP)&7f                        ;(MUL_TEMP)&7f: Bank 0    Addr: 5     
:0X9b  e688                     MOVA            HRAM_0X88
:0X9c  5008                     MOV             (MUL_TEMP_INT1+1)&7f,           A    ;(MUL_TEMP_INT1+1)&7f: Bank 0    Addr: 8     
:0X9d  e606                     MOVA            (MUL_TEMP+1)&7f                      ;(MUL_TEMP+1)&7f: Bank 0    Addr: 6     
:0X9e  e689                     MOVA            HRAM_0X89
:0X9f  5002                     MOV             (SAVED_FSR_INT1+1)&7f,          A    ;(SAVED_FSR_INT1+1)&7f: Bank 0    Addr: 2     
:0Xa0  e682                     MOVA            HRAM_0X82
:0Xa1  5001                     MOV             (SAVED_FSR_INT1)&7f,            A    ;(SAVED_FSR_INT1)&7f: Bank 0    Addr: 1     
:0Xa2  e681                     MOVA            HRAM_0X81
:0Xa3  c181                     POP
:0Xa4  c189                     RETIE
HADR_0XA5:
:0Xa5  ec00                     PAGE            (_1)>>11
:0Xa6  e783                     CLR             HRAM_0X83
:0Xa7  5081                     MOV             HRAM_0X81,      A
:0Xa8  e603                     MOVA            (SAVED_FSR_INT2)&7f                  ;(SAVED_FSR_INT2)&7f: Bank 0    Addr: 3     
:0Xa9  5082                     MOV             HRAM_0X82,      A
:0Xaa  e604                     MOVA            (SAVED_FSR_INT2+1)&7f                ;(SAVED_FSR_INT2+1)&7f: Bank 0    Addr: 4     
:0Xab  5005                     MOV             (MUL_TEMP)&7f,  A                    ;(MUL_TEMP)&7f: Bank 0    Addr: 5     
:0Xac  e609                     MOVA            (MUL_TEMP_INT2)&7f                   ;(MUL_TEMP_INT2)&7f: Bank 0    Addr: 9     
:0Xad  5006                     MOV             (MUL_TEMP+1)&7f,                A    ;(MUL_TEMP+1)&7f: Bank 0    Addr: 6     
:0Xae  e60a                     MOVA            (MUL_TEMP_INT2+1)&7f                 ;(MUL_TEMP_INT2+1)&7f: Bank 0    Addr: 10     
;
;void isr3(void) interrupt_high 0x18        //IG3(UART)中断
;{
;    if (RX0IE==1 && RX0IF==1)     //UART接收中断，接收数据返回
:0Xaf  e500                     MOVI            0X0
:0Xb0  999d                     JBC             HRAM_0X9D,      1
:0Xb1  e501                     MOVI            0X1
:0Xb2  ea01                     SECTION         0X1
:0Xb3  e600                     MOVA            HRAM_0X0
:0Xb4  5000                     MOV             HRAM_0X0,       A
:0Xb5  e301                     XORI            0X1
:0Xb6  9284                     JBS             HRAM_0X84,      2
:0Xb7  68c5                     GOTO            HADR_0XC5
:0Xb8  e500                     MOVI            0X0
:0Xb9  999e                     JBC             HRAM_0X9E,      1
:0Xba  e501                     MOVI            0X1
:0Xbb  e600                     MOVA            HRAM_0X0
:0Xbc  5000                     MOV             HRAM_0X0,       A
:0Xbd  e301                     XORI            0X1
:0Xbe  9284                     JBS             HRAM_0X84,      2
:0Xbf  68c5                     GOTO            HADR_0XC5
;    {
;        uart_rxd = RX0B;
:0Xc0  a483                     BSS             HRAM_0X83,      4
:0Xc1  50cf                     MOV             HRAM_0XCF,      A
:0Xc2  e608                     MOVA            (_uart_rxd)&7f                       ;(_uart_rxd)&7f: Bank 0    Addr: 8     
;        TX0B = uart_rxd;
:0Xc3  5008                     MOV             (_uart_rxd)&7f, A                    ;(_uart_rxd)&7f: Bank 0    Addr: 8     
:0Xc4  e6d1                     MOVA            HRAM_0XD1
HADR_0XC5:
;    }
:0Xc5  e500                     MOVI            0X0
:0Xc6  989d                     JBC             HRAM_0X9D,      0
:0Xc7  e501                     MOVI            0X1
:0Xc8  e600                     MOVA            HRAM_0X0
:0Xc9  5000                     MOV             HRAM_0X0,       A
:0Xca  e301                     XORI            0X1
:0Xcb  9284                     JBS             HRAM_0X84,      2
:0Xcc  68d9                     GOTO            HADR_0XD9
:0Xcd  e500                     MOVI            0X0
:0Xce  989e                     JBC             HRAM_0X9E,      0
:0Xcf  e501                     MOVI            0X1
:0Xd0  e600                     MOVA            HRAM_0X0
:0Xd1  5000                     MOV             HRAM_0X0,       A
:0Xd2  e301                     XORI            0X1
:0Xd3  9284                     JBS             HRAM_0X84,      2
:0Xd4  68d9                     GOTO            HADR_0XD9
;    {
;        TX0B = 0x5A;     //示例
:0Xd5  e55a                     MOVI            0X5A
:0Xd6  a483                     BSS             HRAM_0X83,      4
:0Xd7  e6d1                     MOVA            HRAM_0XD1
;        TX0IE = 0;       //示例
:0Xd8  a89d                     BCC             (_TX0IE_0)>>3,  0                    ;(_TX0IE_0)>>3: Bank 511    Addr: 65437    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
HADR_0XD9:
;    }
;}
:0Xd9  ea00                     SECTION         0X0
:0Xda  ac83                     BCC             HRAM_0X83,      4
:0Xdb  68dc                     GOTO            HADR_0XDC
HADR_0XDC:
:0Xdc  5009                     MOV             (MUL_TEMP_INT2)&7f,             A    ;(MUL_TEMP_INT2)&7f: Bank 0    Addr: 9     
:0Xdd  e605                     MOVA            (MUL_TEMP)&7f                        ;(MUL_TEMP)&7f: Bank 0    Addr: 5     
:0Xde  e688                     MOVA            HRAM_0X88
:0Xdf  500a                     MOV             (MUL_TEMP_INT2+1)&7f,           A    ;(MUL_TEMP_INT2+1)&7f: Bank 0    Addr: 10     
:0Xe0  e606                     MOVA            (MUL_TEMP+1)&7f                      ;(MUL_TEMP+1)&7f: Bank 0    Addr: 6     
:0Xe1  e689                     MOVA            HRAM_0X89
:0Xe2  5004                     MOV             (SAVED_FSR_INT2+1)&7f,          A    ;(SAVED_FSR_INT2+1)&7f: Bank 0    Addr: 4     
:0Xe3  e682                     MOVA            HRAM_0X82
:0Xe4  5003                     MOV             (SAVED_FSR_INT2)&7f,            A    ;(SAVED_FSR_INT2)&7f: Bank 0    Addr: 3     
:0Xe5  e681                     MOVA            HRAM_0X81
:0Xe6  c181                     POP
:0Xe7  c189                     RETIE
HADR_0XE8:
:0Xe8  ec00                     PAGE            (_2)>>11
:0Xe9  e783                     CLR             HRAM_0X83
:0Xea  5081                     MOV             HRAM_0X81,      A
:0Xeb  e603                     MOVA            (SAVED_FSR_INT2)&7f                  ;(SAVED_FSR_INT2)&7f: Bank 0    Addr: 3     
:0Xec  5082                     MOV             HRAM_0X82,      A
:0Xed  e604                     MOVA            (SAVED_FSR_INT2+1)&7f                ;(SAVED_FSR_INT2+1)&7f: Bank 0    Addr: 4     
:0Xee  5005                     MOV             (MUL_TEMP)&7f,  A                    ;(MUL_TEMP)&7f: Bank 0    Addr: 5     
:0Xef  e609                     MOVA            (MUL_TEMP_INT2)&7f                   ;(MUL_TEMP_INT2)&7f: Bank 0    Addr: 9     
:0Xf0  5006                     MOV             (MUL_TEMP+1)&7f,                A    ;(MUL_TEMP+1)&7f: Bank 0    Addr: 6     
:0Xf1  e60a                     MOVA            (MUL_TEMP_INT2+1)&7f                 ;(MUL_TEMP_INT2+1)&7f: Bank 0    Addr: 10     
;
;void isr6(void) interrupt_high 0x0C        //IG6(I2C)中断
;{
;    if (I2CRBIE==1 && I2CRBIF==1)          //I2C接收中断
:0Xf2  e500                     MOVI            0X0
:0Xf3  a483                     BSS             HRAM_0X83,      4
:0Xf4  9bde                     JBC             HRAM_0XDE,      3
:0Xf5  e501                     MOVI            0X1
:0Xf6  ea01                     SECTION         0X1
:0Xf7  e600                     MOVA            HRAM_0X0
:0Xf8  5000                     MOV             HRAM_0X0,       A
:0Xf9  e301                     XORI            0X1
:0Xfa  9284                     JBS             HRAM_0X84,      2
:0Xfb  692b                     GOTO            HADR_0X12B
:0Xfc  e500                     MOVI            0X0
:0Xfd  9bdf                     JBC             HRAM_0XDF,      3
:0Xfe  e501                     MOVI            0X1
:0Xff  e600                     MOVA            HRAM_0X0
:0X100  5000                    MOV             HRAM_0X0,       A
:0X101  e301                    XORI            0X1
:0X102  9284                    JBS             HRAM_0X84,      2
:0X103  692b                    GOTO            HADR_0X12B
;    {
;        i2c_rxd[i2c_temp] = I2CRB;        //I2C接收数据返回
:0X104  e701                    CLR             HRAM_0X1
:0X105  5006                    MOV             (_i2c_temp)&7f, A                   ;(_i2c_temp)&7f: Bank 0    Addr: 6     
:0X106  e600                    MOVA            HRAM_0X0
:0X107  5000                    MOV             HRAM_0X0,       A
:0X108  e089                    ADDI            _i2c_rxd
:0X109  e602                    MOVA            HRAM_0X2
:0X10a  5001                    MOV             HRAM_0X1,       A
:0X10b  c300                    ADDCI           (_i2c_rxd)>>8
:0X10c  e603                    MOVA            HRAM_0X3
:0X10d  5003                    MOV             HRAM_0X3,       A
:0X10e  e682                    MOVA            HRAM_0X82
:0X10f  5002                    MOV             HRAM_0X2,       A
:0X110  e681                    MOVA            HRAM_0X81
:0X111  50dd                    MOV             HRAM_0XDD,      A
:0X112  e680                    MOVA            HRAM_0X80
:0X113  c201                    ISTEP           0X1
;        I2CTB = i2c_rxd[i2c_temp];
:0X114  e701                    CLR             HRAM_0X1
:0X115  5006                    MOV             (_i2c_temp)&7f, A                   ;(_i2c_temp)&7f: Bank 0    Addr: 6     
:0X116  e600                    MOVA            HRAM_0X0
:0X117  5000                    MOV             HRAM_0X0,       A
:0X118  e089                    ADDI            _i2c_rxd
:0X119  e602                    MOVA            HRAM_0X2
:0X11a  5001                    MOV             HRAM_0X1,       A
:0X11b  c300                    ADDCI           (_i2c_rxd)>>8
:0X11c  e603                    MOVA            HRAM_0X3
:0X11d  5003                    MOV             HRAM_0X3,       A
:0X11e  e682                    MOVA            HRAM_0X82
:0X11f  5002                    MOV             HRAM_0X2,       A
:0X120  e681                    MOVA            HRAM_0X81
:0X121  5080                    MOV             HRAM_0X80,      A
:0X122  2000                    MOVAR           ?_TMP_INT2                          ;?_TMP_INT2: Bank 0    Addr: 0     
:0X123  7800                    MOVRA           ?_TMP_INT2                          ;?_TMP_INT2: Bank 0    Addr: 0     
:0X124  e6dc                    MOVA            HRAM_0XDC
;        i2c_temp++;
:0X125  5506                    INC             (_i2c_temp)&7f, R                   ;(_i2c_temp)&7f: Bank 0    Addr: 6     
;        if (i2c_temp > I2C_RLENGTH)
:0X126  5006                    MOV             (_i2c_temp)&7f, A                   ;(_i2c_temp)&7f: Bank 0    Addr: 6     
:0X127  ce40                    SUBI            0X40
:0X128  9884                    JBC             HRAM_0X84,      0
:0X129  692b                    GOTO            HADR_0X12B
;            i2c_temp = 0;
:0X12a  e706                    CLR             (_i2c_temp)&7f                      ;(_i2c_temp)&7f: Bank 0    Addr: 6     
HADR_0X12B:
;    }
:0X12b  e500                    MOVI            0X0
:0X12c  98de                    JBC             HRAM_0XDE,      0
:0X12d  e501                    MOVI            0X1
:0X12e  e600                    MOVA            HRAM_0X0
:0X12f  5000                    MOV             HRAM_0X0,       A
:0X130  e301                    XORI            0X1
:0X131  9284                    JBS             HRAM_0X84,      2
:0X132  693e                    GOTO            HADR_0X13E
:0X133  e500                    MOVI            0X0
:0X134  98df                    JBC             HRAM_0XDF,      0
:0X135  e501                    MOVI            0X1
:0X136  e600                    MOVA            HRAM_0X0
:0X137  5000                    MOV             HRAM_0X0,       A
:0X138  e301                    XORI            0X1
:0X139  9284                    JBS             HRAM_0X84,      2
:0X13a  693e                    GOTO            HADR_0X13E
;    {
;        i2c_sta = 1;        //I2C启动/重启动状态
:0X13b  e501                    MOVI            0X1
:0X13c  e605                    MOVA            (_i2c_sta)&7f                       ;(_i2c_sta)&7f: Bank 0    Addr: 5     
;        I2CSRIF = 0;
:0X13d  a8df                    BCC             HRAM_0XDF,      0
HADR_0X13E:
;    }
:0X13e  ae9e                    BCC             (_I2CIF_0)>>3,  6                   ;(_I2CIF_0)>>3: Bank 511    Addr: 65438    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;}
:0X13f  ea00                    SECTION         0X0
:0X140  ac83                    BCC             HRAM_0X83,      4
:0X141  6942                    GOTO            HADR_0X142
HADR_0X142:
:0X142  5009                    MOV             (MUL_TEMP_INT2)&7f,             A   ;(MUL_TEMP_INT2)&7f: Bank 0    Addr: 9     
:0X143  e605                    MOVA            (MUL_TEMP)&7f                       ;(MUL_TEMP)&7f: Bank 0    Addr: 5     
:0X144  e688                    MOVA            HRAM_0X88
:0X145  500a                    MOV             (MUL_TEMP_INT2+1)&7f,           A   ;(MUL_TEMP_INT2+1)&7f: Bank 0    Addr: 10     
:0X146  e606                    MOVA            (MUL_TEMP+1)&7f                     ;(MUL_TEMP+1)&7f: Bank 0    Addr: 6     
:0X147  e689                    MOVA            HRAM_0X89
:0X148  5004                    MOV             (SAVED_FSR_INT2+1)&7f,          A   ;(SAVED_FSR_INT2+1)&7f: Bank 0    Addr: 4     
:0X149  e682                    MOVA            HRAM_0X82
:0X14a  5003                    MOV             (SAVED_FSR_INT2)&7f,            A   ;(SAVED_FSR_INT2)&7f: Bank 0    Addr: 3     
:0X14b  e681                    MOVA            HRAM_0X81
:0X14c  c181                    POP
:0X14d  c189                    RETIE
HADR_0X14E:
:0X14e  ec00                    PAGE            (_3)>>11
:0X14f  e783                    CLR             HRAM_0X83
:0X150  5081                    MOV             HRAM_0X81,      A
:0X151  e601                    MOVA            (SAVED_FSR_INT1)&7f                 ;(SAVED_FSR_INT1)&7f: Bank 0    Addr: 1     
:0X152  5082                    MOV             HRAM_0X82,      A
:0X153  e602                    MOVA            (SAVED_FSR_INT1+1)&7f               ;(SAVED_FSR_INT1+1)&7f: Bank 0    Addr: 2     
:0X154  5005                    MOV             (MUL_TEMP)&7f,  A                   ;(MUL_TEMP)&7f: Bank 0    Addr: 5     
:0X155  e607                    MOVA            (MUL_TEMP_INT1)&7f                  ;(MUL_TEMP_INT1)&7f: Bank 0    Addr: 7     
:0X156  5006                    MOV             (MUL_TEMP+1)&7f,                A   ;(MUL_TEMP+1)&7f: Bank 0    Addr: 6     
:0X157  e608                    MOVA            (MUL_TEMP_INT1+1)&7f                ;(MUL_TEMP_INT1+1)&7f: Bank 0    Addr: 8     
;
;void isr7(void) interrupt_low 0x08         //IG7(T21)1s定时中断
;{
;    if (T21VIE==1 && T21VIF==1)         //定时器溢出中断
:0X158  e500                    MOVI            0X0
:0X159  9a9d                    JBC             HRAM_0X9D,      2
:0X15a  e501                    MOVI            0X1
:0X15b  ea01                    SECTION         0X1
:0X15c  e604                    MOVA            HRAM_0X4
:0X15d  5004                    MOV             HRAM_0X4,       A
:0X15e  e301                    XORI            0X1
:0X15f  9284                    JBS             HRAM_0X84,      2
:0X160  696b                    GOTO            HADR_0X16B
:0X161  e500                    MOVI            0X0
:0X162  9a9e                    JBC             HRAM_0X9E,      2
:0X163  e501                    MOVI            0X1
:0X164  e604                    MOVA            HRAM_0X4
:0X165  5004                    MOV             HRAM_0X4,       A
:0X166  e301                    XORI            0X1
:0X167  9284                    JBS             HRAM_0X84,      2
:0X168  696b                    GOTO            HADR_0X16B
;    {
;        PA6 = ~PA6;
:0X169  2ea8                    BTT             (_PA6_0)>>3,    6                   ;(_PA6_0)>>3: Bank 511    Addr: 65448    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
;        T21VIF = 0;        //清溢出标志位
:0X16a  aa9e                    BCC             (_T21VIF_0)>>3, 2                   ;(_T21VIF_0)>>3: Bank 511    Addr: 65438    C:\Users\lisq\Desktop\AN135_Examples_ES7P169C_ES7P0693\Interrupt\vector\debug\vector.obj 
HADR_0X16B:
;    }
;}
:0X16b  ea00                    SECTION         0X0
:0X16c  696d                    GOTO            HADR_0X16D
HADR_0X16D:
:0X16d  5007                    MOV             (MUL_TEMP_INT1)&7f,             A   ;(MUL_TEMP_INT1)&7f: Bank 0    Addr: 7     
:0X16e  e605                    MOVA            (MUL_TEMP)&7f                       ;(MUL_TEMP)&7f: Bank 0    Addr: 5     
:0X16f  e688                    MOVA            HRAM_0X88
:0X170  5008                    MOV             (MUL_TEMP_INT1+1)&7f,           A   ;(MUL_TEMP_INT1+1)&7f: Bank 0    Addr: 8     
:0X171  e606                    MOVA            (MUL_TEMP+1)&7f                     ;(MUL_TEMP+1)&7f: Bank 0    Addr: 6     
:0X172  e689                    MOVA            HRAM_0X89
:0X173  5002                    MOV             (SAVED_FSR_INT1+1)&7f,          A   ;(SAVED_FSR_INT1+1)&7f: Bank 0    Addr: 2     
:0X174  e682                    MOVA            HRAM_0X82
:0X175  5001                    MOV             (SAVED_FSR_INT1)&7f,            A   ;(SAVED_FSR_INT1)&7f: Bank 0    Addr: 1     
:0X176  e681                    MOVA            HRAM_0X81
:0X177  c181                    POP
:0X178  c189                    RETIE

                                END
