;--------------------------------------------------------
; File Created by ChiponCC : aolisn inc.
; Version 3.0.4#6752 (Nov 19 2015 16:48:50) (MSVC)
; This file was generated Wed May 25 15:43:27 2016
;--------------------------------------------------------
; chipon port for the 16-bit core
;--------------------------------------------------------
;	.file	"../LCD.c"
	.list	p=KF8F4156
	.radix dec
	.include "KF8F4156.inc"
;--------------------------------------------------------
; external declarations
;--------------------------------------------------------
	.extern	_PSW_bits
	.extern	_P0_bits
	.extern	_P2_bits
	.extern	_P1_bits
	.extern	_P3_bits
	.extern	_INTCTL_bits
	.extern	_EIF1_bits
	.extern	_EIF2_bits
	.extern	_T1CTL_bits
	.extern	_T2CTL0_bits
	.extern	_PWMCTL_bits
	.extern	_BANK_bits
	.extern	_ADSCANCTL_bits
	.extern	_C1CTL_bits
	.extern	_VDACS_bits
	.extern	_AMPCTL_bits
	.extern	_ANSEH_bits
	.extern	_ADCCTL0_bits
	.extern	_AMPDT_bits
	.extern	_OPTR_bits
	.extern	_IP0_bits
	.extern	_IP1_bits
	.extern	_IP2_bits
	.extern	_TR0_bits
	.extern	_TR2_bits
	.extern	_TR1_bits
	.extern	_OSCSTA_bits
	.extern	_IP3_bits
	.extern	_VRECTL_bits
	.extern	_EIE1_bits
	.extern	_EIE2_bits
	.extern	_PCTL_bits
	.extern	_OSCCTL_bits
	.extern	_ANSEL_bits
	.extern	_PUR0_bits
	.extern	_IOCL_bits
	.extern	_ADCCTL1_bits
	.extern	_P0LR_bits
	.extern	_P2LR_bits
	.extern	_P1LR_bits
	.extern	_P3LR_bits
	.extern	_TR3_bits
	.extern	_EIE3_bits
	.extern	_EIF3_bits
	.extern	_PWM5CTL0_bits
	.extern	_ADCINTCTL_bits
	.extern	_PWM5CTL1_bits
	.extern	_P5ASCTL_bits
	.extern	_PSTRCTL_bits
	.extern	_PUR1_bits
	.extern	_PUR2_bits
	.extern	_INTEDGCTL_bits
	.extern	_VBIASCTL_bits
	.extern	_VBIAS1EN_bits
	.extern	_VBIAS2EN_bits
	.extern	_PWM5OC_bits
	.extern	_T2CTL1_bits
	.extern	_VDAC_bits
	.extern	_PWM5CTL2_bits
	.extern	_PWMPC_bits
	.extern	_RSCTL_bits
	.extern	_BRCTL_bits
	.extern	_TSCTL_bits
	.extern	_SSCICTL0_bits
	.extern	_SSCICTL1_bits
	.extern	_SSCISTA_bits
	.extern	_SSCIMSK_bits
	.extern	_WDTPS_bits
	.extern	_MULCTL_bits
	.extern	_DIVCTL_bits
	.extern	_LEDCTL_bits
	.extern	_LEDPRE_bits
	.extern	_LEDDATA0_bits
	.extern	_LEDDATA1_bits
	.extern	_LEDDATA2_bits
	.extern	_LEDDATA3_bits
	.extern	_LEDDATA4_bits
	.extern	_LEDDATA5_bits
	.extern	_LEDDATA6_bits
	.extern	_LEDDATA7_bits
	.extern	_C1FILTCTL_bits
	.extern	_C1FILTPRE_bits
	.extern	_LEDOMS1_bits
	.extern	_LEDODS0_bits
	.extern	_LEDOMS0_bits
	.extern	_LEDODS1_bits
	.extern	_LEDLUM_bits
	.extern	_PWM5FC_bits
	.extern	_T4CTL_bits
	.extern	_Com1Temp
	.extern	_Com2Temp
	.extern	_Com3Temp
	.extern	_Com4Temp
	.extern	_LcdSfr
	.extern	_LcdNumQian
	.extern	_LcdNumBai
	.extern	_LcdNumTen
	.extern	_LcdNumGe
	.extern	_BCD
	.extern	_T0
	.extern	_PCL
	.extern	_PSW
	.extern	_P0
	.extern	_P2
	.extern	_P1
	.extern	_P3
	.extern	_PCH
	.extern	_INTCTL
	.extern	_EIF1
	.extern	_EIF2
	.extern	_T1L
	.extern	_T1H
	.extern	_T1CTL
	.extern	_T2L
	.extern	_T2CTL0
	.extern	_PWM1L
	.extern	_PWM1H
	.extern	_PWMCTL
	.extern	_PP1
	.extern	_BANK
	.extern	_ADSCANCTL
	.extern	_C1CTL
	.extern	_VDACS
	.extern	_AMPCTL
	.extern	_ANSEH
	.extern	_ADCDATA0H
	.extern	_ADCCTL0
	.extern	_AMPDT
	.extern	_OPTR
	.extern	_IP0
	.extern	_IP1
	.extern	_IP2
	.extern	_TR0
	.extern	_TR2
	.extern	_TR1
	.extern	_OSCSTA
	.extern	_IP3
	.extern	_VRECAL1
	.extern	_VRECTL
	.extern	_EIE1
	.extern	_EIE2
	.extern	_PCTL
	.extern	_OSCCTL
	.extern	_OSCCAL0
	.extern	_ANSEL
	.extern	_PP2
	.extern	_PWM2L
	.extern	_PWM2H
	.extern	_PUR0
	.extern	_IOCL
	.extern	_OSCCAL1
	.extern	_NVMDATAH
	.extern	_NVMDATAL
	.extern	_NVMADDRH
	.extern	_NVMADDRL
	.extern	_NVMCTL0
	.extern	_NVMCTL1
	.extern	_ADCDATA0L
	.extern	_ADCCTL1
	.extern	_T2CCRH
	.extern	_T2H
	.extern	_PP5H
	.extern	_PWM5H0
	.extern	_PWM5H1
	.extern	_P0LR
	.extern	_P2LR
	.extern	_P1LR
	.extern	_P3LR
	.extern	_TR3
	.extern	_EIE3
	.extern	_EIF3
	.extern	_OSCCAL2
	.extern	_OSCCAL3
	.extern	_ADCDATA1H
	.extern	_ADCDATA1L
	.extern	_PP5L
	.extern	_T2CCRL
	.extern	_PWM5L0
	.extern	_PWM5L1
	.extern	_PWM5CTL0
	.extern	_ADCINTCTL
	.extern	_ADCDATA2H
	.extern	_ADCDATA2L
	.extern	_PWM5CTL1
	.extern	_P5ASCTL
	.extern	_PSTRCTL
	.extern	_ADCDATA3H
	.extern	_PUR1
	.extern	_PUR2
	.extern	_INTEDGCTL
	.extern	_ADCDATA3L
	.extern	_VBIASCTL
	.extern	_VBIAS1EN
	.extern	_VBIAS2EN
	.extern	_PWM5OC
	.extern	_T2CTL1
	.extern	_VDAC
	.extern	_PWM5CTL2
	.extern	_PWMPC
	.extern	_RSCTL
	.extern	_TXSDR
	.extern	_RXSDR
	.extern	_BRCTL
	.extern	_TSCTL
	.extern	_EUBRGL
	.extern	_EUBRGH
	.extern	_SSCICTL0
	.extern	_SSCICTL1
	.extern	_SSCISTA
	.extern	_SSCIBUFR
	.extern	_SSCIMSK
	.extern	_WDTPS
	.extern	_MULAH
	.extern	_MULAL
	.extern	_MULBH
	.extern	_MULBL
	.extern	_MULCTL
	.extern	_MULRES3
	.extern	_MULRES2
	.extern	_MULRES1
	.extern	_MULRES0
	.extern	_DIVCTL
	.extern	_DIVAH
	.extern	_DIVAL
	.extern	_DIVB
	.extern	_DIVQH
	.extern	_DIVQL
	.extern	_DIVR
	.extern	_LEDCTL
	.extern	_LEDPRE
	.extern	_LEDDATA0
	.extern	_LEDDATA1
	.extern	_LEDDATA2
	.extern	_LEDDATA3
	.extern	_LEDDATA4
	.extern	_LEDDATA5
	.extern	_LEDDATA6
	.extern	_LEDDATA7
	.extern	_C1FILTCTL
	.extern	_C1FILTPRE
	.extern	_LEDOMS1
	.extern	_LEDODS0
	.extern	_LEDOMS0
	.extern	_LEDODS1
	.extern	_VRECAL2
	.extern	_VRECAL3
	.extern	_LEDLUM
	.extern	_PWM5FC
	.extern	_T4L
	.extern	_T4H
	.extern	_T4REL
	.extern	_T4REH
	.extern	_T4CTL
	.extern	_RC32KCAL

	.extern I0R1
	.extern I0PSW
	.extern I0PCH
	.extern I1R1
	.extern I1PSW
	.extern I1PCH
	.extern STK11
	.extern STK10
	.extern STK09
	.extern STK08
	.extern STK07
	.extern STK06
	.extern STK05
	.extern STK04
	.extern STK03
	.extern STK02
	.extern STK01
	.extern STK00
