; Asm codes generated by Shanghai Haier C Compiler
; HRCO, Ver: 1.0,0117

#INCLUDE       	<ES7P169C.INC>
#INCLUDE       	<OPERATION.INC>
	PUBLIC         	_txbuf
	PUBLIC         	_rxbuf
	PUBLIC         	_rxcnt
	PUBLIC         	_RAMclear
	PUBLIC         	_GPIOInit
	PUBLIC         	_Init_spi
	PUBLIC         	_SPIWriteData
	PUBLIC         	_SPIWriteDataDATA
	PUBLIC         	_SPIReadData
	PUBLIC         	_SPIReadDataDATA
	PUBLIC         	_isr
	PUBLIC         	_main
_SPIWriteData_i_9	EQU            	_SPIWriteDataDATA + 0X4		; Bank 0
_SPIWriteData_#T20527_9	EQU            	_SPIWriteDataDATA + 0X5		; Bank 0
_SPIWriteData_#T20547_10	EQU            	_SPIWriteDataDATA + 0X5		; Bank 0
_SPIWriteData_#T20548_10	EQU            	_SPIWriteDataDATA + 0X7		; Bank 0
_SPIReadData_i_13	EQU            	_SPIReadDataDATA + 0X4		; Bank 0
_SPIReadData_#T20681_15	EQU            	_SPIReadDataDATA + 0X6		; Bank 0
_isr_#T20721_18	EQU            	_isrDATA + 0X0		; Bank 0
_isr_#T20728_18	EQU            	_isrDATA + 0X0		; Bank 0
_isr_#T20749_19	EQU            	_isrDATA + 0X0		; Bank 0
_main_i_21	EQU            	_mainDATA + 0X0		; Bank 0
#TMP	EQU            	?_TMP+ 0X0		; Bank 0
?_TMP_RET	EQU            	?_TMP		; Bank 0
_SPIEN_0#sh	EQU            	0X608		; Bank 0
_SPIRST_0#sh	EQU            	0X609		; Bank 0
_MS_0#sh	EQU            	0X60A		; Bank 0
_REN_0#sh	EQU            	0X60B		; Bank 0
_RBIE_0#sh	EQU            	0X611		; Bank 0
_RBIF_0#sh	EQU            	0X619		; Bank 0
_IDIF_0#sh	EQU            	0X61C		; Bank 0
_SPICON0_0#sh	EQU            	0XC0		; Bank 0
_SPICON1_0#sh	EQU            	0XC1		; Bank 0
_SPIRBR_0#sh	EQU            	0XC4		; Bank 0
_SPITBW_0#sh	EQU            	0XC5		; Bank 0
_MULA_0#sh	EQU            	(MULA - 0X6080) % 0X40 + 0xC0		; Bank 0
_MULB_0#sh	EQU            	(MULB - 0X6080) % 0X40 + 0xC0		; Bank 0
_MULL_0#sh	EQU            	(MULL - 0X6080) % 0X40 + 0xC0		; Bank 0
_MULH_0#sh	EQU            	(MULH - 0X6080) % 0X40 + 0xC0		; Bank 0
_DIVEL_0#sh	EQU            	(DIVEL - 0X6080) % 0X40 + 0xC0		; Bank 0
_DIVEM_0#sh	EQU            	(DIVEM - 0X6080) % 0X40 + 0xC0		; Bank 0
_DIVSL_0#sh	EQU            	(DIVSL - 0X6080) % 0X40 + 0xC0		; Bank 0
_DIVSH_0#sh	EQU            	(DIVSH - 0X6080) % 0X40 + 0xC0		; Bank 0
_DIVQL_0#sh	EQU            	(DIVQL - 0X6080) % 0X40 + 0xC0		; Bank 0
_DIVQM_0#sh	EQU            	(DIVQM - 0X6080) % 0X40 + 0xC0		; Bank 0
_DIVRL_0#sh	EQU            	(DIVRL - 0X6080) % 0X40 + 0xC0		; Bank 0
_DIVRH_0#sh	EQU            	(DIVRH - 0X6080) % 0X40 + 0xC0		; Bank 0
_DIVC_0#sh	EQU            	(DIVC - 0X6080) % 0X40 + 0xC0		; Bank 0
_DIVEU_0#sh	EQU            	(DIVEU - 0X6080) % 0X40 + 0xC0		; Bank 0
_DIVEH_0#sh	EQU            	(DIVEH - 0X6080) % 0X40 + 0xC0		; Bank 0
	_DESC          	GPIOInit,0X0,0X0
