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

#INCLUDE       	<ES7P169C.INC>
#INCLUDE       	<OPERATION.INC>
	PUBLIC         	_RAMclear
	PUBLIC         	_GPIOInit
	PUBLIC         	_sleep
	PUBLIC         	_isr
	PUBLIC         	_main
_isr_#T20434_9	EQU            	_isrDATA + 0X0		; Bank 0
_isr_#T20441_9	EQU            	_isrDATA + 0X0		; Bank 0
_main_i_12	EQU            	_mainDATA + 0X0		; Bank 0
_main_j_12	EQU            	_mainDATA + 0X2		; Bank 0
#TMP	EQU            	?_TMP+ 0X0		; Bank 0
?_TMP_RET	EQU            	?_TMP		; 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          	RAMclear,0X0,0X0
RAMclear#	CSEG           
_RAMclear
; /*********************************************************
; *Copyright (C), 2020, Shanghai Eastsoft Microelectronics Co., Ltd
; *文件名:  sleep.c
; *作  者:  AE Team
; *版  本:  v1.0，编译于iDesigner(v4.2.3.166) + 工具链HRCC(v1.2.0.106)
; *日  期:  2020/07/08
; *描  述:  睡眠 + 按键中断唤醒演示
;           PA1：管脚翻转输出
;           PA3：外部中断管脚
;           芯片上电复位后PA1管脚翻转10次，然后进入睡眠状态，PA3下降沿唤醒。
;           注意：需要在配置字界面选择MRSTEN(PA3)为数字IO。
; *备  注:  本软件仅供学习和演示使用，对用户直接引用代码所带来的风险或后果不承担任何法律责任。
; **********************************************************/
; #include <hic.h>
; #define CLRWDT()   {__Asm CWDT;}        //宏定义清狗指令
; typedef unsigned char uchar;
; typedef unsigned int uint;
; /******************************************************
; 函数名：void RAMclear(void)
; 描  述：RAM区数据清零，RAM区地址0x0000~0x03FF
; 输入值：无
; 输出值：无
; 返回值：无
; *******************************************************/
; void RAMclear(void)
; {
#line 30	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     for (IAAH=0; IAAH<=0x03; IAAH++)
	CLR            	BKSR
;   30:(    ASGN_1,          0 ,            ,      IAAH)

; ITemplate_CLR1_4_TMP
	CLR            	_IAAH_0
;   30:(     LABEL,    #L20268 ,            ,          )

; ITemplate_LABEL
#L20268
;   30:(    JGT_1U,       IAAH ,          3 ,   #L20345)

; ITemplate_JGT1_4U
	MOV            	_IAAH_0,	0x0
	SUBI           	0x3
	JBS            	PSW,	0x0
	GOTO           	#L20345
;     {
#line 32	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;         for (IAAL=0; IAAL<0xFF; IAAL++)
;   32:(    ASGN_1,          0 ,            ,      IAAL)

; ITemplate_CLR1_4_TMP
	CLR            	_IAAL_0
;   32:(     LABEL,    #L20285 ,            ,          )

; ITemplate_LABEL
#L20285
;   32:(    JGE_1U,       IAAL ,        255 ,   #L20286)

; ITemplate_JGE1_4U
	MOVI           	0xff
	SUB            	_IAAL_0,	0x0
	JBC            	PSW,	0x0
	GOTO           	#L20286
#line 33	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;             IAD = 0x00;
;   33:(    ASGN_1,          0 ,            ,       IAD)

; ITemplate_CLR1_4_TMP
	CLR            	_IAD_0
;   32:(     ADD_1,       IAAL ,          1 ,      IAAL)

; ITemplate_INC_1_TMP
	INC            	_IAAL_0
;   33:(       JMP,            ,            ,   #L20285)

; ITemplate_JMP
	GOTO           	#L20285
;   33:(     LABEL,    #L20286 ,            ,          )

; ITemplate_LABEL
#L20286
#line 34	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;         IAD = 0x00;
;   34:(    ASGN_1,          0 ,            ,       IAD)

; ITemplate_CLR1_4_TMP
	CLR            	_IAD_0
;   30:(     ADD_1,       IAAH ,          1 ,      IAAH)

; ITemplate_INC_1_TMP
	INC            	_IAAH_0
#line 35	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     }
;   35:(       JMP,            ,            ,   #L20268)

; ITemplate_JMP
	GOTO           	#L20268
#line 36	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ; }
;   36:(     LABEL,    #L20345 ,            ,          )

; ITemplate_LABEL
#L20345
;   36:(       RET,            ,            ,          )

; ITemplate_RET
	RET            			; Bank 0		; ShBank 0
	_DESC          	GPIOInit,0X0,0X0
GPIOInit#	CSEG           
_GPIOInit
; /******************************************************
; 函数名：void GPIOInit(void)
; 描  述：首先初始化所有未用到的IO口为输出低电平
; 输入值：无
; 输出值：无
; 返回值：无
; *******************************************************/
; void GPIOInit(void)
; {
#line 47	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     ANSL = 0xFF;        //选择对应端口为数字IO功能
	CLR            	BKSR
;   47:(    ASGN_1,        255 ,            ,      ANSL)

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

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

; ITemplate_CLR1_4_TMP
	CLR            	_PAT_0
#line 50	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     PBT = 0x00;
;   50:(    ASGN_1,          0 ,            ,       PBT)

; ITemplate_CLR1_4_TMP
	CLR            	_PBT_0
#line 51	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     PCT = 0x00;
;   51:(    ASGN_1,          0 ,            ,       PCT)

; ITemplate_CLR1_4_TMP
	CLR            	_PCT_0
#line 52	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     PA = 0x00;
;   52:(    ASGN_1,          0 ,            ,        PA)

; ITemplate_CLR1_4_TMP
	CLR            	_PA_0
#line 53	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     PB = 0x00;
;   53:(    ASGN_1,          0 ,            ,        PB)

; ITemplate_CLR1_4_TMP
	CLR            	_PB_0
#line 54	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     PC = 0x00;
;   54:(    ASGN_1,          0 ,            ,        PC)

; ITemplate_CLR1_4_TMP
	CLR            	_PC_0
#line 55	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     PAT3 = 1;           //外部中断管脚  
;   55:(    ASGN_0,          1 ,            ,      PAT3)

; ITemplate_SET_0_TMP
	BSS            	(_PAT3_0)/8,	(_PAT3_0)%8
#line 56	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     PAPU3 = 1;          //上拉
;   56:(    ASGN_0,          1 ,            ,     PAPU3)

; ITemplate_SET_0_TMP
	BSS            	(_PAPU3_0)/8,	(_PAPU3_0)%8
#line 57	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ; }
;   57:(       RET,            ,            ,          )

; ITemplate_RET
	RET            			; Bank 0		; ShBank 0
	_DESC          	sleep,0X0,0X0
sleep#	CSEG           
_sleep
; /**********************************************
; 函数名：void sleep(void)
; 描  述：进入IDLE模式
; 输入值：无
; 输出值：无
; 返回值：无
; **********************************************/
; void sleep(void)
; {
#line 68	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     PWRC &= 0x3F;
	CLR            	BKSR
;   68:(    BAND_1,         63 ,       PWRC ,      PWRC)

; ITemplate_BAND1_4
	MOV            	_PWRC_0,	0x0
	ANDI           	0x3f
	MOVA           	_PWRC_0
#line 69	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     PWRC |= 2<<6;        //选择IDLE模式
;   69:(   ASGN_B$,          1 ,          7 ,      PWRC)

; ITemplate_SET_B1_TMP
	BSS            	_PWRC_0,	0x7
#line 70	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     __Asm IDLE;     //进入IDLE模式
; ITemplate_LABEL
;-----------Embedded Asm--------------
	IDLE
;-------------------------------------
#line 71	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ; }
;   71:(       RET,            ,            ,          )

; ITemplate_RET
	RET            			; Bank 0		; ShBank 0
	_DESC          	##isr,0X0,0X0

SECTION1isr	UNINTIAL       	0		; Bank 0
	ORG            	0X84		; Bank 0
_isrDATA	RSEG           	0X1		; 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
; /**********************************************
; 函数名：isr(void) interrupt
; 描  述：中断服务程序
; 输入值：无
; 输出值：无
; 返回值：无
; **********************************************/
; void isr(void) interrupt
; {
#line 82	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     if(PIE1==1 && PIF1==1)
;   82:(    CVB_SC,       PIE1 ,            ,   #T20434)

; ITemplate_CVB_UC
	MOVI           	0x0
	JBC            	(_PIE1_0)/8,	(_PIE1_0)%8
	MOVI           	0x1
	SECTION        	0x1
	MOVA           	(_isr_#T20434_9) & 0X7F		; Bank 1
;   82:(    JNEQ_1,          1 ,    #T20434 ,   #L20450)

; ITemplate_JNEQ1_4
	MOV            	(_isr_#T20434_9) & 0X7F,	0x0		; Bank 1
	XORI           	0x1
	JBS            	PSW,	0x2
	GOTO           	#L20450
;   82:(    CVB_SC,       PIF1 ,            ,   #T20441)

; ITemplate_CVB_UC
	MOVI           	0x0
	JBC            	(_PIF1_0)/8,	(_PIF1_0)%8
	MOVI           	0x1
	MOVA           	(_isr_#T20441_9) & 0X7F		; Bank 1
;   82:(    JNEQ_1,          1 ,    #T20441 ,   #L20450)

; ITemplate_JNEQ1_4
	MOV            	(_isr_#T20441_9) & 0X7F,	0x0		; Bank 1
	XORI           	0x1
	JBS            	PSW,	0x2
	GOTO           	#L20450
;     {
#line 84	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;         PIF1 = 0;       //清中断标志位
;   84:(    ASGN_0,          0 ,            ,      PIF1)

; ITemplate_CLR_0_TMP
	BCC            	(_PIF1_0)/8,	(_PIF1_0)%8
;     }
#line 86	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ; }
;   86:(     LABEL,    #L20450 ,            ,          )

; ITemplate_LABEL
#L20450
;   86:(     RET_I,            ,            ,          )

; ITemplate_RET_I
	SECTION        	0x0
	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,RAMclear,GPIOInit,sleep

SECTION1main	UNINTIAL       	0		; Bank 0
	ORG            	0X80		; Bank 0
_mainDATA	RSEG           	0X4		; Bank 0
main#	CSEG           
_main
; /**********************************************
; 函数名：void main(void) 
; 描  述：主函数,如果全局中断打开(GIE=1)，则必须要有唤醒源的中断函数，
;         如果不打开全局中断(GIE=0),则不必有唤醒源的中断函数。
; 输入值：无
; 输出值：无
; 返回值：无
; **********************************************/
; void main(void) 
; {
;     uint i,j;       //循环变量
#line 99	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     RAMclear();
	CLR            	BKSR
;   99:(      CALL, (RAMclear.0) ,            ,          )

; ITemplate_CALL
	SEGMENTSEL     	_RAMclear
	CALL           	_RAMclear		; Bank 0		; ShBank 0
	SEGMENTSEL     	$
#line 100	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     GPIOInit(); 
;  100:(      CALL, (GPIOInit.0) ,            ,          )

; ITemplate_CALL
	SEGMENTSEL     	_GPIOInit
	CALL           	_GPIOInit		; Bank 0		; ShBank 0
	SEGMENTSEL     	$
#line 101	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     INTC0 &= 0xFC;      //PINT1下降沿中断
;  101:(    BAND_1,        252 ,      INTC0 ,     INTC0)

; ITemplate_BAND1_4
	MOV            	_INTC0_0,	0x0
	ANDI           	0xfc
	MOVA           	_INTC0_0
#line 102	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     PIE1 = 1;           //打开管脚中断
;  102:(    ASGN_0,          1 ,            ,      PIE1)

; ITemplate_SET_0_TMP
	BSS            	(_PIE1_0)/8,	(_PIE1_0)%8
;     //GIE = 1;            //打开全局中断
#line 104	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     while(1)
;  104:(     LABEL,    #L20472 ,            ,          )

; ITemplate_LABEL
#L20472
;     {
#line 106	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;         CLRWDT();
; ITemplate_LABEL
;-----------Embedded Asm--------------
	CWDT
;-------------------------------------
#line 107	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;         for(j = 0;j<10;j++)
;  107:(    ASGN_2,          0 ,            ,         j)

; ITemplate_CLR1_4_TMP
	SECTION        	0x1
	CLR            	(_main_j_12) & 0X7F		; Bank 1
	CLR            	(_main_j_12+0x1) & 0X7F		; Bank 1
;  107:(     LABEL,    #L20475 ,            ,          )

; ITemplate_LABEL
#L20475
;  107:(    JGE_2U,          j ,         10 ,   #L20476)

; ITemplate_JGE1_4U
	MOVI           	0x0
	SUB            	(_main_j_12+0x1) & 0X7F,	0x0		; Bank 1
	JBS            	PSW,	0x2
	GOTO           	#L20596
	MOVI           	0xa
	SUB            	(_main_j_12) & 0X7F,	0x0		; Bank 1
#L20596
	JBC            	PSW,	0x0
	GOTO           	#L20476
;         {
#line 109	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;             PA1 = 1;
;  109:(    ASGN_0,          1 ,            ,       PA1)

; ITemplate_SET_0_TMP
	BSS            	(_PA1_0)/8,	(_PA1_0)%8
#line 110	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;             for(i = 0;i<50000;i++);
;  110:(    ASGN_2,          0 ,            ,         i)

; ITemplate_CLR1_4_TMP
	CLR            	(_main_i_12) & 0X7F		; Bank 1
	CLR            	(_main_i_12+0x1) & 0X7F		; Bank 1
;  110:(     LABEL,    #L20497 ,            ,          )

; ITemplate_LABEL
#L20497
;  110:(    JGE_2U,          i ,      50000 ,   #L20498)

; ITemplate_JGE1_4U
	MOVI           	0xc3
	SUB            	(_main_i_12+0x1) & 0X7F,	0x0		; Bank 1
	JBS            	PSW,	0x2
	GOTO           	#L20597
	MOVI           	0x50
	SUB            	(_main_i_12) & 0X7F,	0x0		; Bank 1
#L20597
	JBC            	PSW,	0x0
	GOTO           	#L20498
;  110:(     ADD_2,          i ,          1 ,         i)

; ITemplate_INC_2_TMP
	INC            	(_main_i_12) & 0X7F		; Bank 1
	JBS            	PSW,	0x2
	GOTO           	#L20598
	INC            	(_main_i_12+0x1) & 0X7F		; Bank 1
#L20598
;  110:(       JMP,            ,            ,   #L20497)

; ITemplate_JMP
	GOTO           	#L20497
;  110:(     LABEL,    #L20498 ,            ,          )

; ITemplate_LABEL
#L20498
#line 111	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;             PA1 = 0;
;  111:(    ASGN_0,          0 ,            ,       PA1)

; ITemplate_CLR_0_TMP
	BCC            	(_PA1_0)/8,	(_PA1_0)%8
#line 112	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;             for(i = 0;i<50000;i++);
;  112:(    ASGN_2,          0 ,            ,         i)

; ITemplate_CLR1_4_TMP
	CLR            	(_main_i_12) & 0X7F		; Bank 1
	CLR            	(_main_i_12+0x1) & 0X7F		; Bank 1
;  112:(     LABEL,    #L20536 ,            ,          )

; ITemplate_LABEL
#L20536
;  112:(    JGE_2U,          i ,      50000 ,   #L20477)

; ITemplate_JGE1_4U
	MOVI           	0xc3
	SUB            	(_main_i_12+0x1) & 0X7F,	0x0		; Bank 1
	JBS            	PSW,	0x2
	GOTO           	#L20599
	MOVI           	0x50
	SUB            	(_main_i_12) & 0X7F,	0x0		; Bank 1
#L20599
	JBC            	PSW,	0x0
	GOTO           	#L20477
;  112:(     ADD_2,          i ,          1 ,         i)

; ITemplate_INC_2_TMP
	INC            	(_main_i_12) & 0X7F		; Bank 1
	JBS            	PSW,	0x2
	GOTO           	#L20600
	INC            	(_main_i_12+0x1) & 0X7F		; Bank 1
#L20600
;  112:(       JMP,            ,            ,   #L20536)

; ITemplate_JMP
	GOTO           	#L20536
#line 113	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;         }
;  113:(     LABEL,    #L20477 ,            ,          )

; ITemplate_LABEL
#L20477
;  107:(     ADD_2,          j ,          1 ,         j)

; ITemplate_INC_2_TMP
	INC            	(_main_j_12) & 0X7F		; Bank 1
	JBS            	PSW,	0x2
	GOTO           	#L20601
	INC            	(_main_j_12+0x1) & 0X7F		; Bank 1
#L20601
;  113:(       JMP,            ,            ,   #L20475)

; ITemplate_JMP
	GOTO           	#L20475
;  113:(     LABEL,    #L20476 ,            ,          )

; ITemplate_LABEL
#L20476
#line 114	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;         PIF1 = 0;       //睡眠前清中断标志位
;  114:(    ASGN_0,          0 ,            ,      PIF1)

; ITemplate_CLR_0_TMP
	BCC            	(_PIF1_0)/8,	(_PIF1_0)%8
#line 115	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;         sleep();
;  115:(      CALL,  (sleep.0) ,            ,          )

; ITemplate_CALL
	SEGMENTSEL     	_sleep
	CALL           	_sleep		; Bank 0		; ShBank 0
	SEGMENTSEL     	$
#line 116	C:\Users\lisq\Desktop\AN135_Examples_ES7P169C\SLEEP\sleep\sleep.c ;     }
;  116:(       JMP,            ,            ,   #L20472)

; ITemplate_JMP
	GOTO           	#L20472

SECTION8C__Users_lisq_Desktop_AN135_Examples_ES7P169C_SLEEP_sleep_sleep_c_STATIC0	PSECT	FLAG=0X1088,ADDR=0X7FCD9
_PIE1_0	RSEG           	0X1		; Bank 0

SECTION8C__Users_lisq_Desktop_AN135_Examples_ES7P169C_SLEEP_sleep_sleep_c_STATIC1	PSECT	FLAG=0X1088,ADDR=0X7FCE1
_PIF1_0	RSEG           	0X1		; Bank 0

SECTION8C__Users_lisq_Desktop_AN135_Examples_ES7P169C_SLEEP_sleep_sleep_c_STATIC2	PSECT	FLAG=0X1088,ADDR=0X7FD41
_PA1_0	RSEG           	0X1		; Bank 0

SECTION8C__Users_lisq_Desktop_AN135_Examples_ES7P169C_SLEEP_sleep_sleep_c_STATIC3	PSECT	FLAG=0X1088,ADDR=0X7FD6B
_PAT3_0	RSEG           	0X1		; Bank 0

SECTION8C__Users_lisq_Desktop_AN135_Examples_ES7P169C_SLEEP_sleep_sleep_c_STATIC4	PSECT	FLAG=0X1088,ADDR=0X7FD93
_PAPU3_0	RSEG           	0X1		; 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            	0XFF98		; Bank 0
_INTC0_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            	0XFFB6		; Bank 0
_PWRC_0	RSEG           	0X1		; Bank 0
	ORG            	0XFFBC		; Bank 0
_ANSL_0	RSEG           	0X1		; Bank 0
	END