;--------------------------------------------------------
; global declarations
;--------------------------------------------------------
	.global	_ComScanFun
	.global	_ComTempSetFun
	.global	_ComIoSetHalfFun
	.global	_LcdSegIoSetFun

;--------------------------------------------------------
; global definitions
;--------------------------------------------------------
;--------------------------------------------------------
; absolute symbol definitions
;--------------------------------------------------------
;--------------------------------------------------------
; compiler-defined variables
;--------------------------------------------------------
UDL_LCD_0	.udata
r0x1009	.res	1
UDL_LCD_1	.udata
r0x100A	.res	1
;--------------------------------------------------------
; initialized data
;--------------------------------------------------------
;--------------------------------------------------------
; overlayable items in internal ram 
;--------------------------------------------------------
;	.udata_ovr


func._ComScanFun	.code
;***
;  PostBlock Stats: dbName = C
;***
;entry:  _ComScanFun	;Function start
; 2 exit points
;has an exit
;functions called:
;   _ComIoSetHalfFun
;   _LcdSegIoSetFun
;   _ComIoSetHalfFun
;   _LcdSegIoSetFun
;   _ComIoSetHalfFun
;   _LcdSegIoSetFun
;   _ComIoSetHalfFun
;   _LcdSegIoSetFun
;   _ComIoSetHalfFun
;   _LcdSegIoSetFun
;   _ComIoSetHalfFun
;   _LcdSegIoSetFun
;   _ComIoSetHalfFun
;   _LcdSegIoSetFun
;   _ComIoSetHalfFun
;   _LcdSegIoSetFun
;   _ComIoSetHalfFun
;   _LcdSegIoSetFun
;   _ComIoSetHalfFun
;   _LcdSegIoSetFun
;   _ComIoSetHalfFun
;   _LcdSegIoSetFun
;   _ComIoSetHalfFun
;   _LcdSegIoSetFun
;   _ComIoSetHalfFun
;   _LcdSegIoSetFun
;   _ComIoSetHalfFun
;   _LcdSegIoSetFun
;   _ComIoSetHalfFun
;   _LcdSegIoSetFun
;   _ComIoSetHalfFun
;   _LcdSegIoSetFun
;1 compiler assigned register :
;   r0x100A
;; Starting PostCode block
;	op : LABEL
;	op : FUNCTION
_ComScanFun	;Function start
; 2 exit points
;	op : RECEIVE
;	.line	143; "../LCD.c"	void	ComScanFun(uchar8 ComScanMode)
	BANKSEL	r0x100A
	MOV	r0x100A, R0