GPIOInit#	CSEG           
_GPIOInit
; /*********************************************************
; *Copyright (C), 2020, Shanghai Eastsoft Microelectronics Co., Ltd
; *文件名:  spi_master.c
; *作  者:  AE Team
; *版  本:  v1.0，编译于iDesigner(v4.2.3.166) + 工具链HRCC(v1.2.0.106)
; *日  期:  2020/07/08
; *描  述:  SPI主机模式演示
;           PA6：NSS
;           PB4：SCK
;           PB5：MOSI
;           PB6：MISO
; *备  注:  本软件仅供学习和演示使用，对用户直接引用代码所带来的风险或后果不承担任何法律责任。
; **********************************************************/
; #include <hic.h>
; #define IT_RECEIVE      //将这句注释掉采用查询接收，否则采用中断接收
; #define RXBUF_SIZE 8       //定义接收缓冲区长度
; #define CLRWDT()   {__Asm CWDT;}        //宏定义清狗指令
; typedef unsigned char uchar;
; typedef unsigned int uint;
; uchar txbuf[8] = {0,1,2,3,4,5,6,7};
; uchar rxbuf[RXBUF_SIZE] = {0};
; uint rxcnt;
; /******************************************************
; 函数名：void RAMclear(void)
; 描  述：RAM区数据清零，RAM区地址0x0000~0x03FF
; 输入值：无
; 输出值：无
; 返回值：无
; *******************************************************/
; void RAMclear(void)
; {
;     for (IAAH=0; IAAH<=0x03; IAAH++)
;     {
;         for (IAAL=0; IAAL<0xFF; IAAL++)
;             IAD = 0x00;
;         IAD = 0x00;
;     }
; }
; /******************************************************
; 函数名：void GPIOInit(void)
; 描  述：首先初始化所有未用到的IO口为输出低电平
; 输入值：无
; 输出值：无
; 返回值：无
; *******************************************************/
; void GPIOInit(void)
; {
#line 53	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     ANSL = 0xFF;        //选择对应端口为数字IO功能
	CLR            	BKSR
;   53:(    ASGN_1,        255 ,            ,      ANSL)

; ITemplate_ASGN1_4_R
	MOVI           	0xff
	MOVA           	_ANSL_0
#line 54	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ; 	ANSH = 0xFF;
;   54:(    ASGN_1,        255 ,            ,      ANSH)

; ITemplate_ASGN1_4_R
	MOVI           	0xff
	MOVA           	_ANSH_0
#line 55	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     PAT = 0x00;         //所有IO设为输出低电平
;   55:(    ASGN_1,          0 ,            ,       PAT)

; ITemplate_CLR1_4_TMP
	CLR            	_PAT_0
#line 56	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     PBT = 0x00;
;   56:(    ASGN_1,          0 ,            ,       PBT)

; ITemplate_CLR1_4_TMP
	CLR            	_PBT_0
#line 57	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     PCT = 0x00;
;   57:(    ASGN_1,          0 ,            ,       PCT)

; ITemplate_CLR1_4_TMP
	CLR            	_PCT_0
#line 58	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     PA = 0x00;
;   58:(    ASGN_1,          0 ,            ,        PA)

; ITemplate_CLR1_4_TMP
	CLR            	_PA_0
#line 59	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     PB = 0x00;
;   59:(    ASGN_1,          0 ,            ,        PB)

; ITemplate_CLR1_4_TMP
	CLR            	_PB_0
#line 60	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     PC = 0x00;
;   60:(    ASGN_1,          0 ,            ,        PC)

; ITemplate_CLR1_4_TMP
	CLR            	_PC_0
#line 61	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     PBT6 = 1;       //主机MISO设为输入
;   61:(    ASGN_0,          1 ,            ,      PBT6)

; ITemplate_SET_0_TMP
	BSS            	(_PBT6_0)/8,	(_PBT6_0)%8
#line 62	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ; }
;   62:(       RET,            ,            ,          )

; ITemplate_RET
	RET            			; Bank 0		; ShBank 0
	_DESC          	Init_spi,0X0,0X0
Init_spi#	CSEG           
_Init_spi
; /**********************************************
; 函数名：void Init_spi(void)
; 描  述：SPI初始化程序
; 输入值：无
; 输出值：无
; 返回值：无
; **********************************************/
; void Init_spi(void)
; {
#line 73	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     SPIRST = 1;     //复位SPI
	CLR            	BKSR
;   73:(    ASGN_0,          1 ,            ,    SPIRST)

; ITemplate_SET_0_TMP
	BSS            	BKSR,	0x4
	BSS            	(_SPIRST_0#sh)/8,	(_SPIRST_0#sh)%8		; ShBank 1
#line 74	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     while(SPIRST)
;   74:(     LABEL,    #L20429 ,            ,          )

; ITemplate_LABEL
#L20429
;   74:(     JNZ_0,     SPIRST ,            ,   #L20429)

; ITemplate_JNZ_0
	JBC            	(_SPIRST_0#sh)/8,	(_SPIRST_0#sh)%8		; ShBank 1
	GOTO           	#L20429
;         ;
#line 76	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     SPICON0 = 0xF0;       //CKS = Fosc/16，清空发送器、接收器
;   76:(    ASGN_1,        240 ,            ,   SPICON0)

; ITemplate_ASGN1_4_R
	MOVI           	0xf0
	MOVA           	_SPICON0_0#sh		; ShBank 1
;     SPICON1 |= 0<<6;      //0:上升沿发送（先），下降沿接收（后）；
#line 78	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     MS = 0;               //0：主机模式，1：从机模式
;   78:(    ASGN_0,          0 ,            ,        MS)

; ITemplate_CLR_0_TMP
	BCC            	(_MS_0#sh)/8,	(_MS_0#sh)%8		; ShBank 1
; #ifdef IT_RECEIVE
#line 80	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     RBIE = 1;       //打开接收中断
;   80:(    ASGN_0,          1 ,            ,      RBIE)

; ITemplate_SET_0_TMP
	BSS            	(_RBIE_0#sh)/8,	(_RBIE_0#sh)%8		; ShBank 1
; #else
;     RBIE = 0;       //关闭接收中断
; #endif
#line 84	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     REN = 1;        //打开接收
;   84:(    ASGN_0,          1 ,            ,       REN)

; ITemplate_SET_0_TMP
	BSS            	(_REN_0#sh)/8,	(_REN_0#sh)%8		; ShBank 1
#line 85	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     SPIEN = 1;      //SPI使能
;   85:(    ASGN_0,          1 ,            ,     SPIEN)

; ITemplate_SET_0_TMP
	BSS            	(_SPIEN_0#sh)/8,	(_SPIEN_0#sh)%8		; ShBank 1
#line 86	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ; }
;   86:(       RET,            ,            ,          )

; ITemplate_RET
	BCC            	BKSR,	0x4
	RET            			; Bank 0		; ShBank 0
	_DESC          	SPIWriteData,0X1,0X0

SECTION1SPIWriteData	UNINTIAL       	0		; Bank 0
	ORG            	0X92		; Bank 0
_SPIWriteDataDATA	RSEG           	0X9		; Bank 0
SPIWriteData#	CSEG           
_SPIWriteData
;   94:(    FUNCHD,          n ,            ,          )

; ITemplate_FUNCHD
	SECTION        	0x1
	MOVA           	(_SPIWriteDataDATA+0X2+0x1) & 0X7F		; Bank 1
; /**********************************************
; 函数名：void SPIWriteData(uchar *wbuf,uint n)
; 描  述：SPI数据发送程序
; 输入值：发送数据起始地址和发送的数据个数
; 输出值：无
; 返回值：无
; **********************************************/
; void SPIWriteData(uchar *wbuf,uint n)
; {
;     uchar i;
#line 97	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     PA6 = 0;    //片选拉低
;   97:(    ASGN_0,          0 ,            ,       PA6)

; ITemplate_CLR_0_TMP
	BCC            	(_PA6_0)/8,	(_PA6_0)%8
#line 98	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     for (i=0; i<255; i++)     //延时等待从机准备
;   98:(    ASGN_1,          0 ,            ,         i)

; ITemplate_CLR1_4_TMP
	CLR            	(_SPIWriteData_i_9) & 0X7F		; Bank 1
;   98:(     LABEL,    #L20480 ,            ,          )

; ITemplate_LABEL
#L20480
;   98:(    JGE_1U,          i ,        255 ,   #L20481)

; ITemplate_JGE1_4U
	MOVI           	0xff
	SUB            	(_SPIWriteData_i_9) & 0X7F,	0x0		; Bank 1
	JBC            	PSW,	0x0
	GOTO           	#L20481
;   98:(     ADD_1,          i ,          1 ,         i)

; ITemplate_INC_1_TMP
	INC            	(_SPIWriteData_i_9) & 0X7F		; Bank 1
#line 99	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;         ;
;   99:(       JMP,            ,            ,   #L20480)

; ITemplate_JMP
	GOTO           	#L20480
;   99:(     LABEL,    #L20481 ,            ,          )

; ITemplate_LABEL
#L20481
#line 100	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     for (i=0 ;i<n; i++)
;  100:(    ASGN_1,          0 ,            ,         i)

; ITemplate_CLR1_4_TMP
	CLR            	(_SPIWriteData_i_9) & 0X7F		; Bank 1
;  100:(     LABEL,    #L20512 ,            ,          )

; ITemplate_LABEL
#L20512
;  100:(   CVUC_UI,          i ,            ,   #T20527)

; ITemplate_CVTMS_U
	CLR            	(_SPIWriteData_#T20527_9+0x1) & 0X7F		; Bank 1
	MOV            	(_SPIWriteData_i_9) & 0X7F,	0x0		; Bank 1
	MOVA           	(_SPIWriteData_#T20527_9) & 0X7F		; Bank 1
;  100:(    JGE_2U,    #T20527 ,          n ,   #L20513)

; ITemplate_JGE1_4U
	MOV            	(_SPIWriteDataDATA+0X2+0x1) & 0X7F,	0x0		; Bank 1
	SUB            	(_SPIWriteData_#T20527_9+0x1) & 0X7F,	0x0		; Bank 1
	JBS            	PSW,	0x2
	GOTO           	#L20893
	MOV            	(_SPIWriteDataDATA+0X2) & 0X7F,	0x0		; Bank 1
	SUB            	(_SPIWriteData_#T20527_9) & 0X7F,	0x0		; Bank 1
#L20893
	JBC            	PSW,	0x0
	GOTO           	#L20513
;     {
#line 102	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;         SPITBW = *(wbuf+i);
;  102:(   CVUC_UI,          i ,            ,   #T20547)

; ITemplate_CVTMS_U
	CLR            	(_SPIWriteData_#T20547_10+0x1) & 0X7F		; Bank 1
	MOV            	(_SPIWriteData_i_9) & 0X7F,	0x0		; Bank 1
	MOVA           	(_SPIWriteData_#T20547_10) & 0X7F		; Bank 1
;  102:(     ADD_2,    #T20547 ,       wbuf ,   #T20548)

; ITemplate_ADD1_4
	MOV            	(_SPIWriteData_#T20547_10) & 0X7F,	0x0		; Bank 1
	ADD            	(_SPIWriteDataDATA+0X0) & 0X7F,	0x0		; Bank 1
	MOVA           	(_SPIWriteData_#T20548_10) & 0X7F		; Bank 1
	MOV            	(_SPIWriteData_#T20547_10+0x1) & 0X7F,	0x0		; Bank 1
	ADDC           	(_SPIWriteDataDATA+0X0+0x1) & 0X7F,	0x0		; Bank 1
	MOVA           	(_SPIWriteData_#T20548_10+0x1) & 0X7F		; Bank 1
;  102:(    ASGN_1,   *#T20548 ,            ,    SPITBW)

; ITemplate_GetRamRef
	MOV            	(_SPIWriteData_#T20548_10+0x1) & 0X7F,	0x0		; Bank 1
	MOVA           	IAAH
	MOV            	(_SPIWriteData_#T20548_10) & 0X7F,	0x0		; Bank 1
	MOVA           	IAAL
	MOV            	IAD,	0x0
	MOVAR          	?_TMP		; Bank 0
; ITemplate_ASGN1_4
	MOVRA          	?_TMP		; Bank 0
	BSS            	BKSR,	0x4
	MOVA           	_SPITBW_0#sh		; ShBank 1
#line 103	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;         while(!IDIF);
;  103:(     LABEL,    #L20549 ,            ,          )

; ITemplate_LABEL
#L20549
;  103:(      JZ_0,       IDIF ,            ,   #L20549)

; ITemplate_JZ_0
	JBS            	(_IDIF_0#sh)/8,	(_IDIF_0#sh)%8		; ShBank 1
	GOTO           	#L20549
#line 104	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;         CLRWDT();
; ITemplate_LABEL
;-----------Embedded Asm--------------
	CWDT
;-------------------------------------
;  100:(     ADD_1,          i ,          1 ,         i)

; ITemplate_INC_1_TMP
	INC            	(_SPIWriteData_i_9) & 0X7F		; Bank 1
#line 105	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     }
;  105:(       JMP,            ,            ,   #L20512)

; ITemplate_JMP
	GOTO           	#L20512
;  105:(     LABEL,    #L20513 ,            ,          )

; ITemplate_LABEL
#L20513
#line 106	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     PA6 = 1;
;  106:(    ASGN_0,          1 ,            ,       PA6)

; ITemplate_SET_0_TMP
	BSS            	(_PA6_0)/8,	(_PA6_0)%8
#line 107	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ; }
;  107:(       RET,            ,            ,          )

; ITemplate_RET
	SECTION        	0x0
	BCC            	BKSR,	0x4
	RET            			; Bank 0		; ShBank 0
	_DESC          	SPIReadData,0X0,0X0

SECTION1SPIReadData	UNINTIAL       	0		; Bank 0
	ORG            	0X92		; Bank 0
_SPIReadDataDATA	RSEG           	0X8		; Bank 0
SPIReadData#	CSEG           
_SPIReadData
;  116:(    FUNCHD,          n ,            ,          )

; ITemplate_FUNCHD
	SECTION        	0x1
	MOVA           	(_SPIReadDataDATA+0X2+0x1) & 0X7F		; Bank 1
; /**********************************************
; 函数名：void SPIReadData(uchar *rbuf,uint n)
; 描  述：SPI数据接收程序
; 输入值：接收起始地址和发送的数据个数
; 输出值：接收到的数据
; 返回值：无
; **********************************************/
; void SPIReadData(uchar *rbuf,uint n)
; {
;     uint i;
#line 119	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     PA6 = 0;        //片选拉低
;  119:(    ASGN_0,          0 ,            ,       PA6)

; ITemplate_CLR_0_TMP
	BCC            	(_PA6_0)/8,	(_PA6_0)%8
#line 120	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     for (i = 0;i<1000;i++)    //延时等待从机准备
;  120:(    ASGN_2,          0 ,            ,         i)

; ITemplate_CLR1_4_TMP
	CLR            	(_SPIReadData_i_13) & 0X7F		; Bank 1
	CLR            	(_SPIReadData_i_13+0x1) & 0X7F		; Bank 1
;  120:(     LABEL,    #L20582 ,            ,          )

; ITemplate_LABEL
#L20582
;  120:(    JGE_2U,          i ,       1000 ,   #L20583)

; ITemplate_JGE1_4U
	MOVI           	0x3
	SUB            	(_SPIReadData_i_13+0x1) & 0X7F,	0x0		; Bank 1
	JBS            	PSW,	0x2
	GOTO           	#L20894
	MOVI           	0xe8
	SUB            	(_SPIReadData_i_13) & 0X7F,	0x0		; Bank 1
#L20894
	JBC            	PSW,	0x0
	GOTO           	#L20583
;  120:(     ADD_2,          i ,          1 ,         i)

; ITemplate_INC_2_TMP
	INC            	(_SPIReadData_i_13) & 0X7F		; Bank 1
	JBS            	PSW,	0x2
	GOTO           	#L20895
	INC            	(_SPIReadData_i_13+0x1) & 0X7F		; Bank 1
#L20895
#line 121	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;         ;
;  121:(       JMP,            ,            ,   #L20582)

; ITemplate_JMP
	GOTO           	#L20582
;  121:(     LABEL,    #L20583 ,            ,          )

; ITemplate_LABEL
#L20583
#line 123	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     rxcnt = 0;      //接收计数复位
;  123:(    ASGN_2,          0 ,            ,     rxcnt)

; ITemplate_CLR1_4_TMP
	CLR            	(_rxcnt) & 0X7F		; Bank 1
	CLR            	(_rxcnt+0x1) & 0X7F		; Bank 1
#line 124	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     REN = 1;        //读数据时打开接收
;  124:(    ASGN_0,          1 ,            ,       REN)

; ITemplate_SET_0_TMP
	BSS            	BKSR,	0x4
	BSS            	(_REN_0#sh)/8,	(_REN_0#sh)%8		; ShBank 1
#line 126	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     for (i=0; i<n; i++)
;  126:(    ASGN_2,          0 ,            ,         i)

; ITemplate_CLR1_4_TMP
	CLR            	(_SPIReadData_i_13) & 0X7F		; Bank 1
	CLR            	(_SPIReadData_i_13+0x1) & 0X7F		; Bank 1
;  126:(     LABEL,    #L20626 ,            ,          )

; ITemplate_LABEL
#L20626
;  126:(    JGE_2U,          i ,          n ,   #L20627)

; ITemplate_JGE1_4U
	MOV            	(_SPIReadDataDATA+0X2+0x1) & 0X7F,	0x0		; Bank 1
	SUB            	(_SPIReadData_i_13+0x1) & 0X7F,	0x0		; Bank 1
	JBS            	PSW,	0x2
	GOTO           	#L20896
	MOV            	(_SPIReadDataDATA+0X2) & 0X7F,	0x0		; Bank 1
	SUB            	(_SPIReadData_i_13) & 0X7F,	0x0		; Bank 1
#L20896
	JBC            	PSW,	0x0
	GOTO           	#L20627
;     {
#line 128	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ; 		SPITBW = 0xFF;  //写数据
;  128:(    ASGN_1,        255 ,            ,    SPITBW)

; ITemplate_ASGN1_4_R
	MOVI           	0xff
	MOVA           	_SPITBW_0#sh		; ShBank 1
#line 129	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;         while(!IDIF);      //等待发送完成
;  129:(     LABEL,    #L20648 ,            ,          )

; ITemplate_LABEL
#L20648
;  129:(      JZ_0,       IDIF ,            ,   #L20648)

; ITemplate_JZ_0
	JBS            	(_IDIF_0#sh)/8,	(_IDIF_0#sh)%8		; ShBank 1
	GOTO           	#L20648
#line 131	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;         if (RBIE == 0)
;  131:(     JNZ_0,       RBIE ,            ,   #L20654)

; ITemplate_JNZ_0
	JBC            	(_RBIE_0#sh)/8,	(_RBIE_0#sh)%8		; ShBank 1
	GOTO           	#L20654
;         {
#line 133	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;             while (!RBIF);          //等待接收完成
;  133:(     LABEL,    #L20662 ,            ,          )

; ITemplate_LABEL
#L20662
;  133:(      JZ_0,       RBIF ,            ,   #L20662)

; ITemplate_JZ_0
	JBS            	(_RBIF_0#sh)/8,	(_RBIF_0#sh)%8		; ShBank 1
	GOTO           	#L20662
#line 134	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;             *(rbuf+i) = SPIRBR;     //读数据
;  134:(     ADD_2,       rbuf ,          i ,   #T20681)

; ITemplate_ADD1_4
	MOV            	(_SPIReadDataDATA+0X0) & 0X7F,	0x0		; Bank 1
	ADD            	(_SPIReadData_i_13) & 0X7F,	0x0		; Bank 1
	MOVA           	(_SPIReadData_#T20681_15) & 0X7F		; Bank 1
	MOV            	(_SPIReadDataDATA+0X0+0x1) & 0X7F,	0x0		; Bank 1
	ADDC           	(_SPIReadData_i_13+0x1) & 0X7F,	0x0		; Bank 1
	MOVA           	(_SPIReadData_#T20681_15+0x1) & 0X7F		; Bank 1
;  134:(    ASGN_1,     SPIRBR ,            ,  *#T20681)

; ITemplate_ASGN1_4
; ITemplate_SetFSR
	MOV            	(_SPIReadData_#T20681_15+0x1) & 0X7F,	0x0		; Bank 1
	MOVA           	IAAH
	MOV            	(_SPIReadData_#T20681_15) & 0X7F,	0x0		; Bank 1
	MOVA           	IAAL
	MOV            	_SPIRBR_0#sh,	0x0		; ShBank 1
; ITemplate_SetINDF
	MOVA           	IAD
	ISTEP          	0x1
#line 135	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;         }
;  135:(     LABEL,    #L20654 ,            ,          )

; ITemplate_LABEL
#L20654
#line 136	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;         CLRWDT();
; ITemplate_LABEL
;-----------Embedded Asm--------------
	CWDT
;-------------------------------------
;  126:(     ADD_2,          i ,          1 ,         i)

; ITemplate_INC_2_TMP
	INC            	(_SPIReadData_i_13) & 0X7F		; Bank 1
	JBS            	PSW,	0x2
	GOTO           	#L20897
	INC            	(_SPIReadData_i_13+0x1) & 0X7F		; Bank 1
#L20897
#line 137	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     }
;  137:(       JMP,            ,            ,   #L20626)

; ITemplate_JMP
	GOTO           	#L20626
;  137:(     LABEL,    #L20627 ,            ,          )

; ITemplate_LABEL
#L20627
#line 138	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     PA6 = 1;
;  138:(    ASGN_0,          1 ,            ,       PA6)

; ITemplate_SET_0_TMP
	BSS            	(_PA6_0)/8,	(_PA6_0)%8
#line 139	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     REN = 0;  
;  139:(    ASGN_0,          0 ,            ,       REN)

; ITemplate_CLR_0_TMP
	BCC            	(_REN_0#sh)/8,	(_REN_0#sh)%8		; ShBank 1
#line 140	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ; }
;  140:(       RET,            ,            ,          )

; ITemplate_RET
	SECTION        	0x0
	BCC            	BKSR,	0x4
	RET            			; Bank 0		; ShBank 0
	_DESC          	##isr,0X0,0X0

SECTION1isr	UNINTIAL       	0		; Bank 0
	ORG            	0X9B		; Bank 0
_isrDATA	RSEG           	0X2		; Bank 0
; interrupt fun entry
	PUBLIC         	SAVED_TMP
SECTION0_INT_SAVED_00	UNINTIAL       		; Bank 0
SAVED_FSR	RSEG           	0x3
SECTION0_INT_SAVED_3	UNINTIAL       		; Bank 0
SAVED_TMP	RSEG           	0x1
INT_ENTRY	CSEG           	0x04
; ITemplate_InterruptHead
_INT_ENTRY
	PUSH           	
	CLR            	PCRH
	CLR            	BKSR
	MOV            	IAAL,	0x0
	MOVA           	(SAVED_FSR) & 0X7F		; Bank 0
	MOV            	IAAH,	0x0
	MOVA           	(SAVED_FSR+0x1) & 0X7F		; Bank 0
	MOV            	(CSEG_PTR) & 0X7F,	0x0		; Bank 0
	MOVA           	(CSEG_PTR+0x2) & 0X7F		; Bank 0
	MOV            	(CSEG_PTR+0x1) & 0X7F,	0x0		; Bank 0
	MOVA           	(CSEG_PTR+0x3) & 0X7F		; Bank 0
	MOV            	(MUL_TEMP) & 0X7F,	0x0		; Bank 0
	MOVA           	(MUL_TEMP+0x2) & 0X7F		; Bank 0
	MOV            	(MUL_TEMP+0x1) & 0X7F,	0x0		; Bank 0
	MOVA           	(MUL_TEMP+0x3) & 0X7F		; Bank 0
isr#	CSEG           
_isr
; /**********************************************
; 函数名：void isr(void) interrupt 
; 描  述：接收中断服务程序
; 输入值：无
; 输出值：无
; 返回值：无
; **********************************************/
; void isr(void) interrupt
; {
#line 151	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     if (RBIE==1 && RBIF==1)     //SPI接收中断
;  151:(    CVB_SC,       RBIE ,            ,   #T20721)

; ITemplate_CVB_UC
	MOVI           	0x0
	BSS            	BKSR,	0x4
	JBC            	(_RBIE_0#sh)/8,	(_RBIE_0#sh)%8		; ShBank 1
	MOVI           	0x1
	SECTION        	0x1
	MOVA           	(_isr_#T20721_18) & 0X7F		; Bank 1
;  151:(    JNEQ_1,          1 ,    #T20721 ,   #L20715)

; ITemplate_JNEQ1_4
	MOV            	(_isr_#T20721_18) & 0X7F,	0x0		; Bank 1
	XORI           	0x1
	JBS            	PSW,	0x2
	GOTO           	#L20715
;  151:(    CVB_SC,       RBIF ,            ,   #T20728)

; ITemplate_CVB_UC
	MOVI           	0x0
	JBC            	(_RBIF_0#sh)/8,	(_RBIF_0#sh)%8		; ShBank 1
	MOVI           	0x1
	MOVA           	(_isr_#T20728_18) & 0X7F		; Bank 1
;  151:(    JNEQ_1,          1 ,    #T20728 ,   #L20715)

; ITemplate_JNEQ1_4
	MOV            	(_isr_#T20728_18) & 0X7F,	0x0		; Bank 1
	XORI           	0x1
	JBS            	PSW,	0x2
	GOTO           	#L20715
;     {
#line 153	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;         rxbuf[rxcnt++] = SPIRBR;
;  153:(     ADD_2,  (rxbuf.0) ,      rxcnt ,   #T20749)

; ITemplate_ADD1_4
	MOVI           	_rxbuf
	ADD            	(_rxcnt) & 0X7F,	0x0		; Bank 1
	MOVA           	(_isr_#T20749_19) & 0X7F		; Bank 1
	MOVI           	HIGH(_rxbuf)
	ADDC           	(_rxcnt+0x1) & 0X7F,	0x0		; Bank 1
	MOVA           	(_isr_#T20749_19+0x1) & 0X7F		; Bank 1
;  153:(    ASGN_1,     SPIRBR ,            ,  *#T20749)

; ITemplate_ASGN1_4
; ITemplate_SetFSR
	MOV            	(_isr_#T20749_19+0x1) & 0X7F,	0x0		; Bank 1
	MOVA           	IAAH
	MOV            	(_isr_#T20749_19) & 0X7F,	0x0		; Bank 1
	MOVA           	IAAL
	MOV            	_SPIRBR_0#sh,	0x0		; ShBank 1
; ITemplate_SetINDF
	MOVA           	IAD
	ISTEP          	0x1
;  153:(     ADD_2,      rxcnt ,          1 ,     rxcnt)

; ITemplate_INC_2_TMP
	INC            	(_rxcnt) & 0X7F		; Bank 1
	JBS            	PSW,	0x2
	GOTO           	#L20898
	INC            	(_rxcnt+0x1) & 0X7F		; Bank 1
#L20898
#line 154	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;         if (rxcnt > RXBUF_SIZE - 1)
;  154:(    JLE_2U,      rxcnt ,          7 ,   #L20715)

; ITemplate_JLE1_4U
	MOV            	(_rxcnt+0x1) & 0X7F,	0x0		; Bank 1
	SUBI           	0x0
	JBS            	PSW,	0x2
	GOTO           	#L20899
	MOV            	(_rxcnt) & 0X7F,	0x0		; Bank 1
	SUBI           	0x7
#L20899
	JBC            	PSW,	0x0
	GOTO           	#L20715
#line 155	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;             rxcnt = 0;
;  155:(    ASGN_2,          0 ,            ,     rxcnt)

; ITemplate_CLR1_4_TMP
	CLR            	(_rxcnt) & 0X7F		; Bank 1
	CLR            	(_rxcnt+0x1) & 0X7F		; Bank 1
#line 156	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     }
;  156:(     LABEL,    #L20715 ,            ,          )

; ITemplate_LABEL
#L20715
#line 158	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     SPI_GIEIF = 0;//清中断标志
;  158:(    ASGN_0,          0 ,            , SPI_GIEIF)

; ITemplate_CLR_0_TMP
	BCC            	(_SPI_GIEIF_0)/8,	(_SPI_GIEIF_0)%8
#line 159	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ; }
;  159:(     RET_I,            ,            ,          )

; ITemplate_RET_I
	SECTION        	0x0
	BCC            	BKSR,	0x4
	GOTO           	_INT_RESTORE		; Bank 0		; ShBank 0
; interrupt fun restore
INT_RESTORE	CSEG           
; ITemplate_InterruptTail
_INT_RESTORE
	NOP            	
	NOP            	
	MOV            	(CSEG_PTR+0x3) & 0X7F,	0x0		; Bank 0
	MOVA           	(CSEG_PTR+0x1) & 0X7F		; Bank 0
	MOV            	(CSEG_PTR+0x2) & 0X7F,	0x0		; Bank 0
	MOVA           	(CSEG_PTR) & 0X7F		; Bank 0
	MOV            	(MUL_TEMP+0x2) & 0X7F,	0x0		; Bank 0
	MOVA           	(MUL_TEMP) & 0X7F		; Bank 0
	MOVA           	MULA
	MOV            	(MUL_TEMP+0x3) & 0X7F,	0x0		; Bank 0
	MOVA           	(MUL_TEMP+0x1) & 0X7F		; Bank 0
	MOVA           	MULB
	MOV            	(SAVED_FSR+0x1) & 0X7F,	0x0		; Bank 0
	MOVA           	IAAH
	MOV            	(SAVED_FSR) & 0X7F,	0x0		; Bank 0
	MOVA           	IAAL
	POP            	
	RETIE          	
	_DESC          	main,0X0,0X0,GPIOInit,Init_spi,SPIReadData,SPIWriteData

SECTION1main	UNINTIAL       	0		; Bank 0
	ORG            	0X90		; Bank 0
_mainDATA	RSEG           	0X2		; Bank 0
main#	CSEG           
_main
; /**********************************************
; 函数名：void main(void) 
; 描  述：主函数
; 输入值：无
; 输出值：无
; 返回值：无
; **********************************************/
; void main(void) 
; {
;     uint i;
#line 171	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     GPIOInit();
	CLR            	BKSR
;  171:(      CALL, (GPIOInit.0) ,            ,          )

; ITemplate_CALL
	SEGMENTSEL     	_GPIOInit
	CALL           	_GPIOInit		; Bank 0		; ShBank 0
	SEGMENTSEL     	$
#line 172	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     Init_spi();
;  172:(      CALL, (Init_spi.0) ,            ,          )

; ITemplate_CALL
	SEGMENTSEL     	_Init_spi
	CALL           	_Init_spi		; Bank 0		; ShBank 0
	SEGMENTSEL     	$
#line 173	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     SPI_GIEIE = 1;  //打开SPI中断
;  173:(    ASGN_0,          1 ,            , SPI_GIEIE)

; ITemplate_SET_0_TMP
	BSS            	(_SPI_GIEIE_0)/8,	(_SPI_GIEIE_0)%8
#line 174	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     GIE = 1;    //打开总中断
;  174:(    ASGN_0,          1 ,            ,       GIE)

; ITemplate_SET_0_TMP
	BSS            	(_GIE_0)/8,	(_GIE_0)%8
#line 176	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     while(1)
;  176:(     LABEL,    #L20809 ,            ,          )

; ITemplate_LABEL
#L20809
;     {
#line 178	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ; 		SPIReadData(rxbuf,8);
;  178:(    PARA_2,  (rxbuf.0) ,            ,      rbuf)

; ITemplate_ASGN1_4
	MOVI           	_rxbuf
	SECTION        	0x1
	MOVA           	(_SPIReadDataDATA+0X0) & 0X7F		; Bank 1
	MOVI           	HIGH(_rxbuf)
	MOVA           	(_SPIReadDataDATA+0X0+0x1) & 0X7F		; Bank 1
;  178:(    PARA_2,          8 ,            ,         n)

; ITemplate_PARA_1_4
	MOVI           	0x8
	MOVA           	(_SPIReadDataDATA+0X2) & 0X7F		; Bank 1
	MOVI           	0x0
;  178:(      CALL, (SPIReadData.0) ,            ,          )

; ITemplate_CALL
	SEGMENTSEL     	_SPIReadData
	CALL           	_SPIReadData		; Bank 0		; ShBank 0
	SEGMENTSEL     	$
#line 179	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ; 		for(i = 0;i<10000;i++);
;  179:(    ASGN_2,          0 ,            ,         i)

; ITemplate_CLR1_4_TMP
	SECTION        	0x1
	CLR            	(_main_i_21) & 0X7F		; Bank 1
	CLR            	(_main_i_21+0x1) & 0X7F		; Bank 1
;  179:(     LABEL,    #L20820 ,            ,          )

; ITemplate_LABEL
#L20820
;  179:(    JGE_2U,          i ,      10000 ,   #L20821)

; ITemplate_JGE1_4U
	MOVI           	0x27
	SUB            	(_main_i_21+0x1) & 0X7F,	0x0		; Bank 1
	JBS            	PSW,	0x2
	GOTO           	#L20900
	MOVI           	0x10
	SUB            	(_main_i_21) & 0X7F,	0x0		; Bank 1
#L20900
	JBC            	PSW,	0x0
	GOTO           	#L20821
;  179:(     ADD_2,          i ,          1 ,         i)

; ITemplate_INC_2_TMP
	INC            	(_main_i_21) & 0X7F		; Bank 1
	JBS            	PSW,	0x2
	GOTO           	#L20901
	INC            	(_main_i_21+0x1) & 0X7F		; Bank 1
#L20901
;  179:(       JMP,            ,            ,   #L20820)

; ITemplate_JMP
	GOTO           	#L20820
;  179:(     LABEL,    #L20821 ,            ,          )

; ITemplate_LABEL
#L20821
#line 181	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ; 		SPIWriteData(txbuf,8);
;  181:(    PARA_2,  (txbuf.0) ,            ,      wbuf)

; ITemplate_ASGN1_4
	MOVI           	_txbuf
	MOVA           	(_SPIWriteDataDATA+0X0) & 0X7F		; Bank 1
	MOVI           	HIGH(_txbuf)
	MOVA           	(_SPIWriteDataDATA+0X0+0x1) & 0X7F		; Bank 1
;  181:(    PARA_2,          8 ,            ,         n)

; ITemplate_PARA_1_4
	MOVI           	0x8
	MOVA           	(_SPIWriteDataDATA+0X2) & 0X7F		; Bank 1
	MOVI           	0x0
;  181:(      CALL, (SPIWriteData.0) ,            ,          )

; ITemplate_CALL
	SEGMENTSEL     	_SPIWriteData
	CALL           	_SPIWriteData		; Bank 0		; ShBank 0
	SEGMENTSEL     	$
#line 182	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ; 		for(i = 0;i<10000;i++);
;  182:(    ASGN_2,          0 ,            ,         i)

; ITemplate_CLR1_4_TMP
	SECTION        	0x1
	CLR            	(_main_i_21) & 0X7F		; Bank 1
	CLR            	(_main_i_21+0x1) & 0X7F		; Bank 1
;  182:(     LABEL,    #L20860 ,            ,          )

; ITemplate_LABEL
#L20860
;  182:(    JGE_2U,          i ,      10000 ,   #L20861)

; ITemplate_JGE1_4U
	MOVI           	0x27
	SUB            	(_main_i_21+0x1) & 0X7F,	0x0		; Bank 1
	JBS            	PSW,	0x2
	GOTO           	#L20902
	MOVI           	0x10
	SUB            	(_main_i_21) & 0X7F,	0x0		; Bank 1
#L20902
	JBC            	PSW,	0x0
	GOTO           	#L20861
;  182:(     ADD_2,          i ,          1 ,         i)

; ITemplate_INC_2_TMP
	INC            	(_main_i_21) & 0X7F		; Bank 1
	JBS            	PSW,	0x2
	GOTO           	#L20903
	INC            	(_main_i_21+0x1) & 0X7F		; Bank 1
#L20903
;  182:(       JMP,            ,            ,   #L20860)

; ITemplate_JMP
	GOTO           	#L20860
;  182:(     LABEL,    #L20861 ,            ,          )

; ITemplate_LABEL
#L20861
#line 184	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ; 		CLRWDT();
; ITemplate_LABEL
;-----------Embedded Asm--------------
	CWDT
;-------------------------------------
#line 185	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SPI\spi_master\spi_master.c ;     }
;  185:(       JMP,            ,            ,   #L20809)

; ITemplate_JMP
	GOTO           	#L20809

SECTION8C__Users_lisq_Desktop_AN135_Examples_ES7P169C_SPI_spi_master_spi_master_c_STATIC0	PSECT	FLAG=0X1088,ADDR=0X7FCB7
_GIE_0	RSEG           	0X1		; Bank 0

SECTION8C__Users_lisq_Desktop_AN135_Examples_ES7P169C_SPI_spi_master_spi_master_c_STATIC1	PSECT	FLAG=0X1088,ADDR=0X7FCCF
_SPI_GIEIE_0	RSEG           	0X1		; Bank 0

SECTION8C__Users_lisq_Desktop_AN135_Examples_ES7P169C_SPI_spi_master_spi_master_c_STATIC2	PSECT	FLAG=0X1088,ADDR=0X7FCD7
_SPI_GIEIF_0	RSEG           	0X1		; Bank 0

SECTION8C__Users_lisq_Desktop_AN135_Examples_ES7P169C_SPI_spi_master_spi_master_c_STATIC3	PSECT	FLAG=0X1088,ADDR=0X7FD46
_PA6_0	RSEG           	0X1		; Bank 0

SECTION8C__Users_lisq_Desktop_AN135_Examples_ES7P169C_SPI_spi_master_spi_master_c_STATIC4	PSECT	FLAG=0X1088,ADDR=0X7FD76
_PBT6_0	RSEG           	0X1		; Bank 0

SECTION8C__Users_lisq_Desktop_AN135_Examples_ES7P169C_SPI_spi_master_spi_master_c_STATIC5	PSECT	FLAG=0X1088,ADDR=0X30608
_SPIEN_0	RSEG           	0X1		; Bank 0

SECTION8C__Users_lisq_Desktop_AN135_Examples_ES7P169C_SPI_spi_master_spi_master_c_STATIC6	PSECT	FLAG=0X1088,ADDR=0X30609
_SPIRST_0	RSEG           	0X1		; Bank 0

SECTION8C__Users_lisq_Desktop_AN135_Examples_ES7P169C_SPI_spi_master_spi_master_c_STATIC7	PSECT	FLAG=0X1088,ADDR=0X3060A
_MS_0	RSEG           	0X1		; Bank 0

SECTION8C__Users_lisq_Desktop_AN135_Examples_ES7P169C_SPI_spi_master_spi_master_c_STATIC8	PSECT	FLAG=0X1088,ADDR=0X3060B
_REN_0	RSEG           	0X1		; Bank 0

SECTION8C__Users_lisq_Desktop_AN135_Examples_ES7P169C_SPI_spi_master_spi_master_c_STATIC9	PSECT	FLAG=0X1088,ADDR=0X30611
_RBIE_0	RSEG           	0X1		; Bank 0

SECTION8C__Users_lisq_Desktop_AN135_Examples_ES7P169C_SPI_spi_master_spi_master_c_STATIC10	PSECT	FLAG=0X1088,ADDR=0X30619
_RBIF_0	RSEG           	0X1		; Bank 0

SECTION8C__Users_lisq_Desktop_AN135_Examples_ES7P169C_SPI_spi_master_spi_master_c_STATIC11	PSECT	FLAG=0X1088,ADDR=0X3061C
_IDIF_0	RSEG           	0X1		; Bank 0

SECTION1IC__Users_lisq_Desktop_AN135_Examples_ES7P169C_SPI_spi_master_spi_master_c13	IDATA          		0X88		; Bank 0
_txbuf	DB             	0X0,0XE4,0X1,0XE4,0X2,0XE4,0X3,0XE4,0X4,0XE4,0X5,0XE4,0X6,0XE4,0X7,0XE4		; Bank 0

SECTION1IC__Users_lisq_Desktop_AN135_Examples_ES7P169C_SPI_spi_master_spi_master_c15	IDATA          		0X80		; Bank 0
_rxbuf	DB             	0X0,0XE4,0x00,0XE4,0x00,0XE4,0x00,0XE4,0x00,0XE4,0x00,0XE4,0x00,0XE4,0x00,0XE4		; Bank 0

SECTION1C__Users_lisq_Desktop_AN135_Examples_ES7P169C_SPI_spi_master_spi_master_c_STATIC	UNINTIAL       	0		; Bank 0
	ORG            	0X9D		; Bank 0
_rxcnt	RSEG           	0X2		; Bank 0

SECTION8D__Program_Files__x86__iDesigner4_1_tools_INCLUDE_ES7P169C_h_STATIC	UNINTIAL       	0		; Bank 0
	ORG            	0XFF80		; Bank 0
_IAD_0	RSEG           	0X1		; Bank 0
	ORG            	0XFF81		; Bank 0
_IAAL_0	RSEG           	0X1		; Bank 0
	ORG            	0XFF82		; Bank 0
_IAAH_0	RSEG           	0X1		; Bank 0
	ORG            	0XFF8D		; Bank 0
_ANSH_0	RSEG           	0X1		; Bank 0
	ORG            	0XFFA8		; Bank 0
_PA_0	RSEG           	0X1		; Bank 0
	ORG            	0XFFA9		; Bank 0
_PB_0	RSEG           	0X1		; Bank 0
	ORG            	0XFFAA		; Bank 0
_PC_0	RSEG           	0X1		; Bank 0
	ORG            	0XFFAD		; Bank 0
_PAT_0	RSEG           	0X1		; Bank 0
	ORG            	0XFFAE		; Bank 0
_PBT_0	RSEG           	0X1		; Bank 0
	ORG            	0XFFAF		; Bank 0
_PCT_0	RSEG           	0X1		; Bank 0
	ORG            	0XFFBC		; Bank 0
_ANSL_0	RSEG           	0X1		; Bank 0
	ORG            	0X60C0		; Bank 0
_SPICON0_0	RSEG           	0X1		; Bank 0
	ORG            	0X60C1		; Bank 0
_SPICON1_0	RSEG           	0X1		; Bank 0
	ORG            	0X60C4		; Bank 0
_SPIRBR_0	RSEG           	0X1		; Bank 0
	ORG            	0X60C5		; Bank 0
_SPITBW_0	RSEG           	0X1		; Bank 0
	END