;	op : >
;swapping arguments (AOP_TYPEs 1/2)
;unsigned compare: left >= lit(0x8=8), size=1
;	.line	145; "../LCD.c"	switch(ComScanMode)
	MOV	R0,# 0x08
	BANKSEL	r0x100A
	SUB	R0, r0x100A
;comparing bytes at offset 0
	JNB	PSW, 0
	JMP	_00116_DS_
;	op : JUMPTABLE
	MOV	R0,#high _00120_DS_
	MOV	PCH, R0
	MOV	R0,#_00120_DS_
	BANKSEL	r0x100A
	ADD	R0, r0x100A
	JNB	PSW, 0
	INC	PCH
	MOV	PCL, R0
_00120_DS_
	JMP	_00106_DS_
	JMP	_00107_DS_
	JMP	_00108_DS_
	JMP	_00109_DS_
	JMP	_00110_DS_
	JMP	_00111_DS_
	JMP	_00112_DS_
	JMP	_00113_DS_
;	op : LABEL
;	op : CALL
_00106_DS_
;	.line	149; "../LCD.c"	ComIoSetHalfFun();		//先将COM设置为半电平
	PAGESEL	_ComIoSetHalfFun
	CALL	_ComIoSetHalfFun
	PAGESEL	$
;	op : SEND
;	op : CALL
;	.line	150; "../LCD.c"	LcdSegIoSetFun(Com1Temp);
	BANKSEL	_Com1Temp
	MOVZ	R0, _Com1Temp
	PAGESEL	_LcdSegIoSetFun
	CALL	_LcdSegIoSetFun
	PAGESEL	$
;	op : =
;	.line	151; "../LCD.c"	COM1_SET_L			//描COM1低电平
	BANKSEL	_VBIAS1EN_bits
	CLR	_VBIAS1EN_bits, 3
;	op : =
	BANKSEL	_TR0_bits
	CLR	_TR0_bits, 4
;	op : =
	BANKSEL	_P0LR_bits
	CLR	_P0LR_bits, 4
;	op : GOTO
;	.line	153; "../LCD.c"	break;
	JMP	_00116_DS_
;	op : LABEL
;	op : CALL
_00107_DS_
;	.line	155; "../LCD.c"	ComIoSetHalfFun();	//先将COM设置为半电平
	PAGESEL	_ComIoSetHalfFun
	CALL	_ComIoSetHalfFun
	PAGESEL	$
;	op : ~
;	.line	156; "../LCD.c"	LcdSegIoSetFun(~Com1Temp);
	BANKSEL	_Com1Temp
	CPLR	_Com1Temp
	BANKSEL	r0x100A
	MOV	r0x100A, R0
;	op : SEND
;	op : CALL
	BANKSEL	r0x100A
	MOVZ	R0, r0x100A
	PAGESEL	_LcdSegIoSetFun
	CALL	_LcdSegIoSetFun
	PAGESEL	$
;	op : =
;	.line	157; "../LCD.c"	COM1_SET_H				//描COM1高电平
	BANKSEL	_VBIAS1EN_bits
	CLR	_VBIAS1EN_bits, 3
;	op : =
	BANKSEL	_TR0_bits
	CLR	_TR0_bits, 4
;	op : =
	BANKSEL	_P0LR_bits
	SET	_P0LR_bits, 4
;	op : GOTO
;	.line	158; "../LCD.c"	break;
	JMP	_00116_DS_
;	op : LABEL
;	op : CALL
_00108_DS_
;	.line	161; "../LCD.c"	ComIoSetHalfFun();	//先将COM设置为半电平
	PAGESEL	_ComIoSetHalfFun
	CALL	_ComIoSetHalfFun
	PAGESEL	$
;	op : SEND
;	op : CALL
;	.line	162; "../LCD.c"	LcdSegIoSetFun(Com2Temp);
	BANKSEL	_Com2Temp
	MOVZ	R0, _Com2Temp
	PAGESEL	_LcdSegIoSetFun
	CALL	_LcdSegIoSetFun
	PAGESEL	$
;	op : =
;	.line	163; "../LCD.c"	COM2_SET_L			//描COM2低电平
	BANKSEL	_VBIAS1EN_bits
	CLR	_VBIAS1EN_bits, 2
;	op : =
	BANKSEL	_TR0_bits
	CLR	_TR0_bits, 3
;	op : =
	BANKSEL	_P0LR_bits
	CLR	_P0LR_bits, 3
;	op : GOTO
;	.line	164; "../LCD.c"	break;
	JMP	_00116_DS_
;	op : LABEL
;	op : CALL
_00109_DS_
;	.line	166; "../LCD.c"	ComIoSetHalfFun();		//先将COM设置为半电平
	PAGESEL	_ComIoSetHalfFun
	CALL	_ComIoSetHalfFun
	PAGESEL	$
;	op : ~
;	.line	167; "../LCD.c"	LcdSegIoSetFun(~Com2Temp);
	BANKSEL	_Com2Temp
	CPLR	_Com2Temp
	BANKSEL	r0x100A
	MOV	r0x100A, R0
;	op : SEND
;	op : CALL
	BANKSEL	r0x100A
	MOVZ	R0, r0x100A
	PAGESEL	_LcdSegIoSetFun
	CALL	_LcdSegIoSetFun
	PAGESEL	$
;	op : =
;	.line	168; "../LCD.c"	COM2_SET_H			//描COM2高电平
	BANKSEL	_VBIAS1EN_bits
	CLR	_VBIAS1EN_bits, 2
;	op : =
	BANKSEL	_TR0_bits
	CLR	_TR0_bits, 3
;	op : =
	BANKSEL	_P0LR_bits
	SET	_P0LR_bits, 3
;	op : GOTO
;	.line	169; "../LCD.c"	break;
	JMP	_00116_DS_
;	op : LABEL
;	op : CALL
_00110_DS_
;	.line	172; "../LCD.c"	ComIoSetHalfFun();		//先将COM设置为半电平
	PAGESEL	_ComIoSetHalfFun
	CALL	_ComIoSetHalfFun
	PAGESEL	$
;	op : SEND
;	op : CALL
;	.line	173; "../LCD.c"	LcdSegIoSetFun(Com3Temp);
	BANKSEL	_Com3Temp
	MOVZ	R0, _Com3Temp
	PAGESEL	_LcdSegIoSetFun
	CALL	_LcdSegIoSetFun
	PAGESEL	$
;	op : =
;	.line	174; "../LCD.c"	COM3_SET_L			//描COM3低电平
	BANKSEL	_VBIAS1EN_bits
	CLR	_VBIAS1EN_bits, 1
;	op : =
	BANKSEL	_TR0_bits
	CLR	_TR0_bits, 1
;	op : =
	BANKSEL	_P0LR_bits
	CLR	_P0LR_bits, 1
;	op : GOTO
;	.line	175; "../LCD.c"	break;
	JMP	_00116_DS_
;	op : LABEL
;	op : CALL
_00111_DS_
;	.line	177; "../LCD.c"	ComIoSetHalfFun();	//先将COM设置为半电平
	PAGESEL	_ComIoSetHalfFun
	CALL	_ComIoSetHalfFun
	PAGESEL	$
;	op : ~
;	.line	178; "../LCD.c"	LcdSegIoSetFun(~Com3Temp);
	BANKSEL	_Com3Temp
	CPLR	_Com3Temp
	BANKSEL	r0x100A
	MOV	r0x100A, R0
;	op : SEND
;	op : CALL
	BANKSEL	r0x100A
	MOVZ	R0, r0x100A
	PAGESEL	_LcdSegIoSetFun
	CALL	_LcdSegIoSetFun
	PAGESEL	$
;	op : =
;	.line	179; "../LCD.c"	COM3_SET_H			//描COM3高电平
	BANKSEL	_VBIAS1EN_bits
	CLR	_VBIAS1EN_bits, 1
;	op : =
	BANKSEL	_TR0_bits
	CLR	_TR0_bits, 1
;	op : =
	BANKSEL	_P0LR_bits
	SET	_P0LR_bits, 1
;	op : GOTO
;	.line	180; "../LCD.c"	break;
	JMP	_00116_DS_
;	op : LABEL
;	op : CALL
_00112_DS_
;	.line	184; "../LCD.c"	ComIoSetHalfFun();	//先将COM设置为半电平
	PAGESEL	_ComIoSetHalfFun
	CALL	_ComIoSetHalfFun
	PAGESEL	$
;	op : SEND
;	op : CALL
;	.line	185; "../LCD.c"	LcdSegIoSetFun(Com4Temp);
	BANKSEL	_Com4Temp
	MOVZ	R0, _Com4Temp
	PAGESEL	_LcdSegIoSetFun
	CALL	_LcdSegIoSetFun
	PAGESEL	$
;	op : =
;	.line	186; "../LCD.c"	COM4_SET_L			//描COM4低电平
	BANKSEL	_VBIAS1EN_bits
	CLR	_VBIAS1EN_bits, 0
;	op : =
	BANKSEL	_TR0_bits
	CLR	_TR0_bits, 0
;	op : =
	BANKSEL	_P0LR_bits
	CLR	_P0LR_bits, 0
;	op : GOTO
;	.line	187; "../LCD.c"	break;
	JMP	_00116_DS_
;	op : LABEL
;	op : CALL
_00113_DS_
;	.line	189; "../LCD.c"	ComIoSetHalfFun();	//先将COM设置为半电平
	PAGESEL	_ComIoSetHalfFun
	CALL	_ComIoSetHalfFun
	PAGESEL	$
;	op : ~
;	.line	190; "../LCD.c"	LcdSegIoSetFun(~Com4Temp);
	BANKSEL	_Com4Temp
	CPLR	_Com4Temp
	BANKSEL	r0x100A
	MOV	r0x100A, R0
;	op : SEND
;	op : CALL
	BANKSEL	r0x100A
	MOVZ	R0, r0x100A
	PAGESEL	_LcdSegIoSetFun
	CALL	_LcdSegIoSetFun
	PAGESEL	$
;	op : =
;	.line	191; "../LCD.c"	COM4_SET_H			//描COM4高电平
	BANKSEL	_VBIAS1EN_bits
	CLR	_VBIAS1EN_bits, 0
;	op : =
	BANKSEL	_TR0_bits
	CLR	_TR0_bits, 0
;	op : =
	BANKSEL	_P0LR_bits
	SET	_P0LR_bits, 0
;	op : LABEL
;	op : ENDFUNCTION
_00116_DS_
;	.line	197; "../LCD.c"	}
	CRET	
; exit point of _ComScanFun



func._ComTempSetFun	.code
;***
;  PostBlock Stats: dbName = C
;***
;entry:  _ComTempSetFun	;Function start
; 2 exit points
;has an exit
;; Starting PostCode block
;	op : LABEL
;	op : FUNCTION
_ComTempSetFun	;Function start
; 2 exit points
;	op : GET_VALUE_AT_ADDRESS
;	.line	86; "../LCD.c"	if(CHANGE_SHOW_NUM_FLAG)
	BANKSEL	_LcdSfr
	JB	_LcdSfr, 4
	JMP	_00071_DS_
;	op : =
;	.line	88; "../LCD.c"	CHANGE_SHOW_NUM_FLAG=0;
	BANKSEL	_LcdSfr
	CLR	_LcdSfr, 4
;	op : =
;	.line	89; "../LCD.c"	Com1Temp = 0;
	BANKSEL	_Com1Temp
	CLR	_Com1Temp
;	op : =
;	.line	90; "../LCD.c"	Com2Temp = 0;
	BANKSEL	_Com2Temp
	CLR	_Com2Temp
;	op : =
;	.line	91; "../LCD.c"	Com3Temp = 0xff;
	MOV	R0,# 0xff
	BANKSEL	_Com3Temp
	MOV	_Com3Temp, R0
;	op : =
;	.line	92; "../LCD.c"	Com4Temp = 0;
	BANKSEL	_Com4Temp
	CLR	_Com4Temp
;	op : BITWISEAND
;	.line	94; "../LCD.c"	if(LcdNumQian&(1<<0)) Com1Temp |= (1<<0);			//1a
	BANKSEL	_LcdNumQian
	JB	_LcdNumQian, 0
	JMP	_00006_DS_
;	op : =
	MOV	R0,# 0x01
	BANKSEL	_Com1Temp
	MOV	_Com1Temp, R0
;	op : LABEL
;	op : BITWISEAND
_00006_DS_
;	.line	95; "../LCD.c"	if(LcdNumQian&(1<<1)) Com1Temp |= (1<<1);			//1b			//千位显示
	BANKSEL	_LcdNumQian
	JB	_LcdNumQian, 1
	JMP	_00008_DS_
;	op : |
	BANKSEL	_Com1Temp
	SET	_Com1Temp, 1
;	op : LABEL
;	op : BITWISEAND
_00008_DS_
;	.line	96; "../LCD.c"	if(LcdNumQian&(1<<2)) Com3Temp |= (1<<1);			//1c
	BANKSEL	_LcdNumQian
	JB	_LcdNumQian, 2
	JMP	_00010_DS_
;	op : =
	MOV	R0,# 0xff
	BANKSEL	_Com3Temp
	MOV	_Com3Temp, R0
;	op : LABEL
;	op : BITWISEAND
_00010_DS_
;	.line	97; "../LCD.c"	if(LcdNumQian&(1<<3)) Com4Temp |= (1<<1);			//1d
	BANKSEL	_LcdNumQian
	JB	_LcdNumQian, 3
	JMP	_00012_DS_
;	op : =
	MOV	R0,# 0x02
	BANKSEL	_Com4Temp
	MOV	_Com4Temp, R0
;	op : LABEL
;	op : BITWISEAND
_00012_DS_
;	.line	98; "../LCD.c"	if(LcdNumQian&(1<<4)) Com3Temp |= (1<<0);			//1e
	BANKSEL	_LcdNumQian
	JB	_LcdNumQian, 4
	JMP	_00014_DS_
;	op : |
	BANKSEL	_Com3Temp
	SET	_Com3Temp, 0
;	op : LABEL
;	op : BITWISEAND
_00014_DS_
;	.line	99; "../LCD.c"	if(LcdNumQian&(1<<5)) Com2Temp |= (1<<0);			//1f
	BANKSEL	_LcdNumQian
	JB	_LcdNumQian, 5
	JMP	_00016_DS_
;	op : =
	MOV	R0,# 0x01
	BANKSEL	_Com2Temp
	MOV	_Com2Temp, R0
;	op : LABEL
;	op : BITWISEAND
_00016_DS_
;	.line	100; "../LCD.c"	if(LcdNumQian&(1<<6)) Com2Temp |= (1<<1);			//1g
	BANKSEL	_LcdNumQian
	JB	_LcdNumQian, 6
	JMP	_00018_DS_
;	op : |
	BANKSEL	_Com2Temp
	SET	_Com2Temp, 1
;	op : LABEL
;	op : BITWISEAND
_00018_DS_
;	.line	103; "../LCD.c"	if(LcdNumBai&(1<<0)) Com1Temp |= (1<<2);			//2a
	BANKSEL	_LcdNumBai
	JB	_LcdNumBai, 0
	JMP	_00020_DS_
;	op : |
	BANKSEL	_Com1Temp
	SET	_Com1Temp, 2
;	op : LABEL
;	op : BITWISEAND
_00020_DS_
;	.line	104; "../LCD.c"	if(LcdNumBai&(1<<1)) Com1Temp |= (1<<3);			//2b			//百位显示
	BANKSEL	_LcdNumBai
	JB	_LcdNumBai, 1
	JMP	_00022_DS_
;	op : |
	BANKSEL	_Com1Temp
	SET	_Com1Temp, 3
;	op : LABEL
;	op : BITWISEAND
_00022_DS_
;	.line	105; "../LCD.c"	if(LcdNumBai&(1<<2)) Com3Temp |= (1<<3);			//2c
	BANKSEL	_LcdNumBai
	JB	_LcdNumBai, 2
	JMP	_00024_DS_
;	op : |
	BANKSEL	_Com3Temp
	SET	_Com3Temp, 3
;	op : LABEL
;	op : BITWISEAND
_00024_DS_
;	.line	106; "../LCD.c"	if(LcdNumBai&(1<<3)) Com4Temp |= (1<<3);			//2d
	BANKSEL	_LcdNumBai
	JB	_LcdNumBai, 3
	JMP	_00026_DS_
;	op : |
	BANKSEL	_Com4Temp
	SET	_Com4Temp, 3
;	op : LABEL
;	op : BITWISEAND
_00026_DS_
;	.line	107; "../LCD.c"	if(LcdNumBai&(1<<4)) Com3Temp |= (1<<2);			//2e
	BANKSEL	_LcdNumBai
	JB	_LcdNumBai, 4
	JMP	_00028_DS_
;	op : |
	BANKSEL	_Com3Temp
	SET	_Com3Temp, 2
;	op : LABEL
;	op : BITWISEAND
_00028_DS_
;	.line	108; "../LCD.c"	if(LcdNumBai&(1<<5)) Com2Temp |= (1<<2);			//2f
	BANKSEL	_LcdNumBai
	JB	_LcdNumBai, 5
	JMP	_00030_DS_
;	op : |
	BANKSEL	_Com2Temp
	SET	_Com2Temp, 2
;	op : LABEL
;	op : BITWISEAND
_00030_DS_
;	.line	109; "../LCD.c"	if(LcdNumBai&(1<<6)) Com2Temp |= (1<<3);			//2g
	BANKSEL	_LcdNumBai
	JB	_LcdNumBai, 6
	JMP	_00032_DS_
;	op : |
	BANKSEL	_Com2Temp
	SET	_Com2Temp, 3
;	op : LABEL
;	op : BITWISEAND
_00032_DS_
;	.line	111; "../LCD.c"	if(LcdNumTen&(1<<0)) Com1Temp |= (1<<4);			//1a
	BANKSEL	_LcdNumTen
	JB	_LcdNumTen, 0
	JMP	_00034_DS_
;	op : |
	BANKSEL	_Com1Temp
	SET	_Com1Temp, 4
;	op : LABEL
;	op : BITWISEAND
_00034_DS_
;	.line	112; "../LCD.c"	if(LcdNumTen&(1<<1)) Com1Temp |= (1<<5);			//1b			//十位显示
	BANKSEL	_LcdNumTen
	JB	_LcdNumTen, 1
	JMP	_00036_DS_
;	op : |
	BANKSEL	_Com1Temp
	SET	_Com1Temp, 5
;	op : LABEL
;	op : BITWISEAND
_00036_DS_
;	.line	113; "../LCD.c"	if(LcdNumTen&(1<<2)) Com3Temp |= (1<<5);			//1c
	BANKSEL	_LcdNumTen
	JB	_LcdNumTen, 2
	JMP	_00038_DS_
;	op : |
	BANKSEL	_Com3Temp
	SET	_Com3Temp, 5
;	op : LABEL
;	op : BITWISEAND
_00038_DS_
;	.line	114; "../LCD.c"	if(LcdNumTen&(1<<3)) Com4Temp |= (1<<5);			//1d
	BANKSEL	_LcdNumTen
	JB	_LcdNumTen, 3
	JMP	_00040_DS_
;	op : |
	BANKSEL	_Com4Temp
	SET	_Com4Temp, 5
;	op : LABEL
;	op : BITWISEAND
_00040_DS_
;	.line	115; "../LCD.c"	if(LcdNumTen&(1<<4)) Com3Temp |= (1<<4);			//1e
	BANKSEL	_LcdNumTen
	JB	_LcdNumTen, 4
	JMP	_00042_DS_
;	op : |
	BANKSEL	_Com3Temp
	SET	_Com3Temp, 4
;	op : LABEL
;	op : BITWISEAND
_00042_DS_
;	.line	116; "../LCD.c"	if(LcdNumTen&(1<<5)) Com2Temp |= (1<<4);			//1f
	BANKSEL	_LcdNumTen
	JB	_LcdNumTen, 5
	JMP	_00044_DS_
;	op : |
	BANKSEL	_Com2Temp
	SET	_Com2Temp, 4
;	op : LABEL
;	op : BITWISEAND
_00044_DS_
;	.line	117; "../LCD.c"	if(LcdNumTen&(1<<6)) Com2Temp |= (1<<5);			//1g
	BANKSEL	_LcdNumTen
	JB	_LcdNumTen, 6
	JMP	_00046_DS_
;	op : |
	BANKSEL	_Com2Temp
	SET	_Com2Temp, 5
;	op : LABEL
;	op : BITWISEAND
_00046_DS_
;	.line	120; "../LCD.c"	if(LcdNumGe&(1<<0)) Com1Temp |= (1<<6);			//2a
	BANKSEL	_LcdNumGe
	JB	_LcdNumGe, 0
	JMP	_00048_DS_
;	op : |
	BANKSEL	_Com1Temp
	SET	_Com1Temp, 6
;	op : LABEL
;	op : BITWISEAND
_00048_DS_
;	.line	121; "../LCD.c"	if(LcdNumGe&(1<<1)) Com1Temp |= (1<<7);			//2b			//个位显示
	BANKSEL	_LcdNumGe
	JB	_LcdNumGe, 1
	JMP	_00050_DS_
;	op : |
	BANKSEL	_Com1Temp
	SET	_Com1Temp, 7
;	op : LABEL
;	op : BITWISEAND
_00050_DS_
;	.line	122; "../LCD.c"	if(LcdNumGe&(1<<2)) Com3Temp |= (1<<7);			//2c
	BANKSEL	_LcdNumGe
	JB	_LcdNumGe, 2
	JMP	_00052_DS_
;	op : |
	BANKSEL	_Com3Temp
	SET	_Com3Temp, 7
;	op : LABEL
;	op : BITWISEAND
_00052_DS_
;	.line	123; "../LCD.c"	if(LcdNumGe&(1<<3)) Com4Temp |= (1<<7);			//2d
	BANKSEL	_LcdNumGe
	JB	_LcdNumGe, 3
	JMP	_00054_DS_
;	op : |
	BANKSEL	_Com4Temp
	SET	_Com4Temp, 7
;	op : LABEL
;	op : BITWISEAND
_00054_DS_
;	.line	124; "../LCD.c"	if(LcdNumGe&(1<<4)) Com3Temp |= (1<<6);			//2e
	BANKSEL	_LcdNumGe
	JB	_LcdNumGe, 4
	JMP	_00056_DS_
;	op : |
	BANKSEL	_Com3Temp
	SET	_Com3Temp, 6
;	op : LABEL
;	op : BITWISEAND
_00056_DS_
;	.line	125; "../LCD.c"	if(LcdNumGe&(1<<5)) Com2Temp |= (1<<6);			//2f
	BANKSEL	_LcdNumGe
	JB	_LcdNumGe, 5
	JMP	_00058_DS_
;	op : |
	BANKSEL	_Com2Temp
	SET	_Com2Temp, 6
;	op : LABEL
;	op : BITWISEAND
_00058_DS_
;	.line	126; "../LCD.c"	if(LcdNumGe&(1<<6)) Com2Temp |= (1<<7);			//2g
	BANKSEL	_LcdNumGe
	JB	_LcdNumGe, 6
	JMP	_00060_DS_
;	op : |
	BANKSEL	_Com2Temp
	SET	_Com2Temp, 7
;	op : LABEL
;	op : GET_VALUE_AT_ADDRESS
_00060_DS_
;	.line	128; "../LCD.c"	if(SHOW_TN_SEG_P1)  Com4Temp |= (1<<0);
	BANKSEL	_LcdSfr
	JB	_LcdSfr, 0
	JMP	_00062_DS_
;	op : |
	BANKSEL	_Com4Temp
	SET	_Com4Temp, 0
;	op : LABEL
;	op : GET_VALUE_AT_ADDRESS
_00062_DS_
;	.line	129; "../LCD.c"	if(SHOW_TN_SEG_2P)  Com4Temp |= (1<<2);
	BANKSEL	_LcdSfr
	JB	_LcdSfr, 1
	JMP	_00064_DS_
;	op : |
	BANKSEL	_Com4Temp
	SET	_Com4Temp, 2
;	op : LABEL
;	op : GET_VALUE_AT_ADDRESS
_00064_DS_
;	.line	130; "../LCD.c"	if(SHOW_TN_SEG_3P)  Com4Temp |= (1<<4);
	BANKSEL	_LcdSfr
	JB	_LcdSfr, 2
	JMP	_00066_DS_
;	op : |
	BANKSEL	_Com4Temp
	SET	_Com4Temp, 4
;	op : LABEL
;	op : GET_VALUE_AT_ADDRESS
_00066_DS_
;	.line	131; "../LCD.c"	if(SHOW_TN_SEG_4P)  Com4Temp |= (1<<6);
	BANKSEL	_LcdSfr
	JB	_LcdSfr, 3
	JMP	_00071_DS_
;	op : |
	BANKSEL	_Com4Temp
	SET	_Com4Temp, 6
;	op : LABEL
;	op : ENDFUNCTION
_00071_DS_
	CRET	
; exit point of _ComTempSetFun



func._LcdSegIoSetFun	.code
;***
;  PostBlock Stats: dbName = C
;***
;entry:  _LcdSegIoSetFun	;Function start
; 2 exit points
;has an exit
;1 compiler assigned register :
;   r0x1009
;; Starting PostCode block
;	op : LABEL
;	op : FUNCTION
_LcdSegIoSetFun	;Function start
; 2 exit points
;	op : RECEIVE
;	.line	46; "../LCD.c"	void	LcdSegIoSetFun(uchar8	dis_play)	//输出端口设置函数
	BANKSEL	r0x1009
	MOV	r0x1009, R0
;	op : =
;	.line	48; "../LCD.c"	DIS_IO_SEG_1=dis_play;
	BANKSEL	r0x1009
	RRCR	r0x1009
	JNB	PSW, 0
	JMP	_00121_DS_
	BANKSEL	_P3LR_bits
	CLR	_P3LR_bits, 0
_00121_DS_
	JB	PSW, 0
	JMP	_00122_DS_
	BANKSEL	_P3LR_bits
	SET	_P3LR_bits, 0
;	op : RIGHT_OP
_00122_DS_
;	.line	49; "../LCD.c"	dis_play = dis_play>>1;
	CLR	PSW, 0
	BANKSEL	r0x1009
	RRC	r0x1009
;	op : =
;	.line	52; "../LCD.c"	DIS_IO_SEG_2=dis_play;
	BANKSEL	r0x1009
	RRCR	r0x1009
	JNB	PSW, 0
	JMP	_00123_DS_
	BANKSEL	_P3LR_bits
	CLR	_P3LR_bits, 1
_00123_DS_
	JB	PSW, 0
	JMP	_00124_DS_
	BANKSEL	_P3LR_bits
	SET	_P3LR_bits, 1
;	op : RIGHT_OP
_00124_DS_
;	.line	53; "../LCD.c"	dis_play = dis_play>>1;
	CLR	PSW, 0
	BANKSEL	r0x1009
	RRC	r0x1009
;	op : =
;	.line	56; "../LCD.c"	DIS_IO_SEG_3=dis_play;
	BANKSEL	r0x1009
	RRCR	r0x1009
	JNB	PSW, 0
	JMP	_00125_DS_
	BANKSEL	_P3LR_bits
	CLR	_P3LR_bits, 2
_00125_DS_
	JB	PSW, 0
	JMP	_00126_DS_
	BANKSEL	_P3LR_bits
	SET	_P3LR_bits, 2
;	op : RIGHT_OP
_00126_DS_
;	.line	57; "../LCD.c"	dis_play = dis_play>>1;
	CLR	PSW, 0
	BANKSEL	r0x1009
	RRC	r0x1009
;	op : =
;	.line	60; "../LCD.c"	DIS_IO_SEG_4=dis_play;
	BANKSEL	r0x1009
	RRCR	r0x1009
	JNB	PSW, 0
	JMP	_00127_DS_
	BANKSEL	_P3LR_bits
	CLR	_P3LR_bits, 3
_00127_DS_
	JB	PSW, 0
	JMP	_00128_DS_
	BANKSEL	_P3LR_bits
	SET	_P3LR_bits, 3
;	op : RIGHT_OP
_00128_DS_
;	.line	61; "../LCD.c"	dis_play = dis_play>>1;
	CLR	PSW, 0
	BANKSEL	r0x1009
	RRC	r0x1009
;	op : =
;	.line	63; "../LCD.c"	DIS_IO_SEG_5=dis_play;
	BANKSEL	r0x1009
	RRCR	r0x1009
	JNB	PSW, 0
	JMP	_00129_DS_
	BANKSEL	_P3LR_bits
	CLR	_P3LR_bits, 4
_00129_DS_
	JB	PSW, 0
	JMP	_00130_DS_
	BANKSEL	_P3LR_bits
	SET	_P3LR_bits, 4
;	op : RIGHT_OP
_00130_DS_
;	.line	64; "../LCD.c"	dis_play = dis_play>>1;
	CLR	PSW, 0
	BANKSEL	r0x1009
	RRC	r0x1009
;	op : =
;	.line	66; "../LCD.c"	DIS_IO_SEG_6=dis_play;
	BANKSEL	r0x1009
	RRCR	r0x1009
	JNB	PSW, 0
	JMP	_00131_DS_
	BANKSEL	_P3LR_bits
	CLR	_P3LR_bits, 5
_00131_DS_
	JB	PSW, 0
	JMP	_00132_DS_
	BANKSEL	_P3LR_bits
	SET	_P3LR_bits, 5
;	op : RIGHT_OP
_00132_DS_
;	.line	67; "../LCD.c"	dis_play = dis_play>>1;
	CLR	PSW, 0
	BANKSEL	r0x1009
	RRC	r0x1009
;	op : =
;	.line	69; "../LCD.c"	DIS_IO_SEG_7=dis_play;
	BANKSEL	r0x1009
	RRCR	r0x1009
	JNB	PSW, 0
	JMP	_00133_DS_
	BANKSEL	_P3LR_bits
	CLR	_P3LR_bits, 6
_00133_DS_
	JB	PSW, 0
	JMP	_00134_DS_
	BANKSEL	_P3LR_bits
	SET	_P3LR_bits, 6
;	op : RIGHT_OP
_00134_DS_
;	.line	70; "../LCD.c"	dis_play = dis_play>>1;
	CLR	PSW, 0
	BANKSEL	r0x1009
	RRC	r0x1009
;	op : =
;	.line	72; "../LCD.c"	DIS_IO_SEG_8=dis_play;
	BANKSEL	r0x1009
	RRCR	r0x1009
	JNB	PSW, 0
	JMP	_00135_DS_
	BANKSEL	_P3LR_bits
	CLR	_P3LR_bits, 7
_00135_DS_
	JB	PSW, 0
	JMP	_00136_DS_
	BANKSEL	_P3LR_bits
	SET	_P3LR_bits, 7
;	op : LABEL
;	op : ENDFUNCTION
_00136_DS_
	CRET	
; exit point of _LcdSegIoSetFun



func._ComIoSetHalfFun	.code
;***
;  PostBlock Stats: dbName = C
;***
;entry:  _ComIoSetHalfFun	;Function start
; 2 exit points
;has an exit
;; Starting PostCode block
;	op : LABEL
;	op : FUNCTION
_ComIoSetHalfFun	;Function start
; 2 exit points
;	op : =
;	.line	22; "../LCD.c"	TR04 =1;		//先设置为输入
	BANKSEL	_TR0_bits
	SET	_TR0_bits, 4
;	op : =
;	.line	23; "../LCD.c"	VBS13EN =1;
	BANKSEL	_VBIAS1EN_bits
	SET	_VBIAS1EN_bits, 3
;	op : =
;	.line	25; "../LCD.c"	TR03 =1;		//先设置为输入
	BANKSEL	_TR0_bits
	SET	_TR0_bits, 3
;	op : =
;	.line	26; "../LCD.c"	VBS12EN =1;
	BANKSEL	_VBIAS1EN_bits
	SET	_VBIAS1EN_bits, 2
;	op : =
;	.line	29; "../LCD.c"	TR01 =1;		//先设置为输入
	BANKSEL	_TR0_bits
	SET	_TR0_bits, 1
;	op : =
;	.line	30; "../LCD.c"	VBS11EN =1;
	BANKSEL	_VBIAS1EN_bits
	SET	_VBIAS1EN_bits, 1
;	op : =
;	.line	33; "../LCD.c"	TR00 =1;		//先设置为输入
	BANKSEL	_TR0_bits
	SET	_TR0_bits, 0
;	op : =
;	.line	34; "../LCD.c"	VBS10EN =1;
	BANKSEL	_VBIAS1EN_bits
	SET	_VBIAS1EN_bits, 0
;	op : LABEL
;	op : ENDFUNCTION
	CRET	
; exit point of _ComIoSetHalfFun


;	code size estimation:
;	  306+  153 =   459 instructions ( 1224 byte)


	.end
