gplink-1.1.0
Copyright (c) 1998-2005 gputils project
Listing File Generated: 3-7-2019  17:41:55
 
 
Address  Value    Disassembly              Source
-------  -----    -----------              ------
                                           ;--------------------------------------------------------
                                           ; File Created by ChiponCC : ChipON  inc.
                                           ; Version 3.0.4#6752 (Feb 19 2019 20:27:19) (MSVC)
                                           ; This file was generated Thu Mar 07 17:41:42 2019
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../config_set.c"
                                           	.radix dec
                                           	.include "KF8TS3514.inc"
                                           ;************************************************************
                                           ;       Header file for the KungFu8
                                           ;       KF8TS3514
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           T0			.EQU                 0x01
                                           PCL			.EQU                 0x02
                                           PSW			.EQU                 0x03
                                           P0			.EQU                 0x05
                                           P2			.EQU                 0x06
                                           P1			.EQU                 0x07
                                           PCH			.EQU                 0x0A
                                           INTCTL			.EQU                 0x0B
                                           EIF1			.EQU                 0x0C
                                           EIF2			.EQU                 0x0D
                                           T1L			.EQU                 0x0E
                                           T1H			.EQU                 0x0F
                                           T1CTL			.EQU                 0x10
                                           PWM1L			.EQU                 0x13
                                           PWMCTL			.EQU                 0x15
                                           PP1			.EQU                 0x16
                                           BANK			.EQU                 0x17
                                           C1CTL			.EQU                 0x19
                                           VDACS			.EQU                 0x1A
                                           AMPCTL			.EQU                 0x1B
                                           ANSEH			.EQU                 0x1D
                                           ADCDATA0H		.EQU                 0x1E
                                           ADCCTL0			.EQU                 0x1F
                                           AMPDT			.EQU                 0x20
                                           OPTR			.EQU                 0x21
                                           IP0			.EQU                 0x22
                                           IP1			.EQU                 0x23
                                           IP2			.EQU                 0x24
                                           TR0			.EQU                 0x25
                                           TR2			.EQU                 0x26
                                           TR1			.EQU                 0x27
                                           OSCSTA			.EQU                 0x28
                                           IP3			.EQU                 0x29
                                           VRECAL1			.EQU                 0x2A
                                           VRECTL			.EQU                 0x2B
                                           EIE1			.EQU                 0x2C
                                           EIE2			.EQU                 0x2D
                                           PCTL			.EQU                 0x2E
                                           OSCCTL			.EQU                 0x2F
                                           OSCCAL0			.EQU                 0x30
                                           ANSEL			.EQU                 0x31
                                           PP2			.EQU                 0x32
                                           PWM2L			.EQU                 0x33
                                           PUR0			.EQU                 0x35
                                           IOCL			.EQU                 0x36
                                           OSCCAL1			.EQU                 0x37
                                           NVMDATAH		.EQU                 0x38
                                           NVMDATAL		.EQU                 0x39
                                           NVMADDRH		.EQU                 0x3A
                                           NVMADDRL		.EQU                 0x3B
                                           NVMCTL0			.EQU                 0x3C
                                           NVMCTL1			.EQU                 0x3D
                                           ADCDATA0L		.EQU                 0x3E
                                           ADCCTL1			.EQU                 0x3F
                                           P0LR			.EQU                 0x45
                                           P2LR			.EQU                 0x46
                                           P1LR			.EQU                 0x47
                                           EIE3			.EQU                 0x4A
                                           EIF3			.EQU                 0x4B
                                           OSCCAL2			.EQU                 0x4C
                                           OSCCAL3			.EQU                 0x4D
                                           T3CTL			.EQU                 0x4E
                                           T3L			.EQU                 0x4F
                                           CTCTL0			.EQU                 0x53
                                           T3H			.EQU                 0x5F
                                           PUR1			.EQU                 0x60
                                           PUR2			.EQU                 0x61
                                           CTCTL1			.EQU                 0x64
                                           INTEDGCTL		.EQU                 0x67
                                           ADCDATA3L		.EQU                 0x6A
                                           VDAC			.EQU                 0x112
                                           VRES			.EQU                 0x113
                                           C1CAL			.EQU                 0x115
                                           SSCICTL0		.EQU                 0x128
                                           SSCICTL1		.EQU                 0x12A
                                           SSCISTA			.EQU                 0x12B
                                           SSCIBUFR		.EQU                 0x12C
                                           SSCIADD			.EQU                 0x12E
                                           SSCIMSK			.EQU                 0x12E
                                           WDTPS			.EQU                 0x12F
                                           C1FILTCTL		.EQU                 0x14A
                                           C1FILTPRE		.EQU                 0x14B
                                           VRECAL2			.EQU                 0x159
                                           VRECAL3			.EQU                 0x15A
                                           CTCTL2			.EQU                 0x15B
                                           T4L			.EQU                 0x160
                                           T4H			.EQU                 0x161
                                           T4REL			.EQU                 0x162
                                           T4REH			.EQU                 0x163
                                           T4CTL			.EQU                 0x164
                                           RC32KCAL		.EQU                 0x165
                                           
                                           
                                           ;  03H  PSW   Bits-------------------------------------
                                           TO			.EQU                4
                                           PD			.EQU                3
                                           Z			.EQU                2
                                           DC			.EQU                1
                                           CY			.EQU                0
                                           _TO			.EQU                4
                                           _PD			.EQU                3
                                           _Z			.EQU                2
                                           _DC			.EQU                1
                                           _CY			.EQU                0
                                           
                                           ;  05H  P0   Bits-------------------------------------
                                           P05			.EQU                5
                                           P04			.EQU                4
                                           P03			.EQU                3
                                           P02			.EQU                2
                                           P01			.EQU                1
                                           P00			.EQU                0
                                           _P05			.EQU                5
                                           _P04			.EQU                4
                                           _P03			.EQU                3
                                           _P02			.EQU                2
                                           _P01			.EQU                1
                                           _P00			.EQU                0
                                           
                                           ;  06H  P2   Bits-------------------------------------
                                           P23			.EQU                3
                                           P22			.EQU                2
                                           P21			.EQU                1
                                           P20			.EQU                0
                                           _P23			.EQU                3
                                           _P22			.EQU                2
                                           _P21			.EQU                1
                                           _P20			.EQU                0
                                           
                                           ;  07H  P1   Bits-------------------------------------
                                           P17			.EQU                7
                                           P16			.EQU                6
                                           P15			.EQU                5
                                           P14			.EQU                4
                                           P13			.EQU                3
                                           P12			.EQU                2
                                           P11			.EQU                1
                                           P10			.EQU                0
                                           _P17			.EQU                7
                                           _P16			.EQU                6
                                           _P15			.EQU                5
                                           _P14			.EQU                4
                                           _P13			.EQU                3
                                           _P12			.EQU                2
                                           _P11			.EQU                1
                                           _P10			.EQU                0
                                           
                                           ;  0AH  PCH   Bits-------------------------------------
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIE			.EQU                7
                                           PUIE			.EQU                6
                                           T0IE			.EQU                5
                                           INT0IE			.EQU                4
                                           P0IE			.EQU                3
                                           T0IF			.EQU                2
                                           INT0IF			.EQU                1
                                           P0IF			.EQU                0
                                           _AIE			.EQU                7
                                           _PUIE			.EQU                6
                                           _T0IE			.EQU                5
                                           _INT0IE			.EQU                4
                                           _P0IE			.EQU                3
                                           _T0IF			.EQU                2
                                           _INT0IF			.EQU                1
                                           _P0IF			.EQU                0
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIEH			.EQU                7
                                           AIEL			.EQU                6
                                           _AIEH			.EQU                7
                                           _AIEL			.EQU                6
                                           
                                           ;  0CH  EIF1   Bits-------------------------------------
                                           ADIF			.EQU                6
                                           INT2IF			.EQU                5
                                           INT1IF			.EQU                4
                                           C1IF			.EQU                3
                                           PWM2IF			.EQU                2
                                           T1IF			.EQU                0
                                           _ADIF			.EQU                6
                                           _INT2IF			.EQU                5
                                           _INT1IF			.EQU                4
                                           _C1IF			.EQU                3
                                           _PWM2IF			.EQU                2
                                           _T1IF			.EQU                0
                                           
                                           ;  0DH  EIF2   Bits-------------------------------------
                                           T3IF			.EQU                7
                                           BCLIF			.EQU                1
                                           SSCIIF			.EQU                0
                                           _T3IF			.EQU                7
                                           _BCLIF			.EQU                1
                                           _SSCIIF			.EQU                0
                                           
                                           ;  10H  T1CTL   Bits-------------------------------------
                                           T1RLD			.EQU                7
                                           T1GC			.EQU                6
                                           T1CKS1			.EQU                5
                                           T1CKS0			.EQU                4
                                           T1OSCEN			.EQU                3
                                           T1SY			.EQU                2
                                           T1CS			.EQU                1
                                           T1ON			.EQU                0
                                           _T1RLD			.EQU                7
                                           _T1GC			.EQU                6
                                           _T1CKS1			.EQU                5
                                           _T1CKS0			.EQU                4
                                           _T1OSCEN		.EQU                3
                                           _T1SY			.EQU                2
                                           _T1CS			.EQU                1
                                           _T1ON			.EQU                0
                                           
                                           ;  15H  PWMCTL   Bits-------------------------------------
                                           PWM2ON			.EQU                4
                                           PWM1ON			.EQU                0
                                           _PWM2ON			.EQU                4
                                           _PWM1ON			.EQU                0
                                           
                                           ;  17H  BANK   Bits-------------------------------------
                                           PR3			.EQU                3
                                           PR2			.EQU                2
                                           PR1			.EQU                1
                                           PR0			.EQU                0
                                           _PR3			.EQU                3
                                           _PR2			.EQU                2
                                           _PR1			.EQU                1
                                           _PR0			.EQU                0
                                           
                                           ;  19H  C1CTL   Bits-------------------------------------
                                           C1OE			.EQU                7
                                           C1MOD			.EQU                6
                                           C1CALEN			.EQU                3
                                           C1CALSET		.EQU                2
                                           C1OUT			.EQU                1
                                           C1EN			.EQU                0
                                           _C1OE			.EQU                7
                                           _C1MOD			.EQU                6
                                           _C1CALEN		.EQU                3
                                           _C1CALSET		.EQU                2
                                           _C1OUT			.EQU                1
                                           _C1EN			.EQU                0
                                           
                                           ;  1AH  VDACS   Bits-------------------------------------
                                           VCEN			.EQU                6
                                           _VCEN			.EQU                6
                                           
                                           ;  1BH  AMPCTL   Bits-------------------------------------
                                           CALID			.EQU                7
                                           INPS1			.EQU                5
                                           INPS0			.EQU                4
                                           CALIEN			.EQU                1
                                           AMPON			.EQU                0
                                           _CALID			.EQU                7
                                           _INPS1			.EQU                5
                                           _INPS0			.EQU                4
                                           _CALIEN			.EQU                1
                                           _AMPON			.EQU                0
                                           
                                           ;  1DH  ANSEH   Bits-------------------------------------
                                           SSCIPIN			.EQU                7
                                           ANS13			.EQU                5
                                           ANS12			.EQU                4
                                           ANS11			.EQU                3
                                           ANS10			.EQU                2
                                           ANS9			.EQU                1
                                           ANS8			.EQU                0
                                           _SSCIPIN		.EQU                7
                                           _ANS13			.EQU                5
                                           _ANS12			.EQU                4
                                           _ANS11			.EQU                3
                                           _ANS10			.EQU                2
                                           _ANS9			.EQU                1
                                           _ANS8			.EQU                0
                                           
                                           ;  1FH  ADCCTL0   Bits-------------------------------------
                                           ADLR			.EQU                7
                                           CHS3			.EQU                5
                                           CHS2			.EQU                4
                                           CHS1			.EQU                3
                                           CHS0			.EQU                2
                                           START			.EQU                1
                                           ADEN			.EQU                0
                                           _ADLR			.EQU                7
                                           _CHS3			.EQU                5
                                           _CHS2			.EQU                4
                                           _CHS1			.EQU                3
                                           _CHS0			.EQU                2
                                           _START			.EQU                1
                                           _ADEN			.EQU                0
                                           
                                           ;  20H  AMPDT   Bits-------------------------------------
                                           DT7			.EQU                7
                                           DT6			.EQU                6
                                           DT5			.EQU                5
                                           DT4			.EQU                4
                                           DT3			.EQU                3
                                           DT2			.EQU                2
                                           DT1			.EQU                1
                                           DT0			.EQU                0
                                           _DT7			.EQU                7
                                           _DT6			.EQU                6
                                           _DT5			.EQU                5
                                           _DT4			.EQU                4
                                           _DT3			.EQU                3
                                           _DT2			.EQU                2
                                           _DT1			.EQU                1
                                           _DT0			.EQU                0
                                           
                                           ;  21H  OPTR   Bits-------------------------------------
                                           PUPH			.EQU                7
                                           INT0SE			.EQU                6
                                           T0CS			.EQU                5
                                           T0SE			.EQU                4
                                           PSA			.EQU                3
                                           PS2			.EQU                2
                                           PS1			.EQU                1
                                           PS0			.EQU                0
                                           _PUPH			.EQU                7
                                           _INT0SE			.EQU                6
                                           _T0CS			.EQU                5
                                           _T0SE			.EQU                4
                                           _PSA			.EQU                3
                                           _PS2			.EQU                2
                                           _PS1			.EQU                1
                                           _PS0			.EQU                0
                                           
                                           ;  22H  IP0   Bits-------------------------------------
                                           PT0			.EQU                2
                                           PINT0			.EQU                1
                                           PP0			.EQU                0
                                           _PT0			.EQU                2
                                           _PINT0			.EQU                1
                                           _PP0			.EQU                0
                                           
                                           ;  23H  IP1   Bits-------------------------------------
                                           PADC			.EQU                6
                                           PINT2			.EQU                5
                                           PINT1			.EQU                4
                                           PC1			.EQU                3
                                           PPWM2			.EQU                2
                                           PT1			.EQU                0
                                           _PADC			.EQU                6
                                           _PINT2			.EQU                5
                                           _PINT1			.EQU                4
                                           _PC1			.EQU                3
                                           _PPWM2			.EQU                2
                                           _PT1			.EQU                0
                                           
                                           ;  24H  IP2   Bits-------------------------------------
                                           PT3			.EQU                7
                                           PBCL			.EQU                1
                                           PSSCI			.EQU                0
                                           _PT3			.EQU                7
                                           _PBCL			.EQU                1
                                           _PSSCI			.EQU                0
                                           
                                           ;  25H  TR0   Bits-------------------------------------
                                           TR05			.EQU                5
                                           TR04			.EQU                4
                                           TR03			.EQU                3
                                           TR02			.EQU                2
                                           TR01			.EQU                1
                                           TR00			.EQU                0
                                           _TR05			.EQU                5
                                           _TR04			.EQU                4
                                           _TR03			.EQU                3
                                           _TR02			.EQU                2
                                           _TR01			.EQU                1
                                           _TR00			.EQU                0
                                           
                                           ;  26H  TR2   Bits-------------------------------------
                                           TR23			.EQU                3
                                           TR22			.EQU                2
                                           TR21			.EQU                1
                                           TR20			.EQU                0
                                           _TR23			.EQU                3
                                           _TR22			.EQU                2
                                           _TR21			.EQU                1
                                           _TR20			.EQU                0
                                           
                                           ;  27H  TR1   Bits-------------------------------------
                                           TR17			.EQU                7
                                           TR16			.EQU                6
                                           TR15			.EQU                5
                                           TR14			.EQU                4
                                           TR13			.EQU                3
                                           TR12			.EQU                2
                                           TR11			.EQU                1
                                           TR10			.EQU                0
                                           _TR17			.EQU                7
                                           _TR16			.EQU                6
                                           _TR15			.EQU                5
                                           _TR14			.EQU                4
                                           _TR13			.EQU                3
                                           _TR12			.EQU                2
                                           _TR11			.EQU                1
                                           _TR10			.EQU                0
                                           
                                           ;  28H  OSCSTA   Bits-------------------------------------
                                           OSTS			.EQU                6
                                           HTS			.EQU                5
                                           LTS			.EQU                4
                                           SCF1			.EQU                1
                                           SCF0			.EQU                0
                                           _OSTS			.EQU                6
                                           _HTS			.EQU                5
                                           _LTS			.EQU                4
                                           _SCF1			.EQU                1
                                           _SCF0			.EQU                0
                                           
                                           ;  29H  IP3   Bits-------------------------------------
                                           PT4			.EQU                7
                                           POSCFAIL		.EQU                5
                                           _PT4			.EQU                7
                                           _POSCFAIL		.EQU                5
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VRESEL1			.EQU                7
                                           VRESEL0			.EQU                6
                                           VRECALEN		.EQU                5
                                           VRECKEN			.EQU                4
                                           VREOE			.EQU                3
                                           VREEN			.EQU                1
                                           LPREN			.EQU                0
                                           _VRESEL1		.EQU                7
                                           _VRESEL0		.EQU                6
                                           _VRECALEN		.EQU                5
                                           _VRECKEN		.EQU                4
                                           _VREOE			.EQU                3
                                           _VREEN			.EQU                1
                                           _LPREN			.EQU                0
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VREBG			.EQU                4
                                           _VREBG			.EQU                4
                                           ;  2CH  EIE1   Bits-------------------------------------
                                           ADIE			.EQU                6
                                           INT2IE			.EQU                5
                                           INT1IE			.EQU                4
                                           C1IE			.EQU                3
                                           PWM2IE			.EQU                2
                                           T1IE			.EQU                0
                                           _ADIE			.EQU                6
                                           _INT2IE			.EQU                5
                                           _INT1IE			.EQU                4
                                           _C1IE			.EQU                3
                                           _PWM2IE			.EQU                2
                                           _T1IE			.EQU                0
                                           
                                           ;  2DH  EIE2   Bits-------------------------------------
                                           T3IE			.EQU                7
                                           BCLIE			.EQU                1
                                           SSCIIE			.EQU                0
                                           _T3IE			.EQU                7
                                           _BCLIE			.EQU                1
                                           _SSCIIE			.EQU                0
                                           
                                           ;  2EH  PCTL   Bits-------------------------------------
                                           SLVREN			.EQU                4
                                           IPEN			.EQU                3
                                           SWDTEN			.EQU                2
                                           POR			.EQU                1
                                           LVR			.EQU                0
                                           _SLVREN			.EQU                4
                                           _IPEN			.EQU                3
                                           _SWDTEN			.EQU                2
                                           _POR			.EQU                1
                                           _LVR			.EQU                0
                                           
                                           ;  2FH  OSCCTL   Bits-------------------------------------
                                           CLKOE			.EQU                7
                                           IRCS2			.EQU                6
                                           IRCS1			.EQU                5
                                           IRCS0			.EQU                4
                                           SCS1			.EQU                3
                                           SCS0			.EQU                2
                                           IESO			.EQU                1
                                           FSCM			.EQU                0
                                           _CLKOE			.EQU                7
                                           _IRCS2			.EQU                6
                                           _IRCS1			.EQU                5
                                           _IRCS0			.EQU                4
                                           _SCS1			.EQU                3
                                           _SCS0			.EQU                2
                                           _IESO			.EQU                1
                                           _FSCM			.EQU                0
                                           
                                           ;  31H  ANSEL   Bits-------------------------------------
                                           ANS7			.EQU                7
                                           ANS6			.EQU                6
                                           ANS5			.EQU                5
                                           ANS4			.EQU                4
                                           ANS3			.EQU                3
                                           ANS2			.EQU                2
                                           ANS1			.EQU                1
                                           ANS0			.EQU                0
                                           _ANS7			.EQU                7
                                           _ANS6			.EQU                6
                                           _ANS5			.EQU                5
                                           _ANS4			.EQU                4
                                           _ANS3			.EQU                3
                                           _ANS2			.EQU                2
                                           _ANS1			.EQU                1
                                           _ANS0			.EQU                0
                                           
                                           ;  35H  PUR0   Bits-------------------------------------
                                           PUR05			.EQU                5
                                           PUR04			.EQU                4
                                           PUR02			.EQU                2
                                           PUR01			.EQU                1
                                           PUR00			.EQU                0
                                           _PUR05			.EQU                5
                                           _PUR04			.EQU                4
                                           _PUR02			.EQU                2
                                           _PUR01			.EQU                1
                                           _PUR00			.EQU                0
                                           
                                           ;  36H  IOCL   Bits-------------------------------------
                                           IOCL5			.EQU                5
                                           IOCL4			.EQU                4
                                           IOCL3			.EQU                3
                                           IOCL2			.EQU                2
                                           IOCL1			.EQU                1
                                           IOCL0			.EQU                0
                                           _IOCL5			.EQU                5
                                           _IOCL4			.EQU                4
                                           _IOCL3			.EQU                3
                                           _IOCL2			.EQU                2
                                           _IOCL1			.EQU                1
                                           _IOCL0			.EQU                0
                                           
                                           ;  3FH  ADCCTL1   Bits-------------------------------------
                                           ADCALEN			.EQU                7
                                           ADCS2			.EQU                6
                                           ADCS1			.EQU                5
                                           ADCS0			.EQU                4
                                           VCFG1			.EQU                3
                                           VCFG0			.EQU                2
                                           ADCIM			.EQU                0
                                           _ADCALEN		.EQU                7
                                           _ADCS2			.EQU                6
                                           _ADCS1			.EQU                5
                                           _ADCS0			.EQU                4
                                           _VCFG1			.EQU                3
                                           _VCFG0			.EQU                2
                                           _ADCIM			.EQU                0
                                           
                                           ;  45H  P0LR   Bits-------------------------------------
                                           P0LR5			.EQU                5
                                           P0LR4			.EQU                4
                                           P0LR2			.EQU                2
                                           P0LR1			.EQU                1
                                           P0LR0			.EQU                0
                                           _P0LR5			.EQU                5
                                           _P0LR4			.EQU                4
                                           _P0LR2			.EQU                2
                                           _P0LR1			.EQU                1
                                           _P0LR0			.EQU                0
                                           
                                           ;  46H  P2LR   Bits-------------------------------------
                                           P2LR3			.EQU                3
                                           P2LR2			.EQU                2
                                           P2LR1			.EQU                1
                                           P2LR0			.EQU                0
                                           _P2LR3			.EQU                3
                                           _P2LR2			.EQU                2
                                           _P2LR1			.EQU                1
                                           _P2LR0			.EQU                0
                                           
                                           ;  47H  P1LR   Bits-------------------------------------
                                           P1LR7			.EQU                7
                                           P1LR6			.EQU                6
                                           P1LR5			.EQU                5
                                           P1LR4			.EQU                4
                                           P1LR3			.EQU                3
                                           P1LR2			.EQU                2
                                           P1LR1			.EQU                1
                                           P1LR0			.EQU                0
                                           _P1LR7			.EQU                7
                                           _P1LR6			.EQU                6
                                           _P1LR5			.EQU                5
                                           _P1LR4			.EQU                4
                                           _P1LR3			.EQU                3
                                           _P1LR2			.EQU                2
                                           _P1LR1			.EQU                1
                                           _P1LR0			.EQU                0
                                           
                                           ;  4AH  EIE3   Bits-------------------------------------
                                           T4IE			.EQU                7
                                           OSCFAILIE		.EQU                5
                                           _T4IE			.EQU                7
                                           _OSCFAILIE		.EQU                5
                                           
                                           ;  4BH  EIF3   Bits-------------------------------------
                                           T4IF			.EQU                7
                                           OSCFAILIF		.EQU                5
                                           _T4IF			.EQU                7
                                           _OSCFAILIF		.EQU                5
                                           
                                           ;  4EH  T3CTL   Bits-------------------------------------
                                           T3EN			.EQU                7
                                           T3CKS1			.EQU                6
                                           T3CKS0			.EQU                5
                                           T3CS			.EQU                4
                                           PWMS			.EQU                3
                                           _T3EN			.EQU                7
                                           _T3CKS1			.EQU                6
                                           _T3CKS0			.EQU                5
                                           _T3CS			.EQU                4
                                           _PWMS			.EQU                3
                                           
                                           ;  53H  CTCTL0   Bits-------------------------------------
                                           CTEN			.EQU                7
                                           CTSTART			.EQU                6
                                           T3CLR			.EQU                5
                                           CTCHSEL4		.EQU                4
                                           CTCHSEL3		.EQU                3
                                           CTCHSEL2		.EQU                2
                                           CTCHSEL1		.EQU                1
                                           CTCHSEL0		.EQU                0
                                           _CTEN			.EQU                7
                                           _CTSTART		.EQU                6
                                           _T3CLR			.EQU                5
                                           _CTCHSEL4		.EQU                4
                                           _CTCHSEL3		.EQU                3
                                           _CTCHSEL2		.EQU                2
                                           _CTCHSEL1		.EQU                1
                                           _CTCHSEL0		.EQU                0
                                           
                                           ;  60H  PUR1   Bits-------------------------------------
                                           PUR17			.EQU                7
                                           PUR16			.EQU                6
                                           PUR15			.EQU                5
                                           PUR14			.EQU                4
                                           PUR13			.EQU                3
                                           PUR12			.EQU                2
                                           PUR11			.EQU                1
                                           PUR10			.EQU                0
                                           _PUR17			.EQU                7
                                           _PUR16			.EQU                6
                                           _PUR15			.EQU                5
                                           _PUR14			.EQU                4
                                           _PUR13			.EQU                3
                                           _PUR12			.EQU                2
                                           _PUR11			.EQU                1
                                           _PUR10			.EQU                0
                                           
                                           ;  61H  PUR2   Bits-------------------------------------
                                           PUR23			.EQU                3
                                           PUR22			.EQU                2
                                           PUR21			.EQU                1
                                           PUR20			.EQU                0
                                           _PUR23			.EQU                3
                                           _PUR22			.EQU                2
                                           _PUR21			.EQU                1
                                           _PUR20			.EQU                0
                                           
                                           ;  64H  CTCTL1   Bits-------------------------------------
                                           CTCLKSEL1		.EQU                7
                                           CTCLKSEL0		.EQU                6
                                           PRSGEN			.EQU                5
                                           PRSGM1			.EQU                4
                                           PRSGM0			.EQU                3
                                           PRSGSTA			.EQU                2
                                           VSEL			.EQU                0
                                           _CTCLKSEL1		.EQU                7
                                           _CTCLKSEL0		.EQU                6
                                           _PRSGEN			.EQU                5
                                           _PRSGM1			.EQU                4
                                           _PRSGM0			.EQU                3
                                           _PRSGSTA		.EQU                2
                                           _VSEL			.EQU                0
                                           
                                           ;  67H  INTEDGCTL   Bits-------------------------------------
                                           INT2SE			.EQU                7
                                           INT1SE			.EQU                6
                                           T1CLKEN			.EQU                0
                                           _INT2SE			.EQU                7
                                           _INT1SE			.EQU                6
                                           _T1CLKEN		.EQU                0
                                           
                                           ;  112H  VDAC   Bits-------------------------------------
                                           VDAC3			.EQU                7
                                           VDAC2			.EQU                6
                                           VDAC1			.EQU                5
                                           VDAC0			.EQU                4
                                           _VDAC3			.EQU                7
                                           _VDAC2			.EQU                6
                                           _VDAC1			.EQU                5
                                           _VDAC0			.EQU                4
                                           
                                           ;  113H  VRES   Bits-------------------------------------
                                           VRES3			.EQU                7
                                           VRES2			.EQU                6
                                           VRES1			.EQU                5
                                           VRES0			.EQU                4
                                           _VRES3			.EQU                7
                                           _VRES2			.EQU                6
                                           _VRES1			.EQU                5
                                           _VRES0			.EQU                4
                                           
                                           ;  115H  C1CAL   Bits-------------------------------------
                                           C1DT7			.EQU                7
                                           C1DT6			.EQU                6
                                           C1DT5			.EQU                5
                                           C1DT4			.EQU                4
                                           C1DT3			.EQU                3
                                           C1DT2			.EQU                2
                                           C1DT1			.EQU                1
                                           C1DT0			.EQU                0
                                           _C1DT7			.EQU                7
                                           _C1DT6			.EQU                6
                                           _C1DT5			.EQU                5
                                           _C1DT4			.EQU                4
                                           _C1DT3			.EQU                3
                                           _C1DT2			.EQU                2
                                           _C1DT1			.EQU                1
                                           _C1DT0			.EQU                0
                                           
                                           ;  128H  SSCICTL0   Bits-------------------------------------
                                           SSCIWCFL		.EQU                7
                                           SSCIOV			.EQU                6
                                           SSCIEN			.EQU                5
                                           SSCICKP			.EQU                4
                                           SSCIMOD3		.EQU                3
                                           SSCIMOD2		.EQU                2
                                           SSCIMOD1		.EQU                1
                                           SSCIMOD0		.EQU                0
                                           _SSCIWCFL		.EQU                7
                                           _SSCIOV			.EQU                6
                                           _SSCIEN			.EQU                5
                                           _SSCICKP		.EQU                4
                                           _SSCIMOD3		.EQU                3
                                           _SSCIMOD2		.EQU                2
                                           _SSCIMOD1		.EQU                1
                                           _SSCIMOD0		.EQU                0
                                           
                                           ;  12AH  SSCICTL1   Bits-------------------------------------
                                           SSCICALLEN		.EQU                7
                                           SSCIACKSTA		.EQU                6
                                           SSCIACKDAT		.EQU                5
                                           SSCIACKEN		.EQU                4
                                           SSCIRCEN		.EQU                3
                                           STOPEN			.EQU                2
                                           RESTARTEN		.EQU                1
                                           STARTEN			.EQU                0
                                           _SSCICALLEN		.EQU                7
                                           _SSCIACKSTA		.EQU                6
                                           _SSCIACKDAT		.EQU                5
                                           _SSCIACKEN		.EQU                4
                                           _SSCIRCEN		.EQU                3
                                           _STOPEN			.EQU                2
                                           _RESTARTEN		.EQU                1
                                           _STARTEN		.EQU                0
                                           
                                           ;  12BH  SSCISTA   Bits-------------------------------------
                                           SSCIDA			.EQU                5
                                           SSCISTOP		.EQU                4
                                           SSCISTART		.EQU                3
                                           SSCIRW			.EQU                2
                                           SSCIUA			.EQU                1
                                           SSCIBUF			.EQU                0
                                           _SSCIDA			.EQU                5
                                           _SSCISTOP		.EQU                4
                                           _SSCISTART		.EQU                3
                                           _SSCIRW			.EQU                2
                                           _SSCIUA			.EQU                1
                                           _SSCIBUF		.EQU                0
                                           
                                           ;  12EH  SSCIADD   Bits-------------------------------------
                                           SSCIADD7		.EQU                7
                                           SSCIADD6		.EQU                6
                                           SSCIADD5		.EQU                5
                                           SSCIADD4		.EQU                4
                                           SSCIADD3		.EQU                3
                                           SSCIADD2		.EQU                2
                                           SSCIADD1		.EQU                1
                                           SSCIADD0		.EQU                0
                                           _SSCIADD7		.EQU                7
                                           _SSCIADD6		.EQU                6
                                           _SSCIADD5		.EQU                5
                                           _SSCIADD4		.EQU                4
                                           _SSCIADD3		.EQU                3
                                           _SSCIADD2		.EQU                2
                                           _SSCIADD1		.EQU                1
                                           _SSCIADD0		.EQU                0
                                           
                                           ;  12EH  SSCIMSK   Bits-------------------------------------
                                           SSCIMSK7		.EQU                7
                                           SSCIMSK6		.EQU                6
                                           SSCIMSK5		.EQU                5
                                           SSCIMSK4		.EQU                4
                                           SSCIMSK3		.EQU                3
                                           SSCIMSK2		.EQU                2
                                           SSCIMSK1		.EQU                1
                                           SSCIMSK0		.EQU                0
                                           _SSCIMSK7		.EQU                7
                                           _SSCIMSK6		.EQU                6
                                           _SSCIMSK5		.EQU                5
                                           _SSCIMSK4		.EQU                4
                                           _SSCIMSK3		.EQU                3
                                           _SSCIMSK2		.EQU                2
                                           _SSCIMSK1		.EQU                1
                                           _SSCIMSK0		.EQU                0
                                           
                                           ;  12FH  WDTPS   Bits-------------------------------------
                                           WDTPS3			.EQU                3
                                           WDTPS2			.EQU                2
                                           WDTPS1			.EQU                1
                                           WDTPS0			.EQU                0
                                           _WDTPS3			.EQU                3
                                           _WDTPS2			.EQU                2
                                           _WDTPS1			.EQU                1
                                           _WDTPS0			.EQU                0
                                           
                                           ;  14AH  C1FILTCTL   Bits-------------------------------------
                                           INV1			.EQU                7
                                           WEN1			.EQU                6
                                           FEN1			.EQU                5
                                           F1CNT2			.EQU                2
                                           F1CNT1			.EQU                1
                                           F1CNT0			.EQU                0
                                           _INV1			.EQU                7
                                           _WEN1			.EQU                6
                                           _FEN1			.EQU                5
                                           _F1CNT2			.EQU                2
                                           _F1CNT1			.EQU                1
                                           _F1CNT0			.EQU                0
                                           
                                           ;  14BH  C1FILTPRE   Bits-------------------------------------
                                           FP17			.EQU                7
                                           FP16			.EQU                6
                                           FP15			.EQU                5
                                           FP14			.EQU                4
                                           FP13			.EQU                3
                                           FP12			.EQU                2
                                           FP11			.EQU                1
                                           FP10			.EQU                0
                                           _FP17			.EQU                7
                                           _FP16			.EQU                6
                                           _FP15			.EQU                5
                                           _FP14			.EQU                4
                                           _FP13			.EQU                3
                                           _FP12			.EQU                2
                                           _FP11			.EQU                1
                                           _FP10			.EQU                0
                                           
                                           ;  15BH  CTCTL2   Bits-------------------------------------
                                           CTMODE			.EQU                4
                                           RSEL3			.EQU                3
                                           RSEL2			.EQU                2
                                           RSEL1			.EQU                1
                                           RSEL0			.EQU                0
                                           _CTMODE			.EQU                4
                                           _RSEL3			.EQU                3
                                           _RSEL2			.EQU                2
                                           _RSEL1			.EQU                1
                                           _RSEL0			.EQU                0
                                           
                                           ;  164H  T4CTL   Bits-------------------------------------
                                           T4REN			.EQU                7
                                           HSPEN			.EQU                6
                                           T4CKS1			.EQU                5
                                           T4CKS0			.EQU                4
                                           LSPEN			.EQU                3
                                           T4CS1			.EQU                2
                                           T4CS0			.EQU                1
                                           T4ON			.EQU                0
                                           _T4REN			.EQU                7
                                           _HSPEN			.EQU                6
                                           _T4CKS1			.EQU                5
                                           _T4CKS0			.EQU                4
                                           _LSPEN			.EQU                3
                                           _T4CS1			.EQU                2
                                           _T4CS0			.EQU                1
                                           _T4ON			.EQU                0
                                           ;************************************************************
                                           ;       Header file for the KungFu8 END
                                           ;       KF8TS3514
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           ;--------------------------------------------------------
                                           ; config word(s)
                                           ;--------------------------------------------------------
                                           	__config 0x7c4
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           
                                           	.extern I0R1
                                           	.extern I0R7
                                           	.extern I0PSW
                                           	.extern I0PCH
                                           	.extern I1R1
                                           	.extern I1R7
                                           	.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 definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; absolute symbol definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; compiler-defined variables
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; initialized data
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; overlayable items in internal ram 
                                           ;--------------------------------------------------------
                                           ;	.udata_ovr
                                           
                                           ;	code size estimation:
                                           ;	    0+    0 =     0 instructions (    0 byte)
                                           
                                           
                                           	.end
                                           ;--------------------------------------------------------
                                           ; File Created by ChiponCC : ChipON  inc.
                                           ; Version 3.0.4#6752 (Feb 19 2019 20:27:19) (MSVC)
                                           ; This file was generated Thu Mar 07 17:41:46 2019
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../debug_touch.c"
                                           	.radix dec
                                           	.include "KF8TS3514.inc"
                                           ;************************************************************
                                           ;       Header file for the KungFu8
                                           ;       KF8TS3514
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           T0			.EQU                 0x01
                                           PCL			.EQU                 0x02
                                           PSW			.EQU                 0x03
                                           P0			.EQU                 0x05
                                           P2			.EQU                 0x06
                                           P1			.EQU                 0x07
                                           PCH			.EQU                 0x0A
                                           INTCTL			.EQU                 0x0B
                                           EIF1			.EQU                 0x0C
                                           EIF2			.EQU                 0x0D
                                           T1L			.EQU                 0x0E
                                           T1H			.EQU                 0x0F
                                           T1CTL			.EQU                 0x10
                                           PWM1L			.EQU                 0x13
                                           PWMCTL			.EQU                 0x15
                                           PP1			.EQU                 0x16
                                           BANK			.EQU                 0x17
                                           C1CTL			.EQU                 0x19
                                           VDACS			.EQU                 0x1A
                                           AMPCTL			.EQU                 0x1B
                                           ANSEH			.EQU                 0x1D
                                           ADCDATA0H		.EQU                 0x1E
                                           ADCCTL0			.EQU                 0x1F
                                           AMPDT			.EQU                 0x20
                                           OPTR			.EQU                 0x21
                                           IP0			.EQU                 0x22
                                           IP1			.EQU                 0x23
                                           IP2			.EQU                 0x24
                                           TR0			.EQU                 0x25
                                           TR2			.EQU                 0x26
                                           TR1			.EQU                 0x27
                                           OSCSTA			.EQU                 0x28
                                           IP3			.EQU                 0x29
                                           VRECAL1			.EQU                 0x2A
                                           VRECTL			.EQU                 0x2B
                                           EIE1			.EQU                 0x2C
                                           EIE2			.EQU                 0x2D
                                           PCTL			.EQU                 0x2E
                                           OSCCTL			.EQU                 0x2F
                                           OSCCAL0			.EQU                 0x30
                                           ANSEL			.EQU                 0x31
                                           PP2			.EQU                 0x32
                                           PWM2L			.EQU                 0x33
                                           PUR0			.EQU                 0x35
                                           IOCL			.EQU                 0x36
                                           OSCCAL1			.EQU                 0x37
                                           NVMDATAH		.EQU                 0x38
                                           NVMDATAL		.EQU                 0x39
                                           NVMADDRH		.EQU                 0x3A
                                           NVMADDRL		.EQU                 0x3B
                                           NVMCTL0			.EQU                 0x3C
                                           NVMCTL1			.EQU                 0x3D
                                           ADCDATA0L		.EQU                 0x3E
                                           ADCCTL1			.EQU                 0x3F
                                           P0LR			.EQU                 0x45
                                           P2LR			.EQU                 0x46
                                           P1LR			.EQU                 0x47
                                           EIE3			.EQU                 0x4A
                                           EIF3			.EQU                 0x4B
                                           OSCCAL2			.EQU                 0x4C
                                           OSCCAL3			.EQU                 0x4D
                                           T3CTL			.EQU                 0x4E
                                           T3L			.EQU                 0x4F
                                           CTCTL0			.EQU                 0x53
                                           T3H			.EQU                 0x5F
                                           PUR1			.EQU                 0x60
                                           PUR2			.EQU                 0x61
                                           CTCTL1			.EQU                 0x64
                                           INTEDGCTL		.EQU                 0x67
                                           ADCDATA3L		.EQU                 0x6A
                                           VDAC			.EQU                 0x112
                                           VRES			.EQU                 0x113
                                           C1CAL			.EQU                 0x115
                                           SSCICTL0		.EQU                 0x128
                                           SSCICTL1		.EQU                 0x12A
                                           SSCISTA			.EQU                 0x12B
                                           SSCIBUFR		.EQU                 0x12C
                                           SSCIADD			.EQU                 0x12E
                                           SSCIMSK			.EQU                 0x12E
                                           WDTPS			.EQU                 0x12F
                                           C1FILTCTL		.EQU                 0x14A
                                           C1FILTPRE		.EQU                 0x14B
                                           VRECAL2			.EQU                 0x159
                                           VRECAL3			.EQU                 0x15A
                                           CTCTL2			.EQU                 0x15B
                                           T4L			.EQU                 0x160
                                           T4H			.EQU                 0x161
                                           T4REL			.EQU                 0x162
                                           T4REH			.EQU                 0x163
                                           T4CTL			.EQU                 0x164
                                           RC32KCAL		.EQU                 0x165
                                           
                                           
                                           ;  03H  PSW   Bits-------------------------------------
                                           TO			.EQU                4
                                           PD			.EQU                3
                                           Z			.EQU                2
                                           DC			.EQU                1
                                           CY			.EQU                0
                                           _TO			.EQU                4
                                           _PD			.EQU                3
                                           _Z			.EQU                2
                                           _DC			.EQU                1
                                           _CY			.EQU                0
                                           
                                           ;  05H  P0   Bits-------------------------------------
                                           P05			.EQU                5
                                           P04			.EQU                4
                                           P03			.EQU                3
                                           P02			.EQU                2
                                           P01			.EQU                1
                                           P00			.EQU                0
                                           _P05			.EQU                5
                                           _P04			.EQU                4
                                           _P03			.EQU                3
                                           _P02			.EQU                2
                                           _P01			.EQU                1
                                           _P00			.EQU                0
                                           
                                           ;  06H  P2   Bits-------------------------------------
                                           P23			.EQU                3
                                           P22			.EQU                2
                                           P21			.EQU                1
                                           P20			.EQU                0
                                           _P23			.EQU                3
                                           _P22			.EQU                2
                                           _P21			.EQU                1
                                           _P20			.EQU                0
                                           
                                           ;  07H  P1   Bits-------------------------------------
                                           P17			.EQU                7
                                           P16			.EQU                6
                                           P15			.EQU                5
                                           P14			.EQU                4
                                           P13			.EQU                3
                                           P12			.EQU                2
                                           P11			.EQU                1
                                           P10			.EQU                0
                                           _P17			.EQU                7
                                           _P16			.EQU                6
                                           _P15			.EQU                5
                                           _P14			.EQU                4
                                           _P13			.EQU                3
                                           _P12			.EQU                2
                                           _P11			.EQU                1
                                           _P10			.EQU                0
                                           
                                           ;  0AH  PCH   Bits-------------------------------------
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIE			.EQU                7
                                           PUIE			.EQU                6
                                           T0IE			.EQU                5
                                           INT0IE			.EQU                4
                                           P0IE			.EQU                3
                                           T0IF			.EQU                2
                                           INT0IF			.EQU                1
                                           P0IF			.EQU                0
                                           _AIE			.EQU                7
                                           _PUIE			.EQU                6
                                           _T0IE			.EQU                5
                                           _INT0IE			.EQU                4
                                           _P0IE			.EQU                3
                                           _T0IF			.EQU                2
                                           _INT0IF			.EQU                1
                                           _P0IF			.EQU                0
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIEH			.EQU                7
                                           AIEL			.EQU                6
                                           _AIEH			.EQU                7
                                           _AIEL			.EQU                6
                                           
                                           ;  0CH  EIF1   Bits-------------------------------------
                                           ADIF			.EQU                6
                                           INT2IF			.EQU                5
                                           INT1IF			.EQU                4
                                           C1IF			.EQU                3
                                           PWM2IF			.EQU                2
                                           T1IF			.EQU                0
                                           _ADIF			.EQU                6
                                           _INT2IF			.EQU                5
                                           _INT1IF			.EQU                4
                                           _C1IF			.EQU                3
                                           _PWM2IF			.EQU                2
                                           _T1IF			.EQU                0
                                           
                                           ;  0DH  EIF2   Bits-------------------------------------
                                           T3IF			.EQU                7
                                           BCLIF			.EQU                1
                                           SSCIIF			.EQU                0
                                           _T3IF			.EQU                7
                                           _BCLIF			.EQU                1
                                           _SSCIIF			.EQU                0
                                           
                                           ;  10H  T1CTL   Bits-------------------------------------
                                           T1RLD			.EQU                7
                                           T1GC			.EQU                6
                                           T1CKS1			.EQU                5
                                           T1CKS0			.EQU                4
                                           T1OSCEN			.EQU                3
                                           T1SY			.EQU                2
                                           T1CS			.EQU                1
                                           T1ON			.EQU                0
                                           _T1RLD			.EQU                7
                                           _T1GC			.EQU                6
                                           _T1CKS1			.EQU                5
                                           _T1CKS0			.EQU                4
                                           _T1OSCEN		.EQU                3
                                           _T1SY			.EQU                2
                                           _T1CS			.EQU                1
                                           _T1ON			.EQU                0
                                           
                                           ;  15H  PWMCTL   Bits-------------------------------------
                                           PWM2ON			.EQU                4
                                           PWM1ON			.EQU                0
                                           _PWM2ON			.EQU                4
                                           _PWM1ON			.EQU                0
                                           
                                           ;  17H  BANK   Bits-------------------------------------
                                           PR3			.EQU                3
                                           PR2			.EQU                2
                                           PR1			.EQU                1
                                           PR0			.EQU                0
                                           _PR3			.EQU                3
                                           _PR2			.EQU                2
                                           _PR1			.EQU                1
                                           _PR0			.EQU                0
                                           
                                           ;  19H  C1CTL   Bits-------------------------------------
                                           C1OE			.EQU                7
                                           C1MOD			.EQU                6
                                           C1CALEN			.EQU                3
                                           C1CALSET		.EQU                2
                                           C1OUT			.EQU                1
                                           C1EN			.EQU                0
                                           _C1OE			.EQU                7
                                           _C1MOD			.EQU                6
                                           _C1CALEN		.EQU                3
                                           _C1CALSET		.EQU                2
                                           _C1OUT			.EQU                1
                                           _C1EN			.EQU                0
                                           
                                           ;  1AH  VDACS   Bits-------------------------------------
                                           VCEN			.EQU                6
                                           _VCEN			.EQU                6
                                           
                                           ;  1BH  AMPCTL   Bits-------------------------------------
                                           CALID			.EQU                7
                                           INPS1			.EQU                5
                                           INPS0			.EQU                4
                                           CALIEN			.EQU                1
                                           AMPON			.EQU                0
                                           _CALID			.EQU                7
                                           _INPS1			.EQU                5
                                           _INPS0			.EQU                4
                                           _CALIEN			.EQU                1
                                           _AMPON			.EQU                0
                                           
                                           ;  1DH  ANSEH   Bits-------------------------------------
                                           SSCIPIN			.EQU                7
                                           ANS13			.EQU                5
                                           ANS12			.EQU                4
                                           ANS11			.EQU                3
                                           ANS10			.EQU                2
                                           ANS9			.EQU                1
                                           ANS8			.EQU                0
                                           _SSCIPIN		.EQU                7
                                           _ANS13			.EQU                5
                                           _ANS12			.EQU                4
                                           _ANS11			.EQU                3
                                           _ANS10			.EQU                2
                                           _ANS9			.EQU                1
                                           _ANS8			.EQU                0
                                           
                                           ;  1FH  ADCCTL0   Bits-------------------------------------
                                           ADLR			.EQU                7
                                           CHS3			.EQU                5
                                           CHS2			.EQU                4
                                           CHS1			.EQU                3
                                           CHS0			.EQU                2
                                           START			.EQU                1
                                           ADEN			.EQU                0
                                           _ADLR			.EQU                7
                                           _CHS3			.EQU                5
                                           _CHS2			.EQU                4
                                           _CHS1			.EQU                3
                                           _CHS0			.EQU                2
                                           _START			.EQU                1
                                           _ADEN			.EQU                0
                                           
                                           ;  20H  AMPDT   Bits-------------------------------------
                                           DT7			.EQU                7
                                           DT6			.EQU                6
                                           DT5			.EQU                5
                                           DT4			.EQU                4
                                           DT3			.EQU                3
                                           DT2			.EQU                2
                                           DT1			.EQU                1
                                           DT0			.EQU                0
                                           _DT7			.EQU                7
                                           _DT6			.EQU                6
                                           _DT5			.EQU                5
                                           _DT4			.EQU                4
                                           _DT3			.EQU                3
                                           _DT2			.EQU                2
                                           _DT1			.EQU                1
                                           _DT0			.EQU                0
                                           
                                           ;  21H  OPTR   Bits-------------------------------------
                                           PUPH			.EQU                7
                                           INT0SE			.EQU                6
                                           T0CS			.EQU                5
                                           T0SE			.EQU                4
                                           PSA			.EQU                3
                                           PS2			.EQU                2
                                           PS1			.EQU                1
                                           PS0			.EQU                0
                                           _PUPH			.EQU                7
                                           _INT0SE			.EQU                6
                                           _T0CS			.EQU                5
                                           _T0SE			.EQU                4
                                           _PSA			.EQU                3
                                           _PS2			.EQU                2
                                           _PS1			.EQU                1
                                           _PS0			.EQU                0
                                           
                                           ;  22H  IP0   Bits-------------------------------------
                                           PT0			.EQU                2
                                           PINT0			.EQU                1
                                           PP0			.EQU                0
                                           _PT0			.EQU                2
                                           _PINT0			.EQU                1
                                           _PP0			.EQU                0
                                           
                                           ;  23H  IP1   Bits-------------------------------------
                                           PADC			.EQU                6
                                           PINT2			.EQU                5
                                           PINT1			.EQU                4
                                           PC1			.EQU                3
                                           PPWM2			.EQU                2
                                           PT1			.EQU                0
                                           _PADC			.EQU                6
                                           _PINT2			.EQU                5
                                           _PINT1			.EQU                4
                                           _PC1			.EQU                3
                                           _PPWM2			.EQU                2
                                           _PT1			.EQU                0
                                           
                                           ;  24H  IP2   Bits-------------------------------------
                                           PT3			.EQU                7
                                           PBCL			.EQU                1
                                           PSSCI			.EQU                0
                                           _PT3			.EQU                7
                                           _PBCL			.EQU                1
                                           _PSSCI			.EQU                0
                                           
                                           ;  25H  TR0   Bits-------------------------------------
                                           TR05			.EQU                5
                                           TR04			.EQU                4
                                           TR03			.EQU                3
                                           TR02			.EQU                2
                                           TR01			.EQU                1
                                           TR00			.EQU                0
                                           _TR05			.EQU                5
                                           _TR04			.EQU                4
                                           _TR03			.EQU                3
                                           _TR02			.EQU                2
                                           _TR01			.EQU                1
                                           _TR00			.EQU                0
                                           
                                           ;  26H  TR2   Bits-------------------------------------
                                           TR23			.EQU                3
                                           TR22			.EQU                2
                                           TR21			.EQU                1
                                           TR20			.EQU                0
                                           _TR23			.EQU                3
                                           _TR22			.EQU                2
                                           _TR21			.EQU                1
                                           _TR20			.EQU                0
                                           
                                           ;  27H  TR1   Bits-------------------------------------
                                           TR17			.EQU                7
                                           TR16			.EQU                6
                                           TR15			.EQU                5
                                           TR14			.EQU                4
                                           TR13			.EQU                3
                                           TR12			.EQU                2
                                           TR11			.EQU                1
                                           TR10			.EQU                0
                                           _TR17			.EQU                7
                                           _TR16			.EQU                6
                                           _TR15			.EQU                5
                                           _TR14			.EQU                4
                                           _TR13			.EQU                3
                                           _TR12			.EQU                2
                                           _TR11			.EQU                1
                                           _TR10			.EQU                0
                                           
                                           ;  28H  OSCSTA   Bits-------------------------------------
                                           OSTS			.EQU                6
                                           HTS			.EQU                5
                                           LTS			.EQU                4
                                           SCF1			.EQU                1
                                           SCF0			.EQU                0
                                           _OSTS			.EQU                6
                                           _HTS			.EQU                5
                                           _LTS			.EQU                4
                                           _SCF1			.EQU                1
                                           _SCF0			.EQU                0
                                           
                                           ;  29H  IP3   Bits-------------------------------------
                                           PT4			.EQU                7
                                           POSCFAIL		.EQU                5
                                           _PT4			.EQU                7
                                           _POSCFAIL		.EQU                5
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VRESEL1			.EQU                7
                                           VRESEL0			.EQU                6
                                           VRECALEN		.EQU                5
                                           VRECKEN			.EQU                4
                                           VREOE			.EQU                3
                                           VREEN			.EQU                1
                                           LPREN			.EQU                0
                                           _VRESEL1		.EQU                7
                                           _VRESEL0		.EQU                6
                                           _VRECALEN		.EQU                5
                                           _VRECKEN		.EQU                4
                                           _VREOE			.EQU                3
                                           _VREEN			.EQU                1
                                           _LPREN			.EQU                0
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VREBG			.EQU                4
                                           _VREBG			.EQU                4
                                           ;  2CH  EIE1   Bits-------------------------------------
                                           ADIE			.EQU                6
                                           INT2IE			.EQU                5
                                           INT1IE			.EQU                4
                                           C1IE			.EQU                3
                                           PWM2IE			.EQU                2
                                           T1IE			.EQU                0
                                           _ADIE			.EQU                6
                                           _INT2IE			.EQU                5
                                           _INT1IE			.EQU                4
                                           _C1IE			.EQU                3
                                           _PWM2IE			.EQU                2
                                           _T1IE			.EQU                0
                                           
                                           ;  2DH  EIE2   Bits-------------------------------------
                                           T3IE			.EQU                7
                                           BCLIE			.EQU                1
                                           SSCIIE			.EQU                0
                                           _T3IE			.EQU                7
                                           _BCLIE			.EQU                1
                                           _SSCIIE			.EQU                0
                                           
                                           ;  2EH  PCTL   Bits-------------------------------------
                                           SLVREN			.EQU                4
                                           IPEN			.EQU                3
                                           SWDTEN			.EQU                2
                                           POR			.EQU                1
                                           LVR			.EQU                0
                                           _SLVREN			.EQU                4
                                           _IPEN			.EQU                3
                                           _SWDTEN			.EQU                2
                                           _POR			.EQU                1
                                           _LVR			.EQU                0
                                           
                                           ;  2FH  OSCCTL   Bits-------------------------------------
                                           CLKOE			.EQU                7
                                           IRCS2			.EQU                6
                                           IRCS1			.EQU                5
                                           IRCS0			.EQU                4
                                           SCS1			.EQU                3
                                           SCS0			.EQU                2
                                           IESO			.EQU                1
                                           FSCM			.EQU                0
                                           _CLKOE			.EQU                7
                                           _IRCS2			.EQU                6
                                           _IRCS1			.EQU                5
                                           _IRCS0			.EQU                4
                                           _SCS1			.EQU                3
                                           _SCS0			.EQU                2
                                           _IESO			.EQU                1
                                           _FSCM			.EQU                0
                                           
                                           ;  31H  ANSEL   Bits-------------------------------------
                                           ANS7			.EQU                7
                                           ANS6			.EQU                6
                                           ANS5			.EQU                5
                                           ANS4			.EQU                4
                                           ANS3			.EQU                3
                                           ANS2			.EQU                2
                                           ANS1			.EQU                1
                                           ANS0			.EQU                0
                                           _ANS7			.EQU                7
                                           _ANS6			.EQU                6
                                           _ANS5			.EQU                5
                                           _ANS4			.EQU                4
                                           _ANS3			.EQU                3
                                           _ANS2			.EQU                2
                                           _ANS1			.EQU                1
                                           _ANS0			.EQU                0
                                           
                                           ;  35H  PUR0   Bits-------------------------------------
                                           PUR05			.EQU                5
                                           PUR04			.EQU                4
                                           PUR02			.EQU                2
                                           PUR01			.EQU                1
                                           PUR00			.EQU                0
                                           _PUR05			.EQU                5
                                           _PUR04			.EQU                4
                                           _PUR02			.EQU                2
                                           _PUR01			.EQU                1
                                           _PUR00			.EQU                0
                                           
                                           ;  36H  IOCL   Bits-------------------------------------
                                           IOCL5			.EQU                5
                                           IOCL4			.EQU                4
                                           IOCL3			.EQU                3
                                           IOCL2			.EQU                2
                                           IOCL1			.EQU                1
                                           IOCL0			.EQU                0
                                           _IOCL5			.EQU                5
                                           _IOCL4			.EQU                4
                                           _IOCL3			.EQU                3
                                           _IOCL2			.EQU                2
                                           _IOCL1			.EQU                1
                                           _IOCL0			.EQU                0
                                           
                                           ;  3FH  ADCCTL1   Bits-------------------------------------
                                           ADCALEN			.EQU                7
                                           ADCS2			.EQU                6
                                           ADCS1			.EQU                5
                                           ADCS0			.EQU                4
                                           VCFG1			.EQU                3
                                           VCFG0			.EQU                2
                                           ADCIM			.EQU                0
                                           _ADCALEN		.EQU                7
                                           _ADCS2			.EQU                6
                                           _ADCS1			.EQU                5
                                           _ADCS0			.EQU                4
                                           _VCFG1			.EQU                3
                                           _VCFG0			.EQU                2
                                           _ADCIM			.EQU                0
                                           
                                           ;  45H  P0LR   Bits-------------------------------------
                                           P0LR5			.EQU                5
                                           P0LR4			.EQU                4
                                           P0LR2			.EQU                2
                                           P0LR1			.EQU                1
                                           P0LR0			.EQU                0
                                           _P0LR5			.EQU                5
                                           _P0LR4			.EQU                4
                                           _P0LR2			.EQU                2
                                           _P0LR1			.EQU                1
                                           _P0LR0			.EQU                0
                                           
                                           ;  46H  P2LR   Bits-------------------------------------
                                           P2LR3			.EQU                3
                                           P2LR2			.EQU                2
                                           P2LR1			.EQU                1
                                           P2LR0			.EQU                0
                                           _P2LR3			.EQU                3
                                           _P2LR2			.EQU                2
                                           _P2LR1			.EQU                1
                                           _P2LR0			.EQU                0
                                           
                                           ;  47H  P1LR   Bits-------------------------------------
                                           P1LR7			.EQU                7
                                           P1LR6			.EQU                6
                                           P1LR5			.EQU                5
                                           P1LR4			.EQU                4
                                           P1LR3			.EQU                3
                                           P1LR2			.EQU                2
                                           P1LR1			.EQU                1
                                           P1LR0			.EQU                0
                                           _P1LR7			.EQU                7
                                           _P1LR6			.EQU                6
                                           _P1LR5			.EQU                5
                                           _P1LR4			.EQU                4
                                           _P1LR3			.EQU                3
                                           _P1LR2			.EQU                2
                                           _P1LR1			.EQU                1
                                           _P1LR0			.EQU                0
                                           
                                           ;  4AH  EIE3   Bits-------------------------------------
                                           T4IE			.EQU                7
                                           OSCFAILIE		.EQU                5
                                           _T4IE			.EQU                7
                                           _OSCFAILIE		.EQU                5
                                           
                                           ;  4BH  EIF3   Bits-------------------------------------
                                           T4IF			.EQU                7
                                           OSCFAILIF		.EQU                5
                                           _T4IF			.EQU                7
                                           _OSCFAILIF		.EQU                5
                                           
                                           ;  4EH  T3CTL   Bits-------------------------------------
                                           T3EN			.EQU                7
                                           T3CKS1			.EQU                6
                                           T3CKS0			.EQU                5
                                           T3CS			.EQU                4
                                           PWMS			.EQU                3
                                           _T3EN			.EQU                7
                                           _T3CKS1			.EQU                6
                                           _T3CKS0			.EQU                5
                                           _T3CS			.EQU                4
                                           _PWMS			.EQU                3
                                           
                                           ;  53H  CTCTL0   Bits-------------------------------------
                                           CTEN			.EQU                7
                                           CTSTART			.EQU                6
                                           T3CLR			.EQU                5
                                           CTCHSEL4		.EQU                4
                                           CTCHSEL3		.EQU                3
                                           CTCHSEL2		.EQU                2
                                           CTCHSEL1		.EQU                1
                                           CTCHSEL0		.EQU                0
                                           _CTEN			.EQU                7
                                           _CTSTART		.EQU                6
                                           _T3CLR			.EQU                5
                                           _CTCHSEL4		.EQU                4
                                           _CTCHSEL3		.EQU                3
                                           _CTCHSEL2		.EQU                2
                                           _CTCHSEL1		.EQU                1
                                           _CTCHSEL0		.EQU                0
                                           
                                           ;  60H  PUR1   Bits-------------------------------------
                                           PUR17			.EQU                7
                                           PUR16			.EQU                6
                                           PUR15			.EQU                5
                                           PUR14			.EQU                4
                                           PUR13			.EQU                3
                                           PUR12			.EQU                2
                                           PUR11			.EQU                1
                                           PUR10			.EQU                0
                                           _PUR17			.EQU                7
                                           _PUR16			.EQU                6
                                           _PUR15			.EQU                5
                                           _PUR14			.EQU                4
                                           _PUR13			.EQU                3
                                           _PUR12			.EQU                2
                                           _PUR11			.EQU                1
                                           _PUR10			.EQU                0
                                           
                                           ;  61H  PUR2   Bits-------------------------------------
                                           PUR23			.EQU                3
                                           PUR22			.EQU                2
                                           PUR21			.EQU                1
                                           PUR20			.EQU                0
                                           _PUR23			.EQU                3
                                           _PUR22			.EQU                2
                                           _PUR21			.EQU                1
                                           _PUR20			.EQU                0
                                           
                                           ;  64H  CTCTL1   Bits-------------------------------------
                                           CTCLKSEL1		.EQU                7
                                           CTCLKSEL0		.EQU                6
                                           PRSGEN			.EQU                5
                                           PRSGM1			.EQU                4
                                           PRSGM0			.EQU                3
                                           PRSGSTA			.EQU                2
                                           VSEL			.EQU                0
                                           _CTCLKSEL1		.EQU                7
                                           _CTCLKSEL0		.EQU                6
                                           _PRSGEN			.EQU                5
                                           _PRSGM1			.EQU                4
                                           _PRSGM0			.EQU                3
                                           _PRSGSTA		.EQU                2
                                           _VSEL			.EQU                0
                                           
                                           ;  67H  INTEDGCTL   Bits-------------------------------------
                                           INT2SE			.EQU                7
                                           INT1SE			.EQU                6
                                           T1CLKEN			.EQU                0
                                           _INT2SE			.EQU                7
                                           _INT1SE			.EQU                6
                                           _T1CLKEN		.EQU                0
                                           
                                           ;  112H  VDAC   Bits-------------------------------------
                                           VDAC3			.EQU                7
                                           VDAC2			.EQU                6
                                           VDAC1			.EQU                5
                                           VDAC0			.EQU                4
                                           _VDAC3			.EQU                7
                                           _VDAC2			.EQU                6
                                           _VDAC1			.EQU                5
                                           _VDAC0			.EQU                4
                                           
                                           ;  113H  VRES   Bits-------------------------------------
                                           VRES3			.EQU                7
                                           VRES2			.EQU                6
                                           VRES1			.EQU                5
                                           VRES0			.EQU                4
                                           _VRES3			.EQU                7
                                           _VRES2			.EQU                6
                                           _VRES1			.EQU                5
                                           _VRES0			.EQU                4
                                           
                                           ;  115H  C1CAL   Bits-------------------------------------
                                           C1DT7			.EQU                7
                                           C1DT6			.EQU                6
                                           C1DT5			.EQU                5
                                           C1DT4			.EQU                4
                                           C1DT3			.EQU                3
                                           C1DT2			.EQU                2
                                           C1DT1			.EQU                1
                                           C1DT0			.EQU                0
                                           _C1DT7			.EQU                7
                                           _C1DT6			.EQU                6
                                           _C1DT5			.EQU                5
                                           _C1DT4			.EQU                4
                                           _C1DT3			.EQU                3
                                           _C1DT2			.EQU                2
                                           _C1DT1			.EQU                1
                                           _C1DT0			.EQU                0
                                           
                                           ;  128H  SSCICTL0   Bits-------------------------------------
                                           SSCIWCFL		.EQU                7
                                           SSCIOV			.EQU                6
                                           SSCIEN			.EQU                5
                                           SSCICKP			.EQU                4
                                           SSCIMOD3		.EQU                3
                                           SSCIMOD2		.EQU                2
                                           SSCIMOD1		.EQU                1
                                           SSCIMOD0		.EQU                0
                                           _SSCIWCFL		.EQU                7
                                           _SSCIOV			.EQU                6
                                           _SSCIEN			.EQU                5
                                           _SSCICKP		.EQU                4
                                           _SSCIMOD3		.EQU                3
                                           _SSCIMOD2		.EQU                2
                                           _SSCIMOD1		.EQU                1
                                           _SSCIMOD0		.EQU                0
                                           
                                           ;  12AH  SSCICTL1   Bits-------------------------------------
                                           SSCICALLEN		.EQU                7
                                           SSCIACKSTA		.EQU                6
                                           SSCIACKDAT		.EQU                5
                                           SSCIACKEN		.EQU                4
                                           SSCIRCEN		.EQU                3
                                           STOPEN			.EQU                2
                                           RESTARTEN		.EQU                1
                                           STARTEN			.EQU                0
                                           _SSCICALLEN		.EQU                7
                                           _SSCIACKSTA		.EQU                6
                                           _SSCIACKDAT		.EQU                5
                                           _SSCIACKEN		.EQU                4
                                           _SSCIRCEN		.EQU                3
                                           _STOPEN			.EQU                2
                                           _RESTARTEN		.EQU                1
                                           _STARTEN		.EQU                0
                                           
                                           ;  12BH  SSCISTA   Bits-------------------------------------
                                           SSCIDA			.EQU                5
                                           SSCISTOP		.EQU                4
                                           SSCISTART		.EQU                3
                                           SSCIRW			.EQU                2
                                           SSCIUA			.EQU                1
                                           SSCIBUF			.EQU                0
                                           _SSCIDA			.EQU                5
                                           _SSCISTOP		.EQU                4
                                           _SSCISTART		.EQU                3
                                           _SSCIRW			.EQU                2
                                           _SSCIUA			.EQU                1
                                           _SSCIBUF		.EQU                0
                                           
                                           ;  12EH  SSCIADD   Bits-------------------------------------
                                           SSCIADD7		.EQU                7
                                           SSCIADD6		.EQU                6
                                           SSCIADD5		.EQU                5
                                           SSCIADD4		.EQU                4
                                           SSCIADD3		.EQU                3
                                           SSCIADD2		.EQU                2
                                           SSCIADD1		.EQU                1
                                           SSCIADD0		.EQU                0
                                           _SSCIADD7		.EQU                7
                                           _SSCIADD6		.EQU                6
                                           _SSCIADD5		.EQU                5
                                           _SSCIADD4		.EQU                4
                                           _SSCIADD3		.EQU                3
                                           _SSCIADD2		.EQU                2
                                           _SSCIADD1		.EQU                1
                                           _SSCIADD0		.EQU                0
                                           
                                           ;  12EH  SSCIMSK   Bits-------------------------------------
                                           SSCIMSK7		.EQU                7
                                           SSCIMSK6		.EQU                6
                                           SSCIMSK5		.EQU                5
                                           SSCIMSK4		.EQU                4
                                           SSCIMSK3		.EQU                3
                                           SSCIMSK2		.EQU                2
                                           SSCIMSK1		.EQU                1
                                           SSCIMSK0		.EQU                0
                                           _SSCIMSK7		.EQU                7
                                           _SSCIMSK6		.EQU                6
                                           _SSCIMSK5		.EQU                5
                                           _SSCIMSK4		.EQU                4
                                           _SSCIMSK3		.EQU                3
                                           _SSCIMSK2		.EQU                2
                                           _SSCIMSK1		.EQU                1
                                           _SSCIMSK0		.EQU                0
                                           
                                           ;  12FH  WDTPS   Bits-------------------------------------
                                           WDTPS3			.EQU                3
                                           WDTPS2			.EQU                2
                                           WDTPS1			.EQU                1
                                           WDTPS0			.EQU                0
                                           _WDTPS3			.EQU                3
                                           _WDTPS2			.EQU                2
                                           _WDTPS1			.EQU                1
                                           _WDTPS0			.EQU                0
                                           
                                           ;  14AH  C1FILTCTL   Bits-------------------------------------
                                           INV1			.EQU                7
                                           WEN1			.EQU                6
                                           FEN1			.EQU                5
                                           F1CNT2			.EQU                2
                                           F1CNT1			.EQU                1
                                           F1CNT0			.EQU                0
                                           _INV1			.EQU                7
                                           _WEN1			.EQU                6
                                           _FEN1			.EQU                5
                                           _F1CNT2			.EQU                2
                                           _F1CNT1			.EQU                1
                                           _F1CNT0			.EQU                0
                                           
                                           ;  14BH  C1FILTPRE   Bits-------------------------------------
                                           FP17			.EQU                7
                                           FP16			.EQU                6
                                           FP15			.EQU                5
                                           FP14			.EQU                4
                                           FP13			.EQU                3
                                           FP12			.EQU                2
                                           FP11			.EQU                1
                                           FP10			.EQU                0
                                           _FP17			.EQU                7
                                           _FP16			.EQU                6
                                           _FP15			.EQU                5
                                           _FP14			.EQU                4
                                           _FP13			.EQU                3
                                           _FP12			.EQU                2
                                           _FP11			.EQU                1
                                           _FP10			.EQU                0
                                           
                                           ;  15BH  CTCTL2   Bits-------------------------------------
                                           CTMODE			.EQU                4
                                           RSEL3			.EQU                3
                                           RSEL2			.EQU                2
                                           RSEL1			.EQU                1
                                           RSEL0			.EQU                0
                                           _CTMODE			.EQU                4
                                           _RSEL3			.EQU                3
                                           _RSEL2			.EQU                2
                                           _RSEL1			.EQU                1
                                           _RSEL0			.EQU                0
                                           
                                           ;  164H  T4CTL   Bits-------------------------------------
                                           T4REN			.EQU                7
                                           HSPEN			.EQU                6
                                           T4CKS1			.EQU                5
                                           T4CKS0			.EQU                4
                                           LSPEN			.EQU                3
                                           T4CS1			.EQU                2
                                           T4CS0			.EQU                1
                                           T4ON			.EQU                0
                                           _T4REN			.EQU                7
                                           _HSPEN			.EQU                6
                                           _T4CKS1			.EQU                5
                                           _T4CKS0			.EQU                4
                                           _LSPEN			.EQU                3
                                           _T4CS1			.EQU                2
                                           _T4CS0			.EQU                1
                                           _T4ON			.EQU                0
                                           ;************************************************************
                                           ;       Header file for the KungFu8 END
                                           ;       KF8TS3514
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           	.extern	_init_mcu
                                           	.extern	__KF8TS35_Get_Ver_cs_General_
                                           	.extern	__KF8TS35_Init_Touch_cs_General_
                                           	.extern	__KF8TS35_Touch_Process_cs_General_
                                           	.extern	__KF8TS35_Touch_TEST_cs_General_
                                           	.extern	__KF8TS35_Lib_Set_General_cs_Parameter
                                           	.extern	_delay_ms
                                           	.extern	_delay_us
                                           	.extern	__R2PCL
                                           	.extern	_PSW_bits
                                           	.extern	_P0_bits
                                           	.extern	_P2_bits
                                           	.extern	_P1_bits
                                           	.extern	_PCH_bits
                                           	.extern	_INTCTL_bits
                                           	.extern	_EIF1_bits
                                           	.extern	_EIF2_bits
                                           	.extern	_T1CTL_bits
                                           	.extern	_PWMCTL_bits
                                           	.extern	_BANK_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	_EIE3_bits
                                           	.extern	_EIF3_bits
                                           	.extern	_T3CTL_bits
                                           	.extern	_CTCTL0_bits
                                           	.extern	_PUR1_bits
                                           	.extern	_PUR2_bits
                                           	.extern	_CTCTL1_bits
                                           	.extern	_INTEDGCTL_bits
                                           	.extern	_VDAC_bits
                                           	.extern	_VRES_bits
                                           	.extern	_C1CAL_bits
                                           	.extern	_SSCICTL0_bits
                                           	.extern	_SSCICTL1_bits
                                           	.extern	_SSCISTA_bits
                                           	.extern	_SSCIADD_bits
                                           	.extern	_SSCIMSK_bits
                                           	.extern	_WDTPS_bits
                                           	.extern	_C1FILTCTL_bits
                                           	.extern	_C1FILTPRE_bits
                                           	.extern	_CTCTL2_bits
                                           	.extern	_T4CTL_bits
                                           	.extern	__KF8_LIBi_channel_flag_
                                           	.extern	__KF8_LIBc_channel_
                                           	.extern	__KF8_LIBi_Date_Change_
                                           	.extern	__KF8_LIBc_baseline_count_
                                           	.extern	__KF8_LIBi_buff_hit_
                                           	.extern	__KF8_LIBi_buff_baseline_
                                           	.extern	__KF8_LIBc_touch_count_
                                           	.extern	_CHS_AMOUNT
                                           	.extern	_TCS_AMOUNT
                                           	.extern	__KF8_Disturb_Protect_Circle_
                                           	.extern	__KF8_DoubleKey_Compages_Limitable_Circle_
                                           	.extern	__KF8_Key_Max_Pressed_Limitable_Circle_
                                           	.extern	__KF8_BaseLine_Update_Circle_Count_For_UP_
                                           	.extern	__KF8_BaseLine_Update_Circle_Count_For_Down_
                                           	.extern	__KF8_Define_Disturb_Channels_Amount_
                                           	.extern	__KF8_BasicLine_UP_Noise_Threshold_
                                           	.extern	__KF8_BasicLine_Down_Noise_Threshold_
                                           	.extern	__KF8_Data_Steady_Threshold_Set_
                                           	.extern	__KF8_Inside_Reference_Channel_Disturb_Threshold_Set_
                                           	.extern	__KF8_Inside_Reference_Channel_Declare_
                                           	.extern	__KF8_Config_Finger_Threshold
                                           	.extern	__KF8_TOUCH_CH_EN
                                           	.extern	_T0
                                           	.extern	_PCL
                                           	.extern	_PSW
                                           	.extern	_P0
                                           	.extern	_P2
                                           	.extern	_P1
                                           	.extern	_PCH
                                           	.extern	_INTCTL
                                           	.extern	_EIF1
                                           	.extern	_EIF2
                                           	.extern	_T1L
                                           	.extern	_T1H
                                           	.extern	_T1CTL
                                           	.extern	_PWM1L
                                           	.extern	_PWMCTL
                                           	.extern	_PP1
                                           	.extern	_BANK
                                           	.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	_PUR0
                                           	.extern	_IOCL
                                           	.extern	_OSCCAL1
                                           	.extern	_NVMDATAH
                                           	.extern	_NVMDATAL
                                           	.extern	_NVMADDRH
                                           	.extern	_NVMADDRL
                                           	.extern	_NVMCTL0
                                           	.extern	_NVMCTL1
                                           	.extern	_ADCDATA0L
                                           	.extern	_ADCCTL1
                                           	.extern	_P0LR
                                           	.extern	_P2LR
                                           	.extern	_P1LR
                                           	.extern	_EIE3
                                           	.extern	_EIF3
                                           	.extern	_OSCCAL2
                                           	.extern	_OSCCAL3
                                           	.extern	_T3CTL
                                           	.extern	_T3L
                                           	.extern	_CTCTL0
                                           	.extern	_T3H
                                           	.extern	_PUR1
                                           	.extern	_PUR2
                                           	.extern	_CTCTL1
                                           	.extern	_INTEDGCTL
                                           	.extern	_ADCDATA3L
                                           	.extern	_VDAC
                                           	.extern	_VRES
                                           	.extern	_C1CAL
                                           	.extern	_SSCICTL0
                                           	.extern	_SSCICTL1
                                           	.extern	_SSCISTA
                                           	.extern	_SSCIBUFR
                                           	.extern	_SSCIADD
                                           	.extern	_SSCIMSK
                                           	.extern	_WDTPS
                                           	.extern	_C1FILTCTL
                                           	.extern	_C1FILTPRE
                                           	.extern	_VRECAL2
                                           	.extern	_VRECAL3
                                           	.extern	_CTCTL2
                                           	.extern	_T4L
                                           	.extern	_T4H
                                           	.extern	_T4REL
                                           	.extern	_T4REH
                                           	.extern	_T4CTL
                                           	.extern	_RC32KCAL
                                           
                                           	.extern I0R1
                                           	.extern I0R7
                                           	.extern I0PSW
                                           	.extern I0PCH
                                           	.extern I1R1
                                           	.extern I1R7
                                           	.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	_TOUCH_DEBUG_SEND_OUT
                                           	.global	_TOUCH_DEBUG_TRS_DEAL
                                           	.global	_TOUCH_CH_TRS_EN
                                           	.global	_T_buf
                                           	.global	_i_T_D
                                           	.global	_sentbuf1
                                           	.global	_sentbuf2
                                           	.global	_sentbuf3
                                           	.global	_sentbuf4
                                           
                                           ;--------------------------------------------------------
                                           ; global definitions
                                           ;--------------------------------------------------------
                                           UD_debug_touch_0	.udata
                                           _T_buf	.res	1
                                           
                                           UD_debug_touch_1	.udata
                                           _i_T_D	.res	1
                                           
                                           UD_debug_touch_2	.udata
                                           _sentbuf1	.res	1
                                           
                                           UD_debug_touch_3	.udata
                                           _sentbuf2	.res	1
                                           
                                           UD_debug_touch_4	.udata
                                           _sentbuf3	.res	1
                                           
                                           UD_debug_touch_5	.udata
                                           _sentbuf4	.res	1
                                           
                                           ;--------------------------------------------------------
                                           ; absolute symbol definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; compiler-defined variables
                                           ;--------------------------------------------------------
                                           UDL_debug_touch_0	.udata
                                           r0x1008	.res	1
                                           UDL_debug_touch_1	.udata
                                           r0x1009	.res	1
                                           UDL_debug_touch_2	.udata
                                           r0x1006	.res	1
                                           UDL_debug_touch_3	.udata
                                           r0x1007	.res	1
                                           ;--------------------------------------------------------
                                           ; initialized data
                                           ;--------------------------------------------------------
                                           
                                           ID_debug_touch_0	.idata
                                           _TOUCH_CH_TRS_EN
                                           	.db	0x00
                                           	.db	0x00
                                           	.db	0x00
                                           	.db	0x00
                                           	.db	0x00
                                           	.db	0x00
                                           	.db	0x00
                                           	.db	0x00
                                           	.db	0x00
                                           	.db	0x00
                                           	.db	0x00
                                           	.db	0x00
                                           	.db	0x00
                                           	.db	0x00
                                           	.db	0x00
                                           	.db	0x00
                                           
                                           ;--------------------------------------------------------
                                           ; overlayable items in internal ram 
                                           ;--------------------------------------------------------
                                           ;	.udata_ovr
                                           
                                           
                                           func._TOUCH_DEBUG_SEND_OUT	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _TOUCH_DEBUG_SEND_OUT	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;3 compiler assigned registers:
                                           ;   STK00
                                           ;   r0x1006
                                           ;   r0x1007
                                           ;; Starting PostCode block
                                           ;	::->op : LABEL
                                           ;	::->op : FUNCTION
                                           _TOUCH_DEBUG_SEND_OUT	;Function start
                                           ; 2 exit points
                                           ;	::->op :*  =
                                           ;	.line	322; "../debug_touch.c"	CLK_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 1
                                           ;	::->op :*  =
                                           ;	.line	323; "../debug_touch.c"	DAT_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 0
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	324; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : GET_VALUE_AT_ADDRESS
                                           ;	.line	328; "../debug_touch.c"	if(CLK_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JB	_P0_bits, 1
                                           	JMP	_00078_DS_
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	330; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : GET_VALUE_AT_ADDRESS
                                           ;	.line	331; "../debug_touch.c"	if(!CLK_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JNB	_P0_bits, 1
                                           	JMP	_00079_DS_
                                           ;	::->op : RETURN
                                           ;	.line	332; "../debug_touch.c"	return;
                                           	JMP	_00116_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : GET_VALUE_AT_ADDRESS
                                           _00078_DS_
                                           ;	.line	334; "../debug_touch.c"	else if(!CLK_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JNB	_P0_bits, 1
                                           	JMP	_00075_DS_
                                           ;	::->op : RETURN
                                           ;	.line	336; "../debug_touch.c"	return;
                                           	JMP	_00116_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : RETURN
                                           _00075_DS_
                                           ;	.line	339; "../debug_touch.c"	return;
                                           	JMP	_00116_DS_
                                           ;	::->op : LABEL
                                           ;	::->op :*  =
                                           _00079_DS_
                                           ;	.line	341; "../debug_touch.c"	CLK_SET_OUT;
                                           	BANKSEL	_TR0_bits
                                           	CLR	_TR0_bits, 1
                                           ;	::->op :*  =
                                           ;	.line	343; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	344; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op :*  =
                                           ;	.line	346; "../debug_touch.c"	CLK_SET_HIGH;		//ÉÏÉýÑØ
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 1
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	348; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           ;	.line	350; "../debug_touch.c"	if(!DAT_GET_STATE)
                                           	PAGESEL	$
                                           ;	.line	352; "../debug_touch.c"	return;
                                           	BANKSEL	_P0_bits
                                           	JB	_P0_bits, 0
                                           ;	.line	355; "../debug_touch.c"	CLK_SET_LOW;			//ÏÂ½µÑØ
                                           	JMP	_00116_DS_
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	.line	358; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op :*  =
                                           ;	.line	360; "../debug_touch.c"	DAT_SET_OUT;
                                           	BANKSEL	_TR0_bits
                                           	CLR	_TR0_bits, 0
                                           ;	::->op : =
                                           ;	.line	363; "../debug_touch.c"	j=5;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	r0x1006
                                           	MOV	r0x1006, R0
                                           ;	::->op : =
                                           ;	.line	365; "../debug_touch.c"	for(step=0;step<5;step++)
                                           	BANKSEL	r0x1007
                                           	CLR	r0x1007
                                           ;	::->op : LABEL
                                           ;	::->op : <
                                           ;unsigned compare: left < lit(0x5=5), size=1
                                           _00108_DS_
                                           	MOV	R0,# 0x05
                                           	BANKSEL	r0x1007
                                           	SUB	R0, r0x1007
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00111_DS_
                                           ;	::->op : >
                                           ;swapping arguments (AOP_TYPEs 1/2)
                                           ;unsigned compare: left >= lit(0x5=5), size=1
                                           ;	.line	368; "../debug_touch.c"	switch(step)
                                           	MOV	R0,# 0x05
                                           	BANKSEL	r0x1007
                                           	SUB	R0, r0x1007
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00087_DS_
                                           ;	::->op : JUMPTABLE
                                           	MOV	R0,#high _00138_DS_
                                           	MOV	PCH, R0
                                           	MOV	R0,#_00138_DS_
                                           	BANKSEL	r0x1007
                                           	ADD	R0, r0x1007
                                           	JNB	PSW, 0
                                           	INC	PCH
                                           	MOV	PCL, R0
                                           _00138_DS_
                                           	JMP	_00082_DS_
                                           	JMP	_00083_DS_
                                           	JMP	_00084_DS_
                                           	JMP	_00085_DS_
                                           	JMP	_00086_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : =
                                           _00082_DS_
                                           ;	.line	372; "../debug_touch.c"	j=5;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	r0x1006
                                           	MOV	r0x1006, R0
                                           ;	::->op : =
                                           ;	.line	373; "../debug_touch.c"	T_buf=0x04;
                                           	MOV	R0,# 0x04
                                           	BANKSEL	_T_buf
                                           	MOV	_T_buf, R0
                                           ;	::->op : GOTO
                                           ;	.line	374; "../debug_touch.c"	}break;
                                           	JMP	_00087_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : =
                                           _00083_DS_
                                           ;	.line	378; "../debug_touch.c"	j=8;
                                           	MOV	R0,# 0x08
                                           	BANKSEL	r0x1006
                                           	MOV	r0x1006, R0
                                           ;	::->op : =
                                           ;	.line	380; "../debug_touch.c"	T_buf=sentbuf1;
                                           	BANKSEL	_sentbuf1
                                           	MOVZ	R0, _sentbuf1
                                           	BANKSEL	_T_buf
                                           	MOV	_T_buf, R0
                                           ;	::->op : GOTO
                                           ;	.line	382; "../debug_touch.c"	}break;
                                           	JMP	_00087_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : =
                                           _00084_DS_
                                           ;	.line	386; "../debug_touch.c"	j=8;
                                           	MOV	R0,# 0x08
                                           	BANKSEL	r0x1006
                                           	MOV	r0x1006, R0
                                           ;	::->op : =
                                           ;	.line	387; "../debug_touch.c"	T_buf=sentbuf2;
                                           	BANKSEL	_sentbuf2
                                           	MOVZ	R0, _sentbuf2
                                           	BANKSEL	_T_buf
                                           	MOV	_T_buf, R0
                                           ;	::->op : GOTO
                                           ;	.line	389; "../debug_touch.c"	}break;
                                           	JMP	_00087_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : =
                                           _00085_DS_
                                           ;	.line	393; "../debug_touch.c"	j=8;
                                           	MOV	R0,# 0x08
                                           	BANKSEL	r0x1006
                                           	MOV	r0x1006, R0
                                           ;	::->op : =
                                           ;	.line	394; "../debug_touch.c"	T_buf=sentbuf3;
                                           	BANKSEL	_sentbuf3
                                           	MOVZ	R0, _sentbuf3
                                           	BANKSEL	_T_buf
                                           	MOV	_T_buf, R0
                                           ;	::->op : GOTO
                                           ;	.line	395; "../debug_touch.c"	}break;
                                           	JMP	_00087_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : =
                                           _00086_DS_
                                           ;	.line	399; "../debug_touch.c"	j=8;
                                           	MOV	R0,# 0x08
                                           	BANKSEL	r0x1006
                                           	MOV	r0x1006, R0
                                           ;	::->op : =
                                           ;	.line	400; "../debug_touch.c"	T_buf=sentbuf4;
                                           	BANKSEL	_sentbuf4
                                           	MOVZ	R0, _sentbuf4
                                           	BANKSEL	_T_buf
                                           	MOV	_T_buf, R0
                                           ;	::->op : LABEL
                                           ;	::->op : =
                                           _00087_DS_
                                           ;	.line	404; "../debug_touch.c"	for(i_T_D=0;i_T_D<j;i_T_D++)
                                           	BANKSEL	_i_T_D
                                           	CLR	_i_T_D
                                           ;	::->op : LABEL
                                           ;	::->op : <
                                           _00104_DS_
                                           	BANKSEL	r0x1006
                                           	MOVZ	R0, r0x1006
                                           	BANKSEL	_i_T_D
                                           	SUB	R0, _i_T_D
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00107_DS_
                                           ;	::->op : BITWISEAND
                                           ;	.line	406; "../debug_touch.c"	if(T_buf&0x01)
                                           	BANKSEL	_T_buf
                                           	JB	_T_buf, 0
                                           	JMP	_00089_DS_
                                           ;	::->op :*  =
                                           ;	.line	407; "../debug_touch.c"	DAT_SET_HIGH;
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 0
                                           ;	::->op : GOTO
                                           	JMP	_00090_DS_
                                           ;	::->op : LABEL
                                           ;	::->op :*  =
                                           _00089_DS_
                                           ;	.line	409; "../debug_touch.c"	DAT_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 0
                                           ;	::->op : LABEL
                                           ;	::->op :*  =
                                           _00090_DS_
                                           ;	.line	411; "../debug_touch.c"	CLK_SET_HIGH;
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 1
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	412; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op :*  =
                                           ;	.line	414; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	415; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : RIGHT_OP
                                           ;	.line	417; "../debug_touch.c"	T_buf=T_buf>>1;
                                           	CLR	PSW, 0
                                           	BANKSEL	_T_buf
                                           	RRC	_T_buf
                                           ;	::->op : +
                                           ;	.line	404; "../debug_touch.c"	for(i_T_D=0;i_T_D<j;i_T_D++)
                                           	BANKSEL	_i_T_D
                                           	INC	_i_T_D
                                           ;	::->op : GOTO
                                           	JMP	_00104_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           _00107_DS_
                                           ;	.line	420; "../debug_touch.c"	Touch_Delay2;
                                           	MOV	R0,# 0x14
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : +
                                           ;	.line	365; "../debug_touch.c"	for(step=0;step<5;step++)
                                           	BANKSEL	r0x1007
                                           	INC	r0x1007
                                           ;	::->op : GOTO
                                           	JMP	_00108_DS_
                                           ;	::->op : LABEL
                                           ;	::->op :*  =
                                           _00111_DS_
                                           ;	.line	424; "../debug_touch.c"	DAT_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 0
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	425; "../debug_touch.c"	Touch_Delay2;	//±à³ÌÆ÷ÅÐ¶ÏÐèÒªÊ±¼ä
                                           	MOV	R0,# 0x14
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op :*  =
                                           ;	.line	427; "../debug_touch.c"	CLK_SET_HIGH;
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 1
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	428; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	429; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	430; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : GET_VALUE_AT_ADDRESS
                                           ;	.line	433; "../debug_touch.c"	if(DAT_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JB	_P0_bits, 0
                                           	JMP	_00102_DS_
                                           ;	::->op :*  =
                                           ;	.line	435; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	::->op : =
                                           ;	.line	436; "../debug_touch.c"	T_buf=0;
                                           	BANKSEL	_T_buf
                                           	CLR	_T_buf
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	437; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : =
                                           ;	.line	438; "../debug_touch.c"	for(i_T_D=0;i_T_D<6;i_T_D++)
                                           	BANKSEL	_i_T_D
                                           	CLR	_i_T_D
                                           ;	::->op : LABEL
                                           ;	::->op : <
                                           ;unsigned compare: left < lit(0x6=6), size=1
                                           _00112_DS_
                                           	MOV	R0,# 0x06
                                           	BANKSEL	_i_T_D
                                           	SUB	R0, _i_T_D
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00103_DS_
                                           ;	::->op :*  =
                                           ;	.line	440; "../debug_touch.c"	CLK_SET_HIGH;
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 1
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	441; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : EQ_OP
                                           ;	.line	443; "../debug_touch.c"	if(i_T_D!=5)
                                           	BANKSEL	_i_T_D
                                           	MOVZ	R0, _i_T_D
                                           ;	.line	445; "../debug_touch.c"	T_buf=T_buf>>1;
                                           	XOR	R0,# 0x05
                                           	JNB	PSW, 2
                                           	JMP	_00099_DS_
                                           	CLR	PSW, 0
                                           	BANKSEL	_T_buf
                                           	RRC	_T_buf
                                           ;	::->op : GET_VALUE_AT_ADDRESS
                                           ;	.line	446; "../debug_touch.c"	if(DAT_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JB	_P0_bits, 0
                                           	JMP	_00100_DS_
                                           ;	::->op : |
                                           ;	.line	447; "../debug_touch.c"	T_buf=T_buf|0x10;
                                           	BANKSEL	_T_buf
                                           	SET	_T_buf, 4
                                           ;	::->op : GOTO
                                           	JMP	_00100_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : <
                                           ;unsigned compare: left < lit(0x10=16), size=1
                                           _00099_DS_
                                           ;	.line	451; "../debug_touch.c"	if(T_buf<16)   //´«Êä´íÎóµÄ£¬·ÀÏÂ·ÇÓ°ÏìÆäËûÊý¾Ý
                                           	MOV	R0,# 0x10
                                           	BANKSEL	_T_buf
                                           	SUB	R0, _T_buf
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00100_DS_
                                           ;	::->op : GET_VALUE_AT_ADDRESS
                                           ;	.line	453; "../debug_touch.c"	if(DAT_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JB	_P0_bits, 0
                                           	JMP	_00094_DS_
                                           ;	::->op : INLINEASM
                                           	BANKSEL _T_buf
                                           	MOV R0,_T_buf
                                           	ADD R0,#(_TOUCH_CH_TRS_EN+0)
                                           	MOV R1,#0x01
                                           	BANKSEL _TOUCH_CH_TRS_EN
                                           	ST [R0],R1
                                           	
                                           ;	::->op : GOTO
                                           	JMP	_00100_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : INLINEASM
                                           _00094_DS_
                                           	BANKSEL _T_buf
                                           	MOV R0,_T_buf
                                           	ADD R0,#(_TOUCH_CH_TRS_EN+0)
                                           	MOV R1,#0x00
                                           	BANKSEL _TOUCH_CH_TRS_EN
                                           	ST [R0],R1
                                           	
                                           ;	::->op : LABEL
                                           ;	::->op :*  =
                                           _00100_DS_
                                           ;	.line	479; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	480; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : +
                                           ;	.line	438; "../debug_touch.c"	for(i_T_D=0;i_T_D<6;i_T_D++)
                                           	BANKSEL	_i_T_D
                                           	INC	_i_T_D
                                           ;	::->op : GOTO
                                           	JMP	_00112_DS_
                                           ;	::->op : LABEL
                                           ;	::->op :*  =
                                           _00102_DS_
                                           ;	.line	485; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	486; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : LABEL
                                           ;	::->op :*  =
                                           _00103_DS_
                                           ;	.line	489; "../debug_touch.c"	CLK_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 1
                                           ;	::->op :*  =
                                           ;	.line	490; "../debug_touch.c"	DAT_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 0
                                           ;	::->op : LABEL
                                           ;	::->op : ENDFUNCTION
                                           _00116_DS_
                                           	CRET	
                                           ; exit point of _TOUCH_DEBUG_SEND_OUT
                                           
                                           
                                           
                                           func._TOUCH_DEBUG_TRS_DEAL	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _TOUCH_DEBUG_TRS_DEAL	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;3 compiler assigned registers:
                                           ;   STK00
                                           ;   r0x1008
                                           ;   r0x1009
                                           ;; Starting PostCode block
                                           ;	::->op : LABEL
                                           ;	::->op : FUNCTION
                                           _TOUCH_DEBUG_TRS_DEAL	;Function start
                                           ; 2 exit points
                                           ;	::->op : INLINEASM
                                           	MOV R1,#High(__KF8_TOUCH_CH_EN+0)
                                           	MOV R0,#(0)
                                           	ADD R0,#Low(__KF8_TOUCH_CH_EN+0)
                                           	JNB PSW,0
                                           	INC R1
                                           	PAGESEL __R2PCL
                                           	CALL __R2PCL
                                           	PAGESEL $
                                           	ADD R0,#(_TOUCH_CH_TRS_EN+0)
                                           	MOV R1,#0x01
                                           	BANKSEL _TOUCH_CH_TRS_EN
                                           	ST [R0],R1
                                           	
                                           ;	::->op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
                                           	MOV R0,__KF8_LIBc_channel_
                                           	ADD R0,#Low(__KF8_TOUCH_CH_EN+0)
                                           	MOV R1,#High(__KF8_TOUCH_CH_EN+0)
                                           	JNB PSW,0
                                           	INC R1
                                           	PAGESEL __R2PCL
                                           	CALL __R2PCL
                                           	PAGESEL $
                                           	ADD R0,#(_TOUCH_CH_TRS_EN+0)
                                           	BANKSEL _TOUCH_CH_TRS_EN
                                           	LD R1,[R0]
                                           	XOR R1,#0x00
                                           	JNB PSW,2
                                           	JMP Label_x_y_z_a
                                           	
                                           ;	::->op :*  =
                                           ;	.line	64; "../debug_touch.c"	CLK_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 1
                                           ;	::->op :*  =
                                           ;	.line	65; "../debug_touch.c"	DAT_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 0
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	66; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : GET_VALUE_AT_ADDRESS
                                           ;	.line	70; "../debug_touch.c"	if(CLK_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JB	_P0_bits, 1
                                           	JMP	_00007_DS_
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	72; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : GET_VALUE_AT_ADDRESS
                                           ;	.line	73; "../debug_touch.c"	if(!CLK_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JNB	_P0_bits, 1
                                           	JMP	_00008_DS_
                                           ;	::->op : RETURN
                                           ;	.line	74; "../debug_touch.c"	return;
                                           	JMP	_00045_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : GET_VALUE_AT_ADDRESS
                                           _00007_DS_
                                           ;	.line	76; "../debug_touch.c"	else if(!CLK_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JNB	_P0_bits, 1
                                           	JMP	_00004_DS_
                                           ;	::->op : RETURN
                                           ;	.line	78; "../debug_touch.c"	return;
                                           	JMP	_00045_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : RETURN
                                           _00004_DS_
                                           ;	.line	81; "../debug_touch.c"	return;
                                           	JMP	_00045_DS_
                                           ;	::->op : LABEL
                                           ;	::->op :*  =
                                           _00008_DS_
                                           ;	.line	83; "../debug_touch.c"	CLK_SET_OUT;
                                           	BANKSEL	_TR0_bits
                                           	CLR	_TR0_bits, 1
                                           ;	::->op :*  =
                                           ;	.line	85; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	86; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op :*  =
                                           ;	.line	88; "../debug_touch.c"	CLK_SET_HIGH;		//ÉÏÉýÑØ
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 1
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	90; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           ;	.line	92; "../debug_touch.c"	if(!DAT_GET_STATE)
                                           	PAGESEL	$
                                           ;	.line	94; "../debug_touch.c"	return;
                                           	BANKSEL	_P0_bits
                                           	JB	_P0_bits, 0
                                           ;	.line	97; "../debug_touch.c"	CLK_SET_LOW;			//ÏÂ½µÑØ
                                           	JMP	_00045_DS_
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	.line	101; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op :*  =
                                           ;	.line	102; "../debug_touch.c"	DAT_SET_OUT;
                                           	BANKSEL	_TR0_bits
                                           	CLR	_TR0_bits, 0
                                           ;	::->op : =
                                           ;	.line	104; "../debug_touch.c"	j=5;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	r0x1008
                                           	MOV	r0x1008, R0
                                           ;	::->op : =
                                           ;	.line	106; "../debug_touch.c"	for(step=0;step<5;step++)
                                           	BANKSEL	r0x1009
                                           	CLR	r0x1009
                                           ;	::->op : LABEL
                                           ;	::->op : <
                                           ;unsigned compare: left < lit(0x5=5), size=1
                                           _00037_DS_
                                           	MOV	R0,# 0x05
                                           	BANKSEL	r0x1009
                                           	SUB	R0, r0x1009
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00040_DS_
                                           ;	::->op : >
                                           ;swapping arguments (AOP_TYPEs 1/2)
                                           ;unsigned compare: left >= lit(0x5=5), size=1
                                           ;	.line	109; "../debug_touch.c"	switch(step)
                                           	MOV	R0,# 0x05
                                           	BANKSEL	r0x1009
                                           	SUB	R0, r0x1009
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00016_DS_
                                           ;	::->op : JUMPTABLE
                                           	MOV	R0,#high _00067_DS_
                                           	MOV	PCH, R0
                                           	MOV	R0,#_00067_DS_
                                           	BANKSEL	r0x1009
                                           	ADD	R0, r0x1009
                                           	JNB	PSW, 0
                                           	INC	PCH
                                           	MOV	PCL, R0
                                           _00067_DS_
                                           	JMP	_00011_DS_
                                           	JMP	_00012_DS_
                                           	JMP	_00013_DS_
                                           	JMP	_00014_DS_
                                           	JMP	_00015_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : =
                                           _00011_DS_
                                           ;	.line	113; "../debug_touch.c"	j=5;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	r0x1008
                                           	MOV	r0x1008, R0
                                           ;	::->op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
                                           	MOV R0, __KF8_LIBc_channel_
                                           	ADD R0,#Low(__KF8_TOUCH_CH_EN+0)
                                           	MOV R1,#High(__KF8_TOUCH_CH_EN+0)
                                           	JNB PSW,0
                                           	INC R1
                                           	MOV PCH,R1
                                           	PAGESEL __R2PCL
                                           	CALL __R2PCL
                                           	PAGESEL $
                                           	BANKSEL _T_buf
                                           	MOV _T_buf,R0
                                           	
                                           ;	::->op : GOTO
                                           ;	.line	132; "../debug_touch.c"	}break;
                                           	JMP	_00016_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : =
                                           _00012_DS_
                                           ;	.line	136; "../debug_touch.c"	j=8;
                                           	MOV	R0,# 0x08
                                           	BANKSEL	r0x1008
                                           	MOV	r0x1008, R0
                                           ;	::->op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
                                           	CLR PSW,0
                                           	RLCR __KF8_LIBc_channel_
                                           	BANKSEL __KF8_LIBi_buff_baseline_
                                           	ADD R0,#(__KF8_LIBi_buff_baseline_+0)
                                           	LD R1,[R0]
                                           	BANKSEL _T_buf
                                           	MOV _T_buf,R1
                                           	
                                           ;	::->op : GOTO
                                           ;	.line	151; "../debug_touch.c"	}break;
                                           	JMP	_00016_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : =
                                           _00013_DS_
                                           ;	.line	155; "../debug_touch.c"	j=8;
                                           	MOV	R0,# 0x08
                                           	BANKSEL	r0x1008
                                           	MOV	r0x1008, R0
                                           ;	::->op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
                                           	CLR PSW,0
                                           	RLCR __KF8_LIBc_channel_
                                           	BANKSEL __KF8_LIBi_buff_baseline_
                                           	ADD R0,#(__KF8_LIBi_buff_baseline_+1)
                                           	LD R1,[R0]
                                           	BANKSEL _T_buf
                                           	MOV _T_buf,R1
                                           	
                                           ;	::->op : GOTO
                                           ;	.line	172; "../debug_touch.c"	}break;
                                           	JMP	_00016_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : =
                                           _00014_DS_
                                           ;	.line	176; "../debug_touch.c"	j=8;
                                           	MOV	R0,# 0x08
                                           	BANKSEL	r0x1008
                                           	MOV	r0x1008, R0
                                           ;	::->op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
                                           	CLR PSW,0
                                           	RLCR __KF8_LIBc_channel_
                                           	BANKSEL __KF8_LIBi_buff_hit_
                                           	ADD R0,#(__KF8_LIBi_buff_hit_+0)
                                           	LD R1,[R0]
                                           	BANKSEL _T_buf
                                           	MOV _T_buf,R1
                                           	
                                           ;	::->op : GOTO
                                           ;	.line	192; "../debug_touch.c"	}break;
                                           	JMP	_00016_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : =
                                           _00015_DS_
                                           ;	.line	196; "../debug_touch.c"	j=8;
                                           	MOV	R0,# 0x08
                                           	BANKSEL	r0x1008
                                           	MOV	r0x1008, R0
                                           ;	::->op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
                                           	CLR PSW,0
                                           	RLCR __KF8_LIBc_channel_
                                           	BANKSEL __KF8_LIBi_buff_hit_
                                           	ADD R0,#(__KF8_LIBi_buff_hit_+1)
                                           	LD R1,[R0]
                                           	BANKSEL _T_buf
                                           	MOV _T_buf,R1
                                           	
                                           ;	::->op : LABEL
                                           ;	::->op : =
                                           _00016_DS_
                                           ;	.line	214; "../debug_touch.c"	for(i_T_D=0;i_T_D<j;i_T_D++)
                                           	BANKSEL	_i_T_D
                                           	CLR	_i_T_D
                                           ;	::->op : LABEL
                                           ;	::->op : <
                                           _00033_DS_
                                           	BANKSEL	r0x1008
                                           	MOVZ	R0, r0x1008
                                           	BANKSEL	_i_T_D
                                           	SUB	R0, _i_T_D
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00036_DS_
                                           ;	::->op : BITWISEAND
                                           ;	.line	216; "../debug_touch.c"	if(T_buf&0x01)
                                           	BANKSEL	_T_buf
                                           	JB	_T_buf, 0
                                           	JMP	_00018_DS_
                                           ;	::->op :*  =
                                           ;	.line	217; "../debug_touch.c"	DAT_SET_HIGH;
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 0
                                           ;	::->op : GOTO
                                           	JMP	_00019_DS_
                                           ;	::->op : LABEL
                                           ;	::->op :*  =
                                           _00018_DS_
                                           ;	.line	219; "../debug_touch.c"	DAT_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 0
                                           ;	::->op : LABEL
                                           ;	::->op :*  =
                                           _00019_DS_
                                           ;	.line	221; "../debug_touch.c"	CLK_SET_HIGH;
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 1
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	222; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op :*  =
                                           ;	.line	224; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	225; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : RIGHT_OP
                                           ;	.line	227; "../debug_touch.c"	T_buf=T_buf>>1;
                                           	CLR	PSW, 0
                                           	BANKSEL	_T_buf
                                           	RRC	_T_buf
                                           ;	::->op : +
                                           ;	.line	214; "../debug_touch.c"	for(i_T_D=0;i_T_D<j;i_T_D++)
                                           	BANKSEL	_i_T_D
                                           	INC	_i_T_D
                                           ;	::->op : GOTO
                                           	JMP	_00033_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           _00036_DS_
                                           ;	.line	230; "../debug_touch.c"	Touch_Delay2;
                                           	MOV	R0,# 0x14
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : +
                                           ;	.line	106; "../debug_touch.c"	for(step=0;step<5;step++)
                                           	BANKSEL	r0x1009
                                           	INC	r0x1009
                                           ;	::->op : GOTO
                                           	JMP	_00037_DS_
                                           ;	::->op : LABEL
                                           ;	::->op :*  =
                                           _00040_DS_
                                           ;	.line	234; "../debug_touch.c"	DAT_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 0
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	235; "../debug_touch.c"	Touch_Delay2;	//±à³ÌÆ÷ÅÐ¶ÏÐèÒªÊ±¼ä
                                           	MOV	R0,# 0x14
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op :*  =
                                           ;	.line	237; "../debug_touch.c"	CLK_SET_HIGH;
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 1
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	238; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	239; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	240; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : GET_VALUE_AT_ADDRESS
                                           ;	.line	243; "../debug_touch.c"	if(DAT_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JB	_P0_bits, 0
                                           	JMP	_00031_DS_
                                           ;	::->op :*  =
                                           ;	.line	245; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	::->op : =
                                           ;	.line	246; "../debug_touch.c"	T_buf=0;
                                           	BANKSEL	_T_buf
                                           	CLR	_T_buf
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	247; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : =
                                           ;	.line	248; "../debug_touch.c"	for(i_T_D=0;i_T_D<6;i_T_D++)
                                           	BANKSEL	_i_T_D
                                           	CLR	_i_T_D
                                           ;	::->op : LABEL
                                           ;	::->op : <
                                           ;unsigned compare: left < lit(0x6=6), size=1
                                           _00041_DS_
                                           	MOV	R0,# 0x06
                                           	BANKSEL	_i_T_D
                                           	SUB	R0, _i_T_D
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00032_DS_
                                           ;	::->op :*  =
                                           ;	.line	250; "../debug_touch.c"	CLK_SET_HIGH;
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 1
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	251; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : EQ_OP
                                           ;	.line	253; "../debug_touch.c"	if(i_T_D!=5)
                                           	BANKSEL	_i_T_D
                                           	MOVZ	R0, _i_T_D
                                           ;	.line	255; "../debug_touch.c"	T_buf=T_buf>>1;
                                           	XOR	R0,# 0x05
                                           	JNB	PSW, 2
                                           	JMP	_00028_DS_
                                           	CLR	PSW, 0
                                           	BANKSEL	_T_buf
                                           	RRC	_T_buf
                                           ;	::->op : GET_VALUE_AT_ADDRESS
                                           ;	.line	256; "../debug_touch.c"	if(DAT_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JB	_P0_bits, 0
                                           	JMP	_00029_DS_
                                           ;	::->op : |
                                           ;	.line	257; "../debug_touch.c"	T_buf=T_buf|0x10;
                                           	BANKSEL	_T_buf
                                           	SET	_T_buf, 4
                                           ;	::->op : GOTO
                                           	JMP	_00029_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : <
                                           ;unsigned compare: left < lit(0x10=16), size=1
                                           _00028_DS_
                                           ;	.line	261; "../debug_touch.c"	if(T_buf<16)   //´«Êä´íÎóµÄ£¬·ÀÏÂ·ÇÓ°ÏìÆäËûÊý¾Ý
                                           	MOV	R0,# 0x10
                                           	BANKSEL	_T_buf
                                           	SUB	R0, _T_buf
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00029_DS_
                                           ;	::->op : GET_VALUE_AT_ADDRESS
                                           ;	.line	263; "../debug_touch.c"	if(DAT_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JB	_P0_bits, 0
                                           	JMP	_00023_DS_
                                           ;	::->op : INLINEASM
                                           	BANKSEL _T_buf
                                           	MOV R0,_T_buf
                                           	ADD R0,#(_TOUCH_CH_TRS_EN+0)
                                           	MOV R1,#0x01
                                           	BANKSEL _TOUCH_CH_TRS_EN
                                           	ST [R0],R1
                                           	
                                           ;	::->op : GOTO
                                           	JMP	_00029_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : INLINEASM
                                           _00023_DS_
                                           	BANKSEL _T_buf
                                           	MOV R0,_T_buf
                                           	ADD R0,#(_TOUCH_CH_TRS_EN+0)
                                           	MOV R1,#0x00
                                           	BANKSEL _TOUCH_CH_TRS_EN
                                           	ST [R0],R1
                                           	
                                           ;	::->op : LABEL
                                           ;	::->op :*  =
                                           _00029_DS_
                                           ;	.line	289; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	290; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : +
                                           ;	.line	248; "../debug_touch.c"	for(i_T_D=0;i_T_D<6;i_T_D++)
                                           	BANKSEL	_i_T_D
                                           	INC	_i_T_D
                                           ;	::->op : GOTO
                                           	JMP	_00041_DS_
                                           ;	::->op : LABEL
                                           ;	::->op :*  =
                                           _00031_DS_
                                           ;	.line	295; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	296; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x01
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	::->op : LABEL
                                           ;	::->op :*  =
                                           _00032_DS_
                                           ;	.line	299; "../debug_touch.c"	CLK_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 1
                                           ;	::->op :*  =
                                           ;	.line	300; "../debug_touch.c"	DAT_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 0
                                           ;	::->op : INLINEASM
                                           Label_x_y_z_a:
                                           	
                                           ;	::->op : LABEL
                                           ;	::->op : ENDFUNCTION
                                           _00045_DS_
                                           	CRET	
                                           ; exit point of _TOUCH_DEBUG_TRS_DEAL
                                           
                                           
                                           ;	code size estimation:
                                           ;	  420+  143 =   563 instructions ( 1412 byte)
                                           
                                           
                                           	.end
                                           ;--------------------------------------------------------
                                           ; File Created by ChiponCC : ChipON  inc.
                                           ; Version 3.0.4#6752 (Feb 19 2019 20:27:19) (MSVC)
                                           ; This file was generated Thu Mar 07 17:41:49 2019
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../init_mcu.c"
                                           	.radix dec
                                           	.include "KF8TS3514.inc"
                                           ;************************************************************
                                           ;       Header file for the KungFu8
                                           ;       KF8TS3514
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           T0			.EQU                 0x01
                                           PCL			.EQU                 0x02
                                           PSW			.EQU                 0x03
                                           P0			.EQU                 0x05
                                           P2			.EQU                 0x06
                                           P1			.EQU                 0x07
                                           PCH			.EQU                 0x0A
                                           INTCTL			.EQU                 0x0B
                                           EIF1			.EQU                 0x0C
                                           EIF2			.EQU                 0x0D
                                           T1L			.EQU                 0x0E
                                           T1H			.EQU                 0x0F
                                           T1CTL			.EQU                 0x10
                                           PWM1L			.EQU                 0x13
                                           PWMCTL			.EQU                 0x15
                                           PP1			.EQU                 0x16
                                           BANK			.EQU                 0x17
                                           C1CTL			.EQU                 0x19
                                           VDACS			.EQU                 0x1A
                                           AMPCTL			.EQU                 0x1B
                                           ANSEH			.EQU                 0x1D
                                           ADCDATA0H		.EQU                 0x1E
                                           ADCCTL0			.EQU                 0x1F
                                           AMPDT			.EQU                 0x20
                                           OPTR			.EQU                 0x21
                                           IP0			.EQU                 0x22
                                           IP1			.EQU                 0x23
                                           IP2			.EQU                 0x24
                                           TR0			.EQU                 0x25
                                           TR2			.EQU                 0x26
                                           TR1			.EQU                 0x27
                                           OSCSTA			.EQU                 0x28
                                           IP3			.EQU                 0x29
                                           VRECAL1			.EQU                 0x2A
                                           VRECTL			.EQU                 0x2B
                                           EIE1			.EQU                 0x2C
                                           EIE2			.EQU                 0x2D
                                           PCTL			.EQU                 0x2E
                                           OSCCTL			.EQU                 0x2F
                                           OSCCAL0			.EQU                 0x30
                                           ANSEL			.EQU                 0x31
                                           PP2			.EQU                 0x32
                                           PWM2L			.EQU                 0x33
                                           PUR0			.EQU                 0x35
                                           IOCL			.EQU                 0x36
                                           OSCCAL1			.EQU                 0x37
                                           NVMDATAH		.EQU                 0x38
                                           NVMDATAL		.EQU                 0x39
                                           NVMADDRH		.EQU                 0x3A
                                           NVMADDRL		.EQU                 0x3B
                                           NVMCTL0			.EQU                 0x3C
                                           NVMCTL1			.EQU                 0x3D
                                           ADCDATA0L		.EQU                 0x3E
                                           ADCCTL1			.EQU                 0x3F
                                           P0LR			.EQU                 0x45
                                           P2LR			.EQU                 0x46
                                           P1LR			.EQU                 0x47
                                           EIE3			.EQU                 0x4A
                                           EIF3			.EQU                 0x4B
                                           OSCCAL2			.EQU                 0x4C
                                           OSCCAL3			.EQU                 0x4D
                                           T3CTL			.EQU                 0x4E
                                           T3L			.EQU                 0x4F
                                           CTCTL0			.EQU                 0x53
                                           T3H			.EQU                 0x5F
                                           PUR1			.EQU                 0x60
                                           PUR2			.EQU                 0x61
                                           CTCTL1			.EQU                 0x64
                                           INTEDGCTL		.EQU                 0x67
                                           ADCDATA3L		.EQU                 0x6A
                                           VDAC			.EQU                 0x112
                                           VRES			.EQU                 0x113
                                           C1CAL			.EQU                 0x115
                                           SSCICTL0		.EQU                 0x128
                                           SSCICTL1		.EQU                 0x12A
                                           SSCISTA			.EQU                 0x12B
                                           SSCIBUFR		.EQU                 0x12C
                                           SSCIADD			.EQU                 0x12E
                                           SSCIMSK			.EQU                 0x12E
                                           WDTPS			.EQU                 0x12F
                                           C1FILTCTL		.EQU                 0x14A
                                           C1FILTPRE		.EQU                 0x14B
                                           VRECAL2			.EQU                 0x159
                                           VRECAL3			.EQU                 0x15A
                                           CTCTL2			.EQU                 0x15B
                                           T4L			.EQU                 0x160
                                           T4H			.EQU                 0x161
                                           T4REL			.EQU                 0x162
                                           T4REH			.EQU                 0x163
                                           T4CTL			.EQU                 0x164
                                           RC32KCAL		.EQU                 0x165
                                           
                                           
                                           ;  03H  PSW   Bits-------------------------------------
                                           TO			.EQU                4
                                           PD			.EQU                3
                                           Z			.EQU                2
                                           DC			.EQU                1
                                           CY			.EQU                0
                                           _TO			.EQU                4
                                           _PD			.EQU                3
                                           _Z			.EQU                2
                                           _DC			.EQU                1
                                           _CY			.EQU                0
                                           
                                           ;  05H  P0   Bits-------------------------------------
                                           P05			.EQU                5
                                           P04			.EQU                4
                                           P03			.EQU                3
                                           P02			.EQU                2
                                           P01			.EQU                1
                                           P00			.EQU                0
                                           _P05			.EQU                5
                                           _P04			.EQU                4
                                           _P03			.EQU                3
                                           _P02			.EQU                2
                                           _P01			.EQU                1
                                           _P00			.EQU                0
                                           
                                           ;  06H  P2   Bits-------------------------------------
                                           P23			.EQU                3
                                           P22			.EQU                2
                                           P21			.EQU                1
                                           P20			.EQU                0
                                           _P23			.EQU                3
                                           _P22			.EQU                2
                                           _P21			.EQU                1
                                           _P20			.EQU                0
                                           
                                           ;  07H  P1   Bits-------------------------------------
                                           P17			.EQU                7
                                           P16			.EQU                6
                                           P15			.EQU                5
                                           P14			.EQU                4
                                           P13			.EQU                3
                                           P12			.EQU                2
                                           P11			.EQU                1
                                           P10			.EQU                0
                                           _P17			.EQU                7
                                           _P16			.EQU                6
                                           _P15			.EQU                5
                                           _P14			.EQU                4
                                           _P13			.EQU                3
                                           _P12			.EQU                2
                                           _P11			.EQU                1
                                           _P10			.EQU                0
                                           
                                           ;  0AH  PCH   Bits-------------------------------------
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIE			.EQU                7
                                           PUIE			.EQU                6
                                           T0IE			.EQU                5
                                           INT0IE			.EQU                4
                                           P0IE			.EQU                3
                                           T0IF			.EQU                2
                                           INT0IF			.EQU                1
                                           P0IF			.EQU                0
                                           _AIE			.EQU                7
                                           _PUIE			.EQU                6
                                           _T0IE			.EQU                5
                                           _INT0IE			.EQU                4
                                           _P0IE			.EQU                3
                                           _T0IF			.EQU                2
                                           _INT0IF			.EQU                1
                                           _P0IF			.EQU                0
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIEH			.EQU                7
                                           AIEL			.EQU                6
                                           _AIEH			.EQU                7
                                           _AIEL			.EQU                6
                                           
                                           ;  0CH  EIF1   Bits-------------------------------------
                                           ADIF			.EQU                6
                                           INT2IF			.EQU                5
                                           INT1IF			.EQU                4
                                           C1IF			.EQU                3
                                           PWM2IF			.EQU                2
                                           T1IF			.EQU                0
                                           _ADIF			.EQU                6
                                           _INT2IF			.EQU                5
                                           _INT1IF			.EQU                4
                                           _C1IF			.EQU                3
                                           _PWM2IF			.EQU                2
                                           _T1IF			.EQU                0
                                           
                                           ;  0DH  EIF2   Bits-------------------------------------
                                           T3IF			.EQU                7
                                           BCLIF			.EQU                1
                                           SSCIIF			.EQU                0
                                           _T3IF			.EQU                7
                                           _BCLIF			.EQU                1
                                           _SSCIIF			.EQU                0
                                           
                                           ;  10H  T1CTL   Bits-------------------------------------
                                           T1RLD			.EQU                7
                                           T1GC			.EQU                6
                                           T1CKS1			.EQU                5
                                           T1CKS0			.EQU                4
                                           T1OSCEN			.EQU                3
                                           T1SY			.EQU                2
                                           T1CS			.EQU                1
                                           T1ON			.EQU                0
                                           _T1RLD			.EQU                7
                                           _T1GC			.EQU                6
                                           _T1CKS1			.EQU                5
                                           _T1CKS0			.EQU                4
                                           _T1OSCEN		.EQU                3
                                           _T1SY			.EQU                2
                                           _T1CS			.EQU                1
                                           _T1ON			.EQU                0
                                           
                                           ;  15H  PWMCTL   Bits-------------------------------------
                                           PWM2ON			.EQU                4
                                           PWM1ON			.EQU                0
                                           _PWM2ON			.EQU                4
                                           _PWM1ON			.EQU                0
                                           
                                           ;  17H  BANK   Bits-------------------------------------
                                           PR3			.EQU                3
                                           PR2			.EQU                2
                                           PR1			.EQU                1
                                           PR0			.EQU                0
                                           _PR3			.EQU                3
                                           _PR2			.EQU                2
                                           _PR1			.EQU                1
                                           _PR0			.EQU                0
                                           
                                           ;  19H  C1CTL   Bits-------------------------------------
                                           C1OE			.EQU                7
                                           C1MOD			.EQU                6
                                           C1CALEN			.EQU                3
                                           C1CALSET		.EQU                2
                                           C1OUT			.EQU                1
                                           C1EN			.EQU                0
                                           _C1OE			.EQU                7
                                           _C1MOD			.EQU                6
                                           _C1CALEN		.EQU                3
                                           _C1CALSET		.EQU                2
                                           _C1OUT			.EQU                1
                                           _C1EN			.EQU                0
                                           
                                           ;  1AH  VDACS   Bits-------------------------------------
                                           VCEN			.EQU                6
                                           _VCEN			.EQU                6
                                           
                                           ;  1BH  AMPCTL   Bits-------------------------------------
                                           CALID			.EQU                7
                                           INPS1			.EQU                5
                                           INPS0			.EQU                4
                                           CALIEN			.EQU                1
                                           AMPON			.EQU                0
                                           _CALID			.EQU                7
                                           _INPS1			.EQU                5
                                           _INPS0			.EQU                4
                                           _CALIEN			.EQU                1
                                           _AMPON			.EQU                0
                                           
                                           ;  1DH  ANSEH   Bits-------------------------------------
                                           SSCIPIN			.EQU                7
                                           ANS13			.EQU                5
                                           ANS12			.EQU                4
                                           ANS11			.EQU                3
                                           ANS10			.EQU                2
                                           ANS9			.EQU                1
                                           ANS8			.EQU                0
                                           _SSCIPIN		.EQU                7
                                           _ANS13			.EQU                5
                                           _ANS12			.EQU                4
                                           _ANS11			.EQU                3
                                           _ANS10			.EQU                2
                                           _ANS9			.EQU                1
                                           _ANS8			.EQU                0
                                           
                                           ;  1FH  ADCCTL0   Bits-------------------------------------
                                           ADLR			.EQU                7
                                           CHS3			.EQU                5
                                           CHS2			.EQU                4
                                           CHS1			.EQU                3
                                           CHS0			.EQU                2
                                           START			.EQU                1
                                           ADEN			.EQU                0
                                           _ADLR			.EQU                7
                                           _CHS3			.EQU                5
                                           _CHS2			.EQU                4
                                           _CHS1			.EQU                3
                                           _CHS0			.EQU                2
                                           _START			.EQU                1
                                           _ADEN			.EQU                0
                                           
                                           ;  20H  AMPDT   Bits-------------------------------------
                                           DT7			.EQU                7
                                           DT6			.EQU                6
                                           DT5			.EQU                5
                                           DT4			.EQU                4
                                           DT3			.EQU                3
                                           DT2			.EQU                2
                                           DT1			.EQU                1
                                           DT0			.EQU                0
                                           _DT7			.EQU                7
                                           _DT6			.EQU                6
                                           _DT5			.EQU                5
                                           _DT4			.EQU                4
                                           _DT3			.EQU                3
                                           _DT2			.EQU                2
                                           _DT1			.EQU                1
                                           _DT0			.EQU                0
                                           
                                           ;  21H  OPTR   Bits-------------------------------------
                                           PUPH			.EQU                7
                                           INT0SE			.EQU                6
                                           T0CS			.EQU                5
                                           T0SE			.EQU                4
                                           PSA			.EQU                3
                                           PS2			.EQU                2
                                           PS1			.EQU                1
                                           PS0			.EQU                0
                                           _PUPH			.EQU                7
                                           _INT0SE			.EQU                6
                                           _T0CS			.EQU                5
                                           _T0SE			.EQU                4
                                           _PSA			.EQU                3
                                           _PS2			.EQU                2
                                           _PS1			.EQU                1
                                           _PS0			.EQU                0
                                           
                                           ;  22H  IP0   Bits-------------------------------------
                                           PT0			.EQU                2
                                           PINT0			.EQU                1
                                           PP0			.EQU                0
                                           _PT0			.EQU                2
                                           _PINT0			.EQU                1
                                           _PP0			.EQU                0
                                           
                                           ;  23H  IP1   Bits-------------------------------------
                                           PADC			.EQU                6
                                           PINT2			.EQU                5
                                           PINT1			.EQU                4
                                           PC1			.EQU                3
                                           PPWM2			.EQU                2
                                           PT1			.EQU                0
                                           _PADC			.EQU                6
                                           _PINT2			.EQU                5
                                           _PINT1			.EQU                4
                                           _PC1			.EQU                3
                                           _PPWM2			.EQU                2
                                           _PT1			.EQU                0
                                           
                                           ;  24H  IP2   Bits-------------------------------------
                                           PT3			.EQU                7
                                           PBCL			.EQU                1
                                           PSSCI			.EQU                0
                                           _PT3			.EQU                7
                                           _PBCL			.EQU                1
                                           _PSSCI			.EQU                0
                                           
                                           ;  25H  TR0   Bits-------------------------------------
                                           TR05			.EQU                5
                                           TR04			.EQU                4
                                           TR03			.EQU                3
                                           TR02			.EQU                2
                                           TR01			.EQU                1
                                           TR00			.EQU                0
                                           _TR05			.EQU                5
                                           _TR04			.EQU                4
                                           _TR03			.EQU                3
                                           _TR02			.EQU                2
                                           _TR01			.EQU                1
                                           _TR00			.EQU                0
                                           
                                           ;  26H  TR2   Bits-------------------------------------
                                           TR23			.EQU                3
                                           TR22			.EQU                2
                                           TR21			.EQU                1
                                           TR20			.EQU                0
                                           _TR23			.EQU                3
                                           _TR22			.EQU                2
                                           _TR21			.EQU                1
                                           _TR20			.EQU                0
                                           
                                           ;  27H  TR1   Bits-------------------------------------
                                           TR17			.EQU                7
                                           TR16			.EQU                6
                                           TR15			.EQU                5
                                           TR14			.EQU                4
                                           TR13			.EQU                3
                                           TR12			.EQU                2
                                           TR11			.EQU                1
                                           TR10			.EQU                0
                                           _TR17			.EQU                7
                                           _TR16			.EQU                6
                                           _TR15			.EQU                5
                                           _TR14			.EQU                4
                                           _TR13			.EQU                3
                                           _TR12			.EQU                2
                                           _TR11			.EQU                1
                                           _TR10			.EQU                0
                                           
                                           ;  28H  OSCSTA   Bits-------------------------------------
                                           OSTS			.EQU                6
                                           HTS			.EQU                5
                                           LTS			.EQU                4
                                           SCF1			.EQU                1
                                           SCF0			.EQU                0
                                           _OSTS			.EQU                6
                                           _HTS			.EQU                5
                                           _LTS			.EQU                4
                                           _SCF1			.EQU                1
                                           _SCF0			.EQU                0
                                           
                                           ;  29H  IP3   Bits-------------------------------------
                                           PT4			.EQU                7
                                           POSCFAIL		.EQU                5
                                           _PT4			.EQU                7
                                           _POSCFAIL		.EQU                5
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VRESEL1			.EQU                7
                                           VRESEL0			.EQU                6
                                           VRECALEN		.EQU                5
                                           VRECKEN			.EQU                4
                                           VREOE			.EQU                3
                                           VREEN			.EQU                1
                                           LPREN			.EQU                0
                                           _VRESEL1		.EQU                7
                                           _VRESEL0		.EQU                6
                                           _VRECALEN		.EQU                5
                                           _VRECKEN		.EQU                4
                                           _VREOE			.EQU                3
                                           _VREEN			.EQU                1
                                           _LPREN			.EQU                0
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VREBG			.EQU                4
                                           _VREBG			.EQU                4
                                           ;  2CH  EIE1   Bits-------------------------------------
                                           ADIE			.EQU                6
                                           INT2IE			.EQU                5
                                           INT1IE			.EQU                4
                                           C1IE			.EQU                3
                                           PWM2IE			.EQU                2
                                           T1IE			.EQU                0
                                           _ADIE			.EQU                6
                                           _INT2IE			.EQU                5
                                           _INT1IE			.EQU                4
                                           _C1IE			.EQU                3
                                           _PWM2IE			.EQU                2
                                           _T1IE			.EQU                0
                                           
                                           ;  2DH  EIE2   Bits-------------------------------------
                                           T3IE			.EQU                7
                                           BCLIE			.EQU                1
                                           SSCIIE			.EQU                0
                                           _T3IE			.EQU                7
                                           _BCLIE			.EQU                1
                                           _SSCIIE			.EQU                0
                                           
                                           ;  2EH  PCTL   Bits-------------------------------------
                                           SLVREN			.EQU                4
                                           IPEN			.EQU                3
                                           SWDTEN			.EQU                2
                                           POR			.EQU                1
                                           LVR			.EQU                0
                                           _SLVREN			.EQU                4
                                           _IPEN			.EQU                3
                                           _SWDTEN			.EQU                2
                                           _POR			.EQU                1
                                           _LVR			.EQU                0
                                           
                                           ;  2FH  OSCCTL   Bits-------------------------------------
                                           CLKOE			.EQU                7
                                           IRCS2			.EQU                6
                                           IRCS1			.EQU                5
                                           IRCS0			.EQU                4
                                           SCS1			.EQU                3
                                           SCS0			.EQU                2
                                           IESO			.EQU                1
                                           FSCM			.EQU                0
                                           _CLKOE			.EQU                7
                                           _IRCS2			.EQU                6
                                           _IRCS1			.EQU                5
                                           _IRCS0			.EQU                4
                                           _SCS1			.EQU                3
                                           _SCS0			.EQU                2
                                           _IESO			.EQU                1
                                           _FSCM			.EQU                0
                                           
                                           ;  31H  ANSEL   Bits-------------------------------------
                                           ANS7			.EQU                7
                                           ANS6			.EQU                6
                                           ANS5			.EQU                5
                                           ANS4			.EQU                4
                                           ANS3			.EQU                3
                                           ANS2			.EQU                2
                                           ANS1			.EQU                1
                                           ANS0			.EQU                0
                                           _ANS7			.EQU                7
                                           _ANS6			.EQU                6
                                           _ANS5			.EQU                5
                                           _ANS4			.EQU                4
                                           _ANS3			.EQU                3
                                           _ANS2			.EQU                2
                                           _ANS1			.EQU                1
                                           _ANS0			.EQU                0
                                           
                                           ;  35H  PUR0   Bits-------------------------------------
                                           PUR05			.EQU                5
                                           PUR04			.EQU                4
                                           PUR02			.EQU                2
                                           PUR01			.EQU                1
                                           PUR00			.EQU                0
                                           _PUR05			.EQU                5
                                           _PUR04			.EQU                4
                                           _PUR02			.EQU                2
                                           _PUR01			.EQU                1
                                           _PUR00			.EQU                0
                                           
                                           ;  36H  IOCL   Bits-------------------------------------
                                           IOCL5			.EQU                5
                                           IOCL4			.EQU                4
                                           IOCL3			.EQU                3
                                           IOCL2			.EQU                2
                                           IOCL1			.EQU                1
                                           IOCL0			.EQU                0
                                           _IOCL5			.EQU                5
                                           _IOCL4			.EQU                4
                                           _IOCL3			.EQU                3
                                           _IOCL2			.EQU                2
                                           _IOCL1			.EQU                1
                                           _IOCL0			.EQU                0
                                           
                                           ;  3FH  ADCCTL1   Bits-------------------------------------
                                           ADCALEN			.EQU                7
                                           ADCS2			.EQU                6
                                           ADCS1			.EQU                5
                                           ADCS0			.EQU                4
                                           VCFG1			.EQU                3
                                           VCFG0			.EQU                2
                                           ADCIM			.EQU                0
                                           _ADCALEN		.EQU                7
                                           _ADCS2			.EQU                6
                                           _ADCS1			.EQU                5
                                           _ADCS0			.EQU                4
                                           _VCFG1			.EQU                3
                                           _VCFG0			.EQU                2
                                           _ADCIM			.EQU                0
                                           
                                           ;  45H  P0LR   Bits-------------------------------------
                                           P0LR5			.EQU                5
                                           P0LR4			.EQU                4
                                           P0LR2			.EQU                2
                                           P0LR1			.EQU                1
                                           P0LR0			.EQU                0
                                           _P0LR5			.EQU                5
                                           _P0LR4			.EQU                4
                                           _P0LR2			.EQU                2
                                           _P0LR1			.EQU                1
                                           _P0LR0			.EQU                0
                                           
                                           ;  46H  P2LR   Bits-------------------------------------
                                           P2LR3			.EQU                3
                                           P2LR2			.EQU                2
                                           P2LR1			.EQU                1
                                           P2LR0			.EQU                0
                                           _P2LR3			.EQU                3
                                           _P2LR2			.EQU                2
                                           _P2LR1			.EQU                1
                                           _P2LR0			.EQU                0
                                           
                                           ;  47H  P1LR   Bits-------------------------------------
                                           P1LR7			.EQU                7
                                           P1LR6			.EQU                6
                                           P1LR5			.EQU                5
                                           P1LR4			.EQU                4
                                           P1LR3			.EQU                3
                                           P1LR2			.EQU                2
                                           P1LR1			.EQU                1
                                           P1LR0			.EQU                0
                                           _P1LR7			.EQU                7
                                           _P1LR6			.EQU                6
                                           _P1LR5			.EQU                5
                                           _P1LR4			.EQU                4
                                           _P1LR3			.EQU                3
                                           _P1LR2			.EQU                2
                                           _P1LR1			.EQU                1
                                           _P1LR0			.EQU                0
                                           
                                           ;  4AH  EIE3   Bits-------------------------------------
                                           T4IE			.EQU                7
                                           OSCFAILIE		.EQU                5
                                           _T4IE			.EQU                7
                                           _OSCFAILIE		.EQU                5
                                           
                                           ;  4BH  EIF3   Bits-------------------------------------
                                           T4IF			.EQU                7
                                           OSCFAILIF		.EQU                5
                                           _T4IF			.EQU                7
                                           _OSCFAILIF		.EQU                5
                                           
                                           ;  4EH  T3CTL   Bits-------------------------------------
                                           T3EN			.EQU                7
                                           T3CKS1			.EQU                6
                                           T3CKS0			.EQU                5
                                           T3CS			.EQU                4
                                           PWMS			.EQU                3
                                           _T3EN			.EQU                7
                                           _T3CKS1			.EQU                6
                                           _T3CKS0			.EQU                5
                                           _T3CS			.EQU                4
                                           _PWMS			.EQU                3
                                           
                                           ;  53H  CTCTL0   Bits-------------------------------------
                                           CTEN			.EQU                7
                                           CTSTART			.EQU                6
                                           T3CLR			.EQU                5
                                           CTCHSEL4		.EQU                4
                                           CTCHSEL3		.EQU                3
                                           CTCHSEL2		.EQU                2
                                           CTCHSEL1		.EQU                1
                                           CTCHSEL0		.EQU                0
                                           _CTEN			.EQU                7
                                           _CTSTART		.EQU                6
                                           _T3CLR			.EQU                5
                                           _CTCHSEL4		.EQU                4
                                           _CTCHSEL3		.EQU                3
                                           _CTCHSEL2		.EQU                2
                                           _CTCHSEL1		.EQU                1
                                           _CTCHSEL0		.EQU                0
                                           
                                           ;  60H  PUR1   Bits-------------------------------------
                                           PUR17			.EQU                7
                                           PUR16			.EQU                6
                                           PUR15			.EQU                5
                                           PUR14			.EQU                4
                                           PUR13			.EQU                3
                                           PUR12			.EQU                2
                                           PUR11			.EQU                1
                                           PUR10			.EQU                0
                                           _PUR17			.EQU                7
                                           _PUR16			.EQU                6
                                           _PUR15			.EQU                5
                                           _PUR14			.EQU                4
                                           _PUR13			.EQU                3
                                           _PUR12			.EQU                2
                                           _PUR11			.EQU                1
                                           _PUR10			.EQU                0
                                           
                                           ;  61H  PUR2   Bits-------------------------------------
                                           PUR23			.EQU                3
                                           PUR22			.EQU                2
                                           PUR21			.EQU                1
                                           PUR20			.EQU                0
                                           _PUR23			.EQU                3
                                           _PUR22			.EQU                2
                                           _PUR21			.EQU                1
                                           _PUR20			.EQU                0
                                           
                                           ;  64H  CTCTL1   Bits-------------------------------------
                                           CTCLKSEL1		.EQU                7
                                           CTCLKSEL0		.EQU                6
                                           PRSGEN			.EQU                5
                                           PRSGM1			.EQU                4
                                           PRSGM0			.EQU                3
                                           PRSGSTA			.EQU                2
                                           VSEL			.EQU                0
                                           _CTCLKSEL1		.EQU                7
                                           _CTCLKSEL0		.EQU                6
                                           _PRSGEN			.EQU                5
                                           _PRSGM1			.EQU                4
                                           _PRSGM0			.EQU                3
                                           _PRSGSTA		.EQU                2
                                           _VSEL			.EQU                0
                                           
                                           ;  67H  INTEDGCTL   Bits-------------------------------------
                                           INT2SE			.EQU                7
                                           INT1SE			.EQU                6
                                           T1CLKEN			.EQU                0
                                           _INT2SE			.EQU                7
                                           _INT1SE			.EQU                6
                                           _T1CLKEN		.EQU                0
                                           
                                           ;  112H  VDAC   Bits-------------------------------------
                                           VDAC3			.EQU                7
                                           VDAC2			.EQU                6
                                           VDAC1			.EQU                5
                                           VDAC0			.EQU                4
                                           _VDAC3			.EQU                7
                                           _VDAC2			.EQU                6
                                           _VDAC1			.EQU                5
                                           _VDAC0			.EQU                4
                                           
                                           ;  113H  VRES   Bits-------------------------------------
                                           VRES3			.EQU                7
                                           VRES2			.EQU                6
                                           VRES1			.EQU                5
                                           VRES0			.EQU                4
                                           _VRES3			.EQU                7
                                           _VRES2			.EQU                6
                                           _VRES1			.EQU                5
                                           _VRES0			.EQU                4
                                           
                                           ;  115H  C1CAL   Bits-------------------------------------
                                           C1DT7			.EQU                7
                                           C1DT6			.EQU                6
                                           C1DT5			.EQU                5
                                           C1DT4			.EQU                4
                                           C1DT3			.EQU                3
                                           C1DT2			.EQU                2
                                           C1DT1			.EQU                1
                                           C1DT0			.EQU                0
                                           _C1DT7			.EQU                7
                                           _C1DT6			.EQU                6
                                           _C1DT5			.EQU                5
                                           _C1DT4			.EQU                4
                                           _C1DT3			.EQU                3
                                           _C1DT2			.EQU                2
                                           _C1DT1			.EQU                1
                                           _C1DT0			.EQU                0
                                           
                                           ;  128H  SSCICTL0   Bits-------------------------------------
                                           SSCIWCFL		.EQU                7
                                           SSCIOV			.EQU                6
                                           SSCIEN			.EQU                5
                                           SSCICKP			.EQU                4
                                           SSCIMOD3		.EQU                3
                                           SSCIMOD2		.EQU                2
                                           SSCIMOD1		.EQU                1
                                           SSCIMOD0		.EQU                0
                                           _SSCIWCFL		.EQU                7
                                           _SSCIOV			.EQU                6
                                           _SSCIEN			.EQU                5
                                           _SSCICKP		.EQU                4
                                           _SSCIMOD3		.EQU                3
                                           _SSCIMOD2		.EQU                2
                                           _SSCIMOD1		.EQU                1
                                           _SSCIMOD0		.EQU                0
                                           
                                           ;  12AH  SSCICTL1   Bits-------------------------------------
                                           SSCICALLEN		.EQU                7
                                           SSCIACKSTA		.EQU                6
                                           SSCIACKDAT		.EQU                5
                                           SSCIACKEN		.EQU                4
                                           SSCIRCEN		.EQU                3
                                           STOPEN			.EQU                2
                                           RESTARTEN		.EQU                1
                                           STARTEN			.EQU                0
                                           _SSCICALLEN		.EQU                7
                                           _SSCIACKSTA		.EQU                6
                                           _SSCIACKDAT		.EQU                5
                                           _SSCIACKEN		.EQU                4
                                           _SSCIRCEN		.EQU                3
                                           _STOPEN			.EQU                2
                                           _RESTARTEN		.EQU                1
                                           _STARTEN		.EQU                0
                                           
                                           ;  12BH  SSCISTA   Bits-------------------------------------
                                           SSCIDA			.EQU                5
                                           SSCISTOP		.EQU                4
                                           SSCISTART		.EQU                3
                                           SSCIRW			.EQU                2
                                           SSCIUA			.EQU                1
                                           SSCIBUF			.EQU                0
                                           _SSCIDA			.EQU                5
                                           _SSCISTOP		.EQU                4
                                           _SSCISTART		.EQU                3
                                           _SSCIRW			.EQU                2
                                           _SSCIUA			.EQU                1
                                           _SSCIBUF		.EQU                0
                                           
                                           ;  12EH  SSCIADD   Bits-------------------------------------
                                           SSCIADD7		.EQU                7
                                           SSCIADD6		.EQU                6
                                           SSCIADD5		.EQU                5
                                           SSCIADD4		.EQU                4
                                           SSCIADD3		.EQU                3
                                           SSCIADD2		.EQU                2
                                           SSCIADD1		.EQU                1
                                           SSCIADD0		.EQU                0
                                           _SSCIADD7		.EQU                7
                                           _SSCIADD6		.EQU                6
                                           _SSCIADD5		.EQU                5
                                           _SSCIADD4		.EQU                4
                                           _SSCIADD3		.EQU                3
                                           _SSCIADD2		.EQU                2
                                           _SSCIADD1		.EQU                1
                                           _SSCIADD0		.EQU                0
                                           
                                           ;  12EH  SSCIMSK   Bits-------------------------------------
                                           SSCIMSK7		.EQU                7
                                           SSCIMSK6		.EQU                6
                                           SSCIMSK5		.EQU                5
                                           SSCIMSK4		.EQU                4
                                           SSCIMSK3		.EQU                3
                                           SSCIMSK2		.EQU                2
                                           SSCIMSK1		.EQU                1
                                           SSCIMSK0		.EQU                0
                                           _SSCIMSK7		.EQU                7
                                           _SSCIMSK6		.EQU                6
                                           _SSCIMSK5		.EQU                5
                                           _SSCIMSK4		.EQU                4
                                           _SSCIMSK3		.EQU                3
                                           _SSCIMSK2		.EQU                2
                                           _SSCIMSK1		.EQU                1
                                           _SSCIMSK0		.EQU                0
                                           
                                           ;  12FH  WDTPS   Bits-------------------------------------
                                           WDTPS3			.EQU                3
                                           WDTPS2			.EQU                2
                                           WDTPS1			.EQU                1
                                           WDTPS0			.EQU                0
                                           _WDTPS3			.EQU                3
                                           _WDTPS2			.EQU                2
                                           _WDTPS1			.EQU                1
                                           _WDTPS0			.EQU                0
                                           
                                           ;  14AH  C1FILTCTL   Bits-------------------------------------
                                           INV1			.EQU                7
                                           WEN1			.EQU                6
                                           FEN1			.EQU                5
                                           F1CNT2			.EQU                2
                                           F1CNT1			.EQU                1
                                           F1CNT0			.EQU                0
                                           _INV1			.EQU                7
                                           _WEN1			.EQU                6
                                           _FEN1			.EQU                5
                                           _F1CNT2			.EQU                2
                                           _F1CNT1			.EQU                1
                                           _F1CNT0			.EQU                0
                                           
                                           ;  14BH  C1FILTPRE   Bits-------------------------------------
                                           FP17			.EQU                7
                                           FP16			.EQU                6
                                           FP15			.EQU                5
                                           FP14			.EQU                4
                                           FP13			.EQU                3
                                           FP12			.EQU                2
                                           FP11			.EQU                1
                                           FP10			.EQU                0
                                           _FP17			.EQU                7
                                           _FP16			.EQU                6
                                           _FP15			.EQU                5
                                           _FP14			.EQU                4
                                           _FP13			.EQU                3
                                           _FP12			.EQU                2
                                           _FP11			.EQU                1
                                           _FP10			.EQU                0
                                           
                                           ;  15BH  CTCTL2   Bits-------------------------------------
                                           CTMODE			.EQU                4
                                           RSEL3			.EQU                3
                                           RSEL2			.EQU                2
                                           RSEL1			.EQU                1
                                           RSEL0			.EQU                0
                                           _CTMODE			.EQU                4
                                           _RSEL3			.EQU                3
                                           _RSEL2			.EQU                2
                                           _RSEL1			.EQU                1
                                           _RSEL0			.EQU                0
                                           
                                           ;  164H  T4CTL   Bits-------------------------------------
                                           T4REN			.EQU                7
                                           HSPEN			.EQU                6
                                           T4CKS1			.EQU                5
                                           T4CKS0			.EQU                4
                                           LSPEN			.EQU                3
                                           T4CS1			.EQU                2
                                           T4CS0			.EQU                1
                                           T4ON			.EQU                0
                                           _T4REN			.EQU                7
                                           _HSPEN			.EQU                6
                                           _T4CKS1			.EQU                5
                                           _T4CKS0			.EQU                4
                                           _LSPEN			.EQU                3
                                           _T4CS1			.EQU                2
                                           _T4CS0			.EQU                1
                                           _T4ON			.EQU                0
                                           ;************************************************************
                                           ;       Header file for the KungFu8 END
                                           ;       KF8TS3514
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           	.extern	__KF8TS35_Get_Ver_cs_General_
                                           	.extern	__KF8TS35_Init_Touch_cs_General_
                                           	.extern	__KF8TS35_Touch_Process_cs_General_
                                           	.extern	__KF8TS35_Touch_TEST_cs_General_
                                           	.extern	__KF8TS35_Lib_Set_General_cs_Parameter
                                           	.extern	__R2PCL
                                           	.extern	_TOUCH_DEBUG_TRS_DEAL
                                           	.extern	_TOUCH_DEBUG_SEND_OUT
                                           	.extern	_delay_ms
                                           	.extern	_delay_us
                                           	.extern	_PSW_bits
                                           	.extern	_P0_bits
                                           	.extern	_P2_bits
                                           	.extern	_P1_bits
                                           	.extern	_PCH_bits
                                           	.extern	_INTCTL_bits
                                           	.extern	_EIF1_bits
                                           	.extern	_EIF2_bits
                                           	.extern	_T1CTL_bits
                                           	.extern	_PWMCTL_bits
                                           	.extern	_BANK_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	_EIE3_bits
                                           	.extern	_EIF3_bits
                                           	.extern	_T3CTL_bits
                                           	.extern	_CTCTL0_bits
                                           	.extern	_PUR1_bits
                                           	.extern	_PUR2_bits
                                           	.extern	_CTCTL1_bits
                                           	.extern	_INTEDGCTL_bits
                                           	.extern	_VDAC_bits
                                           	.extern	_VRES_bits
                                           	.extern	_C1CAL_bits
                                           	.extern	_SSCICTL0_bits
                                           	.extern	_SSCICTL1_bits
                                           	.extern	_SSCISTA_bits
                                           	.extern	_SSCIADD_bits
                                           	.extern	_SSCIMSK_bits
                                           	.extern	_WDTPS_bits
                                           	.extern	_C1FILTCTL_bits
                                           	.extern	_C1FILTPRE_bits
                                           	.extern	_CTCTL2_bits
                                           	.extern	_T4CTL_bits
                                           	.extern	__KF8_LIBi_channel_flag_
                                           	.extern	__KF8_LIBc_channel_
                                           	.extern	__KF8_LIBi_Date_Change_
                                           	.extern	__KF8_LIBc_baseline_count_
                                           	.extern	__KF8_LIBi_buff_hit_
                                           	.extern	__KF8_LIBi_buff_baseline_
                                           	.extern	__KF8_LIBc_touch_count_
                                           	.extern	_CHS_AMOUNT
                                           	.extern	_TCS_AMOUNT
                                           	.extern	__KF8_Disturb_Protect_Circle_
                                           	.extern	__KF8_DoubleKey_Compages_Limitable_Circle_
                                           	.extern	__KF8_Key_Max_Pressed_Limitable_Circle_
                                           	.extern	__KF8_BaseLine_Update_Circle_Count_For_UP_
                                           	.extern	__KF8_BaseLine_Update_Circle_Count_For_Down_
                                           	.extern	__KF8_Define_Disturb_Channels_Amount_
                                           	.extern	__KF8_BasicLine_UP_Noise_Threshold_
                                           	.extern	__KF8_BasicLine_Down_Noise_Threshold_
                                           	.extern	__KF8_Data_Steady_Threshold_Set_
                                           	.extern	__KF8_Inside_Reference_Channel_Disturb_Threshold_Set_
                                           	.extern	__KF8_Inside_Reference_Channel_Declare_
                                           	.extern	__KF8_Config_Finger_Threshold
                                           	.extern	__KF8_TOUCH_CH_EN
                                           	.extern	_T0
                                           	.extern	_PCL
                                           	.extern	_PSW
                                           	.extern	_P0
                                           	.extern	_P2
                                           	.extern	_P1
                                           	.extern	_PCH
                                           	.extern	_INTCTL
                                           	.extern	_EIF1
                                           	.extern	_EIF2
                                           	.extern	_T1L
                                           	.extern	_T1H
                                           	.extern	_T1CTL
                                           	.extern	_PWM1L
                                           	.extern	_PWMCTL
                                           	.extern	_PP1
                                           	.extern	_BANK
                                           	.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	_PUR0
                                           	.extern	_IOCL
                                           	.extern	_OSCCAL1
                                           	.extern	_NVMDATAH
                                           	.extern	_NVMDATAL
                                           	.extern	_NVMADDRH
                                           	.extern	_NVMADDRL
                                           	.extern	_NVMCTL0
                                           	.extern	_NVMCTL1
                                           	.extern	_ADCDATA0L
                                           	.extern	_ADCCTL1
                                           	.extern	_P0LR
                                           	.extern	_P2LR
                                           	.extern	_P1LR
                                           	.extern	_EIE3
                                           	.extern	_EIF3
                                           	.extern	_OSCCAL2
                                           	.extern	_OSCCAL3
                                           	.extern	_T3CTL
                                           	.extern	_T3L
                                           	.extern	_CTCTL0
                                           	.extern	_T3H
                                           	.extern	_PUR1
                                           	.extern	_PUR2
                                           	.extern	_CTCTL1
                                           	.extern	_INTEDGCTL
                                           	.extern	_ADCDATA3L
                                           	.extern	_VDAC
                                           	.extern	_VRES
                                           	.extern	_C1CAL
                                           	.extern	_SSCICTL0
                                           	.extern	_SSCICTL1
                                           	.extern	_SSCISTA
                                           	.extern	_SSCIBUFR
                                           	.extern	_SSCIADD
                                           	.extern	_SSCIMSK
                                           	.extern	_WDTPS
                                           	.extern	_C1FILTCTL
                                           	.extern	_C1FILTPRE
                                           	.extern	_VRECAL2
                                           	.extern	_VRECAL3
                                           	.extern	_CTCTL2
                                           	.extern	_T4L
                                           	.extern	_T4H
                                           	.extern	_T4REL
                                           	.extern	_T4REH
                                           	.extern	_T4CTL
                                           	.extern	_RC32KCAL
                                           
                                           	.extern I0R1
                                           	.extern I0R7
                                           	.extern I0PSW
                                           	.extern I0PCH
                                           	.extern I1R1
                                           	.extern I1R7
                                           	.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	_init_mcu
                                           
                                           ;--------------------------------------------------------
                                           ; global definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; absolute symbol definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; compiler-defined variables
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; initialized data
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; overlayable items in internal ram 
                                           ;--------------------------------------------------------
                                           ;	.udata_ovr
                                           
                                           
                                           func._init_mcu	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _init_mcu	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	::->op : LABEL
                                           ;	::->op : FUNCTION
                                           _init_mcu	;Function start
                                           ; 2 exit points
                                           ;	::->op : =
                                           ;	.line	18; "../init_mcu.c"	OSCCTL = 0x70;//MAX 16m
000795   9870     MOV	R0, #0x70            	MOV	R0,# 0x70
000796   e100     MOVB	#0x00               	BANKSEL	_OSCCTL
000797   512f     MOV	0x2f, R0             	MOV	_OSCCTL, R0
                                           ;	::->op : =
                                           ;	.line	21; "../init_mcu.c"	TR0 = 0b00011000;//
000798   9818     MOV	R0, #0x18            	MOV	R0,# 0x18
                                           	BANKSEL	_TR0
000799   5125     MOV	0x25, R0             	MOV	_TR0, R0
                                           ;	::->op : =
                                           ;	.line	22; "../init_mcu.c"	TR1 = 0b11110000;//
00079a   98f0     MOV	R0, #0xf0            	MOV	R0,# 0xf0
                                           	BANKSEL	_TR1
00079b   5127     MOV	0x27, R0             	MOV	_TR1, R0
                                           ;	::->op : =
                                           ;	.line	23; "../init_mcu.c"	TR2 = 0b00001111;//
00079c   980f     MOV	R0, #0xf             	MOV	R0,# 0x0f
                                           	BANKSEL	_TR2
00079d   5126     MOV	0x26, R0             	MOV	_TR2, R0
                                           ;	::->op : =
                                           ;	.line	27; "../init_mcu.c"	P0LR=0x00;
                                           	BANKSEL	_P0LR
00079e   0345     CLR	0x45                 	CLR	_P0LR
                                           ;	::->op : =
                                           ;	.line	28; "../init_mcu.c"	P1LR=0x00;
                                           	BANKSEL	_P1LR
00079f   0347     CLR	0x47                 	CLR	_P1LR
                                           ;	::->op : =
                                           ;	.line	29; "../init_mcu.c"	P2LR=0x00;
                                           	BANKSEL	_P2LR
0007a0   0346     CLR	0x46                 	CLR	_P2LR
                                           ;	::->op : =
                                           ;	.line	32; "../init_mcu.c"	P0=0x00;
                                           	BANKSEL	_P0
0007a1   0305     CLR	0x5                  	CLR	_P0
                                           ;	::->op : =
                                           ;	.line	33; "../init_mcu.c"	P1=0x00;
                                           	BANKSEL	_P1
0007a2   0307     CLR	0x7                  	CLR	_P1
                                           ;	::->op : =
                                           ;	.line	34; "../init_mcu.c"	P2=0x00;
                                           	BANKSEL	_P2
0007a3   0306     CLR	0x6                  	CLR	_P2
                                           ;	::->op :*  =
                                           ;	.line	39; "../init_mcu.c"	ANS13=1;
                                           	BANKSEL	_ANSEH_bits
0007a4   6d1d     SET	0x1d, 5              	SET	_ANSEH_bits, 5
                                           ;	::->op :*  =
                                           ;	.line	40; "../init_mcu.c"	IPEN=1;
                                           	BANKSEL	_PCTL_bits
0007a5   6b2e     SET	0x2e, 3              	SET	_PCTL_bits, 3
                                           ;	::->op :*  =
                                           ;	.line	41; "../init_mcu.c"	PT3 = 1;		// µ±Ê¹ÓÃT4Í¬²½¼ÆÊý£¬±ØÐëÉè¶¨Îª¸ßÓÅÏÈ¼¶£¬·ñÔòT3µÄ´¥ÃþÖÐ¶Ï¿ÉÒÔÑ¡ÔñµÍÓÅÏÈ¼¶
                                           	BANKSEL	_IP2_bits
0007a6   6f24     SET	0x24, 7              	SET	_IP2_bits, 7
                                           ;	::->op : LABEL
                                           ;	::->op : ENDFUNCTION
0007a7   0008     CRET                     	CRET	
                                           ; exit point of _init_mcu
                                           
                                           
                                           ;	code size estimation:
                                           ;	   18+   13 =    31 instructions (   88 byte)
                                           
                                           
                                           	.end
                                           ;--------------------------------------------------------
                                           ; File Created by ChiponCC : ChipON  inc.
                                           ; Version 3.0.4#6752 (Feb 19 2019 20:27:19) (MSVC)
                                           ; This file was generated Thu Mar 07 17:41:52 2019
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../kf8ts35_touch_g_cs.c"
                                           	.radix dec
                                           	.include "KF8TS3514.inc"
                                           ;************************************************************
                                           ;       Header file for the KungFu8
                                           ;       KF8TS3514
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           T0			.EQU                 0x01
                                           PCL			.EQU                 0x02
                                           PSW			.EQU                 0x03
                                           P0			.EQU                 0x05
                                           P2			.EQU                 0x06
                                           P1			.EQU                 0x07
                                           PCH			.EQU                 0x0A
                                           INTCTL			.EQU                 0x0B
                                           EIF1			.EQU                 0x0C
                                           EIF2			.EQU                 0x0D
                                           T1L			.EQU                 0x0E
                                           T1H			.EQU                 0x0F
                                           T1CTL			.EQU                 0x10
                                           PWM1L			.EQU                 0x13
                                           PWMCTL			.EQU                 0x15
                                           PP1			.EQU                 0x16
                                           BANK			.EQU                 0x17
                                           C1CTL			.EQU                 0x19
                                           VDACS			.EQU                 0x1A
                                           AMPCTL			.EQU                 0x1B
                                           ANSEH			.EQU                 0x1D
                                           ADCDATA0H		.EQU                 0x1E
                                           ADCCTL0			.EQU                 0x1F
                                           AMPDT			.EQU                 0x20
                                           OPTR			.EQU                 0x21
                                           IP0			.EQU                 0x22
                                           IP1			.EQU                 0x23
                                           IP2			.EQU                 0x24
                                           TR0			.EQU                 0x25
                                           TR2			.EQU                 0x26
                                           TR1			.EQU                 0x27
                                           OSCSTA			.EQU                 0x28
                                           IP3			.EQU                 0x29
                                           VRECAL1			.EQU                 0x2A
                                           VRECTL			.EQU                 0x2B
                                           EIE1			.EQU                 0x2C
                                           EIE2			.EQU                 0x2D
                                           PCTL			.EQU                 0x2E
                                           OSCCTL			.EQU                 0x2F
                                           OSCCAL0			.EQU                 0x30
                                           ANSEL			.EQU                 0x31
                                           PP2			.EQU                 0x32
                                           PWM2L			.EQU                 0x33
                                           PUR0			.EQU                 0x35
                                           IOCL			.EQU                 0x36
                                           OSCCAL1			.EQU                 0x37
                                           NVMDATAH		.EQU                 0x38
                                           NVMDATAL		.EQU                 0x39
                                           NVMADDRH		.EQU                 0x3A
                                           NVMADDRL		.EQU                 0x3B
                                           NVMCTL0			.EQU                 0x3C
                                           NVMCTL1			.EQU                 0x3D
                                           ADCDATA0L		.EQU                 0x3E
                                           ADCCTL1			.EQU                 0x3F
                                           P0LR			.EQU                 0x45
                                           P2LR			.EQU                 0x46
                                           P1LR			.EQU                 0x47
                                           EIE3			.EQU                 0x4A
                                           EIF3			.EQU                 0x4B
                                           OSCCAL2			.EQU                 0x4C
                                           OSCCAL3			.EQU                 0x4D
                                           T3CTL			.EQU                 0x4E
                                           T3L			.EQU                 0x4F
                                           CTCTL0			.EQU                 0x53
                                           T3H			.EQU                 0x5F
                                           PUR1			.EQU                 0x60
                                           PUR2			.EQU                 0x61
                                           CTCTL1			.EQU                 0x64
                                           INTEDGCTL		.EQU                 0x67
                                           ADCDATA3L		.EQU                 0x6A
                                           VDAC			.EQU                 0x112
                                           VRES			.EQU                 0x113
                                           C1CAL			.EQU                 0x115
                                           SSCICTL0		.EQU                 0x128
                                           SSCICTL1		.EQU                 0x12A
                                           SSCISTA			.EQU                 0x12B
                                           SSCIBUFR		.EQU                 0x12C
                                           SSCIADD			.EQU                 0x12E
                                           SSCIMSK			.EQU                 0x12E
                                           WDTPS			.EQU                 0x12F
                                           C1FILTCTL		.EQU                 0x14A
                                           C1FILTPRE		.EQU                 0x14B
                                           VRECAL2			.EQU                 0x159
                                           VRECAL3			.EQU                 0x15A
                                           CTCTL2			.EQU                 0x15B
                                           T4L			.EQU                 0x160
                                           T4H			.EQU                 0x161
                                           T4REL			.EQU                 0x162
                                           T4REH			.EQU                 0x163
                                           T4CTL			.EQU                 0x164
                                           RC32KCAL		.EQU                 0x165
                                           
                                           
                                           ;  03H  PSW   Bits-------------------------------------
                                           TO			.EQU                4
                                           PD			.EQU                3
                                           Z			.EQU                2
                                           DC			.EQU                1
                                           CY			.EQU                0
                                           _TO			.EQU                4
                                           _PD			.EQU                3
                                           _Z			.EQU                2
                                           _DC			.EQU                1
                                           _CY			.EQU                0
                                           
                                           ;  05H  P0   Bits-------------------------------------
                                           P05			.EQU                5
                                           P04			.EQU                4
                                           P03			.EQU                3
                                           P02			.EQU                2
                                           P01			.EQU                1
                                           P00			.EQU                0
                                           _P05			.EQU                5
                                           _P04			.EQU                4
                                           _P03			.EQU                3
                                           _P02			.EQU                2
                                           _P01			.EQU                1
                                           _P00			.EQU                0
                                           
                                           ;  06H  P2   Bits-------------------------------------
                                           P23			.EQU                3
                                           P22			.EQU                2
                                           P21			.EQU                1
                                           P20			.EQU                0
                                           _P23			.EQU                3
                                           _P22			.EQU                2
                                           _P21			.EQU                1
                                           _P20			.EQU                0
                                           
                                           ;  07H  P1   Bits-------------------------------------
                                           P17			.EQU                7
                                           P16			.EQU                6
                                           P15			.EQU                5
                                           P14			.EQU                4
                                           P13			.EQU                3
                                           P12			.EQU                2
                                           P11			.EQU                1
                                           P10			.EQU                0
                                           _P17			.EQU                7
                                           _P16			.EQU                6
                                           _P15			.EQU                5
                                           _P14			.EQU                4
                                           _P13			.EQU                3
                                           _P12			.EQU                2
                                           _P11			.EQU                1
                                           _P10			.EQU                0
                                           
                                           ;  0AH  PCH   Bits-------------------------------------
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIE			.EQU                7
                                           PUIE			.EQU                6
                                           T0IE			.EQU                5
                                           INT0IE			.EQU                4
                                           P0IE			.EQU                3
                                           T0IF			.EQU                2
                                           INT0IF			.EQU                1
                                           P0IF			.EQU                0
                                           _AIE			.EQU                7
                                           _PUIE			.EQU                6
                                           _T0IE			.EQU                5
                                           _INT0IE			.EQU                4
                                           _P0IE			.EQU                3
                                           _T0IF			.EQU                2
                                           _INT0IF			.EQU                1
                                           _P0IF			.EQU                0
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIEH			.EQU                7
                                           AIEL			.EQU                6
                                           _AIEH			.EQU                7
                                           _AIEL			.EQU                6
                                           
                                           ;  0CH  EIF1   Bits-------------------------------------
                                           ADIF			.EQU                6
                                           INT2IF			.EQU                5
                                           INT1IF			.EQU                4
                                           C1IF			.EQU                3
                                           PWM2IF			.EQU                2
                                           T1IF			.EQU                0
                                           _ADIF			.EQU                6
                                           _INT2IF			.EQU                5
                                           _INT1IF			.EQU                4
                                           _C1IF			.EQU                3
                                           _PWM2IF			.EQU                2
                                           _T1IF			.EQU                0
                                           
                                           ;  0DH  EIF2   Bits-------------------------------------
                                           T3IF			.EQU                7
                                           BCLIF			.EQU                1
                                           SSCIIF			.EQU                0
                                           _T3IF			.EQU                7
                                           _BCLIF			.EQU                1
                                           _SSCIIF			.EQU                0
                                           
                                           ;  10H  T1CTL   Bits-------------------------------------
                                           T1RLD			.EQU                7
                                           T1GC			.EQU                6
                                           T1CKS1			.EQU                5
                                           T1CKS0			.EQU                4
                                           T1OSCEN			.EQU                3
                                           T1SY			.EQU                2
                                           T1CS			.EQU                1
                                           T1ON			.EQU                0
                                           _T1RLD			.EQU                7
                                           _T1GC			.EQU                6
                                           _T1CKS1			.EQU                5
                                           _T1CKS0			.EQU                4
                                           _T1OSCEN		.EQU                3
                                           _T1SY			.EQU                2
                                           _T1CS			.EQU                1
                                           _T1ON			.EQU                0
                                           
                                           ;  15H  PWMCTL   Bits-------------------------------------
                                           PWM2ON			.EQU                4
                                           PWM1ON			.EQU                0
                                           _PWM2ON			.EQU                4
                                           _PWM1ON			.EQU                0
                                           
                                           ;  17H  BANK   Bits-------------------------------------
                                           PR3			.EQU                3
                                           PR2			.EQU                2
                                           PR1			.EQU                1
                                           PR0			.EQU                0
                                           _PR3			.EQU                3
                                           _PR2			.EQU                2
                                           _PR1			.EQU                1
                                           _PR0			.EQU                0
                                           
                                           ;  19H  C1CTL   Bits-------------------------------------
                                           C1OE			.EQU                7
                                           C1MOD			.EQU                6
                                           C1CALEN			.EQU                3
                                           C1CALSET		.EQU                2
                                           C1OUT			.EQU                1
                                           C1EN			.EQU                0
                                           _C1OE			.EQU                7
                                           _C1MOD			.EQU                6
                                           _C1CALEN		.EQU                3
                                           _C1CALSET		.EQU                2
                                           _C1OUT			.EQU                1
                                           _C1EN			.EQU                0
                                           
                                           ;  1AH  VDACS   Bits-------------------------------------
                                           VCEN			.EQU                6
                                           _VCEN			.EQU                6
                                           
                                           ;  1BH  AMPCTL   Bits-------------------------------------
                                           CALID			.EQU                7
                                           INPS1			.EQU                5
                                           INPS0			.EQU                4
                                           CALIEN			.EQU                1
                                           AMPON			.EQU                0
                                           _CALID			.EQU                7
                                           _INPS1			.EQU                5
                                           _INPS0			.EQU                4
                                           _CALIEN			.EQU                1
                                           _AMPON			.EQU                0
                                           
                                           ;  1DH  ANSEH   Bits-------------------------------------
                                           SSCIPIN			.EQU                7
                                           ANS13			.EQU                5
                                           ANS12			.EQU                4
                                           ANS11			.EQU                3
                                           ANS10			.EQU                2
                                           ANS9			.EQU                1
                                           ANS8			.EQU                0
                                           _SSCIPIN		.EQU                7
                                           _ANS13			.EQU                5
                                           _ANS12			.EQU                4
                                           _ANS11			.EQU                3
                                           _ANS10			.EQU                2
                                           _ANS9			.EQU                1
                                           _ANS8			.EQU                0
                                           
                                           ;  1FH  ADCCTL0   Bits-------------------------------------
                                           ADLR			.EQU                7
                                           CHS3			.EQU                5
                                           CHS2			.EQU                4
                                           CHS1			.EQU                3
                                           CHS0			.EQU                2
                                           START			.EQU                1
                                           ADEN			.EQU                0
                                           _ADLR			.EQU                7
                                           _CHS3			.EQU                5
                                           _CHS2			.EQU                4
                                           _CHS1			.EQU                3
                                           _CHS0			.EQU                2
                                           _START			.EQU                1
                                           _ADEN			.EQU                0
                                           
                                           ;  20H  AMPDT   Bits-------------------------------------
                                           DT7			.EQU                7
                                           DT6			.EQU                6
                                           DT5			.EQU                5
                                           DT4			.EQU                4
                                           DT3			.EQU                3
                                           DT2			.EQU                2
                                           DT1			.EQU                1
                                           DT0			.EQU                0
                                           _DT7			.EQU                7
                                           _DT6			.EQU                6
                                           _DT5			.EQU                5
                                           _DT4			.EQU                4
                                           _DT3			.EQU                3
                                           _DT2			.EQU                2
                                           _DT1			.EQU                1
                                           _DT0			.EQU                0
                                           
                                           ;  21H  OPTR   Bits-------------------------------------
                                           PUPH			.EQU                7
                                           INT0SE			.EQU                6
                                           T0CS			.EQU                5
                                           T0SE			.EQU                4
                                           PSA			.EQU                3
                                           PS2			.EQU                2
                                           PS1			.EQU                1
                                           PS0			.EQU                0
                                           _PUPH			.EQU                7
                                           _INT0SE			.EQU                6
                                           _T0CS			.EQU                5
                                           _T0SE			.EQU                4
                                           _PSA			.EQU                3
                                           _PS2			.EQU                2
                                           _PS1			.EQU                1
                                           _PS0			.EQU                0
                                           
                                           ;  22H  IP0   Bits-------------------------------------
                                           PT0			.EQU                2
                                           PINT0			.EQU                1
                                           PP0			.EQU                0
                                           _PT0			.EQU                2
                                           _PINT0			.EQU                1
                                           _PP0			.EQU                0
                                           
                                           ;  23H  IP1   Bits-------------------------------------
                                           PADC			.EQU                6
                                           PINT2			.EQU                5
                                           PINT1			.EQU                4
                                           PC1			.EQU                3
                                           PPWM2			.EQU                2
                                           PT1			.EQU                0
                                           _PADC			.EQU                6
                                           _PINT2			.EQU                5
                                           _PINT1			.EQU                4
                                           _PC1			.EQU                3
                                           _PPWM2			.EQU                2
                                           _PT1			.EQU                0
                                           
                                           ;  24H  IP2   Bits-------------------------------------
                                           PT3			.EQU                7
                                           PBCL			.EQU                1
                                           PSSCI			.EQU                0
                                           _PT3			.EQU                7
                                           _PBCL			.EQU                1
                                           _PSSCI			.EQU                0
                                           
                                           ;  25H  TR0   Bits-------------------------------------
                                           TR05			.EQU                5
                                           TR04			.EQU                4
                                           TR03			.EQU                3
                                           TR02			.EQU                2
                                           TR01			.EQU                1
                                           TR00			.EQU                0
                                           _TR05			.EQU                5
                                           _TR04			.EQU                4
                                           _TR03			.EQU                3
                                           _TR02			.EQU                2
                                           _TR01			.EQU                1
                                           _TR00			.EQU                0
                                           
                                           ;  26H  TR2   Bits-------------------------------------
                                           TR23			.EQU                3
                                           TR22			.EQU                2
                                           TR21			.EQU                1
                                           TR20			.EQU                0
                                           _TR23			.EQU                3
                                           _TR22			.EQU                2
                                           _TR21			.EQU                1
                                           _TR20			.EQU                0
                                           
                                           ;  27H  TR1   Bits-------------------------------------
                                           TR17			.EQU                7
                                           TR16			.EQU                6
                                           TR15			.EQU                5
                                           TR14			.EQU                4
                                           TR13			.EQU                3
                                           TR12			.EQU                2
                                           TR11			.EQU                1
                                           TR10			.EQU                0
                                           _TR17			.EQU                7
                                           _TR16			.EQU                6
                                           _TR15			.EQU                5
                                           _TR14			.EQU                4
                                           _TR13			.EQU                3
                                           _TR12			.EQU                2
                                           _TR11			.EQU                1
                                           _TR10			.EQU                0
                                           
                                           ;  28H  OSCSTA   Bits-------------------------------------
                                           OSTS			.EQU                6
                                           HTS			.EQU                5
                                           LTS			.EQU                4
                                           SCF1			.EQU                1
                                           SCF0			.EQU                0
                                           _OSTS			.EQU                6
                                           _HTS			.EQU                5
                                           _LTS			.EQU                4
                                           _SCF1			.EQU                1
                                           _SCF0			.EQU                0
                                           
                                           ;  29H  IP3   Bits-------------------------------------
                                           PT4			.EQU                7
                                           POSCFAIL		.EQU                5
                                           _PT4			.EQU                7
                                           _POSCFAIL		.EQU                5
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VRESEL1			.EQU                7
                                           VRESEL0			.EQU                6
                                           VRECALEN		.EQU                5
                                           VRECKEN			.EQU                4
                                           VREOE			.EQU                3
                                           VREEN			.EQU                1
                                           LPREN			.EQU                0
                                           _VRESEL1		.EQU                7
                                           _VRESEL0		.EQU                6
                                           _VRECALEN		.EQU                5
                                           _VRECKEN		.EQU                4
                                           _VREOE			.EQU                3
                                           _VREEN			.EQU                1
                                           _LPREN			.EQU                0
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VREBG			.EQU                4
                                           _VREBG			.EQU                4
                                           ;  2CH  EIE1   Bits-------------------------------------
                                           ADIE			.EQU                6
                                           INT2IE			.EQU                5
                                           INT1IE			.EQU                4
                                           C1IE			.EQU                3
                                           PWM2IE			.EQU                2
                                           T1IE			.EQU                0
                                           _ADIE			.EQU                6
                                           _INT2IE			.EQU                5
                                           _INT1IE			.EQU                4
                                           _C1IE			.EQU                3
                                           _PWM2IE			.EQU                2
                                           _T1IE			.EQU                0
                                           
                                           ;  2DH  EIE2   Bits-------------------------------------
                                           T3IE			.EQU                7
                                           BCLIE			.EQU                1
                                           SSCIIE			.EQU                0
                                           _T3IE			.EQU                7
                                           _BCLIE			.EQU                1
                                           _SSCIIE			.EQU                0
                                           
                                           ;  2EH  PCTL   Bits-------------------------------------
                                           SLVREN			.EQU                4
                                           IPEN			.EQU                3
                                           SWDTEN			.EQU                2
                                           POR			.EQU                1
                                           LVR			.EQU                0
                                           _SLVREN			.EQU                4
                                           _IPEN			.EQU                3
                                           _SWDTEN			.EQU                2
                                           _POR			.EQU                1
                                           _LVR			.EQU                0
                                           
                                           ;  2FH  OSCCTL   Bits-------------------------------------
                                           CLKOE			.EQU                7
                                           IRCS2			.EQU                6
                                           IRCS1			.EQU                5
                                           IRCS0			.EQU                4
                                           SCS1			.EQU                3
                                           SCS0			.EQU                2
                                           IESO			.EQU                1
                                           FSCM			.EQU                0
                                           _CLKOE			.EQU                7
                                           _IRCS2			.EQU                6
                                           _IRCS1			.EQU                5
                                           _IRCS0			.EQU                4
                                           _SCS1			.EQU                3
                                           _SCS0			.EQU                2
                                           _IESO			.EQU                1
                                           _FSCM			.EQU                0
                                           
                                           ;  31H  ANSEL   Bits-------------------------------------
                                           ANS7			.EQU                7
                                           ANS6			.EQU                6
                                           ANS5			.EQU                5
                                           ANS4			.EQU                4
                                           ANS3			.EQU                3
                                           ANS2			.EQU                2
                                           ANS1			.EQU                1
                                           ANS0			.EQU                0
                                           _ANS7			.EQU                7
                                           _ANS6			.EQU                6
                                           _ANS5			.EQU                5
                                           _ANS4			.EQU                4
                                           _ANS3			.EQU                3
                                           _ANS2			.EQU                2
                                           _ANS1			.EQU                1
                                           _ANS0			.EQU                0
                                           
                                           ;  35H  PUR0   Bits-------------------------------------
                                           PUR05			.EQU                5
                                           PUR04			.EQU                4
                                           PUR02			.EQU                2
                                           PUR01			.EQU                1
                                           PUR00			.EQU                0
                                           _PUR05			.EQU                5
                                           _PUR04			.EQU                4
                                           _PUR02			.EQU                2
                                           _PUR01			.EQU                1
                                           _PUR00			.EQU                0
                                           
                                           ;  36H  IOCL   Bits-------------------------------------
                                           IOCL5			.EQU                5
                                           IOCL4			.EQU                4
                                           IOCL3			.EQU                3
                                           IOCL2			.EQU                2
                                           IOCL1			.EQU                1
                                           IOCL0			.EQU                0
                                           _IOCL5			.EQU                5
                                           _IOCL4			.EQU                4
                                           _IOCL3			.EQU                3
                                           _IOCL2			.EQU                2
                                           _IOCL1			.EQU                1
                                           _IOCL0			.EQU                0
                                           
                                           ;  3FH  ADCCTL1   Bits-------------------------------------
                                           ADCALEN			.EQU                7
                                           ADCS2			.EQU                6
                                           ADCS1			.EQU                5
                                           ADCS0			.EQU                4
                                           VCFG1			.EQU                3
                                           VCFG0			.EQU                2
                                           ADCIM			.EQU                0
                                           _ADCALEN		.EQU                7
                                           _ADCS2			.EQU                6
                                           _ADCS1			.EQU                5
                                           _ADCS0			.EQU                4
                                           _VCFG1			.EQU                3
                                           _VCFG0			.EQU                2
                                           _ADCIM			.EQU                0
                                           
                                           ;  45H  P0LR   Bits-------------------------------------
                                           P0LR5			.EQU                5
                                           P0LR4			.EQU                4
                                           P0LR2			.EQU                2
                                           P0LR1			.EQU                1
                                           P0LR0			.EQU                0
                                           _P0LR5			.EQU                5
                                           _P0LR4			.EQU                4
                                           _P0LR2			.EQU                2
                                           _P0LR1			.EQU                1
                                           _P0LR0			.EQU                0
                                           
                                           ;  46H  P2LR   Bits-------------------------------------
                                           P2LR3			.EQU                3
                                           P2LR2			.EQU                2
                                           P2LR1			.EQU                1
                                           P2LR0			.EQU                0
                                           _P2LR3			.EQU                3
                                           _P2LR2			.EQU                2
                                           _P2LR1			.EQU                1
                                           _P2LR0			.EQU                0
                                           
                                           ;  47H  P1LR   Bits-------------------------------------
                                           P1LR7			.EQU                7
                                           P1LR6			.EQU                6
                                           P1LR5			.EQU                5
                                           P1LR4			.EQU                4
                                           P1LR3			.EQU                3
                                           P1LR2			.EQU                2
                                           P1LR1			.EQU                1
                                           P1LR0			.EQU                0
                                           _P1LR7			.EQU                7
                                           _P1LR6			.EQU                6
                                           _P1LR5			.EQU                5
                                           _P1LR4			.EQU                4
                                           _P1LR3			.EQU                3
                                           _P1LR2			.EQU                2
                                           _P1LR1			.EQU                1
                                           _P1LR0			.EQU                0
                                           
                                           ;  4AH  EIE3   Bits-------------------------------------
                                           T4IE			.EQU                7
                                           OSCFAILIE		.EQU                5
                                           _T4IE			.EQU                7
                                           _OSCFAILIE		.EQU                5
                                           
                                           ;  4BH  EIF3   Bits-------------------------------------
                                           T4IF			.EQU                7
                                           OSCFAILIF		.EQU                5
                                           _T4IF			.EQU                7
                                           _OSCFAILIF		.EQU                5
                                           
                                           ;  4EH  T3CTL   Bits-------------------------------------
                                           T3EN			.EQU                7
                                           T3CKS1			.EQU                6
                                           T3CKS0			.EQU                5
                                           T3CS			.EQU                4
                                           PWMS			.EQU                3
                                           _T3EN			.EQU                7
                                           _T3CKS1			.EQU                6
                                           _T3CKS0			.EQU                5
                                           _T3CS			.EQU                4
                                           _PWMS			.EQU                3
                                           
                                           ;  53H  CTCTL0   Bits-------------------------------------
                                           CTEN			.EQU                7
                                           CTSTART			.EQU                6
                                           T3CLR			.EQU                5
                                           CTCHSEL4		.EQU                4
                                           CTCHSEL3		.EQU                3
                                           CTCHSEL2		.EQU                2
                                           CTCHSEL1		.EQU                1
                                           CTCHSEL0		.EQU                0
                                           _CTEN			.EQU                7
                                           _CTSTART		.EQU                6
                                           _T3CLR			.EQU                5
                                           _CTCHSEL4		.EQU                4
                                           _CTCHSEL3		.EQU                3
                                           _CTCHSEL2		.EQU                2
                                           _CTCHSEL1		.EQU                1
                                           _CTCHSEL0		.EQU                0
                                           
                                           ;  60H  PUR1   Bits-------------------------------------
                                           PUR17			.EQU                7
                                           PUR16			.EQU                6
                                           PUR15			.EQU                5
                                           PUR14			.EQU                4
                                           PUR13			.EQU                3
                                           PUR12			.EQU                2
                                           PUR11			.EQU                1
                                           PUR10			.EQU                0
                                           _PUR17			.EQU                7
                                           _PUR16			.EQU                6
                                           _PUR15			.EQU                5
                                           _PUR14			.EQU                4
                                           _PUR13			.EQU                3
                                           _PUR12			.EQU                2
                                           _PUR11			.EQU                1
                                           _PUR10			.EQU                0
                                           
                                           ;  61H  PUR2   Bits-------------------------------------
                                           PUR23			.EQU                3
                                           PUR22			.EQU                2
                                           PUR21			.EQU                1
                                           PUR20			.EQU                0
                                           _PUR23			.EQU                3
                                           _PUR22			.EQU                2
                                           _PUR21			.EQU                1
                                           _PUR20			.EQU                0
                                           
                                           ;  64H  CTCTL1   Bits-------------------------------------
                                           CTCLKSEL1		.EQU                7
                                           CTCLKSEL0		.EQU                6
                                           PRSGEN			.EQU                5
                                           PRSGM1			.EQU                4
                                           PRSGM0			.EQU                3
                                           PRSGSTA			.EQU                2
                                           VSEL			.EQU                0
                                           _CTCLKSEL1		.EQU                7
                                           _CTCLKSEL0		.EQU                6
                                           _PRSGEN			.EQU                5
                                           _PRSGM1			.EQU                4
                                           _PRSGM0			.EQU                3
                                           _PRSGSTA		.EQU                2
                                           _VSEL			.EQU                0
                                           
                                           ;  67H  INTEDGCTL   Bits-------------------------------------
                                           INT2SE			.EQU                7
                                           INT1SE			.EQU                6
                                           T1CLKEN			.EQU                0
                                           _INT2SE			.EQU                7
                                           _INT1SE			.EQU                6
                                           _T1CLKEN		.EQU                0
                                           
                                           ;  112H  VDAC   Bits-------------------------------------
                                           VDAC3			.EQU                7
                                           VDAC2			.EQU                6
                                           VDAC1			.EQU                5
                                           VDAC0			.EQU                4
                                           _VDAC3			.EQU                7
                                           _VDAC2			.EQU                6
                                           _VDAC1			.EQU                5
                                           _VDAC0			.EQU                4
                                           
                                           ;  113H  VRES   Bits-------------------------------------
                                           VRES3			.EQU                7
                                           VRES2			.EQU                6
                                           VRES1			.EQU                5
                                           VRES0			.EQU                4
                                           _VRES3			.EQU                7
                                           _VRES2			.EQU                6
                                           _VRES1			.EQU                5
                                           _VRES0			.EQU                4
                                           
                                           ;  115H  C1CAL   Bits-------------------------------------
                                           C1DT7			.EQU                7
                                           C1DT6			.EQU                6
                                           C1DT5			.EQU                5
                                           C1DT4			.EQU                4
                                           C1DT3			.EQU                3
                                           C1DT2			.EQU                2
                                           C1DT1			.EQU                1
                                           C1DT0			.EQU                0
                                           _C1DT7			.EQU                7
                                           _C1DT6			.EQU                6
                                           _C1DT5			.EQU                5
                                           _C1DT4			.EQU                4
                                           _C1DT3			.EQU                3
                                           _C1DT2			.EQU                2
                                           _C1DT1			.EQU                1
                                           _C1DT0			.EQU                0
                                           
                                           ;  128H  SSCICTL0   Bits-------------------------------------
                                           SSCIWCFL		.EQU                7
                                           SSCIOV			.EQU                6
                                           SSCIEN			.EQU                5
                                           SSCICKP			.EQU                4
                                           SSCIMOD3		.EQU                3
                                           SSCIMOD2		.EQU                2
                                           SSCIMOD1		.EQU                1
                                           SSCIMOD0		.EQU                0
                                           _SSCIWCFL		.EQU                7
                                           _SSCIOV			.EQU                6
                                           _SSCIEN			.EQU                5
                                           _SSCICKP		.EQU                4
                                           _SSCIMOD3		.EQU                3
                                           _SSCIMOD2		.EQU                2
                                           _SSCIMOD1		.EQU                1
                                           _SSCIMOD0		.EQU                0
                                           
                                           ;  12AH  SSCICTL1   Bits-------------------------------------
                                           SSCICALLEN		.EQU                7
                                           SSCIACKSTA		.EQU                6
                                           SSCIACKDAT		.EQU                5
                                           SSCIACKEN		.EQU                4
                                           SSCIRCEN		.EQU                3
                                           STOPEN			.EQU                2
                                           RESTARTEN		.EQU                1
                                           STARTEN			.EQU                0
                                           _SSCICALLEN		.EQU                7
                                           _SSCIACKSTA		.EQU                6
                                           _SSCIACKDAT		.EQU                5
                                           _SSCIACKEN		.EQU                4
                                           _SSCIRCEN		.EQU                3
                                           _STOPEN			.EQU                2
                                           _RESTARTEN		.EQU                1
                                           _STARTEN		.EQU                0
                                           
                                           ;  12BH  SSCISTA   Bits-------------------------------------
                                           SSCIDA			.EQU                5
                                           SSCISTOP		.EQU                4
                                           SSCISTART		.EQU                3
                                           SSCIRW			.EQU                2
                                           SSCIUA			.EQU                1
                                           SSCIBUF			.EQU                0
                                           _SSCIDA			.EQU                5
                                           _SSCISTOP		.EQU                4
                                           _SSCISTART		.EQU                3
                                           _SSCIRW			.EQU                2
                                           _SSCIUA			.EQU                1
                                           _SSCIBUF		.EQU                0
                                           
                                           ;  12EH  SSCIADD   Bits-------------------------------------
                                           SSCIADD7		.EQU                7
                                           SSCIADD6		.EQU                6
                                           SSCIADD5		.EQU                5
                                           SSCIADD4		.EQU                4
                                           SSCIADD3		.EQU                3
                                           SSCIADD2		.EQU                2
                                           SSCIADD1		.EQU                1
                                           SSCIADD0		.EQU                0
                                           _SSCIADD7		.EQU                7
                                           _SSCIADD6		.EQU                6
                                           _SSCIADD5		.EQU                5
                                           _SSCIADD4		.EQU                4
                                           _SSCIADD3		.EQU                3
                                           _SSCIADD2		.EQU                2
                                           _SSCIADD1		.EQU                1
                                           _SSCIADD0		.EQU                0
                                           
                                           ;  12EH  SSCIMSK   Bits-------------------------------------
                                           SSCIMSK7		.EQU                7
                                           SSCIMSK6		.EQU                6
                                           SSCIMSK5		.EQU                5
                                           SSCIMSK4		.EQU                4
                                           SSCIMSK3		.EQU                3
                                           SSCIMSK2		.EQU                2
                                           SSCIMSK1		.EQU                1
                                           SSCIMSK0		.EQU                0
                                           _SSCIMSK7		.EQU                7
                                           _SSCIMSK6		.EQU                6
                                           _SSCIMSK5		.EQU                5
                                           _SSCIMSK4		.EQU                4
                                           _SSCIMSK3		.EQU                3
                                           _SSCIMSK2		.EQU                2
                                           _SSCIMSK1		.EQU                1
                                           _SSCIMSK0		.EQU                0
                                           
                                           ;  12FH  WDTPS   Bits-------------------------------------
                                           WDTPS3			.EQU                3
                                           WDTPS2			.EQU                2
                                           WDTPS1			.EQU                1
                                           WDTPS0			.EQU                0
                                           _WDTPS3			.EQU                3
                                           _WDTPS2			.EQU                2
                                           _WDTPS1			.EQU                1
                                           _WDTPS0			.EQU                0
                                           
                                           ;  14AH  C1FILTCTL   Bits-------------------------------------
                                           INV1			.EQU                7
                                           WEN1			.EQU                6
                                           FEN1			.EQU                5
                                           F1CNT2			.EQU                2
                                           F1CNT1			.EQU                1
                                           F1CNT0			.EQU                0
                                           _INV1			.EQU                7
                                           _WEN1			.EQU                6
                                           _FEN1			.EQU                5
                                           _F1CNT2			.EQU                2
                                           _F1CNT1			.EQU                1
                                           _F1CNT0			.EQU                0
                                           
                                           ;  14BH  C1FILTPRE   Bits-------------------------------------
                                           FP17			.EQU                7
                                           FP16			.EQU                6
                                           FP15			.EQU                5
                                           FP14			.EQU                4
                                           FP13			.EQU                3
                                           FP12			.EQU                2
                                           FP11			.EQU                1
                                           FP10			.EQU                0
                                           _FP17			.EQU                7
                                           _FP16			.EQU                6
                                           _FP15			.EQU                5
                                           _FP14			.EQU                4
                                           _FP13			.EQU                3
                                           _FP12			.EQU                2
                                           _FP11			.EQU                1
                                           _FP10			.EQU                0
                                           
                                           ;  15BH  CTCTL2   Bits-------------------------------------
                                           CTMODE			.EQU                4
                                           RSEL3			.EQU                3
                                           RSEL2			.EQU                2
                                           RSEL1			.EQU                1
                                           RSEL0			.EQU                0
                                           _CTMODE			.EQU                4
                                           _RSEL3			.EQU                3
                                           _RSEL2			.EQU                2
                                           _RSEL1			.EQU                1
                                           _RSEL0			.EQU                0
                                           
                                           ;  164H  T4CTL   Bits-------------------------------------
                                           T4REN			.EQU                7
                                           HSPEN			.EQU                6
                                           T4CKS1			.EQU                5
                                           T4CKS0			.EQU                4
                                           LSPEN			.EQU                3
                                           T4CS1			.EQU                2
                                           T4CS0			.EQU                1
                                           T4ON			.EQU                0
                                           _T4REN			.EQU                7
                                           _HSPEN			.EQU                6
                                           _T4CKS1			.EQU                5
                                           _T4CKS0			.EQU                4
                                           _LSPEN			.EQU                3
                                           _T4CS1			.EQU                2
                                           _T4CS0			.EQU                1
                                           _T4ON			.EQU                0
                                           ;************************************************************
                                           ;       Header file for the KungFu8 END
                                           ;       KF8TS3514
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           	.extern	_init_mcu
                                           	.extern	__KF8TS35_Get_Ver_cs_General_
                                           	.extern	__KF8TS35_Init_Touch_cs_General_
                                           	.extern	__KF8TS35_Touch_Process_cs_General_
                                           	.extern	__KF8TS35_Touch_TEST_cs_General_
                                           	.extern	__KF8TS35_Lib_Set_General_cs_Parameter
                                           	.extern	__R2PCL
                                           	.extern	_TOUCH_DEBUG_TRS_DEAL
                                           	.extern	_TOUCH_DEBUG_SEND_OUT
                                           	.extern	_delay_ms
                                           	.extern	_delay_us
                                           	.extern	_PSW_bits
                                           	.extern	_P0_bits
                                           	.extern	_P2_bits
                                           	.extern	_P1_bits
                                           	.extern	_PCH_bits
                                           	.extern	_INTCTL_bits
                                           	.extern	_EIF1_bits
                                           	.extern	_EIF2_bits
                                           	.extern	_T1CTL_bits
                                           	.extern	_PWMCTL_bits
                                           	.extern	_BANK_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	_EIE3_bits
                                           	.extern	_EIF3_bits
                                           	.extern	_T3CTL_bits
                                           	.extern	_CTCTL0_bits
                                           	.extern	_PUR1_bits
                                           	.extern	_PUR2_bits
                                           	.extern	_CTCTL1_bits
                                           	.extern	_INTEDGCTL_bits
                                           	.extern	_VDAC_bits
                                           	.extern	_VRES_bits
                                           	.extern	_C1CAL_bits
                                           	.extern	_SSCICTL0_bits
                                           	.extern	_SSCICTL1_bits
                                           	.extern	_SSCISTA_bits
                                           	.extern	_SSCIADD_bits
                                           	.extern	_SSCIMSK_bits
                                           	.extern	_WDTPS_bits
                                           	.extern	_C1FILTCTL_bits
                                           	.extern	_C1FILTPRE_bits
                                           	.extern	_CTCTL2_bits
                                           	.extern	_T4CTL_bits
                                           	.extern	_T0
                                           	.extern	_PCL
                                           	.extern	_PSW
                                           	.extern	_P0
                                           	.extern	_P2
                                           	.extern	_P1
                                           	.extern	_PCH
                                           	.extern	_INTCTL
                                           	.extern	_EIF1
                                           	.extern	_EIF2
                                           	.extern	_T1L
                                           	.extern	_T1H
                                           	.extern	_T1CTL
                                           	.extern	_PWM1L
                                           	.extern	_PWMCTL
                                           	.extern	_PP1
                                           	.extern	_BANK
                                           	.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	_PUR0
                                           	.extern	_IOCL
                                           	.extern	_OSCCAL1
                                           	.extern	_NVMDATAH
                                           	.extern	_NVMDATAL
                                           	.extern	_NVMADDRH
                                           	.extern	_NVMADDRL
                                           	.extern	_NVMCTL0
                                           	.extern	_NVMCTL1
                                           	.extern	_ADCDATA0L
                                           	.extern	_ADCCTL1
                                           	.extern	_P0LR
                                           	.extern	_P2LR
                                           	.extern	_P1LR
                                           	.extern	_EIE3
                                           	.extern	_EIF3
                                           	.extern	_OSCCAL2
                                           	.extern	_OSCCAL3
                                           	.extern	_T3CTL
                                           	.extern	_T3L
                                           	.extern	_CTCTL0
                                           	.extern	_T3H
                                           	.extern	_PUR1
                                           	.extern	_PUR2
                                           	.extern	_CTCTL1
                                           	.extern	_INTEDGCTL
                                           	.extern	_ADCDATA3L
                                           	.extern	_VDAC
                                           	.extern	_VRES
                                           	.extern	_C1CAL
                                           	.extern	_SSCICTL0
                                           	.extern	_SSCICTL1
                                           	.extern	_SSCISTA
                                           	.extern	_SSCIBUFR
                                           	.extern	_SSCIADD
                                           	.extern	_SSCIMSK
                                           	.extern	_WDTPS
                                           	.extern	_C1FILTCTL
                                           	.extern	_C1FILTPRE
                                           	.extern	_VRECAL2
                                           	.extern	_VRECAL3
                                           	.extern	_CTCTL2
                                           	.extern	_T4L
                                           	.extern	_T4H
                                           	.extern	_T4REL
                                           	.extern	_T4REH
                                           	.extern	_T4CTL
                                           	.extern	_RC32KCAL
                                           
                                           	.extern I0R1
                                           	.extern I0R7
                                           	.extern I0PSW
                                           	.extern I0PCH
                                           	.extern I1R1
                                           	.extern I1R7
                                           	.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	__KF8_LIBc_baseline_count_
                                           	.global	__KF8_LIBi_buff_hit_
                                           	.global	__KF8_LIBi_buff_baseline_
                                           	.global	__KF8_LIBc_touch_count_
                                           	.global	__KF8_LIBi_Date_Change_
                                           	.global	__KF8_LIBc_channel_
                                           	.global	__KF8_LIBi_channel_flag_
                                           	.global	_CHS_AMOUNT
                                           	.global	_TCS_AMOUNT
                                           	.global	__KF8_Disturb_Protect_Circle_
                                           	.global	__KF8_DoubleKey_Compages_Limitable_Circle_
                                           	.global	__KF8_Key_Max_Pressed_Limitable_Circle_
                                           	.global	__KF8_BaseLine_Update_Circle_Count_For_UP_
                                           	.global	__KF8_BaseLine_Update_Circle_Count_For_Down_
                                           	.global	__KF8_Define_Disturb_Channels_Amount_
                                           	.global	__KF8_BasicLine_UP_Noise_Threshold_
                                           	.global	__KF8_BasicLine_Down_Noise_Threshold_
                                           	.global	__KF8_Data_Steady_Threshold_Set_
                                           	.global	__KF8_Inside_Reference_Channel_Disturb_Threshold_Set_
                                           	.global	__KF8_TOUCH_CH_EN
                                           	.global	__KF8_Inside_Reference_Channel_Declare_
                                           	.global	__KF8_Config_Finger_Threshold
                                           
                                           ;--------------------------------------------------------
                                           ; global definitions
                                           ;--------------------------------------------------------
                                           UD_kf8ts35_touch_g_cs_0	.udata
                                           __KF8_LIBc_baseline_count_	.res	7
                                           
                                           UD_kf8ts35_touch_g_cs_1	.udata
                                           __KF8_LIBi_buff_hit_	.res	14
                                           
                                           UD_kf8ts35_touch_g_cs_2	.udata
                                           __KF8_LIBi_buff_baseline_	.res	14
                                           
                                           UD_kf8ts35_touch_g_cs_3	.udata
                                           __KF8_LIBc_touch_count_	.res	7
                                           
                                           UD_kf8ts35_touch_g_cs_4	.udata
                                           __KF8_LIBi_Date_Change_	.res	7
                                           
                                           UD_kf8ts35_touch_g_cs_5	.udata
                                           __KF8_LIBc_channel_	.res	1
                                           
                                           UD_kf8ts35_touch_g_cs_6	.udata
                                           __KF8_LIBi_channel_flag_	.res	4
                                           
                                           ;--------------------------------------------------------
                                           ; absolute symbol definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; compiler-defined variables
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; initialized data
                                           ;--------------------------------------------------------
                                           
                                           ID_kf8ts35_touch_g_cs_0	.code
                                           _CHS_AMOUNT
0007d7   b007     RRET	R0, #0x7            	RRET R0, #0x07
                                           
                                           
                                           ID_kf8ts35_touch_g_cs_1	.code
                                           _TCS_AMOUNT
0007d8   b003     RRET	R0, #0x3            	RRET R0, #0x03
                                           
                                           
                                           ID_kf8ts35_touch_g_cs_2	.code
                                           __KF8_Disturb_Protect_Circle_
0007d9   b064     RRET	R0, #0x64           	RRET R0, #0x64
                                           
                                           
                                           ID_kf8ts35_touch_g_cs_3	.code
                                           __KF8_DoubleKey_Compages_Limitable_Circle_
000002   b02c     RRET	R0, #0x2c           	RRET R0, #0x2c
000003   b001     RRET	R0, #0x1            	RRET R0, #0x01
                                           
                                           
                                           ID_kf8ts35_touch_g_cs_4	.code
                                           __KF8_Key_Max_Pressed_Limitable_Circle_
0007d3   b040     RRET	R0, #0x40           	RRET R0, #0x40
0007d4   b01f     RRET	R0, #0x1f           	RRET R0, #0x1f
                                           
                                           
                                           ID_kf8ts35_touch_g_cs_5	.code
                                           __KF8_BaseLine_Update_Circle_Count_For_UP_
0007da   b040     RRET	R0, #0x40           	RRET R0, #0x40
                                           
                                           
                                           ID_kf8ts35_touch_g_cs_6	.code
                                           __KF8_BaseLine_Update_Circle_Count_For_Down_
0007db   b0c0     RRET	R0, #0xc0           	RRET R0, #0xc0
                                           
                                           
                                           ID_kf8ts35_touch_g_cs_7	.code
                                           __KF8_Define_Disturb_Channels_Amount_
0007dc   b003     RRET	R0, #0x3            	RRET R0, #0x03
                                           
                                           
                                           ID_kf8ts35_touch_g_cs_8	.code
                                           __KF8_BasicLine_UP_Noise_Threshold_
0007dd   b0f1     RRET	R0, #0xf1           	RRET R0, #0xf1
                                           
                                           
                                           ID_kf8ts35_touch_g_cs_9	.code
                                           __KF8_BasicLine_Down_Noise_Threshold_
0007de   b00f     RRET	R0, #0xf            	RRET R0, #0x0f
                                           
                                           
                                           ID_kf8ts35_touch_g_cs_10	.code
                                           __KF8_Data_Steady_Threshold_Set_
0007df   b00a     RRET	R0, #0xa            	RRET R0, #0x0a
                                           
                                           
                                           ID_kf8ts35_touch_g_cs_11	.code
                                           __KF8_Inside_Reference_Channel_Disturb_Threshold_Set_
0007e0   b00f     RRET	R0, #0xf            	RRET R0, #0x0f
                                           
                                           
                                           ID_kf8ts35_touch_g_cs_12	.code
                                           __KF8_TOUCH_CH_EN
0007bb   b001     RRET	R0, #0x1            	RRET R0, #0x01
0007bc   b002     RRET	R0, #0x2            	RRET R0, #0x02
0007bd   b003     RRET	R0, #0x3            	RRET R0, #0x03
0007be   b004     RRET	R0, #0x4            	RRET R0, #0x04
0007bf   b005     RRET	R0, #0x5            	RRET R0, #0x05
0007c0   b006     RRET	R0, #0x6            	RRET R0, #0x06
0007c1   b008     RRET	R0, #0x8            	RRET R0, #0x08
                                           
                                           
                                           ID_kf8ts35_touch_g_cs_13	.code
                                           __KF8_Inside_Reference_Channel_Declare_
0007e1   b032     RRET	R0, #0x32           	RRET R0, #0x32
                                           
                                           
                                           ID_kf8ts35_touch_g_cs_14	.code
                                           __KF8_Config_Finger_Threshold
0007c2   b023     RRET	R0, #0x23           	RRET R0, #0x23
0007c3   b023     RRET	R0, #0x23           	RRET R0, #0x23
0007c4   b023     RRET	R0, #0x23           	RRET R0, #0x23
0007c5   b023     RRET	R0, #0x23           	RRET R0, #0x23
0007c6   b023     RRET	R0, #0x23           	RRET R0, #0x23
0007c7   b023     RRET	R0, #0x23           	RRET R0, #0x23
0007c8   b023     RRET	R0, #0x23           	RRET R0, #0x23
                                           
                                           ;--------------------------------------------------------
                                           ; overlayable items in internal ram 
                                           ;--------------------------------------------------------
                                           ;	.udata_ovr
                                           
                                           ;	code size estimation:
                                           ;	    0+    0 =     0 instructions (    0 byte)
                                           
                                           
                                           	.end
                                           ;--------------------------------------------------------
                                           ; File Created by ChiponCC : ChipON  inc.
                                           ; Version 3.0.4#6752 (Feb 19 2019 20:27:19) (MSVC)
                                           ; This file was generated Thu Mar 07 17:41:54 2019
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../main.c"
                                           	.radix dec
                                           	.include "KF8TS3514.inc"
                                           ;************************************************************
                                           ;       Header file for the KungFu8
                                           ;       KF8TS3514
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           T0			.EQU                 0x01
                                           PCL			.EQU                 0x02
                                           PSW			.EQU                 0x03
                                           P0			.EQU                 0x05
                                           P2			.EQU                 0x06
                                           P1			.EQU                 0x07
                                           PCH			.EQU                 0x0A
                                           INTCTL			.EQU                 0x0B
                                           EIF1			.EQU                 0x0C
                                           EIF2			.EQU                 0x0D
                                           T1L			.EQU                 0x0E
                                           T1H			.EQU                 0x0F
                                           T1CTL			.EQU                 0x10
                                           PWM1L			.EQU                 0x13
                                           PWMCTL			.EQU                 0x15
                                           PP1			.EQU                 0x16
                                           BANK			.EQU                 0x17
                                           C1CTL			.EQU                 0x19
                                           VDACS			.EQU                 0x1A
                                           AMPCTL			.EQU                 0x1B
                                           ANSEH			.EQU                 0x1D
                                           ADCDATA0H		.EQU                 0x1E
                                           ADCCTL0			.EQU                 0x1F
                                           AMPDT			.EQU                 0x20
                                           OPTR			.EQU                 0x21
                                           IP0			.EQU                 0x22
                                           IP1			.EQU                 0x23
                                           IP2			.EQU                 0x24
                                           TR0			.EQU                 0x25
                                           TR2			.EQU                 0x26
                                           TR1			.EQU                 0x27
                                           OSCSTA			.EQU                 0x28
                                           IP3			.EQU                 0x29
                                           VRECAL1			.EQU                 0x2A
                                           VRECTL			.EQU                 0x2B
                                           EIE1			.EQU                 0x2C
                                           EIE2			.EQU                 0x2D
                                           PCTL			.EQU                 0x2E
                                           OSCCTL			.EQU                 0x2F
                                           OSCCAL0			.EQU                 0x30
                                           ANSEL			.EQU                 0x31
                                           PP2			.EQU                 0x32
                                           PWM2L			.EQU                 0x33
                                           PUR0			.EQU                 0x35
                                           IOCL			.EQU                 0x36
                                           OSCCAL1			.EQU                 0x37
                                           NVMDATAH		.EQU                 0x38
                                           NVMDATAL		.EQU                 0x39
                                           NVMADDRH		.EQU                 0x3A
                                           NVMADDRL		.EQU                 0x3B
                                           NVMCTL0			.EQU                 0x3C
                                           NVMCTL1			.EQU                 0x3D
                                           ADCDATA0L		.EQU                 0x3E
                                           ADCCTL1			.EQU                 0x3F
                                           P0LR			.EQU                 0x45
                                           P2LR			.EQU                 0x46
                                           P1LR			.EQU                 0x47
                                           EIE3			.EQU                 0x4A
                                           EIF3			.EQU                 0x4B
                                           OSCCAL2			.EQU                 0x4C
                                           OSCCAL3			.EQU                 0x4D
                                           T3CTL			.EQU                 0x4E
                                           T3L			.EQU                 0x4F
                                           CTCTL0			.EQU                 0x53
                                           T3H			.EQU                 0x5F
                                           PUR1			.EQU                 0x60
                                           PUR2			.EQU                 0x61
                                           CTCTL1			.EQU                 0x64
                                           INTEDGCTL		.EQU                 0x67
                                           ADCDATA3L		.EQU                 0x6A
                                           VDAC			.EQU                 0x112
                                           VRES			.EQU                 0x113
                                           C1CAL			.EQU                 0x115
                                           SSCICTL0		.EQU                 0x128
                                           SSCICTL1		.EQU                 0x12A
                                           SSCISTA			.EQU                 0x12B
                                           SSCIBUFR		.EQU                 0x12C
                                           SSCIADD			.EQU                 0x12E
                                           SSCIMSK			.EQU                 0x12E
                                           WDTPS			.EQU                 0x12F
                                           C1FILTCTL		.EQU                 0x14A
                                           C1FILTPRE		.EQU                 0x14B
                                           VRECAL2			.EQU                 0x159
                                           VRECAL3			.EQU                 0x15A
                                           CTCTL2			.EQU                 0x15B
                                           T4L			.EQU                 0x160
                                           T4H			.EQU                 0x161
                                           T4REL			.EQU                 0x162
                                           T4REH			.EQU                 0x163
                                           T4CTL			.EQU                 0x164
                                           RC32KCAL		.EQU                 0x165
                                           
                                           
                                           ;  03H  PSW   Bits-------------------------------------
                                           TO			.EQU                4
                                           PD			.EQU                3
                                           Z			.EQU                2
                                           DC			.EQU                1
                                           CY			.EQU                0
                                           _TO			.EQU                4
                                           _PD			.EQU                3
                                           _Z			.EQU                2
                                           _DC			.EQU                1
                                           _CY			.EQU                0
                                           
                                           ;  05H  P0   Bits-------------------------------------
                                           P05			.EQU                5
                                           P04			.EQU                4
                                           P03			.EQU                3
                                           P02			.EQU                2
                                           P01			.EQU                1
                                           P00			.EQU                0
                                           _P05			.EQU                5
                                           _P04			.EQU                4
                                           _P03			.EQU                3
                                           _P02			.EQU                2
                                           _P01			.EQU                1
                                           _P00			.EQU                0
                                           
                                           ;  06H  P2   Bits-------------------------------------
                                           P23			.EQU                3
                                           P22			.EQU                2
                                           P21			.EQU                1
                                           P20			.EQU                0
                                           _P23			.EQU                3
                                           _P22			.EQU                2
                                           _P21			.EQU                1
                                           _P20			.EQU                0
                                           
                                           ;  07H  P1   Bits-------------------------------------
                                           P17			.EQU                7
                                           P16			.EQU                6
                                           P15			.EQU                5
                                           P14			.EQU                4
                                           P13			.EQU                3
                                           P12			.EQU                2
                                           P11			.EQU                1
                                           P10			.EQU                0
                                           _P17			.EQU                7
                                           _P16			.EQU                6
                                           _P15			.EQU                5
                                           _P14			.EQU                4
                                           _P13			.EQU                3
                                           _P12			.EQU                2
                                           _P11			.EQU                1
                                           _P10			.EQU                0
                                           
                                           ;  0AH  PCH   Bits-------------------------------------
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIE			.EQU                7
                                           PUIE			.EQU                6
                                           T0IE			.EQU                5
                                           INT0IE			.EQU                4
                                           P0IE			.EQU                3
                                           T0IF			.EQU                2
                                           INT0IF			.EQU                1
                                           P0IF			.EQU                0
                                           _AIE			.EQU                7
                                           _PUIE			.EQU                6
                                           _T0IE			.EQU                5
                                           _INT0IE			.EQU                4
                                           _P0IE			.EQU                3
                                           _T0IF			.EQU                2
                                           _INT0IF			.EQU                1
                                           _P0IF			.EQU                0
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIEH			.EQU                7
                                           AIEL			.EQU                6
                                           _AIEH			.EQU                7
                                           _AIEL			.EQU                6
                                           
                                           ;  0CH  EIF1   Bits-------------------------------------
                                           ADIF			.EQU                6
                                           INT2IF			.EQU                5
                                           INT1IF			.EQU                4
                                           C1IF			.EQU                3
                                           PWM2IF			.EQU                2
                                           T1IF			.EQU                0
                                           _ADIF			.EQU                6
                                           _INT2IF			.EQU                5
                                           _INT1IF			.EQU                4
                                           _C1IF			.EQU                3
                                           _PWM2IF			.EQU                2
                                           _T1IF			.EQU                0
                                           
                                           ;  0DH  EIF2   Bits-------------------------------------
                                           T3IF			.EQU                7
                                           BCLIF			.EQU                1
                                           SSCIIF			.EQU                0
                                           _T3IF			.EQU                7
                                           _BCLIF			.EQU                1
                                           _SSCIIF			.EQU                0
                                           
                                           ;  10H  T1CTL   Bits-------------------------------------
                                           T1RLD			.EQU                7
                                           T1GC			.EQU                6
                                           T1CKS1			.EQU                5
                                           T1CKS0			.EQU                4
                                           T1OSCEN			.EQU                3
                                           T1SY			.EQU                2
                                           T1CS			.EQU                1
                                           T1ON			.EQU                0
                                           _T1RLD			.EQU                7
                                           _T1GC			.EQU                6
                                           _T1CKS1			.EQU                5
                                           _T1CKS0			.EQU                4
                                           _T1OSCEN		.EQU                3
                                           _T1SY			.EQU                2
                                           _T1CS			.EQU                1
                                           _T1ON			.EQU                0
                                           
                                           ;  15H  PWMCTL   Bits-------------------------------------
                                           PWM2ON			.EQU                4
                                           PWM1ON			.EQU                0
                                           _PWM2ON			.EQU                4
                                           _PWM1ON			.EQU                0
                                           
                                           ;  17H  BANK   Bits-------------------------------------
                                           PR3			.EQU                3
                                           PR2			.EQU                2
                                           PR1			.EQU                1
                                           PR0			.EQU                0
                                           _PR3			.EQU                3
                                           _PR2			.EQU                2
                                           _PR1			.EQU                1
                                           _PR0			.EQU                0
                                           
                                           ;  19H  C1CTL   Bits-------------------------------------
                                           C1OE			.EQU                7
                                           C1MOD			.EQU                6
                                           C1CALEN			.EQU                3
                                           C1CALSET		.EQU                2
                                           C1OUT			.EQU                1
                                           C1EN			.EQU                0
                                           _C1OE			.EQU                7
                                           _C1MOD			.EQU                6
                                           _C1CALEN		.EQU                3
                                           _C1CALSET		.EQU                2
                                           _C1OUT			.EQU                1
                                           _C1EN			.EQU                0
                                           
                                           ;  1AH  VDACS   Bits-------------------------------------
                                           VCEN			.EQU                6
                                           _VCEN			.EQU                6
                                           
                                           ;  1BH  AMPCTL   Bits-------------------------------------
                                           CALID			.EQU                7
                                           INPS1			.EQU                5
                                           INPS0			.EQU                4
                                           CALIEN			.EQU                1
                                           AMPON			.EQU                0
                                           _CALID			.EQU                7
                                           _INPS1			.EQU                5
                                           _INPS0			.EQU                4
                                           _CALIEN			.EQU                1
                                           _AMPON			.EQU                0
                                           
                                           ;  1DH  ANSEH   Bits-------------------------------------
                                           SSCIPIN			.EQU                7
                                           ANS13			.EQU                5
                                           ANS12			.EQU                4
                                           ANS11			.EQU                3
                                           ANS10			.EQU                2
                                           ANS9			.EQU                1
                                           ANS8			.EQU                0
                                           _SSCIPIN		.EQU                7
                                           _ANS13			.EQU                5
                                           _ANS12			.EQU                4
                                           _ANS11			.EQU                3
                                           _ANS10			.EQU                2
                                           _ANS9			.EQU                1
                                           _ANS8			.EQU                0
                                           
                                           ;  1FH  ADCCTL0   Bits-------------------------------------
                                           ADLR			.EQU                7
                                           CHS3			.EQU                5
                                           CHS2			.EQU                4
                                           CHS1			.EQU                3
                                           CHS0			.EQU                2
                                           START			.EQU                1
                                           ADEN			.EQU                0
                                           _ADLR			.EQU                7
                                           _CHS3			.EQU                5
                                           _CHS2			.EQU                4
                                           _CHS1			.EQU                3
                                           _CHS0			.EQU                2
                                           _START			.EQU                1
                                           _ADEN			.EQU                0
                                           
                                           ;  20H  AMPDT   Bits-------------------------------------
                                           DT7			.EQU                7
                                           DT6			.EQU                6
                                           DT5			.EQU                5
                                           DT4			.EQU                4
                                           DT3			.EQU                3
                                           DT2			.EQU                2
                                           DT1			.EQU                1
                                           DT0			.EQU                0
                                           _DT7			.EQU                7
                                           _DT6			.EQU                6
                                           _DT5			.EQU                5
                                           _DT4			.EQU                4
                                           _DT3			.EQU                3
                                           _DT2			.EQU                2
                                           _DT1			.EQU                1
                                           _DT0			.EQU                0
                                           
                                           ;  21H  OPTR   Bits-------------------------------------
                                           PUPH			.EQU                7
                                           INT0SE			.EQU                6
                                           T0CS			.EQU                5
                                           T0SE			.EQU                4
                                           PSA			.EQU                3
                                           PS2			.EQU                2
                                           PS1			.EQU                1
                                           PS0			.EQU                0
                                           _PUPH			.EQU                7
                                           _INT0SE			.EQU                6
                                           _T0CS			.EQU                5
                                           _T0SE			.EQU                4
                                           _PSA			.EQU                3
                                           _PS2			.EQU                2
                                           _PS1			.EQU                1
                                           _PS0			.EQU                0
                                           
                                           ;  22H  IP0   Bits-------------------------------------
                                           PT0			.EQU                2
                                           PINT0			.EQU                1
                                           PP0			.EQU                0
                                           _PT0			.EQU                2
                                           _PINT0			.EQU                1
                                           _PP0			.EQU                0
                                           
                                           ;  23H  IP1   Bits-------------------------------------
                                           PADC			.EQU                6
                                           PINT2			.EQU                5
                                           PINT1			.EQU                4
                                           PC1			.EQU                3
                                           PPWM2			.EQU                2
                                           PT1			.EQU                0
                                           _PADC			.EQU                6
                                           _PINT2			.EQU                5
                                           _PINT1			.EQU                4
                                           _PC1			.EQU                3
                                           _PPWM2			.EQU                2
                                           _PT1			.EQU                0
                                           
                                           ;  24H  IP2   Bits-------------------------------------
                                           PT3			.EQU                7
                                           PBCL			.EQU                1
                                           PSSCI			.EQU                0
                                           _PT3			.EQU                7
                                           _PBCL			.EQU                1
                                           _PSSCI			.EQU                0
                                           
                                           ;  25H  TR0   Bits-------------------------------------
                                           TR05			.EQU                5
                                           TR04			.EQU                4
                                           TR03			.EQU                3
                                           TR02			.EQU                2
                                           TR01			.EQU                1
                                           TR00			.EQU                0
                                           _TR05			.EQU                5
                                           _TR04			.EQU                4
                                           _TR03			.EQU                3
                                           _TR02			.EQU                2
                                           _TR01			.EQU                1
                                           _TR00			.EQU                0
                                           
                                           ;  26H  TR2   Bits-------------------------------------
                                           TR23			.EQU                3
                                           TR22			.EQU                2
                                           TR21			.EQU                1
                                           TR20			.EQU                0
                                           _TR23			.EQU                3
                                           _TR22			.EQU                2
                                           _TR21			.EQU                1
                                           _TR20			.EQU                0
                                           
                                           ;  27H  TR1   Bits-------------------------------------
                                           TR17			.EQU                7
                                           TR16			.EQU                6
                                           TR15			.EQU                5
                                           TR14			.EQU                4
                                           TR13			.EQU                3
                                           TR12			.EQU                2
                                           TR11			.EQU                1
                                           TR10			.EQU                0
                                           _TR17			.EQU                7
                                           _TR16			.EQU                6
                                           _TR15			.EQU                5
                                           _TR14			.EQU                4
                                           _TR13			.EQU                3
                                           _TR12			.EQU                2
                                           _TR11			.EQU                1
                                           _TR10			.EQU                0
                                           
                                           ;  28H  OSCSTA   Bits-------------------------------------
                                           OSTS			.EQU                6
                                           HTS			.EQU                5
                                           LTS			.EQU                4
                                           SCF1			.EQU                1
                                           SCF0			.EQU                0
                                           _OSTS			.EQU                6
                                           _HTS			.EQU                5
                                           _LTS			.EQU                4
                                           _SCF1			.EQU                1
                                           _SCF0			.EQU                0
                                           
                                           ;  29H  IP3   Bits-------------------------------------
                                           PT4			.EQU                7
                                           POSCFAIL		.EQU                5
                                           _PT4			.EQU                7
                                           _POSCFAIL		.EQU                5
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VRESEL1			.EQU                7
                                           VRESEL0			.EQU                6
                                           VRECALEN		.EQU                5
                                           VRECKEN			.EQU                4
                                           VREOE			.EQU                3
                                           VREEN			.EQU                1
                                           LPREN			.EQU                0
                                           _VRESEL1		.EQU                7
                                           _VRESEL0		.EQU                6
                                           _VRECALEN		.EQU                5
                                           _VRECKEN		.EQU                4
                                           _VREOE			.EQU                3
                                           _VREEN			.EQU                1
                                           _LPREN			.EQU                0
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VREBG			.EQU                4
                                           _VREBG			.EQU                4
                                           ;  2CH  EIE1   Bits-------------------------------------
                                           ADIE			.EQU                6
                                           INT2IE			.EQU                5
                                           INT1IE			.EQU                4
                                           C1IE			.EQU                3
                                           PWM2IE			.EQU                2
                                           T1IE			.EQU                0
                                           _ADIE			.EQU                6
                                           _INT2IE			.EQU                5
                                           _INT1IE			.EQU                4
                                           _C1IE			.EQU                3
                                           _PWM2IE			.EQU                2
                                           _T1IE			.EQU                0
                                           
                                           ;  2DH  EIE2   Bits-------------------------------------
                                           T3IE			.EQU                7
                                           BCLIE			.EQU                1
                                           SSCIIE			.EQU                0
                                           _T3IE			.EQU                7
                                           _BCLIE			.EQU                1
                                           _SSCIIE			.EQU                0
                                           
                                           ;  2EH  PCTL   Bits-------------------------------------
                                           SLVREN			.EQU                4
                                           IPEN			.EQU                3
                                           SWDTEN			.EQU                2
                                           POR			.EQU                1
                                           LVR			.EQU                0
                                           _SLVREN			.EQU                4
                                           _IPEN			.EQU                3
                                           _SWDTEN			.EQU                2
                                           _POR			.EQU                1
                                           _LVR			.EQU                0
                                           
                                           ;  2FH  OSCCTL   Bits-------------------------------------
                                           CLKOE			.EQU                7
                                           IRCS2			.EQU                6
                                           IRCS1			.EQU                5
                                           IRCS0			.EQU                4
                                           SCS1			.EQU                3
                                           SCS0			.EQU                2
                                           IESO			.EQU                1
                                           FSCM			.EQU                0
                                           _CLKOE			.EQU                7
                                           _IRCS2			.EQU                6
                                           _IRCS1			.EQU                5
                                           _IRCS0			.EQU                4
                                           _SCS1			.EQU                3
                                           _SCS0			.EQU                2
                                           _IESO			.EQU                1
                                           _FSCM			.EQU                0
                                           
                                           ;  31H  ANSEL   Bits-------------------------------------
                                           ANS7			.EQU                7
                                           ANS6			.EQU                6
                                           ANS5			.EQU                5
                                           ANS4			.EQU                4
                                           ANS3			.EQU                3
                                           ANS2			.EQU                2
                                           ANS1			.EQU                1
                                           ANS0			.EQU                0
                                           _ANS7			.EQU                7
                                           _ANS6			.EQU                6
                                           _ANS5			.EQU                5
                                           _ANS4			.EQU                4
                                           _ANS3			.EQU                3
                                           _ANS2			.EQU                2
                                           _ANS1			.EQU                1
                                           _ANS0			.EQU                0
                                           
                                           ;  35H  PUR0   Bits-------------------------------------
                                           PUR05			.EQU                5
                                           PUR04			.EQU                4
                                           PUR02			.EQU                2
                                           PUR01			.EQU                1
                                           PUR00			.EQU                0
                                           _PUR05			.EQU                5
                                           _PUR04			.EQU                4
                                           _PUR02			.EQU                2
                                           _PUR01			.EQU                1
                                           _PUR00			.EQU                0
                                           
                                           ;  36H  IOCL   Bits-------------------------------------
                                           IOCL5			.EQU                5
                                           IOCL4			.EQU                4
                                           IOCL3			.EQU                3
                                           IOCL2			.EQU                2
                                           IOCL1			.EQU                1
                                           IOCL0			.EQU                0
                                           _IOCL5			.EQU                5
                                           _IOCL4			.EQU                4
                                           _IOCL3			.EQU                3
                                           _IOCL2			.EQU                2
                                           _IOCL1			.EQU                1
                                           _IOCL0			.EQU                0
                                           
                                           ;  3FH  ADCCTL1   Bits-------------------------------------
                                           ADCALEN			.EQU                7
                                           ADCS2			.EQU                6
                                           ADCS1			.EQU                5
                                           ADCS0			.EQU                4
                                           VCFG1			.EQU                3
                                           VCFG0			.EQU                2
                                           ADCIM			.EQU                0
                                           _ADCALEN		.EQU                7
                                           _ADCS2			.EQU                6
                                           _ADCS1			.EQU                5
                                           _ADCS0			.EQU                4
                                           _VCFG1			.EQU                3
                                           _VCFG0			.EQU                2
                                           _ADCIM			.EQU                0
                                           
                                           ;  45H  P0LR   Bits-------------------------------------
                                           P0LR5			.EQU                5
                                           P0LR4			.EQU                4
                                           P0LR2			.EQU                2
                                           P0LR1			.EQU                1
                                           P0LR0			.EQU                0
                                           _P0LR5			.EQU                5
                                           _P0LR4			.EQU                4
                                           _P0LR2			.EQU                2
                                           _P0LR1			.EQU                1
                                           _P0LR0			.EQU                0
                                           
                                           ;  46H  P2LR   Bits-------------------------------------
                                           P2LR3			.EQU                3
                                           P2LR2			.EQU                2
                                           P2LR1			.EQU                1
                                           P2LR0			.EQU                0
                                           _P2LR3			.EQU                3
                                           _P2LR2			.EQU                2
                                           _P2LR1			.EQU                1
                                           _P2LR0			.EQU                0
                                           
                                           ;  47H  P1LR   Bits-------------------------------------
                                           P1LR7			.EQU                7
                                           P1LR6			.EQU                6
                                           P1LR5			.EQU                5
                                           P1LR4			.EQU                4
                                           P1LR3			.EQU                3
                                           P1LR2			.EQU                2
                                           P1LR1			.EQU                1
                                           P1LR0			.EQU                0
                                           _P1LR7			.EQU                7
                                           _P1LR6			.EQU                6
                                           _P1LR5			.EQU                5
                                           _P1LR4			.EQU                4
                                           _P1LR3			.EQU                3
                                           _P1LR2			.EQU                2
                                           _P1LR1			.EQU                1
                                           _P1LR0			.EQU                0
                                           
                                           ;  4AH  EIE3   Bits-------------------------------------
                                           T4IE			.EQU                7
                                           OSCFAILIE		.EQU                5
                                           _T4IE			.EQU                7
                                           _OSCFAILIE		.EQU                5
                                           
                                           ;  4BH  EIF3   Bits-------------------------------------
                                           T4IF			.EQU                7
                                           OSCFAILIF		.EQU                5
                                           _T4IF			.EQU                7
                                           _OSCFAILIF		.EQU                5
                                           
                                           ;  4EH  T3CTL   Bits-------------------------------------
                                           T3EN			.EQU                7
                                           T3CKS1			.EQU                6
                                           T3CKS0			.EQU                5
                                           T3CS			.EQU                4
                                           PWMS			.EQU                3
                                           _T3EN			.EQU                7
                                           _T3CKS1			.EQU                6
                                           _T3CKS0			.EQU                5
                                           _T3CS			.EQU                4
                                           _PWMS			.EQU                3
                                           
                                           ;  53H  CTCTL0   Bits-------------------------------------
                                           CTEN			.EQU                7
                                           CTSTART			.EQU                6
                                           T3CLR			.EQU                5
                                           CTCHSEL4		.EQU                4
                                           CTCHSEL3		.EQU                3
                                           CTCHSEL2		.EQU                2
                                           CTCHSEL1		.EQU                1
                                           CTCHSEL0		.EQU                0
                                           _CTEN			.EQU                7
                                           _CTSTART		.EQU                6
                                           _T3CLR			.EQU                5
                                           _CTCHSEL4		.EQU                4
                                           _CTCHSEL3		.EQU                3
                                           _CTCHSEL2		.EQU                2
                                           _CTCHSEL1		.EQU                1
                                           _CTCHSEL0		.EQU                0
                                           
                                           ;  60H  PUR1   Bits-------------------------------------
                                           PUR17			.EQU                7
                                           PUR16			.EQU                6
                                           PUR15			.EQU                5
                                           PUR14			.EQU                4
                                           PUR13			.EQU                3
                                           PUR12			.EQU                2
                                           PUR11			.EQU                1
                                           PUR10			.EQU                0
                                           _PUR17			.EQU                7
                                           _PUR16			.EQU                6
                                           _PUR15			.EQU                5
                                           _PUR14			.EQU                4
                                           _PUR13			.EQU                3
                                           _PUR12			.EQU                2
                                           _PUR11			.EQU                1
                                           _PUR10			.EQU                0
                                           
                                           ;  61H  PUR2   Bits-------------------------------------
                                           PUR23			.EQU                3
                                           PUR22			.EQU                2
                                           PUR21			.EQU                1
                                           PUR20			.EQU                0
                                           _PUR23			.EQU                3
                                           _PUR22			.EQU                2
                                           _PUR21			.EQU                1
                                           _PUR20			.EQU                0
                                           
                                           ;  64H  CTCTL1   Bits-------------------------------------
                                           CTCLKSEL1		.EQU                7
                                           CTCLKSEL0		.EQU                6
                                           PRSGEN			.EQU                5
                                           PRSGM1			.EQU                4
                                           PRSGM0			.EQU                3
                                           PRSGSTA			.EQU                2
                                           VSEL			.EQU                0
                                           _CTCLKSEL1		.EQU                7
                                           _CTCLKSEL0		.EQU                6
                                           _PRSGEN			.EQU                5
                                           _PRSGM1			.EQU                4
                                           _PRSGM0			.EQU                3
                                           _PRSGSTA		.EQU                2
                                           _VSEL			.EQU                0
                                           
                                           ;  67H  INTEDGCTL   Bits-------------------------------------
                                           INT2SE			.EQU                7
                                           INT1SE			.EQU                6
                                           T1CLKEN			.EQU                0
                                           _INT2SE			.EQU                7
                                           _INT1SE			.EQU                6
                                           _T1CLKEN		.EQU                0
                                           
                                           ;  112H  VDAC   Bits-------------------------------------
                                           VDAC3			.EQU                7
                                           VDAC2			.EQU                6
                                           VDAC1			.EQU                5
                                           VDAC0			.EQU                4
                                           _VDAC3			.EQU                7
                                           _VDAC2			.EQU                6
                                           _VDAC1			.EQU                5
                                           _VDAC0			.EQU                4
                                           
                                           ;  113H  VRES   Bits-------------------------------------
                                           VRES3			.EQU                7
                                           VRES2			.EQU                6
                                           VRES1			.EQU                5
                                           VRES0			.EQU                4
                                           _VRES3			.EQU                7
                                           _VRES2			.EQU                6
                                           _VRES1			.EQU                5
                                           _VRES0			.EQU                4
                                           
                                           ;  115H  C1CAL   Bits-------------------------------------
                                           C1DT7			.EQU                7
                                           C1DT6			.EQU                6
                                           C1DT5			.EQU                5
                                           C1DT4			.EQU                4
                                           C1DT3			.EQU                3
                                           C1DT2			.EQU                2
                                           C1DT1			.EQU                1
                                           C1DT0			.EQU                0
                                           _C1DT7			.EQU                7
                                           _C1DT6			.EQU                6
                                           _C1DT5			.EQU                5
                                           _C1DT4			.EQU                4
                                           _C1DT3			.EQU                3
                                           _C1DT2			.EQU                2
                                           _C1DT1			.EQU                1
                                           _C1DT0			.EQU                0
                                           
                                           ;  128H  SSCICTL0   Bits-------------------------------------
                                           SSCIWCFL		.EQU                7
                                           SSCIOV			.EQU                6
                                           SSCIEN			.EQU                5
                                           SSCICKP			.EQU                4
                                           SSCIMOD3		.EQU                3
                                           SSCIMOD2		.EQU                2
                                           SSCIMOD1		.EQU                1
                                           SSCIMOD0		.EQU                0
                                           _SSCIWCFL		.EQU                7
                                           _SSCIOV			.EQU                6
                                           _SSCIEN			.EQU                5
                                           _SSCICKP		.EQU                4
                                           _SSCIMOD3		.EQU                3
                                           _SSCIMOD2		.EQU                2
                                           _SSCIMOD1		.EQU                1
                                           _SSCIMOD0		.EQU                0
                                           
                                           ;  12AH  SSCICTL1   Bits-------------------------------------
                                           SSCICALLEN		.EQU                7
                                           SSCIACKSTA		.EQU                6
                                           SSCIACKDAT		.EQU                5
                                           SSCIACKEN		.EQU                4
                                           SSCIRCEN		.EQU                3
                                           STOPEN			.EQU                2
                                           RESTARTEN		.EQU                1
                                           STARTEN			.EQU                0
                                           _SSCICALLEN		.EQU                7
                                           _SSCIACKSTA		.EQU                6
                                           _SSCIACKDAT		.EQU                5
                                           _SSCIACKEN		.EQU                4
                                           _SSCIRCEN		.EQU                3
                                           _STOPEN			.EQU                2
                                           _RESTARTEN		.EQU                1
                                           _STARTEN		.EQU                0
                                           
                                           ;  12BH  SSCISTA   Bits-------------------------------------
                                           SSCIDA			.EQU                5
                                           SSCISTOP		.EQU                4
                                           SSCISTART		.EQU                3
                                           SSCIRW			.EQU                2
                                           SSCIUA			.EQU                1
                                           SSCIBUF			.EQU                0
                                           _SSCIDA			.EQU                5
                                           _SSCISTOP		.EQU                4
                                           _SSCISTART		.EQU                3
                                           _SSCIRW			.EQU                2
                                           _SSCIUA			.EQU                1
                                           _SSCIBUF		.EQU                0
                                           
                                           ;  12EH  SSCIADD   Bits-------------------------------------
                                           SSCIADD7		.EQU                7
                                           SSCIADD6		.EQU                6
                                           SSCIADD5		.EQU                5
                                           SSCIADD4		.EQU                4
                                           SSCIADD3		.EQU                3
                                           SSCIADD2		.EQU                2
                                           SSCIADD1		.EQU                1
                                           SSCIADD0		.EQU                0
                                           _SSCIADD7		.EQU                7
                                           _SSCIADD6		.EQU                6
                                           _SSCIADD5		.EQU                5
                                           _SSCIADD4		.EQU                4
                                           _SSCIADD3		.EQU                3
                                           _SSCIADD2		.EQU                2
                                           _SSCIADD1		.EQU                1
                                           _SSCIADD0		.EQU                0
                                           
                                           ;  12EH  SSCIMSK   Bits-------------------------------------
                                           SSCIMSK7		.EQU                7
                                           SSCIMSK6		.EQU                6
                                           SSCIMSK5		.EQU                5
                                           SSCIMSK4		.EQU                4
                                           SSCIMSK3		.EQU                3
                                           SSCIMSK2		.EQU                2
                                           SSCIMSK1		.EQU                1
                                           SSCIMSK0		.EQU                0
                                           _SSCIMSK7		.EQU                7
                                           _SSCIMSK6		.EQU                6
                                           _SSCIMSK5		.EQU                5
                                           _SSCIMSK4		.EQU                4
                                           _SSCIMSK3		.EQU                3
                                           _SSCIMSK2		.EQU                2
                                           _SSCIMSK1		.EQU                1
                                           _SSCIMSK0		.EQU                0
                                           
                                           ;  12FH  WDTPS   Bits-------------------------------------
                                           WDTPS3			.EQU                3
                                           WDTPS2			.EQU                2
                                           WDTPS1			.EQU                1
                                           WDTPS0			.EQU                0
                                           _WDTPS3			.EQU                3
                                           _WDTPS2			.EQU                2
                                           _WDTPS1			.EQU                1
                                           _WDTPS0			.EQU                0
                                           
                                           ;  14AH  C1FILTCTL   Bits-------------------------------------
                                           INV1			.EQU                7
                                           WEN1			.EQU                6
                                           FEN1			.EQU                5
                                           F1CNT2			.EQU                2
                                           F1CNT1			.EQU                1
                                           F1CNT0			.EQU                0
                                           _INV1			.EQU                7
                                           _WEN1			.EQU                6
                                           _FEN1			.EQU                5
                                           _F1CNT2			.EQU                2
                                           _F1CNT1			.EQU                1
                                           _F1CNT0			.EQU                0
                                           
                                           ;  14BH  C1FILTPRE   Bits-------------------------------------
                                           FP17			.EQU                7
                                           FP16			.EQU                6
                                           FP15			.EQU                5
                                           FP14			.EQU                4
                                           FP13			.EQU                3
                                           FP12			.EQU                2
                                           FP11			.EQU                1
                                           FP10			.EQU                0
                                           _FP17			.EQU                7
                                           _FP16			.EQU                6
                                           _FP15			.EQU                5
                                           _FP14			.EQU                4
                                           _FP13			.EQU                3
                                           _FP12			.EQU                2
                                           _FP11			.EQU                1
                                           _FP10			.EQU                0
                                           
                                           ;  15BH  CTCTL2   Bits-------------------------------------
                                           CTMODE			.EQU                4
                                           RSEL3			.EQU                3
                                           RSEL2			.EQU                2
                                           RSEL1			.EQU                1
                                           RSEL0			.EQU                0
                                           _CTMODE			.EQU                4
                                           _RSEL3			.EQU                3
                                           _RSEL2			.EQU                2
                                           _RSEL1			.EQU                1
                                           _RSEL0			.EQU                0
                                           
                                           ;  164H  T4CTL   Bits-------------------------------------
                                           T4REN			.EQU                7
                                           HSPEN			.EQU                6
                                           T4CKS1			.EQU                5
                                           T4CKS0			.EQU                4
                                           LSPEN			.EQU                3
                                           T4CS1			.EQU                2
                                           T4CS0			.EQU                1
                                           T4ON			.EQU                0
                                           _T4REN			.EQU                7
                                           _HSPEN			.EQU                6
                                           _T4CKS1			.EQU                5
                                           _T4CKS0			.EQU                4
                                           _LSPEN			.EQU                3
                                           _T4CS1			.EQU                2
                                           _T4CS0			.EQU                1
                                           _T4ON			.EQU                0
                                           ;************************************************************
                                           ;       Header file for the KungFu8 END
                                           ;       KF8TS3514
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           	.extern	_init_mcu
                                           	.extern	__KF8TS35_Get_Ver_cs_General_
                                           	.extern	__KF8TS35_Init_Touch_cs_General_
                                           	.extern	__KF8TS35_Touch_Process_cs_General_
                                           	.extern	__KF8TS35_Touch_TEST_cs_General_
                                           	.extern	__KF8TS35_Lib_Set_General_cs_Parameter
                                           	.extern	__R2PCL
                                           	.extern	_TOUCH_DEBUG_TRS_DEAL
                                           	.extern	_TOUCH_DEBUG_SEND_OUT
                                           	.extern	_PSW_bits
                                           	.extern	_P0_bits
                                           	.extern	_P2_bits
                                           	.extern	_P1_bits
                                           	.extern	_PCH_bits
                                           	.extern	_INTCTL_bits
                                           	.extern	_EIF1_bits
                                           	.extern	_EIF2_bits
                                           	.extern	_T1CTL_bits
                                           	.extern	_PWMCTL_bits
                                           	.extern	_BANK_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	_EIE3_bits
                                           	.extern	_EIF3_bits
                                           	.extern	_T3CTL_bits
                                           	.extern	_CTCTL0_bits
                                           	.extern	_PUR1_bits
                                           	.extern	_PUR2_bits
                                           	.extern	_CTCTL1_bits
                                           	.extern	_INTEDGCTL_bits
                                           	.extern	_VDAC_bits
                                           	.extern	_VRES_bits
                                           	.extern	_C1CAL_bits
                                           	.extern	_SSCICTL0_bits
                                           	.extern	_SSCICTL1_bits
                                           	.extern	_SSCISTA_bits
                                           	.extern	_SSCIADD_bits
                                           	.extern	_SSCIMSK_bits
                                           	.extern	_WDTPS_bits
                                           	.extern	_C1FILTCTL_bits
                                           	.extern	_C1FILTPRE_bits
                                           	.extern	_CTCTL2_bits
                                           	.extern	_T4CTL_bits
                                           	.extern	__KF8_LIBi_channel_flag_
                                           	.extern	__KF8_LIBc_channel_
                                           	.extern	__KF8_LIBi_Date_Change_
                                           	.extern	__KF8_LIBc_baseline_count_
                                           	.extern	__KF8_LIBi_buff_hit_
                                           	.extern	__KF8_LIBi_buff_baseline_
                                           	.extern	__KF8_LIBc_touch_count_
                                           	.extern	_CHS_AMOUNT
                                           	.extern	_TCS_AMOUNT
                                           	.extern	__KF8_Disturb_Protect_Circle_
                                           	.extern	__KF8_DoubleKey_Compages_Limitable_Circle_
                                           	.extern	__KF8_Key_Max_Pressed_Limitable_Circle_
                                           	.extern	__KF8_BaseLine_Update_Circle_Count_For_UP_
                                           	.extern	__KF8_BaseLine_Update_Circle_Count_For_Down_
                                           	.extern	__KF8_Define_Disturb_Channels_Amount_
                                           	.extern	__KF8_BasicLine_UP_Noise_Threshold_
                                           	.extern	__KF8_BasicLine_Down_Noise_Threshold_
                                           	.extern	__KF8_Data_Steady_Threshold_Set_
                                           	.extern	__KF8_Inside_Reference_Channel_Disturb_Threshold_Set_
                                           	.extern	__KF8_Inside_Reference_Channel_Declare_
                                           	.extern	__KF8_Config_Finger_Threshold
                                           	.extern	__KF8_TOUCH_CH_EN
                                           	.extern	_T0
                                           	.extern	_PCL
                                           	.extern	_PSW
                                           	.extern	_P0
                                           	.extern	_P2
                                           	.extern	_P1
                                           	.extern	_PCH
                                           	.extern	_INTCTL
                                           	.extern	_EIF1
                                           	.extern	_EIF2
                                           	.extern	_T1L
                                           	.extern	_T1H
                                           	.extern	_T1CTL
                                           	.extern	_PWM1L
                                           	.extern	_PWMCTL
                                           	.extern	_PP1
                                           	.extern	_BANK
                                           	.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	_PUR0
                                           	.extern	_IOCL
                                           	.extern	_OSCCAL1
                                           	.extern	_NVMDATAH
                                           	.extern	_NVMDATAL
                                           	.extern	_NVMADDRH
                                           	.extern	_NVMADDRL
                                           	.extern	_NVMCTL0
                                           	.extern	_NVMCTL1
                                           	.extern	_ADCDATA0L
                                           	.extern	_ADCCTL1
                                           	.extern	_P0LR
                                           	.extern	_P2LR
                                           	.extern	_P1LR
                                           	.extern	_EIE3
                                           	.extern	_EIF3
                                           	.extern	_OSCCAL2
                                           	.extern	_OSCCAL3
                                           	.extern	_T3CTL
                                           	.extern	_T3L
                                           	.extern	_CTCTL0
                                           	.extern	_T3H
                                           	.extern	_PUR1
                                           	.extern	_PUR2
                                           	.extern	_CTCTL1
                                           	.extern	_INTEDGCTL
                                           	.extern	_ADCDATA3L
                                           	.extern	_VDAC
                                           	.extern	_VRES
                                           	.extern	_C1CAL
                                           	.extern	_SSCICTL0
                                           	.extern	_SSCICTL1
                                           	.extern	_SSCISTA
                                           	.extern	_SSCIBUFR
                                           	.extern	_SSCIADD
                                           	.extern	_SSCIMSK
                                           	.extern	_WDTPS
                                           	.extern	_C1FILTCTL
                                           	.extern	_C1FILTPRE
                                           	.extern	_VRECAL2
                                           	.extern	_VRECAL3
                                           	.extern	_CTCTL2
                                           	.extern	_T4L
                                           	.extern	_T4H
                                           	.extern	_T4REL
                                           	.extern	_T4REH
                                           	.extern	_T4CTL
                                           	.extern	_RC32KCAL
                                           	.extern	_startup
                                           	.extern	__gsinit_startup
                                           ;--------------------------------------------------------
                                           ; global declarations
                                           ;--------------------------------------------------------
                                           	.global	_delay_us
                                           	.global	_delay_ms
                                           	.global	_Touch_Key_Deal_Fun
                                           	.global	_int_fun0
                                           	.global	_int_fun1
                                           	.global	_main
                                           	.global	_temp
                                           	.global	_kf8_touch_flag
                                           	.global	_Touch_Watch
                                           	.global	_Key_Code
                                           
                                           	.global I0R1
                                           	.global I0R7
                                           	.global I0PSW
                                           	.global I0PCH
                                           	.global I1R1
                                           	.global I1R7
                                           	.global I1PSW
                                           	.global I1PCH
                                           	.global STK11
                                           	.global STK10
                                           	.global STK09
                                           	.global STK08
                                           	.global STK07
                                           	.global STK06
                                           	.global STK05
                                           	.global STK04
                                           	.global STK03
                                           	.global STK02
                                           	.global STK01
                                           	.global STK00
                                           
                                           sharebank .udata
                                           I0R1		.res 1
                                           I0R7		.res 1
                                           I0PSW		.res 1
                                           I0PCH		.res 1
                                           I1R1		.res 1
                                           I1R7		.res 1
                                           I1PSW		.res 1
                                           I1PCH		.res 1
                                           STK11	.res 1
                                           	.type STK11, 108
                                           STK10	.res 1
                                           	.type STK10, 108
                                           STK09	.res 1
                                           	.type STK09, 108
                                           STK08	.res 1
                                           	.type STK08, 108
                                           STK07	.res 1
                                           	.type STK07, 108
                                           STK06	.res 1
                                           	.type STK06, 108
                                           STK05	.res 1
                                           	.type STK05, 108
                                           STK04	.res 1
                                           	.type STK04, 108
                                           STK03	.res 1
                                           	.type STK03, 108
                                           STK02	.res 1
                                           	.type STK02, 108
                                           STK01	.res 1
                                           	.type STK01, 108
                                           STK00	.res 1
                                           	.type STK00, 108
                                           
                                           ;--------------------------------------------------------
                                           ; global definitions
                                           ;--------------------------------------------------------
                                           UD_main_0	.udata
                                           _temp	.res	1
                                           
                                           UD_main_1	.udata
                                           _kf8_touch_flag	.res	1
                                           
                                           UD_main_2	.udata
                                           _Touch_Watch	.res	2
                                           
                                           UD_main_3	.udata
                                           _Key_Code	.res	1
                                           
                                           ;--------------------------------------------------------
                                           ; absolute symbol definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; compiler-defined variables
                                           ;--------------------------------------------------------
                                           UDL_main_0	.udata
                                           r0x100B	.res	1
                                           UDL_main_1	.udata
                                           r0x100A	.res	1
                                           UDL_main_2	.udata
                                           r0x100C	.res	1
                                           UDL_main_3	.udata
                                           r0x100D	.res	1
                                           UDL_main_4	.udata
                                           r0x100E	.res	1
                                           UDL_main_5	.udata
                                           r0x100F	.res	1
                                           UDL_main_6	.udata
                                           r0x1015	.res	1
                                           UDL_main_7	.udata
                                           r0x1014	.res	1
                                           UDL_main_8	.udata
                                           r0x1016	.res	1
                                           UDL_main_9	.udata
                                           r0x1017	.res	1
                                           UDL_main_10	.udata
                                           r0x1010	.res	1
                                           UDL_main_11	.udata
                                           r0x1011	.res	1
                                           UDL_main_12	.udata
                                           r0x1012	.res	1
                                           ;--------------------------------------------------------
                                           ; initialized data
                                           ;--------------------------------------------------------
                                           LDS_00000	.idata
                                           _Touch_Key_Deal_Fun_Key_Code_Vaule_Old_1_1
                                           	.db 0x34, 0x12
                                           
                                           ;--------------------------------------------------------
                                           ; overlayable items in internal ram 
                                           ;--------------------------------------------------------
                                           ;	.udata_ovr
                                           ;--------------------------------------------------------
                                           ; reset vector 
                                           ;--------------------------------------------------------
                                           STARTUP	.code 0x0000
000000   0000     NOP                      	NOP
                                           	PAGESEL	init_imp
000001   c7cd     JMP	#0x7cd               	JMP		init_imp
                                           
                                           	.global	init_imp
                                           INIT_IMP	.code
                                           init_imp
                                           	PAGESEL	_startup
0007cd   d747     CALL	#0x747              	CALL	_startup
                                           	PAGESEL	__gsinit_startup
0007ce   d7c9     CALL	#0x7c9              	CALL	__gsinit_startup
                                           	PAGESEL	_main
0007cf   c6b2     JMP	#0x6b2               	JMP		_main
                                           ;--------------------------------------------------------
                                           ; interrupt and initialization code
                                           ;--------------------------------------------------------
                                           interrupt_0x04	.code	0x4
000004   f8c2     MOV	R2, R0               	MOV		R2,R0
000005   5617     MOV	R3, 0x17             	MOV		R3,BANK
000006   5003     MOV	R0, 0x3              	MOV		R0,PSW
000007   e101     MOVB	#0x01               	BANKSEL	I0PSW
000008   5182     MOV	0x82, R0             	MOV		I0PSW,R0
000009   500a     MOV	R0, 0xa              	MOV		R0,PCH
00000a   e101     MOVB	#0x01               	BANKSEL	I0PCH
00000b   5183     MOV	0x83, R0             	MOV		I0PCH,R0
00000c   5380     MOV	0x80, R1             	MOV		I0R1,R1
00000d   5f81     MOV	0x81, R7             	MOV		I0R7,R7
                                           	PAGESEL	interrupt_service_routine_0x04
00000e   c780     JMP	#0x780               	JMP		interrupt_service_routine_0x04
                                           
                                           
                                           
                                           func._int_fun0	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = I
                                           ;***
                                           ;entry:  _int_fun0	;Function start
                                           ; 0 exit points
                                           ;; Starting PostCode block
                                           ;	::->op : LABEL
                                           ;	::->op : FUNCTION
                                           _int_fun0	;Function start
                                           ; 0 exit points
                                           ;	::->op : GET_VALUE_AT_ADDRESS
                                           ; R3 resprent for wsave,R4 resprent for ssave, R5 resprent for psave
                                           interrupt_service_routine_0x04
                                           ;	.line	179; "../main.c"	if(T3IF)
000780   e100     MOVB	#0x00               	BANKSEL	_EIF2_bits
000781   7f0d     JB	0xd, 7                	JB	_EIF2_bits, 7
000782   c78b     JMP	#0x78b               	JMP	_00062_DS_
                                           ;	::->op : =
                                           ;	.line	181; "../main.c"	T4CTL=0x00;	//Èç¹ûÊ¹ÓÃÁËT4µÄÍ¬²½¼ÆÊý¹¦ÄÜ£¬¼ÆÊ±ÔÝÍ£¼ÆÊý£¬µÈ´ýÊýÖµ¶Á³ö
000783   e101     MOVB	#0x01               	BANKSEL	_T4CTL
000784   0364     CLR	0x64                 	CLR	_T4CTL
                                           ;	::->op :*  =
                                           ;	.line	182; "../main.c"	T3IF=0;		//Èç¹ûÎªÁË²»Ó°ÏìÖÐ¶Ï£¬¿ÉÒÔ°Ñ´¥ÃþÍ¨µÀ´¦Àí·Åµ½Ö÷º¯Êý£¬ÔÚ´Ë×öÒ»¸ö±êÖ¾Î»£¬È»ºóÔÚÖ÷º¯Êý¼ì²â±êÖ¾Î»½øÐÐÉ¨Ãè¼´¿É
000785   e100     MOVB	#0x00               	BANKSEL	_EIF2_bits
000786   670d     CLR	0xd, 7               	CLR	_EIF2_bits, 7
                                           ;	::->op : =
                                           ;	.line	183; "../main.c"	kf8_touch_flag=1;	//´¥Ãþ±êÖ¾Î»
000787   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
                                           	BANKSEL	_kf8_touch_flag
000788   51a4     MOV	0xa4, R0             	MOV	_kf8_touch_flag, R0
                                           ;	::->op : =
                                           ;	.line	184; "../main.c"	Touch_Watch=0;
                                           	BANKSEL	_Touch_Watch
000789   03b2     CLR	0xb2                 	CLR	_Touch_Watch
                                           	BANKSEL	_Touch_Watch
00078a   03b3     CLR	0xb3                 	CLR	(_Touch_Watch + 1)
                                           ;	::->op : LABEL
                                           ;	::->op : ENDFUNCTION
                                           _00062_DS_
00078b   e101     MOVB	#0x01               	BANKSEL	I0R1
00078c   5280     MOV	R1, 0x80             	MOV	R1, I0R1
                                           	BANKSEL	I0R7
00078d   5e81     MOV	R7, 0x81             	MOV	R7, I0R7
                                           	BANKSEL	I0PCH
00078e   5083     MOV	R0, 0x83             	MOV	R0, I0PCH
00078f   510a     MOV	0xa, R0              	MOV	PCH, R0
                                           	BANKSEL	I0PSW
000790   5082     MOV	R0, 0x82             	MOV	R0, I0PSW
000791   5103     MOV	0x3, R0              	MOV	PSW, R0
000792   5717     MOV	0x17, R3             	MOV	BANK, R3
000793   f8d0     MOV	R0, R2               	MOV	R0, R2
000794   0009     IRET                     	IRET	
                                           
                                           
                                           
                                           func._int_fun1	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = I
                                           ;***
                                           ;entry:  _int_fun1	;Function start
                                           ; 0 exit points
                                           ;; Starting PostCode block
                                           ;	::->op : LABEL
                                           ;	::->op : FUNCTION
                                           _int_fun1	;Function start
                                           ; 0 exit points
                                           ;	::->op : LABEL
                                           ;	::->op : ENDFUNCTION
                                           ; R3 resprent for wsave,R4 resprent for ssave, R5 resprent for psave
                                           interrupt_service_routine_0x14
                                           _00065_DS_
                                           ;	.line	201; "../main.c"	}
                                           	IRET	
                                           
                                           
                                           
                                           func._main	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = M
                                           ;***
                                           ;entry:  _main	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   _init_mcu
                                           ;   _delay_ms
                                           ;   __KF8TS35_Lib_Set_General_cs_Parameter
                                           ;   __KF8TS35_Init_Touch_cs_General_
                                           ;   __KF8TS35_Touch_Process_cs_General_
                                           ;   _Touch_Key_Deal_Fun
                                           ;   __KF8TS35_Init_Touch_cs_General_
                                           ;   _init_mcu
                                           ;   _delay_ms
                                           ;   __KF8TS35_Lib_Set_General_cs_Parameter
                                           ;   __KF8TS35_Init_Touch_cs_General_
                                           ;   __KF8TS35_Touch_Process_cs_General_
                                           ;   _Touch_Key_Deal_Fun
                                           ;   __KF8TS35_Init_Touch_cs_General_
                                           ;5 compiler assigned registers:
                                           ;   STK00
                                           ;   r0x1010
                                           ;   r0x1011
                                           ;   r0x1012
                                           ;   r0x1013
                                           ;; Starting PostCode block
                                           ;	::->op : LABEL
                                           ;	::->op : FUNCTION
                                           _main	;Function start
                                           ; 2 exit points
                                           ;	::->op : CALL
                                           ;	.line	210; "../main.c"	init_mcu();						//³õÊ¼»¯MCU¼Ä´æÆ÷
                                           	PAGESEL	_init_mcu
0006b2   d795     CALL	#0x795              	CALL	_init_mcu
                                           	PAGESEL	$
                                           ;	::->op : =
                                           ;	.line	211; "../main.c"	kf8_touch_flag=0;
0006b3   e100     MOVB	#0x00               	BANKSEL	_kf8_touch_flag
0006b4   03a4     CLR	0xa4                 	CLR	_kf8_touch_flag
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	212; "../main.c"	delay_ms(200);					//ÑÓÊ±Ò»»á£¬·ÀÖ¹ÉÏµçÎó´¥·¢´¥ÃþÍ¨µÀ
0006b5   98c8     MOV	R0, #0xc8            	MOV	R0,# 0xc8
0006b6   e101     MOVB	#0x01               	BANKSEL	STK00
0006b7   5193     MOV	0x93, R0             	MOV	STK00, R0
0006b8   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_ms
0006b9   d720     CALL	#0x720              	CALL	_delay_ms
                                           	PAGESEL	$
                                           ;	::->op : =
                                           ;	.line	220; "../main.c"	CTCTL1 	= 0x00;		//µçÑ¹Ô´ºÍÊ±ÖÓ·ÖÆµÉèÖÃ  0 4 8 C~ 4/8/16/32  xxyy yyyx   0~ Vref  1~ VDD
0006ba   e100     MOVB	#0x00               	BANKSEL	_CTCTL1
0006bb   0364     CLR	0x64                 	CLR	_CTCTL1
                                           ;	::->op : =
                                           ;	.line	221; "../main.c"	VRECTL	=0x92;   	// ÕâÀïÑ¡Ôñ3V£¬ µçÑ¹Öµ 6/A/E ¶ÔÓ¦ 	2V 3V 4V  &    2¶ÔÓ¦ Ê¹ÄÜ
0006bc   9892     MOV	R0, #0x92            	MOV	R0,# 0x92
                                           	BANKSEL	_VRECTL
0006bd   512b     MOV	0x2b, R0             	MOV	_VRECTL, R0
                                           ;	::->op : INLINEASM
                                           	MOVB #0x00
0006be   9840     MOV	R0, #0x40            	MOV R0,#0x40
0006bf   311a     ORL	0x1a, R0             	ORL 0x1A,R0
                                           	
                                           ;	::->op : =
                                           ;	.line	228; "../main.c"	VDAC=0x70;			// 0.45VDAC       ·­×ª¹«Ê½0.05Vdac£¨N+1)    N=0--15 Vdac=Vref
0006c0   9870     MOV	R0, #0x70            	MOV	R0,# 0x70
0006c1   e101     MOVB	#0x01               	BANKSEL	_VDAC
0006c2   5112     MOV	0x12, R0             	MOV	_VDAC, R0
                                           ;	::->op : SEND
                                           ;	::->op : CALL
                                           ;	.line	231; "../main.c"	_KF8TS35_Lib_Set_General_cs_Parameter(2);	//¹¦ÄÜÄ£Ê½£¬²ÎÊý¼ûkf8ts25_touch_g.h ÖÐËµÃ÷
0006c3   9802     MOV	R0, #0x2             	MOV	R0,# 0x02
                                           	PAGESEL	__KF8TS35_Lib_Set_General_cs_Parameter
0006c4   d7a8     CALL	#0x7a8              	CALL	__KF8TS35_Lib_Set_General_cs_Parameter
                                           	PAGESEL	$
                                           ;	::->op : CALL
                                           ;	.line	232; "../main.c"	_KF8TS35_Init_Touch_cs_General_();		//µ÷ÓÃµçÈÝ´¥Ãþ¿âº¯ÊýµÄ³õÊ¼»¯
                                           	PAGESEL	__KF8TS35_Init_Touch_cs_General_
0006c5   d6ef     CALL	#0x6ef              	CALL	__KF8TS35_Init_Touch_cs_General_
                                           	PAGESEL	$
                                           ;	::->op : LABEL
                                           ;	::->op : INLINEASM
                                           _00072_DS_
0006c6   0064     CWDT                     	CWDT 
                                           ;	::->op : IFX
                                           ;	.line	242; "../main.c"	if(kf8_touch_flag)
0006c7   9800     MOV	R0, #0               	MOV	R0,# 0x00
0006c8   e100     MOVB	#0x00               	BANKSEL	_kf8_touch_flag
0006c9   30a4     ORL	R0, 0xa4             	ORL	R0, _kf8_touch_flag
0006ca   7203     JNB	0x3, 2               	JNB	PSW, 2
0006cb   c6cf     JMP	#0x6cf               	JMP	_00068_DS_
                                           ;	::->op : =
                                           ;	.line	244; "../main.c"	kf8_touch_flag=0;
                                           	BANKSEL	_kf8_touch_flag
0006cc   03a4     CLR	0xa4                 	CLR	_kf8_touch_flag
                                           ;	::->op : CALL
                                           ;	.line	246; "../main.c"	_KF8TS35_Touch_Process_cs_General_();//½¨ÒéÄ£Ê½£¬Òò¸ÃÐ¾Æ¬ÊôÓÚ¼¯¿ØÖÆÒ»Ìå£¬¾¡ÔçÍË³ö´¥ÃþÖÐ¶Ï£¬Ó°ÏìÆäËûÖÐ¶ÏÇëÇó¡£
                                           	PAGESEL	__KF8TS35_Touch_Process_cs_General_
0006cd   d56a     CALL	#0x56a              	CALL	__KF8TS35_Touch_Process_cs_General_
                                           	PAGESEL	$
                                           ;	::->op : CALL
                                           ;	.line	248; "../main.c"	Touch_Key_Deal_Fun();	// °´¼ü´¦Àí£¬Ò»°ã¿É²ÉÓÃ¶îÍâ±äÁ¿¼àÌý°´¼ü×´Ì¬µÄ±ä»¯²¢Ö´ÐÐ£¬º¯Êý¿É¸úËæÔÚ´¥Ãþ´¦Àíº¯ÊýºóÃæÖ´ÐÐ¡£
                                           	PAGESEL	_Touch_Key_Deal_Fun
0006ce   d4a4     CALL	#0x4a4              	CALL	_Touch_Key_Deal_Fun
                                           	PAGESEL	$
                                           ;	::->op : LABEL
                                           ;	::->op : +
                                           _00068_DS_
                                           ;	.line	253; "../main.c"	Touch_Watch++;
0006cf   e100     MOVB	#0x00               	BANKSEL	_Touch_Watch
0006d0   0bb2     INC	0xb2                 	INC	_Touch_Watch
0006d1   7a03     JB	0x3, 2                	JB	PSW, 2
0006d2   c6d4     JMP	#0x6d4               	JMP	_00080_DS_
                                           	BANKSEL	_Touch_Watch
0006d3   0bb3     INC	0xb3                 	INC	(_Touch_Watch + 1)
                                           ;	::->op : CAST
                                           _00080_DS_
                                           ;	.line	254; "../main.c"	if(Touch_Watch>50000)
                                           	BANKSEL	_Touch_Watch
0006d4   0eb2     MOVZ	R0, 0xb2            	MOVZ	R0, _Touch_Watch
                                           	BANKSEL	r0x1010
0006d5   519c     MOV	0x9c, R0             	MOV	r0x1010, R0
                                           	BANKSEL	_Touch_Watch
0006d6   0eb3     MOVZ	R0, 0xb3            	MOVZ	R0, (_Touch_Watch + 1)
                                           	BANKSEL	r0x1011
0006d7   519b     MOV	0x9b, R0             	MOV	r0x1011, R0
                                           	BANKSEL	r0x1012
0006d8   039a     CLR	0x9a                 	CLR	r0x1012
                                           ;;1	CLR	r0x1013
                                           ;	::->op : >
                                           ;swapping arguments (AOP_TYPEs 1/2)
                                           ;signed compare: left >= lit(0xC351=50001), size=4, mask=ffffffff
0006d9   9800     MOV	R0, #0               	MOV	R0,# 0x00
0006da   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
0006db   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           ;comparing bytes at offset 3
0006dc   7a03     JB	0x3, 2                	JB	PSW, 2
0006dd   c6e8     JMP	#0x6e8               	JMP	_00079_DS_
0006de   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x1012
0006df   389a     SUB	R0, 0x9a             	SUB	R0, r0x1012
0006e0   7a03     JB	0x3, 2                	JB	PSW, 2
0006e1   c6e8     JMP	#0x6e8               	JMP	_00079_DS_
0006e2   98c3     MOV	R0, #0xc3            	MOV	R0,# 0xc3
                                           	BANKSEL	r0x1011
0006e3   389b     SUB	R0, 0x9b             	SUB	R0, r0x1011
0006e4   7a03     JB	0x3, 2                	JB	PSW, 2
0006e5   c6e8     JMP	#0x6e8               	JMP	_00079_DS_
0006e6   9851     MOV	R0, #0x51            	MOV	R0,# 0x51
                                           	BANKSEL	r0x1010
0006e7   389c     SUB	R0, 0x9c             	SUB	R0, r0x1010
                                           _00079_DS_
0006e8   7803     JB	0x3, 0                	JB	PSW, 0
0006e9   c6c6     JMP	#0x6c6               	JMP	_00072_DS_
                                           ;	::->op : =
                                           ;	.line	256; "../main.c"	Touch_Watch=0;
                                           	BANKSEL	_Touch_Watch
0006ea   03b2     CLR	0xb2                 	CLR	_Touch_Watch
                                           	BANKSEL	_Touch_Watch
0006eb   03b3     CLR	0xb3                 	CLR	(_Touch_Watch + 1)
                                           ;	::->op : CALL
                                           ;	.line	257; "../main.c"	_KF8TS35_Init_Touch_cs_General_();
                                           	PAGESEL	__KF8TS35_Init_Touch_cs_General_
0006ec   d6ef     CALL	#0x6ef              	CALL	__KF8TS35_Init_Touch_cs_General_
                                           	PAGESEL	$
                                           ;	::->op : GOTO
0006ed   c6c6     JMP	#0x6c6               	JMP	_00072_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : ENDFUNCTION
0006ee   0008     CRET                     	CRET	
                                           ; exit point of _main
                                           
                                           
                                           
                                           func._Touch_Key_Deal_Fun	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _Touch_Key_Deal_Fun	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;4 compiler assigned registers:
                                           ;   r0x100A
                                           ;   r0x100B
                                           ;   r0x100C
                                           ;   r0x100D
                                           ;; Starting PostCode block
                                           ;	::->op : LABEL
                                           ;	::->op : FUNCTION
                                           _Touch_Key_Deal_Fun	;Function start
                                           ; 2 exit points
                                           ;	::->op : CAST
                                           ;	.line	79; "../main.c"	if(Key_Code_Vaule_Old!=_KF8_LIBi_channel_flag_)
0004a4   e100     MOVB	#0x00               	BANKSEL	_Touch_Key_Deal_Fun_Key_Code_Vaule_Old_1_1
0004a5   0eb0     MOVZ	R0, 0xb0            	MOVZ	R0, _Touch_Key_Deal_Fun_Key_Code_Vaule_Old_1_1
                                           	BANKSEL	r0x100A
0004a6   51a1     MOV	0xa1, R0             	MOV	r0x100A, R0
                                           	BANKSEL	_Touch_Key_Deal_Fun_Key_Code_Vaule_Old_1_1
0004a7   0eb1     MOVZ	R0, 0xb1            	MOVZ	R0, (_Touch_Key_Deal_Fun_Key_Code_Vaule_Old_1_1 + 1)
                                           	BANKSEL	r0x100B
0004a8   51a2     MOV	0xa2, R0             	MOV	r0x100B, R0
0004a9   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x100B
0004aa   77a2     JNB	0xa2, 7              	JNB	r0x100B, 7
0004ab   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
                                           	BANKSEL	r0x100C
0004ac   51a0     MOV	0xa0, R0             	MOV	r0x100C, R0
                                           	BANKSEL	r0x100D
0004ad   519f     MOV	0x9f, R0             	MOV	r0x100D, R0
                                           ;	::->op : EQ_OP
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0004ae   0ec0     MOVZ	R0, 0xc0            	MOVZ	R0, __KF8_LIBi_channel_flag_
                                           	BANKSEL	r0x100A
0004af   18a1     XOR	R0, 0xa1             	XOR	R0, r0x100A
0004b0   7a03     JB	0x3, 2                	JB	PSW, 2
0004b1   c4be     JMP	#0x4be               	JMP	_00058_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0004b2   0ec1     MOVZ	R0, 0xc1            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 1)
                                           	BANKSEL	r0x100B
0004b3   18a2     XOR	R0, 0xa2             	XOR	R0, r0x100B
0004b4   7a03     JB	0x3, 2                	JB	PSW, 2
0004b5   c4be     JMP	#0x4be               	JMP	_00058_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0004b6   0ec2     MOVZ	R0, 0xc2            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 2)
                                           	BANKSEL	r0x100D
0004b7   189f     XOR	R0, 0x9f             	XOR	R0, r0x100D
0004b8   7a03     JB	0x3, 2                	JB	PSW, 2
0004b9   c4be     JMP	#0x4be               	JMP	_00058_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0004ba   0ec3     MOVZ	R0, 0xc3            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 3)
                                           ;	.line	81; "../main.c"	Key_Code_Vaule_Old=_KF8_LIBi_channel_flag_;
                                           	BANKSEL	r0x100C
0004bb   18a0     XOR	R0, 0xa0             	XOR	R0, r0x100C
0004bc   7203     JNB	0x3, 2               	JNB	PSW, 2
0004bd   c560     JMP	#0x560               	JMP	_00043_DS_
                                           _00058_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0004be   0ec0     MOVZ	R0, 0xc0            	MOVZ	R0, __KF8_LIBi_channel_flag_
                                           	BANKSEL	_Touch_Key_Deal_Fun_Key_Code_Vaule_Old_1_1
0004bf   51b0     MOV	0xb0, R0             	MOV	_Touch_Key_Deal_Fun_Key_Code_Vaule_Old_1_1, R0
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0004c0   0ec1     MOVZ	R0, 0xc1            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 1)
                                           	BANKSEL	_Touch_Key_Deal_Fun_Key_Code_Vaule_Old_1_1
0004c1   51b1     MOV	0xb1, R0             	MOV	(_Touch_Key_Deal_Fun_Key_Code_Vaule_Old_1_1 + 1), R0
                                           ;	::->op : EQ_OP
                                           ;	.line	87; "../main.c"	if(_KF8_LIBi_channel_flag_==Key_CT1)		//CT1
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0004c2   0ec0     MOVZ	R0, 0xc0            	MOVZ	R0, __KF8_LIBi_channel_flag_
0004c3   a802     XOR	R0, #0x2             	XOR	R0,# 0x02
0004c4   7a03     JB	0x3, 2                	JB	PSW, 2
0004c5   c4d8     JMP	#0x4d8               	JMP	_00040_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0004c6   0ec1     MOVZ	R0, 0xc1            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 1)
0004c7   a800     XOR	R0, #0               	XOR	R0,# 0x00
0004c8   7a03     JB	0x3, 2                	JB	PSW, 2
0004c9   c4d8     JMP	#0x4d8               	JMP	_00040_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0004ca   0ec2     MOVZ	R0, 0xc2            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 2)
0004cb   a800     XOR	R0, #0               	XOR	R0,# 0x00
0004cc   7a03     JB	0x3, 2                	JB	PSW, 2
0004cd   c4d8     JMP	#0x4d8               	JMP	_00040_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0004ce   0ec3     MOVZ	R0, 0xc3            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 3)
0004cf   a800     XOR	R0, #0               	XOR	R0,# 0x00
0004d0   7a03     JB	0x3, 2                	JB	PSW, 2
0004d1   c4d8     JMP	#0x4d8               	JMP	_00040_DS_
                                           ;	::->op : =
                                           ;	.line	90; "../main.c"	Key_Code=9;
0004d2   9809     MOV	R0, #0x9             	MOV	R0,# 0x09
                                           	BANKSEL	_Key_Code
0004d3   51a3     MOV	0xa3, R0             	MOV	_Key_Code, R0
                                           ;	::->op :*  =
                                           ;	.line	91; "../main.c"	LED1=1;
                                           	BANKSEL	_P0LR_bits
0004d4   6a45     SET	0x45, 2              	SET	_P0LR_bits, 2
                                           ;	::->op :*  =
                                           ;	.line	92; "../main.c"	LED2=0;
                                           	BANKSEL	_P1LR_bits
0004d5   6347     CLR	0x47, 3              	CLR	_P1LR_bits, 3
                                           ;	::->op :*  =
                                           ;	.line	93; "../main.c"	LED3=1;
                                           	BANKSEL	_P1LR_bits
0004d6   6a47     SET	0x47, 2              	SET	_P1LR_bits, 2
                                           ;	::->op : GOTO
0004d7   c560     JMP	#0x560               	JMP	_00043_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : EQ_OP
                                           _00040_DS_
                                           ;	.line	95; "../main.c"	else if(_KF8_LIBi_channel_flag_==Key_CT2)		//CT2
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0004d8   0ec0     MOVZ	R0, 0xc0            	MOVZ	R0, __KF8_LIBi_channel_flag_
0004d9   a804     XOR	R0, #0x4             	XOR	R0,# 0x04
0004da   7a03     JB	0x3, 2                	JB	PSW, 2
0004db   c4ee     JMP	#0x4ee               	JMP	_00037_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0004dc   0ec1     MOVZ	R0, 0xc1            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 1)
0004dd   a800     XOR	R0, #0               	XOR	R0,# 0x00
0004de   7a03     JB	0x3, 2                	JB	PSW, 2
0004df   c4ee     JMP	#0x4ee               	JMP	_00037_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0004e0   0ec2     MOVZ	R0, 0xc2            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 2)
0004e1   a800     XOR	R0, #0               	XOR	R0,# 0x00
0004e2   7a03     JB	0x3, 2                	JB	PSW, 2
0004e3   c4ee     JMP	#0x4ee               	JMP	_00037_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0004e4   0ec3     MOVZ	R0, 0xc3            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 3)
0004e5   a800     XOR	R0, #0               	XOR	R0,# 0x00
0004e6   7a03     JB	0x3, 2                	JB	PSW, 2
0004e7   c4ee     JMP	#0x4ee               	JMP	_00037_DS_
                                           ;	::->op : =
                                           ;	.line	97; "../main.c"	Key_Code=3;
0004e8   9803     MOV	R0, #0x3             	MOV	R0,# 0x03
                                           	BANKSEL	_Key_Code
0004e9   51a3     MOV	0xa3, R0             	MOV	_Key_Code, R0
                                           ;	::->op :*  =
                                           ;	.line	98; "../main.c"	LED1=0;
                                           	BANKSEL	_P0LR_bits
0004ea   6245     CLR	0x45, 2              	CLR	_P0LR_bits, 2
                                           ;	::->op :*  =
                                           ;	.line	99; "../main.c"	LED2=0;
                                           	BANKSEL	_P1LR_bits
0004eb   6347     CLR	0x47, 3              	CLR	_P1LR_bits, 3
                                           ;	::->op :*  =
                                           ;	.line	100; "../main.c"	LED3=1;
                                           	BANKSEL	_P1LR_bits
0004ec   6a47     SET	0x47, 2              	SET	_P1LR_bits, 2
                                           ;	::->op : GOTO
0004ed   c560     JMP	#0x560               	JMP	_00043_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : EQ_OP
                                           _00037_DS_
                                           ;	.line	102; "../main.c"	else if(_KF8_LIBi_channel_flag_==Key_CT3)		//CT3
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0004ee   0ec0     MOVZ	R0, 0xc0            	MOVZ	R0, __KF8_LIBi_channel_flag_
0004ef   a808     XOR	R0, #0x8             	XOR	R0,# 0x08
0004f0   7a03     JB	0x3, 2                	JB	PSW, 2
0004f1   c504     JMP	#0x504               	JMP	_00034_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0004f2   0ec1     MOVZ	R0, 0xc1            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 1)
0004f3   a800     XOR	R0, #0               	XOR	R0,# 0x00
0004f4   7a03     JB	0x3, 2                	JB	PSW, 2
0004f5   c504     JMP	#0x504               	JMP	_00034_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0004f6   0ec2     MOVZ	R0, 0xc2            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 2)
0004f7   a800     XOR	R0, #0               	XOR	R0,# 0x00
0004f8   7a03     JB	0x3, 2                	JB	PSW, 2
0004f9   c504     JMP	#0x504               	JMP	_00034_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0004fa   0ec3     MOVZ	R0, 0xc3            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 3)
0004fb   a800     XOR	R0, #0               	XOR	R0,# 0x00
0004fc   7a03     JB	0x3, 2                	JB	PSW, 2
0004fd   c504     JMP	#0x504               	JMP	_00034_DS_
                                           ;	::->op : =
                                           ;	.line	104; "../main.c"	Key_Code=4;
0004fe   9804     MOV	R0, #0x4             	MOV	R0,# 0x04
                                           	BANKSEL	_Key_Code
0004ff   51a3     MOV	0xa3, R0             	MOV	_Key_Code, R0
                                           ;	::->op :*  =
                                           ;	.line	105; "../main.c"	LED1=1;
                                           	BANKSEL	_P0LR_bits
000500   6a45     SET	0x45, 2              	SET	_P0LR_bits, 2
                                           ;	::->op :*  =
                                           ;	.line	106; "../main.c"	LED2=1;
                                           	BANKSEL	_P1LR_bits
000501   6b47     SET	0x47, 3              	SET	_P1LR_bits, 3
                                           ;	::->op :*  =
                                           ;	.line	107; "../main.c"	LED3=0;
                                           	BANKSEL	_P1LR_bits
000502   6247     CLR	0x47, 2              	CLR	_P1LR_bits, 2
                                           ;	::->op : GOTO
000503   c560     JMP	#0x560               	JMP	_00043_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : EQ_OP
                                           _00034_DS_
                                           ;	.line	109; "../main.c"	else if(_KF8_LIBi_channel_flag_==Key_CT4)		//CT4
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000504   0ec0     MOVZ	R0, 0xc0            	MOVZ	R0, __KF8_LIBi_channel_flag_
000505   a810     XOR	R0, #0x10            	XOR	R0,# 0x10
000506   7a03     JB	0x3, 2                	JB	PSW, 2
000507   c51a     JMP	#0x51a               	JMP	_00031_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000508   0ec1     MOVZ	R0, 0xc1            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 1)
000509   a800     XOR	R0, #0               	XOR	R0,# 0x00
00050a   7a03     JB	0x3, 2                	JB	PSW, 2
00050b   c51a     JMP	#0x51a               	JMP	_00031_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
00050c   0ec2     MOVZ	R0, 0xc2            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 2)
00050d   a800     XOR	R0, #0               	XOR	R0,# 0x00
00050e   7a03     JB	0x3, 2                	JB	PSW, 2
00050f   c51a     JMP	#0x51a               	JMP	_00031_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000510   0ec3     MOVZ	R0, 0xc3            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 3)
000511   a800     XOR	R0, #0               	XOR	R0,# 0x00
000512   7a03     JB	0x3, 2                	JB	PSW, 2
000513   c51a     JMP	#0x51a               	JMP	_00031_DS_
                                           ;	::->op : =
                                           ;	.line	111; "../main.c"	Key_Code=5;
000514   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
                                           	BANKSEL	_Key_Code
000515   51a3     MOV	0xa3, R0             	MOV	_Key_Code, R0
                                           ;	::->op :*  =
                                           ;	.line	112; "../main.c"	LED1=0;
                                           	BANKSEL	_P0LR_bits
000516   6245     CLR	0x45, 2              	CLR	_P0LR_bits, 2
                                           ;	::->op :*  =
                                           ;	.line	113; "../main.c"	LED2=1;
                                           	BANKSEL	_P1LR_bits
000517   6b47     SET	0x47, 3              	SET	_P1LR_bits, 3
                                           ;	::->op :*  =
                                           ;	.line	114; "../main.c"	LED3=0;
                                           	BANKSEL	_P1LR_bits
000518   6247     CLR	0x47, 2              	CLR	_P1LR_bits, 2
                                           ;	::->op : GOTO
000519   c560     JMP	#0x560               	JMP	_00043_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : EQ_OP
                                           _00031_DS_
                                           ;	.line	116; "../main.c"	else if(_KF8_LIBi_channel_flag_==Key_CT5)		//CT5
                                           	BANKSEL	__KF8_LIBi_channel_flag_
00051a   0ec0     MOVZ	R0, 0xc0            	MOVZ	R0, __KF8_LIBi_channel_flag_
00051b   a820     XOR	R0, #0x20            	XOR	R0,# 0x20
00051c   7a03     JB	0x3, 2                	JB	PSW, 2
00051d   c530     JMP	#0x530               	JMP	_00028_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
00051e   0ec1     MOVZ	R0, 0xc1            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 1)
00051f   a800     XOR	R0, #0               	XOR	R0,# 0x00
000520   7a03     JB	0x3, 2                	JB	PSW, 2
000521   c530     JMP	#0x530               	JMP	_00028_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000522   0ec2     MOVZ	R0, 0xc2            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 2)
000523   a800     XOR	R0, #0               	XOR	R0,# 0x00
000524   7a03     JB	0x3, 2                	JB	PSW, 2
000525   c530     JMP	#0x530               	JMP	_00028_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000526   0ec3     MOVZ	R0, 0xc3            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 3)
000527   a800     XOR	R0, #0               	XOR	R0,# 0x00
000528   7a03     JB	0x3, 2                	JB	PSW, 2
000529   c530     JMP	#0x530               	JMP	_00028_DS_
                                           ;	::->op : =
                                           ;	.line	118; "../main.c"	Key_Code=6;
00052a   9806     MOV	R0, #0x6             	MOV	R0,# 0x06
                                           	BANKSEL	_Key_Code
00052b   51a3     MOV	0xa3, R0             	MOV	_Key_Code, R0
                                           ;	::->op :*  =
                                           ;	.line	119; "../main.c"	LED1=1;
                                           	BANKSEL	_P0LR_bits
00052c   6a45     SET	0x45, 2              	SET	_P0LR_bits, 2
                                           ;	::->op :*  =
                                           ;	.line	120; "../main.c"	LED2=0;
                                           	BANKSEL	_P1LR_bits
00052d   6347     CLR	0x47, 3              	CLR	_P1LR_bits, 3
                                           ;	::->op :*  =
                                           ;	.line	121; "../main.c"	LED3=0;
                                           	BANKSEL	_P1LR_bits
00052e   6247     CLR	0x47, 2              	CLR	_P1LR_bits, 2
                                           ;	::->op : GOTO
00052f   c560     JMP	#0x560               	JMP	_00043_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : EQ_OP
                                           _00028_DS_
                                           ;	.line	123; "../main.c"	else if(_KF8_LIBi_channel_flag_==Key_CT6)		//CT6
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000530   0ec0     MOVZ	R0, 0xc0            	MOVZ	R0, __KF8_LIBi_channel_flag_
000531   a840     XOR	R0, #0x40            	XOR	R0,# 0x40
000532   7a03     JB	0x3, 2                	JB	PSW, 2
000533   c546     JMP	#0x546               	JMP	_00025_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000534   0ec1     MOVZ	R0, 0xc1            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 1)
000535   a800     XOR	R0, #0               	XOR	R0,# 0x00
000536   7a03     JB	0x3, 2                	JB	PSW, 2
000537   c546     JMP	#0x546               	JMP	_00025_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000538   0ec2     MOVZ	R0, 0xc2            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 2)
000539   a800     XOR	R0, #0               	XOR	R0,# 0x00
00053a   7a03     JB	0x3, 2                	JB	PSW, 2
00053b   c546     JMP	#0x546               	JMP	_00025_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
00053c   0ec3     MOVZ	R0, 0xc3            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 3)
00053d   a800     XOR	R0, #0               	XOR	R0,# 0x00
00053e   7a03     JB	0x3, 2                	JB	PSW, 2
00053f   c546     JMP	#0x546               	JMP	_00025_DS_
                                           ;	::->op : =
                                           ;	.line	125; "../main.c"	Key_Code=7;
000540   9807     MOV	R0, #0x7             	MOV	R0,# 0x07
                                           	BANKSEL	_Key_Code
000541   51a3     MOV	0xa3, R0             	MOV	_Key_Code, R0
                                           ;	::->op :*  =
                                           ;	.line	126; "../main.c"	LED1=0;
                                           	BANKSEL	_P0LR_bits
000542   6245     CLR	0x45, 2              	CLR	_P0LR_bits, 2
                                           ;	::->op :*  =
                                           ;	.line	127; "../main.c"	LED2=0;
                                           	BANKSEL	_P1LR_bits
000543   6347     CLR	0x47, 3              	CLR	_P1LR_bits, 3
                                           ;	::->op :*  =
                                           ;	.line	128; "../main.c"	LED3=0;
                                           	BANKSEL	_P1LR_bits
000544   6247     CLR	0x47, 2              	CLR	_P1LR_bits, 2
                                           ;	::->op : GOTO
000545   c560     JMP	#0x560               	JMP	_00043_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : EQ_OP
                                           _00025_DS_
                                           ;	.line	138; "../main.c"	else if(_KF8_LIBi_channel_flag_==Key_CT8)		//CT8
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000546   0ec0     MOVZ	R0, 0xc0            	MOVZ	R0, __KF8_LIBi_channel_flag_
000547   a800     XOR	R0, #0               	XOR	R0,# 0x00
000548   7a03     JB	0x3, 2                	JB	PSW, 2
000549   c55c     JMP	#0x55c               	JMP	_00022_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
00054a   0ec1     MOVZ	R0, 0xc1            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 1)
00054b   a801     XOR	R0, #0x1             	XOR	R0,# 0x01
00054c   7a03     JB	0x3, 2                	JB	PSW, 2
00054d   c55c     JMP	#0x55c               	JMP	_00022_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
00054e   0ec2     MOVZ	R0, 0xc2            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 2)
00054f   a800     XOR	R0, #0               	XOR	R0,# 0x00
000550   7a03     JB	0x3, 2                	JB	PSW, 2
000551   c55c     JMP	#0x55c               	JMP	_00022_DS_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000552   0ec3     MOVZ	R0, 0xc3            	MOVZ	R0, (__KF8_LIBi_channel_flag_ + 3)
000553   a800     XOR	R0, #0               	XOR	R0,# 0x00
000554   7a03     JB	0x3, 2                	JB	PSW, 2
000555   c55c     JMP	#0x55c               	JMP	_00022_DS_
                                           ;	::->op : =
                                           ;	.line	140; "../main.c"	Key_Code=9;
000556   9809     MOV	R0, #0x9             	MOV	R0,# 0x09
                                           	BANKSEL	_Key_Code
000557   51a3     MOV	0xa3, R0             	MOV	_Key_Code, R0
                                           ;	::->op :*  =
                                           ;	.line	141; "../main.c"	LED1=0;
                                           	BANKSEL	_P0LR_bits
000558   6245     CLR	0x45, 2              	CLR	_P0LR_bits, 2
                                           ;	::->op :*  =
                                           ;	.line	142; "../main.c"	LED2=1;
                                           	BANKSEL	_P1LR_bits
000559   6b47     SET	0x47, 3              	SET	_P1LR_bits, 3
                                           ;	::->op :*  =
                                           ;	.line	143; "../main.c"	LED3=1;
                                           	BANKSEL	_P1LR_bits
00055a   6a47     SET	0x47, 2              	SET	_P1LR_bits, 2
                                           ;	::->op : GOTO
00055b   c560     JMP	#0x560               	JMP	_00043_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : =
                                           _00022_DS_
                                           ;	.line	149; "../main.c"	Key_Code=0;
                                           	BANKSEL	_Key_Code
00055c   03a3     CLR	0xa3                 	CLR	_Key_Code
                                           ;	::->op :*  =
                                           ;	.line	150; "../main.c"	LED1=1;
                                           	BANKSEL	_P0LR_bits
00055d   6a45     SET	0x45, 2              	SET	_P0LR_bits, 2
                                           ;	::->op :*  =
                                           ;	.line	151; "../main.c"	LED2=1;
                                           	BANKSEL	_P1LR_bits
00055e   6b47     SET	0x47, 3              	SET	_P1LR_bits, 3
                                           ;	::->op :*  =
                                           ;	.line	152; "../main.c"	LED3=1;
                                           	BANKSEL	_P1LR_bits
00055f   6a47     SET	0x47, 2              	SET	_P1LR_bits, 2
                                           ;	::->op : LABEL
                                           ;	::->op : IFX
                                           _00043_DS_
                                           ;	.line	157; "../main.c"	if(_KF8_LIBi_channel_flag_)
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000560   0ec0     MOVZ	R0, 0xc0            	MOVZ	R0, __KF8_LIBi_channel_flag_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000561   30c1     ORL	R0, 0xc1             	ORL	R0, (__KF8_LIBi_channel_flag_ + 1)
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000562   30c2     ORL	R0, 0xc2             	ORL	R0, (__KF8_LIBi_channel_flag_ + 2)
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000563   30c3     ORL	R0, 0xc3             	ORL	R0, (__KF8_LIBi_channel_flag_ + 3)
000564   7203     JNB	0x3, 2               	JNB	PSW, 2
000565   c568     JMP	#0x568               	JMP	_00045_DS_
                                           ;	::->op :*  =
                                           ;	.line	159; "../main.c"	P0LR0 = 1;
                                           	BANKSEL	_P0LR_bits
000566   6845     SET	0x45, 0              	SET	_P0LR_bits, 0
                                           ;	::->op : GOTO
000567   c569     JMP	#0x569               	JMP	_00047_DS_
                                           ;	::->op : LABEL
                                           ;	::->op :*  =
                                           _00045_DS_
                                           ;	.line	163; "../main.c"	P0LR0 = 0;
                                           	BANKSEL	_P0LR_bits
000568   6045     CLR	0x45, 0              	CLR	_P0LR_bits, 0
                                           ;	::->op : LABEL
                                           ;	::->op : ENDFUNCTION
                                           _00047_DS_
000569   0008     CRET                     	CRET	
                                           ; exit point of _Touch_Key_Deal_Fun
                                           
                                           
                                           
                                           func._delay_us	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _delay_us	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;5 compiler assigned registers:
                                           ;   r0x1014
                                           ;   STK00
                                           ;   r0x1015
                                           ;   r0x1016
                                           ;   r0x1017
                                           ;; Starting PostCode block
                                           ;	::->op : LABEL
                                           ;	::->op : FUNCTION
                                           _delay_us	;Function start
                                           ; 2 exit points
                                           ;	::->op : RECEIVE
                                           ;	.line	47; "../main.c"	void delay_us(uint us_data)
                                           	BANKSEL	r0x1014
                                           	MOV	r0x1014, R0
                                           	BANKSEL	STK00
                                           	MOVZ	R0, STK00
                                           	BANKSEL	r0x1015
                                           	MOV	r0x1015, R0
                                           ;	::->op : =
                                           ;	::->op : LABEL
                                           ;	::->op : =
                                           _00014_DS_
                                           ;	.line	49; "../main.c"	while(us_data--);
                                           	BANKSEL	r0x1015
                                           	MOVZ	R0, r0x1015
                                           	BANKSEL	r0x1016
                                           	MOV	r0x1016, R0
                                           	BANKSEL	r0x1014
                                           	MOVZ	R0, r0x1014
                                           	BANKSEL	r0x1017
                                           	MOV	r0x1017, R0
                                           ;	::->op : -
                                           	MOV	R0,# 0xff
                                           	BANKSEL	r0x1015
                                           	ADD	r0x1015, R0
                                           	JNB	PSW, 0
                                           	JMP	_00081_DS_
                                           	BANKSEL	r0x1014
                                           	DEC	r0x1014
                                           ;	::->op : IFX
                                           _00081_DS_
                                           	BANKSEL	r0x1016
                                           	MOVZ	R0, r0x1016
                                           	BANKSEL	r0x1017
                                           	ORL	R0, r0x1017
                                           	JB	PSW, 2
                                           	JMP	_00014_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : ENDFUNCTION
                                           	CRET	
                                           ; exit point of _delay_us
                                           
                                           
                                           
                                           func._delay_ms	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _delay_ms	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;7 compiler assigned registers:
                                           ;   r0x100A
                                           ;   STK00
                                           ;   r0x100B
                                           ;   r0x100C
                                           ;   r0x100D
                                           ;   r0x100E
                                           ;   r0x100F
                                           ;; Starting PostCode block
                                           ;	::->op : LABEL
                                           ;	::->op : FUNCTION
                                           _delay_ms	;Function start
                                           ; 2 exit points
                                           ;	::->op : RECEIVE
                                           ;	.line	28; "../main.c"	void delay_ms(uint ms_data)
000720   e100     MOVB	#0x00               	BANKSEL	r0x100A
000721   51a1     MOV	0xa1, R0             	MOV	r0x100A, R0
000722   e101     MOVB	#0x01               	BANKSEL	STK00
000723   0e93     MOVZ	R0, 0x93            	MOVZ	R0, STK00
000724   e100     MOVB	#0x00               	BANKSEL	r0x100B
000725   51a2     MOV	0xa2, R0             	MOV	r0x100B, R0
                                           ;	::->op : =
                                           ;	::->op : LABEL
                                           ;	::->op : =
                                           _00004_DS_
                                           ;	.line	31; "../main.c"	while(ms_data--)
                                           	BANKSEL	r0x100B
000726   0ea2     MOVZ	R0, 0xa2            	MOVZ	R0, r0x100B
                                           	BANKSEL	r0x100C
000727   51a0     MOV	0xa0, R0             	MOV	r0x100C, R0
                                           	BANKSEL	r0x100A
000728   0ea1     MOVZ	R0, 0xa1            	MOVZ	R0, r0x100A
                                           	BANKSEL	r0x100D
000729   519f     MOV	0x9f, R0             	MOV	r0x100D, R0
                                           ;	::->op : -
00072a   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
                                           	BANKSEL	r0x100B
00072b   21a2     ADD	0xa2, R0             	ADD	r0x100B, R0
00072c   7003     JNB	0x3, 0               	JNB	PSW, 0
00072d   c72f     JMP	#0x72f               	JMP	_00082_DS_
                                           	BANKSEL	r0x100A
00072e   07a1     DEC	0xa1                 	DEC	r0x100A
                                           ;	::->op : IFX
                                           _00082_DS_
                                           	BANKSEL	r0x100C
00072f   0ea0     MOVZ	R0, 0xa0            	MOVZ	R0, r0x100C
                                           	BANKSEL	r0x100D
000730   309f     ORL	R0, 0x9f             	ORL	R0, r0x100D
000731   7203     JNB	0x3, 2               	JNB	PSW, 2
000732   c746     JMP	#0x746               	JMP	_00007_DS_
                                           ;	::->op : INLINEASM
000733   0064     CWDT                     	CWDT 
                                           ;	::->op : =
                                           ;	.line	35; "../main.c"	while(j--)
000734   98c8     MOV	R0, #0xc8            	MOV	R0,# 0xc8
                                           	BANKSEL	r0x100C
000735   51a0     MOV	0xa0, R0             	MOV	r0x100C, R0
                                           	BANKSEL	r0x100D
000736   039f     CLR	0x9f                 	CLR	r0x100D
                                           ;	::->op : LABEL
                                           ;	::->op : =
                                           _00001_DS_
                                           	BANKSEL	r0x100C
000737   0ea0     MOVZ	R0, 0xa0            	MOVZ	R0, r0x100C
                                           	BANKSEL	r0x100E
000738   519e     MOV	0x9e, R0             	MOV	r0x100E, R0
                                           	BANKSEL	r0x100D
000739   0e9f     MOVZ	R0, 0x9f            	MOVZ	R0, r0x100D
                                           	BANKSEL	r0x100F
00073a   519d     MOV	0x9d, R0             	MOV	r0x100F, R0
                                           ;	::->op : -
00073b   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
                                           	BANKSEL	r0x100C
00073c   21a0     ADD	0xa0, R0             	ADD	r0x100C, R0
00073d   7003     JNB	0x3, 0               	JNB	PSW, 0
00073e   c740     JMP	#0x740               	JMP	_00083_DS_
                                           	BANKSEL	r0x100D
00073f   079f     DEC	0x9f                 	DEC	r0x100D
                                           ;	::->op : IFX
                                           _00083_DS_
                                           	BANKSEL	r0x100E
000740   0e9e     MOVZ	R0, 0x9e            	MOVZ	R0, r0x100E
                                           	BANKSEL	r0x100F
000741   309d     ORL	R0, 0x9d             	ORL	R0, r0x100F
000742   7203     JNB	0x3, 2               	JNB	PSW, 2
000743   c726     JMP	#0x726               	JMP	_00004_DS_
                                           ;	::->op : INLINEASM
000744   0064     CWDT                     	CWDT 
                                           ;	::->op : GOTO
000745   c737     JMP	#0x737               	JMP	_00001_DS_
                                           ;	::->op : LABEL
                                           ;	::->op : ENDFUNCTION
                                           _00007_DS_
000746   0008     CRET                     	CRET	
                                           ; exit point of _delay_ms
                                           
                                           
                                           ;	code size estimation:
                                           ;	  332+  146 =   478 instructions ( 1248 byte)
                                           
                                           
                                           	.end
                                           ;--------------------------------------------------------
                                           ; File Created by ChiponCC : aolisn inc.
                                           ; Version 3.0.4#6752 (Jul  6 2017 15:09:47) (MSVC)
                                           ; This file was generated Tue Apr 03 20:28:58 2018
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../kf8ts35_touch_cs_lib.c"
                                           	.radix dec
                                           	.include "KF8TS2516.inc"
                                           ;************************************************************
                                           ;       Header file for the KungFu8
                                           ;       KF8TS2516
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           T0			.EQU                 0x01
                                           PCL			.EQU                 0x02
                                           PSW			.EQU                 0x03
                                           P0			.EQU                 0x05
                                           P2			.EQU                 0x06
                                           P1			.EQU                 0x07
                                           P3			.EQU                 0x08
                                           PCH			.EQU                 0x0A
                                           INTCTL			.EQU                 0x0B
                                           EIF1			.EQU                 0x0C
                                           EIF2			.EQU                 0x0D
                                           T1L			.EQU                 0x0E
                                           T1H			.EQU                 0x0F
                                           T1CTL			.EQU                 0x10
                                           PWM1L			.EQU                 0x13
                                           PWM1H			.EQU                 0x14
                                           PWMCTL			.EQU                 0x15
                                           PP1			.EQU                 0x16
                                           BANK			.EQU                 0x17
                                           ANSEH			.EQU                 0x1D
                                           ADCDATA0H		.EQU                 0x1E
                                           ADCCTL0			.EQU                 0x1F
                                           OPTR			.EQU                 0x21
                                           IP0			.EQU                 0x22
                                           IP1			.EQU                 0x23
                                           IP2			.EQU                 0x24
                                           TR0			.EQU                 0x25
                                           TR2			.EQU                 0x26
                                           TR1			.EQU                 0x27
                                           OSCSTA			.EQU                 0x28
                                           IP3			.EQU                 0x29
                                           VRECAL1			.EQU                 0x2A
                                           VRECTL			.EQU                 0x2B
                                           EIE1			.EQU                 0x2C
                                           EIE2			.EQU                 0x2D
                                           PCTL			.EQU                 0x2E
                                           OSCCTL			.EQU                 0x2F
                                           OSCCAL0			.EQU                 0x30
                                           ANSEL			.EQU                 0x31
                                           PP2			.EQU                 0x32
                                           PWM2L			.EQU                 0x33
                                           PWM2H			.EQU                 0x34
                                           PUR0			.EQU                 0x35
                                           IOCL			.EQU                 0x36
                                           OSCCAL1			.EQU                 0x37
                                           NVMDATAH		.EQU                 0x38
                                           NVMDATAL		.EQU                 0x39
                                           NVMADDRH		.EQU                 0x3A
                                           NVMADDRL		.EQU                 0x3B
                                           NVMCTL0			.EQU                 0x3C
                                           NVMCTL1			.EQU                 0x3D
                                           ADCDATA0L		.EQU                 0x3E
                                           ADCCTL1			.EQU                 0x3F
                                           P0LR			.EQU                 0x45
                                           P2LR			.EQU                 0x46
                                           P1LR			.EQU                 0x47
                                           P3LR			.EQU                 0x48
                                           TR3			.EQU                 0x49
                                           EIE3			.EQU                 0x4A
                                           EIF3			.EQU                 0x4B
                                           OSCCAL2			.EQU                 0x4C
                                           OSCCAL3			.EQU                 0x4D
                                           T3CTL			.EQU                 0x4E
                                           T3L			.EQU                 0x4F
                                           CTCTL0			.EQU                 0x53
                                           T3H			.EQU                 0x5F
                                           PUR1			.EQU                 0x60
                                           PUR2			.EQU                 0x61
                                           CTCTL1			.EQU                 0x64
                                           INTEDGCTL		.EQU                 0x67
                                           VBIASCTL		.EQU                 0x6B
                                           VBIAS1EN		.EQU                 0x6C
                                           VBIAS2EN		.EQU                 0x6D
                                           VDAC			.EQU                 0x112
                                           SSCICTL0		.EQU                 0x128
                                           SSCICTL1		.EQU                 0x12A
                                           SSCISTA			.EQU                 0x12B
                                           SSCIBUFR		.EQU                 0x12C
                                           SSCIMSK			.EQU                 0x12E
                                           SSCIADD           .EQU                0x12E
                                           WDTPS			.EQU                 0x12F
                                           LEDCTL			.EQU                 0x140
                                           LEDPRE			.EQU                 0x141
                                           LEDDATA0		.EQU                 0x142
                                           LEDDATA1		.EQU                 0x143
                                           LEDDATA2		.EQU                 0x144
                                           LEDDATA3		.EQU                 0x145
                                           LEDDATA4		.EQU                 0x146
                                           LEDDATA5		.EQU                 0x147
                                           LEDDATA6		.EQU                 0x148
                                           LEDDATA7		.EQU                 0x149
                                           LEDOMS1			.EQU                 0x150
                                           LEDODS0			.EQU                 0x155
                                           LEDOMS0			.EQU                 0x157
                                           LEDODS1			.EQU                 0x158
                                           VRECAL2			.EQU                 0x159
                                           VRECAL3			.EQU                 0x15A
                                           LEDLUM			.EQU                 0x15C
                                           T4L			.EQU                 0x160
                                           T4H			.EQU                 0x161
                                           T4REL			.EQU                 0x162
                                           T4REH			.EQU                 0x163
                                           T4CTL			.EQU                 0x164
                                           RC32KCAL		.EQU                 0x165
                                           
                                           
                                           ;  03H  PSW   Bits-------------------------------------
                                           TO			.EQU                4
                                           PD			.EQU                3
                                           Z			.EQU                2
                                           DC			.EQU                1
                                           CY			.EQU                0
                                           _TO			.EQU                4
                                           _PD			.EQU                3
                                           _Z			.EQU                2
                                           _DC			.EQU                1
                                           _CY			.EQU                0
                                           
                                           ;  05H  P0   Bits-------------------------------------
                                           P05			.EQU                5
                                           P04			.EQU                4
                                           P03			.EQU                3
                                           P02			.EQU                2
                                           P01			.EQU                1
                                           P00			.EQU                0
                                           _P05			.EQU                5
                                           _P04			.EQU                4
                                           _P03			.EQU                3
                                           _P02			.EQU                2
                                           _P01			.EQU                1
                                           _P00			.EQU                0
                                           
                                           ;  06H  P2   Bits-------------------------------------
                                           P25			.EQU                5
                                           P24			.EQU                4
                                           P23			.EQU                3
                                           P22			.EQU                2
                                           P21			.EQU                1
                                           P20			.EQU                0
                                           _P25			.EQU                5
                                           _P24			.EQU                4
                                           _P23			.EQU                3
                                           _P22			.EQU                2
                                           _P21			.EQU                1
                                           _P20			.EQU                0
                                           
                                           ;  07H  P1   Bits-------------------------------------
                                           P15			.EQU                5
                                           P14			.EQU                4
                                           P13			.EQU                3
                                           P12			.EQU                2
                                           P11			.EQU                1
                                           P10			.EQU                0
                                           _P15			.EQU                5
                                           _P14			.EQU                4
                                           _P13			.EQU                3
                                           _P12			.EQU                2
                                           _P11			.EQU                1
                                           _P10			.EQU                0
                                           
                                           ;  08H  P3   Bits-------------------------------------
                                           P37			.EQU                7
                                           P36			.EQU                6
                                           P35			.EQU                5
                                           P34			.EQU                4
                                           P33			.EQU                3
                                           P32			.EQU                2
                                           P31			.EQU                1
                                           P30			.EQU                0
                                           _P37			.EQU                7
                                           _P36			.EQU                6
                                           _P35			.EQU                5
                                           _P34			.EQU                4
                                           _P33			.EQU                3
                                           _P32			.EQU                2
                                           _P31			.EQU                1
                                           _P30			.EQU                0
                                           
                                           ;  0AH  PCH   Bits-------------------------------------
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIE			.EQU                7
                                           PUIE			.EQU                6
                                           T0IE			.EQU                5
                                           INT0IE			.EQU                4
                                           P0IE			.EQU                3
                                           T0IF			.EQU                2
                                           INT0IF			.EQU                1
                                           P0IF			.EQU                0
                                           _AIE			.EQU                7
                                           _PUIE			.EQU                6
                                           _T0IE			.EQU                5
                                           _INT0IE			.EQU                4
                                           _P0IE			.EQU                3
                                           _T0IF			.EQU                2
                                           _INT0IF			.EQU                1
                                           _P0IF			.EQU                0
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIEH			.EQU                7
                                           AIEL			.EQU                6
                                           _AIEH			.EQU                7
                                           _AIEL			.EQU                6
                                           
                                           ;  0CH  EIF1   Bits-------------------------------------
                                           ADIF			.EQU                6
                                           INT2IF			.EQU                5
                                           INT1IF			.EQU                4
                                           PWM2IF			.EQU                2
                                           T1IF			.EQU                0
                                           _ADIF			.EQU                6
                                           _INT2IF			.EQU                5
                                           _INT1IF			.EQU                4
                                           _PWM2IF			.EQU                2
                                           _T1IF			.EQU                0
                                           
                                           ;  0DH  EIF2   Bits-------------------------------------
                                           T3IF			.EQU                7
                                           BCLIF			.EQU                1
                                           SSCIIF			.EQU                0
                                           _T3IF			.EQU                7
                                           _BCLIF			.EQU                1
                                           _SSCIIF			.EQU                0
                                           
                                           ;  10H  T1CTL   Bits-------------------------------------
                                           T1RLD			.EQU                7
                                           T1GC			.EQU                6
                                           T1CKS1			.EQU                5
                                           T1CKS0			.EQU                4
                                           T1OSCEN			.EQU                3
                                           T1SY			.EQU                2
                                           T1CS			.EQU                1
                                           T1ON			.EQU                0
                                           _T1RLD			.EQU                7
                                           _T1GC			.EQU                6
                                           _T1CKS1			.EQU                5
                                           _T1CKS0			.EQU                4
                                           _T1OSCEN		.EQU                3
                                           _T1SY			.EQU                2
                                           _T1CS			.EQU                1
                                           _T1ON			.EQU                0
                                           
                                           ;  15H  PWMCTL   Bits-------------------------------------
                                           PWM2ON			.EQU                4
                                           PWM1ON			.EQU                0
                                           _PWM2ON			.EQU                4
                                           _PWM1ON			.EQU                0
                                           
                                           ;  17H  BANK   Bits-------------------------------------
                                           PR3			.EQU                3
                                           PR2			.EQU                2
                                           PR1			.EQU                1
                                           PR0			.EQU                0
                                           _PR3			.EQU                3
                                           _PR2			.EQU                2
                                           _PR1			.EQU                1
                                           _PR0			.EQU                0
                                           
                                           ;  1DH  ANSEH   Bits-------------------------------------
                                           ANS13			.EQU                5
                                           ANS12			.EQU                4
                                           ANS11			.EQU                3
                                           ANS10			.EQU                2
                                           ANS9			.EQU                1
                                           ANS8			.EQU                0
                                           _ANS13			.EQU                5
                                           _ANS12			.EQU                4
                                           _ANS11			.EQU                3
                                           _ANS10			.EQU                2
                                           _ANS9			.EQU                1
                                           _ANS8			.EQU                0
                                           
                                           ;  1FH  ADCCTL0   Bits-------------------------------------
                                           ADLR			.EQU                7
                                           CHS3			.EQU                5
                                           CHS2			.EQU                4
                                           CHS1			.EQU                3
                                           CHS0			.EQU                2
                                           START			.EQU                1
                                           ADEN			.EQU                0
                                           _ADLR			.EQU                7
                                           _CHS3			.EQU                5
                                           _CHS2			.EQU                4
                                           _CHS1			.EQU                3
                                           _CHS0			.EQU                2
                                           _START			.EQU                1
                                           _ADEN			.EQU                0
                                           
                                           ;  21H  OPTR   Bits-------------------------------------
                                           PUPH			.EQU                7
                                           INT0SE			.EQU                6
                                           T0CS			.EQU                5
                                           T0SE			.EQU                4
                                           PSA			.EQU                3
                                           PS2			.EQU                2
                                           PS1			.EQU                1
                                           PS0			.EQU                0
                                           _PUPH			.EQU                7
                                           _INT0SE			.EQU                6
                                           _T0CS			.EQU                5
                                           _T0SE			.EQU                4
                                           _PSA			.EQU                3
                                           _PS2			.EQU                2
                                           _PS1			.EQU                1
                                           _PS0			.EQU                0
                                           
                                           ;  22H  IP0   Bits-------------------------------------
                                           PT0			.EQU                2
                                           PINT0			.EQU                1
                                           PP0			.EQU                0
                                           _PT0			.EQU                2
                                           _PINT0			.EQU                1
                                           _PP0			.EQU                0
                                           
                                           ;  23H  IP1   Bits-------------------------------------
                                           PADC			.EQU                6
                                           PINT2			.EQU                5
                                           PINT1			.EQU                4
                                           PPWM2			.EQU                2
                                           PT1			.EQU                0
                                           _PADC			.EQU                6
                                           _PINT2			.EQU                5
                                           _PINT1			.EQU                4
                                           _PPWM2			.EQU                2
                                           _PT1			.EQU                0
                                           
                                           ;  24H  IP2   Bits-------------------------------------
                                           PT3			.EQU                7
                                           PBCL			.EQU                1
                                           PSSCI			.EQU                0
                                           _PT3			.EQU                7
                                           _PBCL			.EQU                1
                                           _PSSCI			.EQU                0
                                           
                                           ;  25H  TR0   Bits-------------------------------------
                                           TR05			.EQU                5
                                           TR04			.EQU                4
                                           TR03			.EQU                3
                                           TR02			.EQU                2
                                           TR01			.EQU                1
                                           TR00			.EQU                0
                                           _TR05			.EQU                5
                                           _TR04			.EQU                4
                                           _TR03			.EQU                3
                                           _TR02			.EQU                2
                                           _TR01			.EQU                1
                                           _TR00			.EQU                0
                                           
                                           ;  26H  TR2   Bits-------------------------------------
                                           TR25			.EQU                5
                                           TR24			.EQU                4
                                           TR23			.EQU                3
                                           TR22			.EQU                2
                                           TR21			.EQU                1
                                           TR20			.EQU                0
                                           _TR25			.EQU                5
                                           _TR24			.EQU                4
                                           _TR23			.EQU                3
                                           _TR22			.EQU                2
                                           _TR21			.EQU                1
                                           _TR20			.EQU                0
                                           
                                           ;  27H  TR1   Bits-------------------------------------
                                           TR15			.EQU                5
                                           TR14			.EQU                4
                                           TR13			.EQU                3
                                           TR12			.EQU                2
                                           TR11			.EQU                1
                                           TR10			.EQU                0
                                           _TR15			.EQU                5
                                           _TR14			.EQU                4
                                           _TR13			.EQU                3
                                           _TR12			.EQU                2
                                           _TR11			.EQU                1
                                           _TR10			.EQU                0
                                           
                                           ;  28H  OSCSTA   Bits-------------------------------------
                                           OSTS			.EQU                6
                                           HTS			.EQU                5
                                           LTS			.EQU                4
                                           SCF1			.EQU                1
                                           SCF0			.EQU                0
                                           _OSTS			.EQU                6
                                           _HTS			.EQU                5
                                           _LTS			.EQU                4
                                           _SCF1			.EQU                1
                                           _SCF0			.EQU                0
                                           
                                           ;  29H  IP3   Bits-------------------------------------
                                           PT4			.EQU                7
                                           POSCFAIL		.EQU                5
                                           _PT4			.EQU                7
                                           _POSCFAIL		.EQU                5
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VRESEL1			.EQU                7
                                           VRESEL0			.EQU                6
                                           VRECALEN		.EQU                5
                                           VREBG			.EQU                4
                                           VREOE			.EQU                3
                                           P18OE			.EQU                2
                                           VREEN			.EQU                1
                                           LPREN			.EQU                0
                                           _VRESEL1		.EQU                7
                                           _VRESEL0		.EQU                6
                                           _VRECALEN		.EQU                5
                                           _VREBG			.EQU                4
                                           _VREOE			.EQU                3
                                           _P18OE			.EQU                2
                                           _VREEN			.EQU                1
                                           _LPREN			.EQU                0
                                           VRECKEN			.EQU                4
                                           _VRECKEN		.EQU                4
                                           ;  2CH  EIE1   Bits-------------------------------------
                                           ADIE			.EQU                6
                                           INT2IE			.EQU                5
                                           INT1IE			.EQU                4
                                           PWM2IE			.EQU                2
                                           T1IE			.EQU                0
                                           _ADIE			.EQU                6
                                           _INT2IE			.EQU                5
                                           _INT1IE			.EQU                4
                                           _PWM2IE			.EQU                2
                                           _T1IE			.EQU                0
                                           
                                           ;  2DH  EIE2   Bits-------------------------------------
                                           T3IE			.EQU                7
                                           BCLIE			.EQU                1
                                           SSCIIE			.EQU                0
                                           _T3IE			.EQU                7
                                           _BCLIE			.EQU                1
                                           _SSCIIE			.EQU                0
                                           
                                           ;  2EH  PCTL   Bits-------------------------------------
                                           SLVREN			.EQU                4
                                           IPEN			.EQU                3
                                           SWDTEN			.EQU                2
                                           POR			.EQU                1
                                           LVR			.EQU                0
                                           _SLVREN			.EQU                4
                                           _IPEN			.EQU                3
                                           _SWDTEN			.EQU                2
                                           _POR			.EQU                1
                                           _LVR			.EQU                0
                                           
                                           ;  2FH  OSCCTL   Bits-------------------------------------
                                           CLKOE			.EQU                7
                                           IRCS2			.EQU                6
                                           IRCS1			.EQU                5
                                           IRCS0			.EQU                4
                                           SCS1			.EQU                3
                                           SCS0			.EQU                2
                                           IESO			.EQU                1
                                           FSCM			.EQU                0
                                           _CLKOE			.EQU                7
                                           _IRCS2			.EQU                6
                                           _IRCS1			.EQU                5
                                           _IRCS0			.EQU                4
                                           _SCS1			.EQU                3
                                           _SCS0			.EQU                2
                                           _IESO			.EQU                1
                                           _FSCM			.EQU                0
                                           
                                           ;  31H  ANSEL   Bits-------------------------------------
                                           ANS7			.EQU                7
                                           ANS6			.EQU                6
                                           ANS5			.EQU                5
                                           ANS4			.EQU                4
                                           ANS3			.EQU                3
                                           ANS2			.EQU                2
                                           ANS1			.EQU                1
                                           ANS0			.EQU                0
                                           _ANS7			.EQU                7
                                           _ANS6			.EQU                6
                                           _ANS5			.EQU                5
                                           _ANS4			.EQU                4
                                           _ANS3			.EQU                3
                                           _ANS2			.EQU                2
                                           _ANS1			.EQU                1
                                           _ANS0			.EQU                0
                                           
                                           ;  35H  PUR0   Bits-------------------------------------
                                           PUR05			.EQU                5
                                           PUR04			.EQU                4
                                           PUR03			.EQU                3
                                           PUR01			.EQU                1
                                           PUR00			.EQU                0
                                           _PUR05			.EQU                5
                                           _PUR04			.EQU                4
                                           _PUR03			.EQU                3
                                           _PUR01			.EQU                1
                                           _PUR00			.EQU                0
                                           
                                           ;  36H  IOCL   Bits-------------------------------------
                                           IOCL5			.EQU                5
                                           IOCL4			.EQU                4
                                           IOCL3			.EQU                3
                                           IOCL2			.EQU                2
                                           IOCL1			.EQU                1
                                           IOCL0			.EQU                0
                                           _IOCL5			.EQU                5
                                           _IOCL4			.EQU                4
                                           _IOCL3			.EQU                3
                                           _IOCL2			.EQU                2
                                           _IOCL1			.EQU                1
                                           _IOCL0			.EQU                0
                                           
                                           ;  3FH  ADCCTL1   Bits-------------------------------------
                                           ADCALEN			.EQU                7
                                           ADCS2			.EQU                6
                                           ADCS1			.EQU                5
                                           ADCS0			.EQU                4
                                           VCFG1			.EQU                3
                                           VCFG0			.EQU                2
                                           ADCIM			.EQU                0
                                           _ADCALEN		.EQU                7
                                           _ADCS2			.EQU                6
                                           _ADCS1			.EQU                5
                                           _ADCS0			.EQU                4
                                           _VCFG1			.EQU                3
                                           _VCFG0			.EQU                2
                                           _ADCIM			.EQU                0
                                           
                                           ;  45H  P0LR   Bits-------------------------------------
                                           P0LR5			.EQU                5
                                           P0LR4			.EQU                4
                                           P0LR3			.EQU                3
                                           P0LR1			.EQU                1
                                           P0LR0			.EQU                0
                                           _P0LR5			.EQU                5
                                           _P0LR4			.EQU                4
                                           _P0LR3			.EQU                3
                                           _P0LR1			.EQU                1
                                           _P0LR0			.EQU                0
                                           
                                           ;  46H  P2LR   Bits-------------------------------------
                                           P2LR5			.EQU                5
                                           P2LR4			.EQU                4
                                           P2LR3			.EQU                3
                                           P2LR2			.EQU                2
                                           P2LR1			.EQU                1
                                           P2LR0			.EQU                0
                                           _P2LR5			.EQU                5
                                           _P2LR4			.EQU                4
                                           _P2LR3			.EQU                3
                                           _P2LR2			.EQU                2
                                           _P2LR1			.EQU                1
                                           _P2LR0			.EQU                0
                                           
                                           ;  47H  P1LR   Bits-------------------------------------
                                           P1LR5			.EQU                5
                                           P1LR4			.EQU                4
                                           P1LR3			.EQU                3
                                           P1LR2			.EQU                2
                                           P1LR1			.EQU                1
                                           P1LR0			.EQU                0
                                           _P1LR5			.EQU                5
                                           _P1LR4			.EQU                4
                                           _P1LR3			.EQU                3
                                           _P1LR2			.EQU                2
                                           _P1LR1			.EQU                1
                                           _P1LR0			.EQU                0
                                           
                                           ;  48H  P3LR   Bits-------------------------------------
                                           P3LR7			.EQU                7
                                           P3LR6			.EQU                6
                                           P3LR5			.EQU                5
                                           P3LR4			.EQU                4
                                           P3LR3			.EQU                3
                                           P3LR2			.EQU                2
                                           P3LR1			.EQU                1
                                           P3LR0			.EQU                0
                                           _P3LR7			.EQU                7
                                           _P3LR6			.EQU                6
                                           _P3LR5			.EQU                5
                                           _P3LR4			.EQU                4
                                           _P3LR3			.EQU                3
                                           _P3LR2			.EQU                2
                                           _P3LR1			.EQU                1
                                           _P3LR0			.EQU                0
                                           
                                           ;  49H  TR3   Bits-------------------------------------
                                           TR37			.EQU                7
                                           TR36			.EQU                6
                                           TR35			.EQU                5
                                           TR34			.EQU                4
                                           TR33			.EQU                3
                                           TR32			.EQU                2
                                           TR31			.EQU                1
                                           TR30			.EQU                0
                                           _TR37			.EQU                7
                                           _TR36			.EQU                6
                                           _TR35			.EQU                5
                                           _TR34			.EQU                4
                                           _TR33			.EQU                3
                                           _TR32			.EQU                2
                                           _TR31			.EQU                1
                                           _TR30			.EQU                0
                                           
                                           ;  4AH  EIE3   Bits-------------------------------------
                                           T4IE			.EQU                7
                                           OSCFAILIE		.EQU                5
                                           _T4IE			.EQU                7
                                           _OSCFAILIE		.EQU                5
                                           
                                           ;  4BH  EIF3   Bits-------------------------------------
                                           T4IF			.EQU                7
                                           OSCFAILIF		.EQU                5
                                           _T4IF			.EQU                7
                                           _OSCFAILIF		.EQU                5
                                           
                                           ;  4EH  T3CTL   Bits-------------------------------------
                                           T3EN			.EQU                7
                                           T3CKS1			.EQU                6
                                           T3CKS0			.EQU                5
                                           T3CS			.EQU                4
                                           _T3EN			.EQU                7
                                           _T3CKS1			.EQU                6
                                           _T3CKS0			.EQU                5
                                           _T3CS			.EQU                4
                                           
                                           ;  53H  CTCTL0   Bits-------------------------------------
                                           CTEN			.EQU                7
                                           CTSTART			.EQU                6
                                           T3CLR			.EQU                5
                                           CTCHSEL4		.EQU                4
                                           CTCHSEL3		.EQU                3
                                           CTCHSEL2		.EQU                2
                                           CTCHSEL1		.EQU                1
                                           CTCHSEL0		.EQU                0
                                           _CTEN			.EQU                7
                                           _CTSTART		.EQU                6
                                           _T3CLR			.EQU                5
                                           _CTCHSEL4		.EQU                4
                                           _CTCHSEL3		.EQU                3
                                           _CTCHSEL2		.EQU                2
                                           _CTCHSEL1		.EQU                1
                                           _CTCHSEL0		.EQU                0
                                           
                                           ;  60H  PUR1   Bits-------------------------------------
                                           PUR15			.EQU                5
                                           PUR14			.EQU                4
                                           PUR13			.EQU                3
                                           PUR12			.EQU                2
                                           PUR11			.EQU                1
                                           PUR10			.EQU                0
                                           _PUR15			.EQU                5
                                           _PUR14			.EQU                4
                                           _PUR13			.EQU                3
                                           _PUR12			.EQU                2
                                           _PUR11			.EQU                1
                                           _PUR10			.EQU                0
                                           
                                           ;  61H  PUR2   Bits-------------------------------------
                                           PUR25			.EQU                5
                                           PUR24			.EQU                4
                                           PUR23			.EQU                3
                                           PUR22			.EQU                2
                                           PUR21			.EQU                1
                                           PUR20			.EQU                0
                                           _PUR25			.EQU                5
                                           _PUR24			.EQU                4
                                           _PUR23			.EQU                3
                                           _PUR22			.EQU                2
                                           _PUR21			.EQU                1
                                           _PUR20			.EQU                0
                                           
                                           ;  64H  CTCTL1   Bits-------------------------------------
                                           CTCLKSEL1		.EQU                7
                                           CTCLKSEL0		.EQU                6
                                           VSEL			.EQU                0
                                           _CTCLKSEL1		.EQU                7
                                           _CTCLKSEL0		.EQU                6
                                           _VSEL			.EQU                0
                                           
                                           ;  67H  INTEDGCTL   Bits-------------------------------------
                                           INT2SE			.EQU                7
                                           INT1SE			.EQU                6
                                           T1CLKEN			.EQU                0
                                           _INT2SE			.EQU                7
                                           _INT1SE			.EQU                6
                                           _T1CLKEN		.EQU                0
                                           
                                           ;  6BH  VBIASCTL   Bits-------------------------------------
                                           VBIASEN			.EQU                7
                                           VBSEL			.EQU                6
                                           ISEL3			.EQU                3
                                           ISEL2			.EQU                2
                                           ISEL1			.EQU                1
                                           ISEL0			.EQU                0
                                           _VBIASEN		.EQU                7
                                           _VBSEL			.EQU                6
                                           _ISEL3			.EQU                3
                                           _ISEL2			.EQU                2
                                           _ISEL1			.EQU                1
                                           _ISEL0			.EQU                0
                                           
                                           ;  6CH  VBIAS1EN   Bits-------------------------------------
                                           VBS17EN			.EQU                7
                                           VBS16EN			.EQU                6
                                           VBS15EN			.EQU                5
                                           VBS14EN			.EQU                4
                                           VBS13EN			.EQU                3
                                           VBS12EN			.EQU                2
                                           VBS11EN			.EQU                1
                                           VBS10EN			.EQU                0
                                           _VBS17EN		.EQU                7
                                           _VBS16EN		.EQU                6
                                           _VBS15EN		.EQU                5
                                           _VBS14EN		.EQU                4
                                           _VBS13EN		.EQU                3
                                           _VBS12EN		.EQU                2
                                           _VBS11EN		.EQU                1
                                           _VBS10EN		.EQU                0
                                           
                                           ;  6DH  VBIAS2EN   Bits-------------------------------------
                                           VBS27EN			.EQU                7
                                           VBS26EN			.EQU                6
                                           VBS25EN			.EQU                5
                                           VBS24EN			.EQU                4
                                           VBS23EN 		.EQU                3
                                           VBS22EN			.EQU                2
                                           VBS21EN			.EQU                1
                                           VBS20EN			.EQU                0
                                           _VBS27EN		.EQU                7
                                           _VBS26EN		.EQU                6
                                           _VBS25EN		.EQU                5
                                           _VBS24EN		.EQU                4
                                           _VBS23EN 		.EQU                3
                                           _VBS22EN		.EQU                2
                                           _VBS21EN		.EQU                1
                                           _VBS20EN		.EQU                0
                                           
                                           ;  112H  VDAC   Bits-------------------------------------
                                           VDAC3			.EQU                7
                                           VDAC2			.EQU                6
                                           VDAC1			.EQU                5
                                           VDAC0			.EQU                4
                                           _VDAC3			.EQU                7
                                           _VDAC2			.EQU                6
                                           _VDAC1			.EQU                5
                                           _VDAC0			.EQU                4
                                           
                                           ;  128H  SSCICTL0   Bits-------------------------------------
                                           SSCIWCFL		.EQU                7
                                           SSCIOV			.EQU                6
                                           SSCIEN			.EQU                5
                                           SSCICKP			.EQU                4
                                           SSCIMOD3		.EQU                3
                                           SSCIMOD2		.EQU                2
                                           SSCIMOD1		.EQU                1
                                           SSCIMOD0		.EQU                0
                                           _SSCIWCFL		.EQU                7
                                           _SSCIOV			.EQU                6
                                           _SSCIEN			.EQU                5
                                           _SSCICKP		.EQU                4
                                           _SSCIMOD3		.EQU                3
                                           _SSCIMOD2		.EQU                2
                                           _SSCIMOD1		.EQU                1
                                           _SSCIMOD0		.EQU                0
                                           
                                           ;  12AH  SSCICTL1   Bits-------------------------------------
                                           SSCICALLEN		.EQU                7
                                           SSCIACKSTA		.EQU                6
                                           SSCIACKDAT		.EQU                5
                                           SSCIACKEN		.EQU                4
                                           SSCIRCEN		.EQU                3
                                           STOPEN			.EQU                2
                                           RESTARTEN		.EQU                1
                                           STARTEN			.EQU                0
                                           _SSCICALLEN		.EQU                7
                                           _SSCIACKSTA		.EQU                6
                                           _SSCIACKDAT		.EQU                5
                                           _SSCIACKEN		.EQU                4
                                           _SSCIRCEN		.EQU                3
                                           _STOPEN			.EQU                2
                                           _RESTARTEN		.EQU                1
                                           _STARTEN		.EQU                0
                                           
                                           ;  12BH  SSCISTA   Bits-------------------------------------
                                           SAMPLE			.EQU                7
                                           CKEGE			.EQU                6
                                           SSCIDA			.EQU                5
                                           SSCISTOP		.EQU                4
                                           SSCISTART		.EQU                3
                                           SSCIRW			.EQU                2
                                           SSCIUA			.EQU                1
                                           SSCIBUF			.EQU                0
                                           _SAMPLE			.EQU                7
                                           _CKEGE			.EQU                6
                                           _SSCIDA			.EQU                5
                                           _SSCISTOP		.EQU                4
                                           _SSCISTART		.EQU                3
                                           _SSCIRW			.EQU                2
                                           _SSCIUA			.EQU                1
                                           _SSCIBUF		.EQU                0
                                           
                                           ;  12EH  SSCIMSK   Bits-------------------------------------
                                           SSCIMSK7		.EQU                7
                                           SSCIMSK6		.EQU                6
                                           SSCIMSK5		.EQU                5
                                           SSCIMSK4		.EQU                4
                                           SSCIMSK3		.EQU                3
                                           SSCIMSK2		.EQU                2
                                           SSCIMSK1		.EQU                1
                                           SSCIMSK0		.EQU                0
                                           _SSCIMSK7		.EQU                7
                                           _SSCIMSK6		.EQU                6
                                           _SSCIMSK5		.EQU                5
                                           _SSCIMSK4		.EQU                4
                                           _SSCIMSK3		.EQU                3
                                           _SSCIMSK2		.EQU                2
                                           _SSCIMSK1		.EQU                1
                                           _SSCIMSK0		.EQU                0
                                           
                                           ;  12FH  WDTPS   Bits-------------------------------------
                                           WDTPS3			.EQU                3
                                           WDTPS2			.EQU                2
                                           WDTPS1			.EQU                1
                                           WDTPS0			.EQU                0
                                           _WDTPS3			.EQU                3
                                           _WDTPS2			.EQU                2
                                           _WDTPS1			.EQU                1
                                           _WDTPS0			.EQU                0
                                           
                                           ;  140H  LEDCTL   Bits-------------------------------------
                                           LEDEN			.EQU                7
                                           DIGEN2			.EQU                4
                                           DIGEN1			.EQU                3
                                           DIGEN0			.EQU                2
                                           PNS1			.EQU                1
                                           PNS0			.EQU                0
                                           _LEDEN			.EQU                7
                                           _DIGEN2			.EQU                4
                                           _DIGEN1			.EQU                3
                                           _DIGEN0			.EQU                2
                                           _PNS1			.EQU                1
                                           _PNS0			.EQU                0
                                           
                                           ;  141H  LEDPRE   Bits-------------------------------------
                                           LEDCKS13		.EQU                7
                                           LEDCKS12		.EQU                6
                                           LEDCKS11		.EQU                5
                                           LEDCKS10		.EQU                4
                                           LEDCKS03		.EQU                3
                                           LEDCKS02		.EQU                2
                                           LEDCKS01		.EQU                1
                                           LEDCKS00		.EQU                0
                                           _LEDCKS13		.EQU                7
                                           _LEDCKS12		.EQU                6
                                           _LEDCKS11		.EQU                5
                                           _LEDCKS10		.EQU                4
                                           _LEDCKS03		.EQU                3
                                           _LEDCKS02		.EQU                2
                                           _LEDCKS01		.EQU                1
                                           _LEDCKS00		.EQU                0
                                           
                                           ;  142H  LEDDATA0   Bits-------------------------------------
                                           DAT07			.EQU                7
                                           DAT06			.EQU                6
                                           DAT05			.EQU                5
                                           DAT04			.EQU                4
                                           DAT03			.EQU                3
                                           DAT02			.EQU                2
                                           DAT01			.EQU                1
                                           DAT00			.EQU                0
                                           _DAT07			.EQU                7
                                           _DAT06			.EQU                6
                                           _DAT05			.EQU                5
                                           _DAT04			.EQU                4
                                           _DAT03			.EQU                3
                                           _DAT02			.EQU                2
                                           _DAT01			.EQU                1
                                           _DAT00			.EQU                0
                                           
                                           ;  143H  LEDDATA1   Bits-------------------------------------
                                           DAT17			.EQU                7
                                           DAT16			.EQU                6
                                           DAT15			.EQU                5
                                           DAT14			.EQU                4
                                           DAT13			.EQU                3
                                           DAT12			.EQU                2
                                           DAT11			.EQU                1
                                           DAT10			.EQU                0
                                           _DAT17			.EQU                7
                                           _DAT16			.EQU                6
                                           _DAT15			.EQU                5
                                           _DAT14			.EQU                4
                                           _DAT13			.EQU                3
                                           _DAT12			.EQU                2
                                           _DAT11			.EQU                1
                                           _DAT10			.EQU                0
                                           
                                           ;  144H  LEDDATA2   Bits-------------------------------------
                                           DAT27			.EQU                7
                                           DAT26			.EQU                6
                                           DAT25			.EQU                5
                                           DAT24			.EQU                4
                                           DAT23			.EQU                3
                                           DAT22			.EQU                2
                                           DAT21			.EQU                1
                                           DAT20			.EQU                0
                                           _DAT27			.EQU                7
                                           _DAT26			.EQU                6
                                           _DAT25			.EQU                5
                                           _DAT24			.EQU                4
                                           _DAT23			.EQU                3
                                           _DAT22			.EQU                2
                                           _DAT21			.EQU                1
                                           _DAT20			.EQU                0
                                           
                                           ;  145H  LEDDATA3   Bits-------------------------------------
                                           DAT37			.EQU                7
                                           DAT36			.EQU                6
                                           DAT35			.EQU                5
                                           DAT34			.EQU                4
                                           DAT33			.EQU                3
                                           DAT32			.EQU                2
                                           DAT31			.EQU                1
                                           DAT30			.EQU                0
                                           _DAT37			.EQU                7
                                           _DAT36			.EQU                6
                                           _DAT35			.EQU                5
                                           _DAT34			.EQU                4
                                           _DAT33			.EQU                3
                                           _DAT32			.EQU                2
                                           _DAT31			.EQU                1
                                           _DAT30			.EQU                0
                                           
                                           ;  146H  LEDDATA4   Bits-------------------------------------
                                           DAT47			.EQU                7
                                           DAT46			.EQU                6
                                           DAT45			.EQU                5
                                           DAT44			.EQU                4
                                           DAT43			.EQU                3
                                           DAT42			.EQU                2
                                           DAT41			.EQU                1
                                           DAT40			.EQU                0
                                           _DAT47			.EQU                7
                                           _DAT46			.EQU                6
                                           _DAT45			.EQU                5
                                           _DAT44			.EQU                4
                                           _DAT43			.EQU                3
                                           _DAT42			.EQU                2
                                           _DAT41			.EQU                1
                                           _DAT40			.EQU                0
                                           
                                           ;  147H  LEDDATA5   Bits-------------------------------------
                                           DAT57			.EQU                7
                                           DAT56			.EQU                6
                                           DAT55			.EQU                5
                                           DAT54			.EQU                4
                                           DAT53			.EQU                3
                                           DAT52			.EQU                2
                                           DAT51			.EQU                1
                                           DAT50			.EQU                0
                                           _DAT57			.EQU                7
                                           _DAT56			.EQU                6
                                           _DAT55			.EQU                5
                                           _DAT54			.EQU                4
                                           _DAT53			.EQU                3
                                           _DAT52			.EQU                2
                                           _DAT51			.EQU                1
                                           _DAT50			.EQU                0
                                           
                                           ;  148H  LEDDATA6   Bits-------------------------------------
                                           DAT67			.EQU                7
                                           DAT66			.EQU                6
                                           DAT65			.EQU                5
                                           DAT64			.EQU                4
                                           DAT63			.EQU                3
                                           DAT62			.EQU                2
                                           DAT61			.EQU                1
                                           DAT60			.EQU                0
                                           _DAT67			.EQU                7
                                           _DAT66			.EQU                6
                                           _DAT65			.EQU                5
                                           _DAT64			.EQU                4
                                           _DAT63			.EQU                3
                                           _DAT62			.EQU                2
                                           _DAT61			.EQU                1
                                           _DAT60			.EQU                0
                                           
                                           ;  149H  LEDDATA7   Bits-------------------------------------
                                           DAT77			.EQU                7
                                           DAT76			.EQU                6
                                           DAT75			.EQU                5
                                           DAT74			.EQU                4
                                           DAT73			.EQU                3
                                           DAT72			.EQU                2
                                           DAT71			.EQU                1
                                           DAT70			.EQU                0
                                           _DAT77			.EQU                7
                                           _DAT76			.EQU                6
                                           _DAT75			.EQU                5
                                           _DAT74			.EQU                4
                                           _DAT73			.EQU                3
                                           _DAT72			.EQU                2
                                           _DAT71			.EQU                1
                                           _DAT70			.EQU                0
                                           
                                           ;  150H  LEDOMS1   Bits-------------------------------------
                                           LEDOM17			.EQU                7
                                           LEDOM16			.EQU                6
                                           LEDOM15			.EQU                5
                                           LEDOM14			.EQU                4
                                           LEDOM13			.EQU                3
                                           LEDOM12			.EQU                2
                                           LEDOM11			.EQU                1
                                           LEDOM10			.EQU                0
                                           _LEDOM17		.EQU                7
                                           _LEDOM16		.EQU                6
                                           _LEDOM15		.EQU                5
                                           _LEDOM14		.EQU                4
                                           _LEDOM13		.EQU                3
                                           _LEDOM12		.EQU                2
                                           _LEDOM11		.EQU                1
                                           _LEDOM10		.EQU                0
                                           
                                           ;  155H  LEDODS0   Bits-------------------------------------
                                           LEDOD07			.EQU                7
                                           LEDOD06			.EQU                6
                                           LEDOD05			.EQU                5
                                           LEDOD04			.EQU                4
                                           LEDOD03			.EQU                3
                                           LEDOD02			.EQU                2
                                           LEDOD01			.EQU                1
                                           LEDOD00			.EQU                0
                                           _LEDOD07		.EQU                7
                                           _LEDOD06		.EQU                6
                                           _LEDOD05		.EQU                5
                                           _LEDOD04		.EQU                4
                                           _LEDOD03		.EQU                3
                                           _LEDOD02		.EQU                2
                                           _LEDOD01		.EQU                1
                                           _LEDOD00		.EQU                0
                                           
                                           ;  157H  LEDOMS0   Bits-------------------------------------
                                           LEDOM07			.EQU                7
                                           LEDOM06			.EQU                6
                                           LEDOM05			.EQU                5
                                           LEDOM04			.EQU                4
                                           LEDOM03			.EQU                3
                                           LEDOM02			.EQU                2
                                           LEDOM01			.EQU                1
                                           LEDOM00			.EQU                0
                                           _LEDOM07		.EQU                7
                                           _LEDOM06		.EQU                6
                                           _LEDOM05		.EQU                5
                                           _LEDOM04		.EQU                4
                                           _LEDOM03		.EQU                3
                                           _LEDOM02		.EQU                2
                                           _LEDOM01		.EQU                1
                                           _LEDOM00		.EQU                0
                                           
                                           ;  158H  LEDODS1   Bits-------------------------------------
                                           LEDOD17			.EQU                7
                                           LEDOD16			.EQU                6
                                           LEDOD15			.EQU                5
                                           LEDOD14			.EQU                4
                                           LEDOD13			.EQU                3
                                           LEDOD12			.EQU                2
                                           LEDOD11			.EQU                1
                                           LEDOD10			.EQU                0
                                           _LEDOD17		.EQU                7
                                           _LEDOD16		.EQU                6
                                           _LEDOD15		.EQU                5
                                           _LEDOD14		.EQU                4
                                           _LEDOD13		.EQU                3
                                           _LEDOD12		.EQU                2
                                           _LEDOD11		.EQU                1
                                           _LEDOD10		.EQU                0
                                           
                                           ;  15CH  LEDLUM   Bits-------------------------------------
                                           LEDBR			.EQU                7
                                           FRAMEF			.EQU                3
                                           LUM2			.EQU                2
                                           LUM1			.EQU                1
                                           LUM0			.EQU                0
                                           _LEDBR			.EQU                7
                                           _FRAMEF			.EQU                3
                                           _LUM2			.EQU                2
                                           _LUM1			.EQU                1
                                           _LUM0			.EQU                0
                                           
                                           ;  164H  T4CTL   Bits-------------------------------------
                                           T4REN			.EQU                7
                                           HSPEN			.EQU                6
                                           T4CKS1			.EQU                5
                                           T4CKS0			.EQU                4
                                           LSPEN			.EQU                3
                                           T4CS1			.EQU                2
                                           T4CS0			.EQU                1
                                           T4ON			.EQU                0
                                           _T4REN			.EQU                7
                                           _HSPEN			.EQU                6
                                           _T4CKS1			.EQU                5
                                           _T4CKS0			.EQU                4
                                           _LSPEN			.EQU                3
                                           _T4CS1			.EQU                2
                                           _T4CS0			.EQU                1
                                           _T4ON			.EQU                0
                                           ;************************************************************
                                           ;       Header file for the KungFu8 END
                                           ;       KF8TS2516
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           	.extern	_init_mcu
                                           	.extern	__R2PCL
                                           	.extern	_TOUCH_DEBUG_TRS_DEAL
                                           	.extern	_TOUCH_DEBUG_SEND_OUT
                                           	.extern	_delay_ms
                                           	.extern	_delay_us
                                           	.extern	_PSW_bits
                                           	.extern	_P0_bits
                                           	.extern	_P2_bits
                                           	.extern	_P1_bits
                                           	.extern	_PCH_bits
                                           	.extern	_INTCTL_bits
                                           	.extern	_EIF1_bits
                                           	.extern	_EIF2_bits
                                           	.extern	_T1CTL_bits
                                           	.extern	_PWMCTL_bits
                                           	.extern	_BANK_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	_EIE3_bits
                                           	.extern	_EIF3_bits
                                           	.extern	_T3CTL_bits
                                           	.extern	_CTCTL0_bits
                                           	.extern	_PUR1_bits
                                           	.extern	_PUR2_bits
                                           	.extern	_CTCTL1_bits
                                           	.extern	_INTEDGCTL_bits
                                           	.extern	_VDAC_bits
                                           	.extern	_VRES_bits
                                           	.extern	_C1CAL_bits
                                           	.extern	_SSCICTL0_bits
                                           	.extern	_SSCICTL1_bits
                                           	.extern	_SSCISTA_bits
                                           	.extern	_SSCIADD_bits
                                           	.extern	_SSCIMSK_bits
                                           	.extern	_WDTPS_bits
                                           	.extern	_C1FILTCTL_bits
                                           	.extern	_C1FILTPRE_bits
                                           	.extern	_CTCTL2_bits
                                           	.extern	_T4CTL_bits
                                           	.extern	_sentbuf1
                                           	.extern	_sentbuf2
                                           	.extern	_sentbuf3
                                           	.extern	_sentbuf4
                                           	.extern	__KF8_LIBi_channel_flag_
                                           	.extern	__KF8_LIBc_channel_
                                           	.extern	__KF8_LIBi_Date_Change_
                                           	.extern	__KF8_LIBc_baseline_count_
                                           	.extern	__KF8_LIBi_buff_hit_
                                           	.extern	__KF8_LIBi_buff_baseline_
                                           	.extern	__KF8_LIBc_touch_count_
                                           	.extern	_CHS_AMOUNT
                                           	.extern	_TCS_AMOUNT
                                           	.extern	__KF8_Disturb_Protect_Circle_
                                           	.extern	__KF8_DoubleKey_Compages_Limitable_Circle_
                                           	.extern	__KF8_Key_Max_Pressed_Limitable_Circle_
                                           	.extern	__KF8_BaseLine_Update_Circle_Count_For_UP_
                                           	.extern	__KF8_BaseLine_Update_Circle_Count_For_Down_
                                           	.extern	__KF8_Define_Disturb_Channels_Amount_
                                           	.extern	__KF8_BasicLine_UP_Noise_Threshold_
                                           	.extern	__KF8_BasicLine_Down_Noise_Threshold_
                                           	.extern	__KF8_Data_Steady_Threshold_Set_
                                           	.extern	__KF8_Inside_Reference_Channel_Disturb_Threshold_Set_
                                           	.extern	__KF8_Inside_Reference_Channel_Declare_
                                           	.extern	__KF8_Config_Finger_Threshold
                                           	.extern	__KF8_TOUCH_CH_EN
                                           	.extern	_T0
                                           	.extern	_PCL
                                           	.extern	_PSW
                                           	.extern	_P0
                                           	.extern	_P2
                                           	.extern	_P1
                                           	.extern	_PCH
                                           	.extern	_INTCTL
                                           	.extern	_EIF1
                                           	.extern	_EIF2
                                           	.extern	_T1L
                                           	.extern	_T1H
                                           	.extern	_T1CTL
                                           	.extern	_PWM1L
                                           	.extern	_PWMCTL
                                           	.extern	_PP1
                                           	.extern	_BANK
                                           	.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	_PUR0
                                           	.extern	_IOCL
                                           	.extern	_OSCCAL1
                                           	.extern	_NVMDATAH
                                           	.extern	_NVMDATAL
                                           	.extern	_NVMADDRH
                                           	.extern	_NVMADDRL
                                           	.extern	_NVMCTL0
                                           	.extern	_NVMCTL1
                                           	.extern	_ADCDATA0L
                                           	.extern	_ADCCTL1
                                           	.extern	_P0LR
                                           	.extern	_P2LR
                                           	.extern	_P1LR
                                           	.extern	_EIE3
                                           	.extern	_EIF3
                                           	.extern	_OSCCAL2
                                           	.extern	_OSCCAL3
                                           	.extern	_T3CTL
                                           	.extern	_T3L
                                           	.extern	_CTCTL0
                                           	.extern	_T3H
                                           	.extern	_PUR1
                                           	.extern	_PUR2
                                           	.extern	_CTCTL1
                                           	.extern	_INTEDGCTL
                                           	.extern	_ADCDATA3L
                                           	.extern	_VDAC
                                           	.extern	_VRES
                                           	.extern	_C1CAL
                                           	.extern	_SSCICTL0
                                           	.extern	_SSCICTL1
                                           	.extern	_SSCISTA
                                           	.extern	_SSCIBUFR
                                           	.extern	_SSCIADD
                                           	.extern	_SSCIMSK
                                           	.extern	_WDTPS
                                           	.extern	_C1FILTCTL
                                           	.extern	_C1FILTPRE
                                           	.extern	_VRECAL2
                                           	.extern	_VRECAL3
                                           	.extern	_CTCTL2
                                           	.extern	_T4L
                                           	.extern	_T4H
                                           	.extern	_T4REL
                                           	.extern	_T4REH
                                           	.extern	_T4CTL
                                           	.extern	_RC32KCAL
                                           
                                           	.extern I0R1
                                           	.extern I0R7
                                           	.extern I0PSW
                                           	.extern I0PCH
                                           	.extern I1R1
                                           	.extern I1R7
                                           	.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	__KF8TS35_Get_Ver_cs_General_
                                           	.global	__KF8TS35_Touch_TEST_cs_General_
                                           	.global	__KF8TS35_Touch_Process_cs_General_
                                           	.global	__KF8TS35_Init_Touch_cs_General_
                                           	.global	__KF8TS35_Lib_Set_General_cs_Parameter
                                           	.global	__KF8_lib_Wave_Protect_Time_Count_TS3_CS_T_
                                           	.global	__KF8_lib_MAX_KEY_Vaule_Time_Count_TS3_CS_T_
                                           	.global	__KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_
                                           	.global	__KF8_lib_Key_Down_Count_TS3_CS_T_
                                           	.global	__KF8_LIBc_finger_OUT_First_TS3_CS_T_
                                           	.global	__KF8_LIBc_finger_OUT_Second_TS3_CS_T_
                                           	.global	__KF8_lib_Finded_MAX_I_TS3_CS_T_
                                           	.global	__KF8_lib_Finded_MAX_J_TS3_CS_T_
                                           	.global	__KF8_lib_CH_DW_Change_Count_TS3_CS_T_
                                           	.global	__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
                                           	.global	__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
                                           	.global	__KF8_lib_bahualvtemportemp_TS3_CS_T_
                                           	.global	__KF8_lib_Date_Uchar_Temp_TS3_CS_T_
                                           	.global	_change_buf_KF8_Lib_TS3_CS_T_
                                           	.global	_i_KF8_lib_TS3_CS_T_
                                           	.global	_result_temp_KF8_Lib_TS3_CS_T_
                                           	.global	_Addr_Copy_Int_KF8_Lib_TS3_CS_T_
                                           	.global	__KF8_LIBi_Touch_New_Date_TS3_CS_T_
                                           	.global	__KF8_Temp_Cur_A_TS3_CS_T_
                                           	.global	__KF8_Temp_Cur_B_TS3_CS_T_
                                           	.global	_touch_weisuiji_cnt
                                           	.global	__KF8TS35CS_Data_Steady_Flag_
                                           	.global	__KF8_LIBt_buff_bit_TS3_CS_T_
                                           
                                           ;--------------------------------------------------------
                                           ; global definitions
                                           ;--------------------------------------------------------
                                           UD_kf8ts35_touch_cs_lib_0	.udata
                                           __KF8_lib_Wave_Protect_Time_Count_TS3_CS_T_	.res	1
                                           
                                           UD_kf8ts35_touch_cs_lib_1	.udata
                                           __KF8_lib_MAX_KEY_Vaule_Time_Count_TS3_CS_T_	.res	2
                                           
                                           UD_kf8ts35_touch_cs_lib_2	.udata
                                           __KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_	.res	2
                                           
                                           UD_kf8ts35_touch_cs_lib_3	.udata
                                           __KF8_lib_Touch_Bits_	.res	1
                                           
                                           UD_kf8ts35_touch_cs_lib_4	.udata
                                           __KF8_lib_Key_Down_Count_TS3_CS_T_	.res	1
                                           
                                           UD_kf8ts35_touch_cs_lib_5	.udata
                                           __KF8_LIBc_finger_OUT_First_TS3_CS_T_	.res	1
                                           
                                           UD_kf8ts35_touch_cs_lib_6	.udata
                                           __KF8_LIBc_finger_OUT_Second_TS3_CS_T_	.res	1
                                           
                                           UD_kf8ts35_touch_cs_lib_7	.udata
                                           __KF8_lib_Finded_MAX_I_TS3_CS_T_	.res	1
                                           
                                           UD_kf8ts35_touch_cs_lib_8	.udata
                                           __KF8_lib_Finded_MAX_J_TS3_CS_T_	.res	1
                                           
                                           UD_kf8ts35_touch_cs_lib_9	.udata
                                           __KF8_lib_CH_DW_Change_Count_TS3_CS_T_	.res	1
                                           
                                           UD_kf8ts35_touch_cs_lib_10	.udata
                                           __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_	.res	4
                                           
                                           UD_kf8ts35_touch_cs_lib_11	.udata
                                           __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_	.res	4
                                           
                                           UD_kf8ts35_touch_cs_lib_12	.udata
                                           __KF8_lib_bahualvtemportemp_TS3_CS_T_	.res	1
                                           
                                           UD_kf8ts35_touch_cs_lib_13	.udata
                                           __KF8_lib_Date_Uchar_Temp_TS3_CS_T_	.res	1
                                           
                                           UD_kf8ts35_touch_cs_lib_14	.udata
                                           _change_buf_KF8_Lib_TS3_CS_T_	.res	1
                                           
                                           UD_kf8ts35_touch_cs_lib_15	.udata
                                           _i_KF8_lib_TS3_CS_T_	.res	1
                                           
                                           UD_kf8ts35_touch_cs_lib_16	.udata
                                           _result_temp_KF8_Lib_TS3_CS_T_	.res	2
                                           
                                           UD_kf8ts35_touch_cs_lib_17	.udata
                                           _Addr_Copy_Int_KF8_Lib_TS3_CS_T_	.res	1
                                           
                                           UD_kf8ts35_touch_cs_lib_18	.udata
                                           __KF8_LIBi_Touch_New_Date_TS3_CS_T_	.res	2
                                           
                                           UD_kf8ts35_touch_cs_lib_19	.udata
                                           __KF8_Temp_Cur_A_TS3_CS_T_	.res	2
                                           
                                           UD_kf8ts35_touch_cs_lib_20	.udata
                                           __KF8_Temp_Cur_B_TS3_CS_T_	.res	2
                                           
                                           UD_kf8ts35_touch_cs_lib_21	.udata
                                           _touch_weisuiji_cnt	.res	1
                                           
                                           UD_kf8ts35_touch_cs_lib_22	.udata
                                           __KF8TS35CS_Data_Steady_Flag_	.res	4
                                           
                                           ;--------------------------------------------------------
                                           ; absolute symbol definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; compiler-defined variables
                                           ;--------------------------------------------------------
                                           UDL_kf8ts35_touch_cs_lib_0	.udata
                                           r0x1042	.res	1
                                           UDL_kf8ts35_touch_cs_lib_1	.udata
                                           r0x1037	.res	1
                                           UDL_kf8ts35_touch_cs_lib_2	.udata
                                           r0x1038	.res	1
                                           UDL_kf8ts35_touch_cs_lib_3	.udata
                                           r0x103A	.res	1
                                           UDL_kf8ts35_touch_cs_lib_4	.udata
                                           r0x103B	.res	1
                                           UDL_kf8ts35_touch_cs_lib_5	.udata
                                           r0x103C	.res	1
                                           UDL_kf8ts35_touch_cs_lib_6	.udata
                                           r0x103E	.res	1
                                           UDL_kf8ts35_touch_cs_lib_7	.udata
                                           r0x103D	.res	1
                                           UDL_kf8ts35_touch_cs_lib_8	.udata
                                           r0x103F	.res	1
                                           UDL_kf8ts35_touch_cs_lib_9	.udata
                                           r0x1040	.res	1
                                           UDL_kf8ts35_touch_cs_lib_10	.udata
                                           r0x1039	.res	1
                                           UDL_kf8ts35_touch_cs_lib_11	.udata
                                           r0x1041	.res	1
                                           UDL_kf8ts35_touch_cs_lib_12	.udata
                                           r0x1036	.res	1
                                           ;--------------------------------------------------------
                                           ; initialized data
                                           ;--------------------------------------------------------
                                           
                                           ID_kf8ts35_touch_cs_lib_0	.code
                                           __KF8_LIBt_buff_bit_TS3_CS_T_
00060a   b001     RRET	R0, #0x1            	RRET R0, #0x01
00060b   b000     RRET	R0, #0              	RRET R0, #0x00
00060c   b000     RRET	R0, #0              	RRET R0, #0x00
00060d   b000     RRET	R0, #0              	RRET R0, #0x00
00060e   b002     RRET	R0, #0x2            	RRET R0, #0x02
00060f   b000     RRET	R0, #0              	RRET R0, #0x00
000610   b000     RRET	R0, #0              	RRET R0, #0x00
000611   b000     RRET	R0, #0              	RRET R0, #0x00
000612   b004     RRET	R0, #0x4            	RRET R0, #0x04
000613   b000     RRET	R0, #0              	RRET R0, #0x00
000614   b000     RRET	R0, #0              	RRET R0, #0x00
000615   b000     RRET	R0, #0              	RRET R0, #0x00
000616   b008     RRET	R0, #0x8            	RRET R0, #0x08
000617   b000     RRET	R0, #0              	RRET R0, #0x00
000618   b000     RRET	R0, #0              	RRET R0, #0x00
000619   b000     RRET	R0, #0              	RRET R0, #0x00
00061a   b010     RRET	R0, #0x10           	RRET R0, #0x10
00061b   b000     RRET	R0, #0              	RRET R0, #0x00
00061c   b000     RRET	R0, #0              	RRET R0, #0x00
00061d   b000     RRET	R0, #0              	RRET R0, #0x00
00061e   b020     RRET	R0, #0x20           	RRET R0, #0x20
00061f   b000     RRET	R0, #0              	RRET R0, #0x00
000620   b000     RRET	R0, #0              	RRET R0, #0x00
000621   b000     RRET	R0, #0              	RRET R0, #0x00
000622   b040     RRET	R0, #0x40           	RRET R0, #0x40
000623   b000     RRET	R0, #0              	RRET R0, #0x00
000624   b000     RRET	R0, #0              	RRET R0, #0x00
000625   b000     RRET	R0, #0              	RRET R0, #0x00
000626   b080     RRET	R0, #0x80           	RRET R0, #0x80
000627   b000     RRET	R0, #0              	RRET R0, #0x00
000628   b000     RRET	R0, #0              	RRET R0, #0x00
000629   b000     RRET	R0, #0              	RRET R0, #0x00
00062a   b000     RRET	R0, #0              	RRET R0, #0x00
00062b   b001     RRET	R0, #0x1            	RRET R0, #0x01
00062c   b000     RRET	R0, #0              	RRET R0, #0x00
00062d   b000     RRET	R0, #0              	RRET R0, #0x00
00062e   b000     RRET	R0, #0              	RRET R0, #0x00
00062f   b002     RRET	R0, #0x2            	RRET R0, #0x02
000630   b000     RRET	R0, #0              	RRET R0, #0x00
000631   b000     RRET	R0, #0              	RRET R0, #0x00
000632   b000     RRET	R0, #0              	RRET R0, #0x00
000633   b004     RRET	R0, #0x4            	RRET R0, #0x04
000634   b000     RRET	R0, #0              	RRET R0, #0x00
000635   b000     RRET	R0, #0              	RRET R0, #0x00
000636   b000     RRET	R0, #0              	RRET R0, #0x00
000637   b008     RRET	R0, #0x8            	RRET R0, #0x08
000638   b000     RRET	R0, #0              	RRET R0, #0x00
000639   b000     RRET	R0, #0              	RRET R0, #0x00
00063a   b000     RRET	R0, #0              	RRET R0, #0x00
00063b   b010     RRET	R0, #0x10           	RRET R0, #0x10
00063c   b000     RRET	R0, #0              	RRET R0, #0x00
00063d   b000     RRET	R0, #0              	RRET R0, #0x00
00063e   b000     RRET	R0, #0              	RRET R0, #0x00
00063f   b020     RRET	R0, #0x20           	RRET R0, #0x20
000640   b000     RRET	R0, #0              	RRET R0, #0x00
000641   b000     RRET	R0, #0              	RRET R0, #0x00
000642   b000     RRET	R0, #0              	RRET R0, #0x00
000643   b040     RRET	R0, #0x40           	RRET R0, #0x40
000644   b000     RRET	R0, #0              	RRET R0, #0x00
000645   b000     RRET	R0, #0              	RRET R0, #0x00
000646   b000     RRET	R0, #0              	RRET R0, #0x00
000647   b080     RRET	R0, #0x80           	RRET R0, #0x80
000648   b000     RRET	R0, #0              	RRET R0, #0x00
000649   b000     RRET	R0, #0              	RRET R0, #0x00
00064a   b000     RRET	R0, #0              	RRET R0, #0x00
00064b   b000     RRET	R0, #0              	RRET R0, #0x00
00064c   b001     RRET	R0, #0x1            	RRET R0, #0x01
00064d   b000     RRET	R0, #0              	RRET R0, #0x00
00064e   b000     RRET	R0, #0              	RRET R0, #0x00
00064f   b000     RRET	R0, #0              	RRET R0, #0x00
000650   b002     RRET	R0, #0x2            	RRET R0, #0x02
000651   b000     RRET	R0, #0              	RRET R0, #0x00
000652   b000     RRET	R0, #0              	RRET R0, #0x00
000653   b000     RRET	R0, #0              	RRET R0, #0x00
000654   b004     RRET	R0, #0x4            	RRET R0, #0x04
000655   b000     RRET	R0, #0              	RRET R0, #0x00
000656   b000     RRET	R0, #0              	RRET R0, #0x00
000657   b000     RRET	R0, #0              	RRET R0, #0x00
000658   b008     RRET	R0, #0x8            	RRET R0, #0x08
000659   b000     RRET	R0, #0              	RRET R0, #0x00
00065a   b000     RRET	R0, #0              	RRET R0, #0x00
00065b   b000     RRET	R0, #0              	RRET R0, #0x00
00065c   b010     RRET	R0, #0x10           	RRET R0, #0x10
00065d   b000     RRET	R0, #0              	RRET R0, #0x00
00065e   b000     RRET	R0, #0              	RRET R0, #0x00
00065f   b000     RRET	R0, #0              	RRET R0, #0x00
000660   b020     RRET	R0, #0x20           	RRET R0, #0x20
000661   b000     RRET	R0, #0              	RRET R0, #0x00
                                           
                                           ;--------------------------------------------------------
                                           ; overlayable items in internal ram 
                                           ;--------------------------------------------------------
                                           ;	.udata_ovr
                                           
                                           
                                           func.__KF8TS35_Get_Ver_cs_General_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8TS35_Get_Ver_cs_General_	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8TS35_Get_Ver_cs_General_	;Function start
                                           ; 2 exit points
                                           ;	op : RETURN
                                           ;	.line	2935; "../kf8ts35_touch_cs_lib.c"	return Ver_TS3_G;
                                           	MOV	R0,# 0xb1
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           	CRET	
                                           ; exit point of __KF8TS35_Get_Ver_cs_General_
                                           
                                           
                                           
                                           func.__KF8TS35_Touch_TEST_cs_General_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8TS35_Touch_TEST_cs_General_	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;1 compiler assigned register :
                                           ;   r0x1036
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8TS35_Touch_TEST_cs_General_	;Function start
                                           ; 2 exit points
                                           ;	op : INLINEASM
                                           	CLR PSW,0
                                           	BANKSEL __KF8_LIBc_channel_
                                           	RLCR __KF8_LIBc_channel_
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
                                           	MOV _Addr_Copy_Int_KF8_Lib_TS3_CS_T_,R0
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL _CTCTL1
                                           	CLR _CTCTL1,5
                                           	;;
                                           	BANKSEL __KF8_lib_Touch_Bits_ ;;
                                           	JB __KF8_lib_Touch_Bits_,7
                                           	JMP Read_T3_IN2
                                           Read_T4_IN2:
                                           	BANKSEL _T4H
                                           	MOV R1,_T4H
                                           	BANKSEL _T4L
                                           	MOV R0,_T4L
                                           	JMP Read_T_End2
                                           Read_T3_IN2:
                                           	BANKSEL _T3H
                                           	MOV R1,_T3H
                                           	BANKSEL _T3L
                                           	MOV R0,_T3L
                                           Read_T_End2:
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS3_CS_T_
                                           	MOV __KF8_LIBi_Touch_New_Date_TS3_CS_T_+1,R1
                                           	MOV __KF8_LIBi_Touch_New_Date_TS3_CS_T_,R0
                                           	;;
                                           	CLR PSW,0
                                           	RRC __KF8_LIBi_Touch_New_Date_TS3_CS_T_+1
                                           	RRC __KF8_LIBi_Touch_New_Date_TS3_CS_T_
                                           	;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
                                           	MOV R0,_Addr_Copy_Int_KF8_Lib_TS3_CS_T_ ;;Æ«ÒÆÁ¿
                                           	ADD R0,# (__KF8_LIBi_buff_hit_ + 1)
                                           	BANKSEL __KF8_LIBi_buff_hit_
                                           	LD R1,[R0]
                                           	CLR PSW,0
                                           	RRC R1
                                           	ST [R0],R1
                                           	DEC R0
                                           	LD R1,[R0]
                                           	RRC R1
                                           	ST [R0],R1
                                           	;;
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS3_CS_T_
                                           	ADD __KF8_LIBi_Touch_New_Date_TS3_CS_T_,R1
                                           	INC R0
                                           	BANKSEL __KF8_LIBi_buff_hit_
                                           	LD R1,[R0]
                                           	JNB PSW,0
                                           	INC R1
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS3_CS_T_
                                           	ADD R1,__KF8_LIBi_Touch_New_Date_TS3_CS_T_+1
                                           	BANKSEL __KF8_LIBi_buff_hit_
                                           	ST [R0],R1
                                           	DEC R0
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS3_CS_T_
                                           	MOV R1,__KF8_LIBi_Touch_New_Date_TS3_CS_T_
                                           	BANKSEL __KF8_LIBi_buff_hit_
                                           	ST [R0],R1
                                           	
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	2778; "../kf8ts35_touch_cs_lib.c"	if(!_KF8_lib_Touch_Bits_._KF8_Touch_Work_Flag)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
                                           	JNB	__KF8_lib_Touch_Bits_, 0
                                           	JMP	_00169_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
                                           	MOV R0,_Addr_Copy_Int_KF8_Lib_TS3_CS_T_ ;;
                                           	ADD R0, #(__KF8_LIBi_buff_hit_)
                                           	BANKSEL __KF8_LIBi_buff_hit_ ;;_KF8_LIBi_buff_hit_ low
                                           	LD R1,[R0]
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
                                           	MOV R0,_Addr_Copy_Int_KF8_Lib_TS3_CS_T_ ;;
                                           	ADD R0, #(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_ ;;_KF8_LIBi_buff_baseline_ low
                                           	ST [R0],R1
                                           	;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
                                           	MOV R0,_Addr_Copy_Int_KF8_Lib_TS3_CS_T_ ;;
                                           	ADD R0, #(__KF8_LIBi_buff_hit_+1)
                                           	BANKSEL __KF8_LIBi_buff_hit_ ;; _KF8_LIBi_buff_hit_ high
                                           	LD R1,[R0]
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
                                           	MOV R0,_Addr_Copy_Int_KF8_Lib_TS3_CS_T_ ;;
                                           	ADD R0, #(__KF8_LIBi_buff_baseline_+1)
                                           	BANKSEL __KF8_LIBi_buff_baseline_ ;;_KF8_LIBi_buff_baseline_ high
                                           	ST [R0],R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBc_channel_
                                           	MOV R0, __KF8_LIBc_channel_ ;;
                                           	ADD R0, #(__KF8_LIBc_touch_count_)
                                           	MOV R1,#0x00
                                           	BANKSEL __KF8_LIBc_touch_count_
                                           	ST [R0],R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBc_channel_
                                           	MOV R0, __KF8_LIBc_channel_
                                           	ADD R0, #(__KF8_LIBc_baseline_count_)
                                           	MOV R1,#0x00
                                           	BANKSEL __KF8_LIBc_baseline_count_
                                           	ST [R0],R1
                                           	
                                           ;	op : IFX
                                           ;	.line	2826; "../kf8ts35_touch_cs_lib.c"	if(_KF8_LIBc_channel_==0)
                                           	MOV	R0,# 0x00
                                           	BANKSEL	__KF8_LIBc_channel_
                                           	ORL	R0, __KF8_LIBc_channel_
                                           	JB	PSW, 2
                                           	JMP	_00169_DS_
                                           ;	op : +
                                           ;	.line	2828; "../kf8ts35_touch_cs_lib.c"	_KF8_lib_Date_Uchar_Temp_TS3_CS_T_++;
                                           	BANKSEL	__KF8_lib_Date_Uchar_Temp_TS3_CS_T_
                                           	INC	__KF8_lib_Date_Uchar_Temp_TS3_CS_T_
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/3)
                                           ;unsigned compare: left >= lit(0x40=64), size=1
                                           ;	.line	2829; "../kf8ts35_touch_cs_lib.c"	if(_KF8_lib_Date_Uchar_Temp_TS3_CS_T_>63) //²»°´ÕûÈ¦ÁË£¬´Ó0ËãÆð£¬Ê¡´úÂë
                                           	MOV	R0,# 0x40
                                           	BANKSEL	__KF8_lib_Date_Uchar_Temp_TS3_CS_T_
                                           	SUB	R0, __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
                                           ;comparing bytes at offset 0
                                           	JB	PSW, 0
                                           	JMP	_00169_DS_
                                           ;	op : =
                                           ;	.line	2831; "../kf8ts35_touch_cs_lib.c"	_KF8_lib_Touch_Bits_._KF8_Touch_Work_Flag=1;  //½øÈë¹¤×÷×´Ì¬
                                           	BANKSEL	__KF8_lib_Touch_Bits_
                                           	SET	__KF8_lib_Touch_Bits_, 0
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00169_DS_
                                           	MOV R1,# high (_CHS_AMOUNT+0)
                                           	MOV R0,# low (_CHS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL
                                           	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	BANKSEL __KF8_LIBc_channel_
                                           	INC __KF8_LIBc_channel_
                                           	XOR R0,__KF8_LIBc_channel_
                                           	JNB PSW,2
                                           	CLR __KF8_LIBc_channel_
                                           	
                                           ;	op : =
                                           ;	.line	2863; "../kf8ts35_touch_cs_lib.c"	T3H = 0;T3L = 0;
                                           	BANKSEL	_T3H
                                           	CLR	_T3H
                                           ;	op : =
                                           	BANKSEL	_T3L
                                           	CLR	_T3L
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	2864; "../kf8ts35_touch_cs_lib.c"	if(_KF8_lib_Touch_Bits_._KF8_Touch_Use_T3_B)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
                                           	JB	__KF8_lib_Touch_Bits_, 5
                                           	JMP	_00171_DS_
                                           ;	op : INLINEASM
                                           	MOVB #0x00
                                           	CLR 0x53,5
                                           	
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00171_DS_
                                           	BANKSEL __KF8_LIBc_channel_
                                           	MOV R0, __KF8_LIBc_channel_
                                           	ADD R0, # low (__KF8_TOUCH_CH_EN+0)
                                           	MOV R1, # high (__KF8_TOUCH_CH_EN+0)
                                           	JNB PSW,0
                                           	INC R1
                                           	PAGESEL __R2PCHPCL
                                           	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	ORL R0,#0xc0;#0xe0 ;;
                                           	BANKSEL _INTCTL
                                           	CLR _INTCTL,6
                                           	CLR _INTCTL,7 ;
                                           	BANKSEL _CTCTL0
                                           	MOV _CTCTL0,R0
                                           	NOP
                                           	JB _CTCTL0,6 ;
                                           	JMP $-3
                                           	
                                           ;	op : =
                                           ;	.line	2898; "../kf8ts35_touch_cs_lib.c"	touch_weisuiji_cnt=0;
                                           	BANKSEL	_touch_weisuiji_cnt
                                           	CLR	_touch_weisuiji_cnt
                                           ;	op : |
                                           ;	.line	2899; "../kf8ts35_touch_cs_lib.c"	CTCTL1 |= 0X20;
                                           	BANKSEL	_CTCTL1
                                           	SET	_CTCTL1, 5
                                           ;	op : LABEL
                                           ;	op : BITWISEAND
                                           _00174_DS_
                                           ;	.line	2901; "../kf8ts35_touch_cs_lib.c"	while(!(CTCTL1&0X04))
                                           	BANKSEL	_CTCTL1
                                           	JNB	_CTCTL1, 2
                                           	JMP	_00176_DS_
                                           ;	op : =
                                           ;	.line	2904; "../kf8ts35_touch_cs_lib.c"	if(touch_weisuiji_cnt++>20)			//¼æÈÝÀÏ°æ±¾Ã»ÓÐ¸ÃÎ»ÖÃÇåÁã
                                           	BANKSEL	_touch_weisuiji_cnt
                                           	MOVZ	R0, _touch_weisuiji_cnt
                                           	BANKSEL	r0x1036
                                           	MOV	r0x1036, R0
                                           ;	op : +
                                           	BANKSEL	_touch_weisuiji_cnt
                                           	INC	_touch_weisuiji_cnt
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/2)
                                           ;unsigned compare: left >= lit(0x15=21), size=1
                                           	MOV	R0,# 0x15
                                           	BANKSEL	r0x1036
                                           	SUB	R0, r0x1036
                                           ;comparing bytes at offset 0
                                           	JB	PSW, 0
                                           	JMP	_00174_DS_
                                           ;	op : LABEL
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00176_DS_
                                           ;	.line	2913; "../kf8ts35_touch_cs_lib.c"	if(_KF8_lib_Touch_Bits_._KF8_Touch_Use_T3_B)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
                                           	JB	__KF8_lib_Touch_Bits_, 5
                                           	JMP	_00178_DS_
                                           ;	op : INLINEASM
                                           	MOVB #0x00
                                           	SET 0x53,5
                                           	
                                           ;	op : LABEL
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00178_DS_
                                           ;	.line	2920; "../kf8ts35_touch_cs_lib.c"	if(_KF8_lib_Touch_Bits_._KF8_Touch_Count_Use_T4)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
                                           	JB	__KF8_lib_Touch_Bits_, 7
                                           	JMP	_00180_DS_
                                           ;	op : =
                                           ;	.line	2922; "../kf8ts35_touch_cs_lib.c"	T4L = 0;    T4H = 0; 	T4ON=1;		// T3 T4 Èç¹û·ÖÆµ Íâ²¿¿ÉÉèÖÃ
                                           	BANKSEL	_T4L
                                           	CLR	_T4L
                                           ;	op : =
                                           	BANKSEL	_T4H
                                           	CLR	_T4H
                                           ;	op : =
                                           	BANKSEL	_T4CTL_bits
                                           	SET	_T4CTL_bits, 0
                                           ;	op : LABEL
                                           ;	op : =
                                           _00180_DS_
                                           ;	.line	2924; "../kf8ts35_touch_cs_lib.c"	AIEL=1;		AIEH=1;// »Ö¸´ÖÐ¶ÏÊ¹ÄÜ
                                           	BANKSEL	_INTCTL_bits
                                           	SET	_INTCTL_bits, 6
                                           ;	op : =
                                           	BANKSEL	_INTCTL_bits
                                           	SET	_INTCTL_bits, 7
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           	CRET	
                                           ; exit point of __KF8TS35_Touch_TEST_cs_General_
                                           
                                           
                                           
                                           func.__KF8TS35_Touch_Process_cs_General_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8TS35_Touch_Process_cs_General_	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   __KF8_LIBf_scan_channel_
                                           ;   __KF8_LiBf_KEY_Deal_AND_BaseLine_Up
                                           ;   __KF8_LIBf_scan_channel_
                                           ;   __KF8_LiBf_KEY_Deal_AND_BaseLine_Up
                                           ;1 compiler assigned register :
                                           ;   r0x1041
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8TS35_Touch_Process_cs_General_	;Function start
                                           ; 2 exit points
                                           ;	op : INLINEASM
00056a   6003     CLR	0x3, 0               	CLR PSW,0
00056b   e100     MOVB	#0x00               	BANKSEL __KF8_LIBc_channel_
00056c   12a5     RLCR	0xa5                	RLCR __KF8_LIBc_channel_
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
00056d   518d     MOV	0x8d, R0             	MOV _Addr_Copy_Int_KF8_Lib_TS3_CS_T_,R0
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL _CTCTL1
00056e   6564     CLR	0x64, 5              	CLR _CTCTL1,5
                                           	;;
                                           	BANKSEL __KF8_lib_Touch_Bits_ ;;
00056f   7f98     JB	0x98, 7               	JB __KF8_lib_Touch_Bits_,7
000570   c575     JMP	#0x575               	JMP Read_T3_IN
                                           Read_T4_IN:
000571   e101     MOVB	#0x01               	BANKSEL _T4H
000572   5261     MOV	R1, 0x61             	MOV R1,_T4H
                                           	BANKSEL _T4L
000573   5060     MOV	R0, 0x60             	MOV R0,_T4L
000574   c577     JMP	#0x577               	JMP Read_T_End
                                           Read_T3_IN:
                                           	BANKSEL _T3H
000575   525f     MOV	R1, 0x5f             	MOV R1,_T3H
                                           	BANKSEL _T3L
000576   504f     MOV	R0, 0x4f             	MOV R0,_T3L
                                           Read_T_End:
000577   e100     MOVB	#0x00               	BANKSEL __KF8_LIBi_Touch_New_Date_TS3_CS_T_
000578   53ab     MOV	0xab, R1             	MOV __KF8_LIBi_Touch_New_Date_TS3_CS_T_+1,R1
000579   51aa     MOV	0xaa, R0             	MOV __KF8_LIBi_Touch_New_Date_TS3_CS_T_,R0
                                           	;;
                                           	;;---------------------------------
                                           	;;==
00057a   9802     MOV	R0, #0x2             	MOV R0,#(2)
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS3_CS_T_
00057b   21aa     ADD	0xaa, R0             	ADD __KF8_LIBi_Touch_New_Date_TS3_CS_T_,R0
00057c   7003     JNB	0x3, 0               	JNB PSW,0
00057d   0bab     INC	0xab                 	INC __KF8_LIBi_Touch_New_Date_TS3_CS_T_+1
                                           	;;==;
00057e   9802     MOV	R0, #0x2             	MOV R0,#2
00057f   ff10     INC	R0                   	INC R0
000580   c584     JMP	#0x584               	JMP IIR_Deal_NEXT_1
                                           IIR_Deal_DO_1:
000581   6003     CLR	0x3, 0               	CLR PSW,0
000582   11ab     RRC	0xab                 	RRC __KF8_LIBi_Touch_New_Date_TS3_CS_T_+1
000583   11aa     RRC	0xaa                 	RRC __KF8_LIBi_Touch_New_Date_TS3_CS_T_
                                           IIR_Deal_NEXT_1:
000584   ff58     DECJZ	R0                 	DECJZ R0
000585   c581     JMP	#0x581               	JMP IIR_Deal_DO_1
                                           	;;-----------------------------------
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
000586   508d     MOV	R0, 0x8d             	MOV R0, _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
000587   80e7     ADD	R0, #0xe7            	ADD R0,#(__KF8_LIBi_buff_hit_+0)
                                           	BANKSEL __KF8_LIBi_buff_hit_
000588   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
000589   53a8     MOV	0xa8, R1             	MOV __KF8_Temp_Cur_A_TS3_CS_T_,R1
00058a   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_buff_hit_
00058b   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
00058c   53a9     MOV	0xa9, R1             	MOV __KF8_Temp_Cur_A_TS3_CS_T_+1,R1 ;
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
00058d   50a8     MOV	R0, 0xa8             	MOV R0,__KF8_Temp_Cur_A_TS3_CS_T_
                                           	BANKSEL __KF8_Temp_Cur_B_TS3_CS_T_
00058e   51a6     MOV	0xa6, R0             	MOV __KF8_Temp_Cur_B_TS3_CS_T_,R0
00058f   53a7     MOV	0xa7, R1             	MOV __KF8_Temp_Cur_B_TS3_CS_T_+1,R1 ;
                                           	;;==
000590   9802     MOV	R0, #0x2             	MOV R0,#(2)
                                           	BANKSEL __KF8_Temp_Cur_B_TS3_CS_T_
000591   21a6     ADD	0xa6, R0             	ADD __KF8_Temp_Cur_B_TS3_CS_T_,R0
000592   7003     JNB	0x3, 0               	JNB PSW,0
000593   0ba7     INC	0xa7                 	INC __KF8_Temp_Cur_B_TS3_CS_T_+1
                                           	;;==;
000594   9802     MOV	R0, #0x2             	MOV R0,#2
000595   ff10     INC	R0                   	INC R0
000596   c59a     JMP	#0x59a               	JMP IIR_Deal_NEXT_2
                                           IIR_Deal_DO_2:
000597   6003     CLR	0x3, 0               	CLR PSW,0
000598   11a7     RRC	0xa7                 	RRC __KF8_Temp_Cur_B_TS3_CS_T_+1
000599   11a6     RRC	0xa6                 	RRC __KF8_Temp_Cur_B_TS3_CS_T_
                                           IIR_Deal_NEXT_2:
00059a   ff58     DECJZ	R0                 	DECJZ R0
00059b   c597     JMP	#0x597               	JMP IIR_Deal_DO_2 ;
00059c   50a6     MOV	R0, 0xa6             	MOV R0,__KF8_Temp_Cur_B_TS3_CS_T_
00059d   52a7     MOV	R1, 0xa7             	MOV R1,__KF8_Temp_Cur_B_TS3_CS_T_+1
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
00059e   39a8     SUB	0xa8, R0             	SUB __KF8_Temp_Cur_A_TS3_CS_T_,R0
00059f   7803     JB	0x3, 0                	JB PSW,0
0005a0   07a9     DEC	0xa9                 	DEC __KF8_Temp_Cur_A_TS3_CS_T_+1
0005a1   3ba9     SUB	0xa9, R1             	SUB __KF8_Temp_Cur_A_TS3_CS_T_+1,R1
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS3_CS_T_
0005a2   52ab     MOV	R1, 0xab             	MOV R1,__KF8_LIBi_Touch_New_Date_TS3_CS_T_+1
0005a3   50aa     MOV	R0, 0xaa             	MOV R0,__KF8_LIBi_Touch_New_Date_TS3_CS_T_
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
0005a4   21a8     ADD	0xa8, R0             	ADD __KF8_Temp_Cur_A_TS3_CS_T_,R0
0005a5   7003     JNB	0x3, 0               	JNB PSW,0
0005a6   ff11     INC	R1                   	INC R1
0005a7   23a9     ADD	0xa9, R1             	ADD __KF8_Temp_Cur_A_TS3_CS_T_+1,R1 ;
0005a8   52a8     MOV	R1, 0xa8             	MOV R1,__KF8_Temp_Cur_A_TS3_CS_T_
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0005a9   508d     MOV	R0, 0x8d             	MOV R0, _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0005aa   80e7     ADD	R0, #0xe7            	ADD R0,#(__KF8_LIBi_buff_hit_+0)
                                           	BANKSEL __KF8_LIBi_buff_hit_
0005ab   f748     ST	[R0], R1              	ST[R0],R1
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
0005ac   52a9     MOV	R1, 0xa9             	MOV R1,__KF8_Temp_Cur_A_TS3_CS_T_+1
0005ad   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_buff_hit_
0005ae   f748     ST	[R0], R1              	ST[R0],R1
                                           	;;-----------------------------------
                                           	
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	2521; "../kf8ts35_touch_cs_lib.c"	if(!_KF8_lib_Touch_Bits_._KF8_Touch_Work_Flag)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
0005af   7098     JNB	0x98, 0              	JNB	__KF8_lib_Touch_Bits_, 0
0005b0   c5d0     JMP	#0x5d0               	JMP	_00140_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0005b1   508d     MOV	R0, 0x8d             	MOV R0,_Addr_Copy_Int_KF8_Lib_TS3_CS_T_ ;;
0005b2   80e7     ADD	R0, #0xe7            	ADD R0, #(__KF8_LIBi_buff_hit_)
                                           	BANKSEL __KF8_LIBi_buff_hit_ ;;_KF8_LIBi_buff_hit_ low
0005b3   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0005b4   508d     MOV	R0, 0x8d             	MOV R0,_Addr_Copy_Int_KF8_Lib_TS3_CS_T_ ;;
0005b5   80d9     ADD	R0, #0xd9            	ADD R0, #(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_ ;;_KF8_LIBi_buff_baseline_ low
0005b6   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0005b7   508d     MOV	R0, 0x8d             	MOV R0,_Addr_Copy_Int_KF8_Lib_TS3_CS_T_ ;;
0005b8   80e8     ADD	R0, #0xe8            	ADD R0, #(__KF8_LIBi_buff_hit_+1)
                                           	BANKSEL __KF8_LIBi_buff_hit_ ;; _KF8_LIBi_buff_hit_ high
0005b9   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0005ba   508d     MOV	R0, 0x8d             	MOV R0,_Addr_Copy_Int_KF8_Lib_TS3_CS_T_ ;;
0005bb   80da     ADD	R0, #0xda            	ADD R0, #(__KF8_LIBi_buff_baseline_+1)
                                           	BANKSEL __KF8_LIBi_buff_baseline_ ;;
0005bc   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBc_channel_
0005bd   50a5     MOV	R0, 0xa5             	MOV R0, __KF8_LIBc_channel_ ;;
0005be   80cb     ADD	R0, #0xcb            	ADD R0, #(__KF8_LIBc_touch_count_)
0005bf   9900     MOV	R1, #0               	MOV R1,#0x00
                                           	BANKSEL __KF8_LIBc_touch_count_
0005c0   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBc_channel_
0005c1   50a5     MOV	R0, 0xa5             	MOV R0, __KF8_LIBc_channel_
0005c2   80d2     ADD	R0, #0xd2            	ADD R0, #(__KF8_LIBc_baseline_count_)
0005c3   9900     MOV	R1, #0               	MOV R1,#0x00
                                           	BANKSEL __KF8_LIBc_baseline_count_
0005c4   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : IFX
                                           ;	.line	2572; "../kf8ts35_touch_cs_lib.c"	if(_KF8_LIBc_channel_==0)
0005c5   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	__KF8_LIBc_channel_
0005c6   30a5     ORL	R0, 0xa5             	ORL	R0, __KF8_LIBc_channel_
0005c7   7a03     JB	0x3, 2                	JB	PSW, 2
0005c8   c5d7     JMP	#0x5d7               	JMP	_00141_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
0005c9   0b90     INC	0x90                 	INC __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
0005ca   9830     MOV	R0, #0x30            	MOV R0, #0X30
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
0005cb   3890     SUB	R0, 0x90             	SUB R0, __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
0005cc   7803     JB	0x3, 0                	JB PSW, 0
0005cd   c5cf     JMP	#0x5cf               	JMP label_over
                                           	BANKSEL __KF8_lib_Touch_Bits_
0005ce   6898     SET	0x98, 0              	SET __KF8_lib_Touch_Bits_, 0
                                           label_over:
                                           	
                                           ;	op : GOTO
0005cf   c5d7     JMP	#0x5d7               	JMP	_00141_DS_
                                           ;	op : LABEL
                                           ;	op : CALL
                                           _00140_DS_
                                           ;	.line	2599; "../kf8ts35_touch_cs_lib.c"	_KF8_LIBf_scan_channel_(); //É¨ÃèADÍ¨µÀ,¼ÆËã±ä»¯ÂÊ£¬×ö±ä»¯Í³¼Æ
                                           	PAGESEL	__KF8_LIBf_scan_channel_
0005d0   d32f     CALL	#0x32f              	CALL	__KF8_LIBf_scan_channel_
                                           	PAGESEL	$
                                           ;	op : IFX
                                           ;	.line	2600; "../kf8ts35_touch_cs_lib.c"	if(_KF8_LIBc_channel_==0)
0005d1   9800     MOV	R0, #0               	MOV	R0,# 0x00
0005d2   e100     MOVB	#0x00               	BANKSEL	__KF8_LIBc_channel_
0005d3   30a5     ORL	R0, 0xa5             	ORL	R0, __KF8_LIBc_channel_
0005d4   7a03     JB	0x3, 2                	JB	PSW, 2
0005d5   c5d7     JMP	#0x5d7               	JMP	_00141_DS_
                                           ;	op : CALL
                                           ;	.line	2602; "../kf8ts35_touch_cs_lib.c"	_KF8_LiBf_KEY_Deal_AND_BaseLine_Up();
                                           	PAGESEL	__KF8_LiBf_KEY_Deal_AND_BaseLine_Up
0005d6   d00f     CALL	#0xf                	CALL	__KF8_LiBf_KEY_Deal_AND_BaseLine_Up
                                           	PAGESEL	$
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00141_DS_
0005d7   9907     MOV	R1, #0x7             	MOV R1,# high (_CHS_AMOUNT+0)
0005d8   98d7     MOV	R0, #0xd7            	MOV R0,# low (_CHS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL
0005d9   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
0005da   e100     MOVB	#0x00               	BANKSEL __KF8_LIBc_channel_
0005db   0ba5     INC	0xa5                 	INC __KF8_LIBc_channel_
0005dc   18a5     XOR	R0, 0xa5             	XOR R0,__KF8_LIBc_channel_
0005dd   7203     JNB	0x3, 2               	JNB PSW,2
0005de   03a5     CLR	0xa5                 	CLR __KF8_LIBc_channel_
                                           	
                                           ;	op : =
                                           ;	.line	2629; "../kf8ts35_touch_cs_lib.c"	T3H = 0;T3L = 0;
                                           	BANKSEL	_T3H
0005df   035f     CLR	0x5f                 	CLR	_T3H
                                           ;	op : =
                                           	BANKSEL	_T3L
0005e0   034f     CLR	0x4f                 	CLR	_T3L
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	2630; "../kf8ts35_touch_cs_lib.c"	if(_KF8_lib_Touch_Bits_._KF8_Touch_Use_T3_B)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
0005e1   7d98     JB	0x98, 5               	JB	__KF8_lib_Touch_Bits_, 5
0005e2   c5e4     JMP	#0x5e4               	JMP	_00143_DS_
                                           ;	op : INLINEASM
                                           	MOVB #0x00
0005e3   6553     CLR	0x53, 5              	CLR 0x53,5
                                           	
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00143_DS_
                                           	BANKSEL __KF8_LIBc_channel_
0005e4   50a5     MOV	R0, 0xa5             	MOV R0, __KF8_LIBc_channel_
0005e5   80bb     ADD	R0, #0xbb            	ADD R0, # low (__KF8_TOUCH_CH_EN+0)
0005e6   9907     MOV	R1, #0x7             	MOV R1, # high (__KF8_TOUCH_CH_EN+0)
0005e7   7003     JNB	0x3, 0               	JNB PSW,0
0005e8   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
0005e9   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
0005ea   90c0     ORL	R0, #0xc0            	ORL R0,#0xc0;#0xE0 ;;
0005eb   e100     MOVB	#0x00               	BANKSEL _INTCTL
0005ec   660b     CLR	0xb, 6               	CLR _INTCTL,6
0005ed   670b     CLR	0xb, 7               	CLR _INTCTL,7 ;
                                           	BANKSEL _CTCTL0
0005ee   5153     MOV	0x53, R0             	MOV _CTCTL0,R0
0005ef   0000     NOP                      	NOP
0005f0   7e53     JB	0x53, 6               	JB _CTCTL0,6 ;
0005f1   c5ee     JMP	#0x5ee               	JMP $-3
                                           	
                                           ;	op : =
                                           ;	.line	2662; "../kf8ts35_touch_cs_lib.c"	touch_weisuiji_cnt=0;
                                           	BANKSEL	_touch_weisuiji_cnt
0005f2   038c     CLR	0x8c                 	CLR	_touch_weisuiji_cnt
                                           ;	op : |
                                           ;	.line	2663; "../kf8ts35_touch_cs_lib.c"	CTCTL1 |= 0X20;
                                           	BANKSEL	_CTCTL1
0005f3   6d64     SET	0x64, 5              	SET	_CTCTL1, 5
                                           ;	op : LABEL
                                           ;	op : BITWISEAND
                                           _00146_DS_
                                           ;	.line	2665; "../kf8ts35_touch_cs_lib.c"	while(!(CTCTL1&0X04))
                                           	BANKSEL	_CTCTL1
0005f4   7264     JNB	0x64, 2              	JNB	_CTCTL1, 2
0005f5   c5fd     JMP	#0x5fd               	JMP	_00148_DS_
                                           ;	op : =
                                           ;	.line	2668; "../kf8ts35_touch_cs_lib.c"	if(touch_weisuiji_cnt++>20)			//¼æÈÝÀÏ°æ±¾Ã»ÓÐ¸ÃÎ»ÖÃÇåÁã
                                           	BANKSEL	_touch_weisuiji_cnt
0005f6   0e8c     MOVZ	R0, 0x8c            	MOVZ	R0, _touch_weisuiji_cnt
                                           	BANKSEL	r0x1041
0005f7   5180     MOV	0x80, R0             	MOV	r0x1041, R0
                                           ;	op : +
                                           	BANKSEL	_touch_weisuiji_cnt
0005f8   0b8c     INC	0x8c                 	INC	_touch_weisuiji_cnt
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/2)
                                           ;unsigned compare: left >= lit(0x15=21), size=1
0005f9   9815     MOV	R0, #0x15            	MOV	R0,# 0x15
                                           	BANKSEL	r0x1041
0005fa   3880     SUB	R0, 0x80             	SUB	R0, r0x1041
                                           ;comparing bytes at offset 0
0005fb   7803     JB	0x3, 0                	JB	PSW, 0
0005fc   c5f4     JMP	#0x5f4               	JMP	_00146_DS_
                                           ;	op : LABEL
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00148_DS_
                                           ;	.line	2674; "../kf8ts35_touch_cs_lib.c"	if(_KF8_lib_Touch_Bits_._KF8_Touch_Use_T3_B)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
0005fd   7d98     JB	0x98, 5               	JB	__KF8_lib_Touch_Bits_, 5
0005fe   c600     JMP	#0x600               	JMP	_00150_DS_
                                           ;	op : INLINEASM
                                           	MOVB #0x00
0005ff   6d53     SET	0x53, 5              	SET 0x53,5
                                           	
                                           ;	op : LABEL
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00150_DS_
                                           ;	.line	2681; "../kf8ts35_touch_cs_lib.c"	if(_KF8_lib_Touch_Bits_._KF8_Touch_Count_Use_T4)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
000600   7f98     JB	0x98, 7               	JB	__KF8_lib_Touch_Bits_, 7
000601   c606     JMP	#0x606               	JMP	_00152_DS_
                                           ;	op : =
                                           ;	.line	2683; "../kf8ts35_touch_cs_lib.c"	T4L = 0;    T4H = 0; 	T4ON=1;		// T3 T4 Èç¹û·ÖÆµ Íâ²¿¿ÉÉèÖÃ
000602   e101     MOVB	#0x01               	BANKSEL	_T4L
000603   0360     CLR	0x60                 	CLR	_T4L
                                           ;	op : =
                                           	BANKSEL	_T4H
000604   0361     CLR	0x61                 	CLR	_T4H
                                           ;	op : =
                                           	BANKSEL	_T4CTL_bits
000605   6864     SET	0x64, 0              	SET	_T4CTL_bits, 0
                                           ;	op : LABEL
                                           ;	op : =
                                           _00152_DS_
                                           ;	.line	2685; "../kf8ts35_touch_cs_lib.c"	AIEL=1;		AIEH=1;// »Ö¸´ÖÐ¶ÏÊ¹ÄÜ
000606   e100     MOVB	#0x00               	BANKSEL	_INTCTL_bits
000607   6e0b     SET	0xb, 6               	SET	_INTCTL_bits, 6
                                           ;	op : =
                                           	BANKSEL	_INTCTL_bits
000608   6f0b     SET	0xb, 7               	SET	_INTCTL_bits, 7
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
000609   0008     CRET                     	CRET	
                                           ; exit point of __KF8TS35_Touch_Process_cs_General_
                                           
                                           
                                           
                                           func.__KF8_LIBf_scan_channel_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8_LIBf_scan_channel_	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   __KF8_lib_Baihualv_get_
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __KF8_lib_Baihualv_get_
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;7 compiler assigned registers:
                                           ;   r0x1037
                                           ;   r0x1038
                                           ;   r0x1039
                                           ;   r0x103A
                                           ;   r0x103B
                                           ;   r0x103C
                                           ;   r0x103D
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8_LIBf_scan_channel_	;Function start
                                           ; 2 exit points
                                           ;	op : INLINEASM
00032f   6003     CLR	0x3, 0               	CLR PSW,0
000330   e100     MOVB	#0x00               	BANKSEL __KF8_LIBc_channel_
000331   12a5     RLCR	0xa5                	RLCR __KF8_LIBc_channel_
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
000332   518d     MOV	0x8d, R0             	MOV _Addr_Copy_Int_KF8_Lib_TS3_CS_T_,R0
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
000333   9801     MOV	R0, #0x1             	MOV R0,#0x01
000334   51b8     MOV	0xb8, R0             	MOV __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_,R0
000335   03b9     CLR	0xb9                 	CLR (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_+1)
000336   03ba     CLR	0xba                 	CLR (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_+2)
000337   03bb     CLR	0xbb                 	CLR (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_+3)
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBc_channel_
000338   50a5     MOV	R0, 0xa5             	MOV R0,__KF8_LIBc_channel_
000339   ff10     INC	R0                   	INC R0
00033a   c341     JMP	#0x341               	JMP RLCSel
                                           RLCDeal:
00033b   6003     CLR	0x3, 0               	CLR PSW,0
00033c   e100     MOVB	#0x00               	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
00033d   13b8     RLC	0xb8                 	RLC __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
00033e   13b9     RLC	0xb9                 	RLC (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_+1)
00033f   13ba     RLC	0xba                 	RLC (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_+2)
000340   13bb     RLC	0xbb                 	RLC (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_+3)
                                           RLCSel:
000341   ff58     DECJZ	R0                 	DECJZ R0
000342   c33b     JMP	#0x33b               	JMP RLCDeal
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
000343   528d     MOV	R1, 0x8d             	MOV R1,_Addr_Copy_Int_KF8_Lib_TS3_CS_T_
000344   81e7     ADD	R1, #0xe7            	ADD R1,#(__KF8_LIBi_buff_hit_+0)
                                           	;;;;
                                           	BANKSEL __KF8_LIBi_buff_hit_
000345   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
000346   51a8     MOV	0xa8, R0             	MOV __KF8_Temp_Cur_A_TS3_CS_T_, R0
                                           	;;;;
000347   ff11     INC	R1                   	INC R1
                                           	BANKSEL __KF8_LIBi_buff_hit_
000348   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
000349   51a9     MOV	0xa9, R0             	MOV (__KF8_Temp_Cur_A_TS3_CS_T_+1), R0
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
00034a   528d     MOV	R1, 0x8d             	MOV R1,_Addr_Copy_Int_KF8_Lib_TS3_CS_T_
00034b   81d9     ADD	R1, #0xd9            	ADD R1,#(__KF8_LIBi_buff_baseline_+0)
                                           	;;;;
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00034c   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	BANKSEL __KF8_Temp_Cur_B_TS3_CS_T_
00034d   51a6     MOV	0xa6, R0             	MOV __KF8_Temp_Cur_B_TS3_CS_T_, R0
                                           	;;;;
00034e   ff11     INC	R1                   	INC R1
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00034f   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	BANKSEL __KF8_Temp_Cur_B_TS3_CS_T_
000350   51a7     MOV	0xa7, R0             	MOV (__KF8_Temp_Cur_B_TS3_CS_T_+1), R0
                                           	
                                           ;	op : CALL
                                           ;	.line	1839; "../kf8ts35_touch_cs_lib.c"	_KF8_lib_Baihualv_get_();
                                           	PAGESEL	__KF8_lib_Baihualv_get_
000351   d662     CALL	#0x662              	CALL	__KF8_lib_Baihualv_get_
                                           	PAGESEL	$
                                           ;	op : INLINEASM
000352   9907     MOV	R1, #0x7             	MOV R1,# high(__KF8_BasicLine_Down_Noise_Threshold_+0)
000353   98de     MOV	R0, #0xde            	MOV R0,# low(__KF8_BasicLine_Down_Noise_Threshold_+0)
                                           	PAGESEL __R2PCHPCL
000354   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
000355   8080     ADD	R0, #0x80            	ADD R0,#0X80
000356   e100     MOVB	#0x00               	BANKSEL __KF8_lib_bahualvtemportemp_TS3_CS_T_
000357   9980     MOV	R1, #0x80            	MOV R1,#0X80
000358   2291     ADD	R1, 0x91             	ADD R1,__KF8_lib_bahualvtemportemp_TS3_CS_T_
000359   f848     SUB	R0, R1               	SUB R0, R1
00035a   7803     JB	0x3, 0                	JB PSW,0
00035b   c36d     JMP	#0x36d               	JMP lable_count_incover
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
00035c   50bc     MOV	R0, 0xbc             	MOV R0, __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
                                           	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
00035d   28b8     AND	R0, 0xb8             	AND R0, __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
00035e   7a03     JB	0x3, 2                	JB PSW,2
00035f   c36d     JMP	#0x36d               	JMP lable_count_incover
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
000360   50bd     MOV	R0, 0xbd             	MOV R0, (__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_+1)
                                           	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
000361   28b9     AND	R0, 0xb9             	AND R0, (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_+1)
000362   7a03     JB	0x3, 2                	JB PSW,2
000363   c36d     JMP	#0x36d               	JMP lable_count_incover
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
000364   50be     MOV	R0, 0xbe             	MOV R0, (__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_+2)
                                           	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
000365   28ba     AND	R0, 0xba             	AND R0, (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_+2)
000366   7a03     JB	0x3, 2                	JB PSW,2
000367   c36d     JMP	#0x36d               	JMP lable_count_incover
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
000368   50bf     MOV	R0, 0xbf             	MOV R0, (__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_+3)
                                           	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
000369   28bb     AND	R0, 0xbb             	AND R0, (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_+3)
00036a   7a03     JB	0x3, 2                	JB PSW,2
00036b   c36d     JMP	#0x36d               	JMP lable_count_incover
                                           	;;;;;;;;;
                                           	BANKSEL __KF8_lib_CH_DW_Change_Count_TS3_CS_T_
00036c   0b92     INC	0x92                 	INC __KF8_lib_CH_DW_Change_Count_TS3_CS_T_
                                           lable_count_incover:
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
00036d   52a5     MOV	R1, 0xa5             	MOV R1,__KF8_LIBc_channel_
00036e   81c4     ADD	R1, #0xc4            	ADD R1,#(__KF8_LIBi_Date_Change_+0)
                                           	;;;;
                                           	BANKSEL __KF8_LIBi_Date_Change_
00036f   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS3_CS_T_
000370   5291     MOV	R1, 0x91             	MOV R1, __KF8_lib_bahualvtemportemp_TS3_CS_T_
                                           	BANKSEL _change_buf_KF8_Lib_TS3_CS_T_
000371   538f     MOV	0x8f, R1             	MOV _change_buf_KF8_Lib_TS3_CS_T_, R1
000372   398f     SUB	0x8f, R0             	SUB _change_buf_KF8_Lib_TS3_CS_T_, R0
                                           	
                                           ;	op : <
                                           ;signed compare: left < lit(0x0=0), size=1, mask=ff
                                           ;	.line	1919; "../kf8ts35_touch_cs_lib.c"	if(change_buf_KF8_Lib_TS3_CS_T_<0)
000373   6803     SET	0x3, 0               	SET	PSW, 0
                                           	BANKSEL	_change_buf_KF8_Lib_TS3_CS_T_
000374   7f8f     JB	0x8f, 7               	JB	_change_buf_KF8_Lib_TS3_CS_T_, 7
000375   6003     CLR	0x3, 0               	CLR	PSW, 0
000376   7803     JB	0x3, 0                	JB	PSW, 0
000377   c37a     JMP	#0x37a               	JMP	_00110_DS_
                                           ;	op : UNARYMINUS
                                           ;	.line	1920; "../kf8ts35_touch_cs_lib.c"	change_buf_KF8_Lib_TS3_CS_T_=change_buf_KF8_Lib_TS3_CS_T_*(-1);
                                           	BANKSEL	_change_buf_KF8_Lib_TS3_CS_T_
000378   058f     CPL	0x8f                 	CPL	_change_buf_KF8_Lib_TS3_CS_T_
                                           	BANKSEL	_change_buf_KF8_Lib_TS3_CS_T_
000379   0b8f     INC	0x8f                 	INC	_change_buf_KF8_Lib_TS3_CS_T_
                                           ;	op : LABEL
                                           ;	op : =
                                           ;gen_assign from CODESPACE
                                           _00110_DS_
                                           ;	.line	1921; "../kf8ts35_touch_cs_lib.c"	if(change_buf_KF8_Lib_TS3_CS_T_>_KF8_Data_Steady_Threshold_Set_)
00037a   9907     MOV	R1, #0x7             	MOV	R1,# high (__KF8_Data_Steady_Threshold_Set_+0)
00037b   98df     MOV	R0, #0xdf            	MOV	R0,# low (__KF8_Data_Steady_Threshold_Set_+0)
                                           	PAGESEL	__R2PCL
00037c   d7d5     CALL	#0x7d5              	CALL	__R2PCL
                                           	PAGESEL	$
00037d   e100     MOVB	#0x00               	BANKSEL	r0x1037
00037e   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : >
                                           	BANKSEL	r0x1037
00037f   0e8a     MOVZ	R0, 0x8a            	MOVZ	R0, r0x1037
000380   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x1038
000381   5189     MOV	0x89, R0             	MOV	r0x1038, R0
                                           	BANKSEL	_change_buf_KF8_Lib_TS3_CS_T_
000382   0e8f     MOVZ	R0, 0x8f            	MOVZ	R0, _change_buf_KF8_Lib_TS3_CS_T_
000383   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x1038
000384   3889     SUB	R0, 0x89             	SUB	R0, r0x1038
                                           ;comparing bytes at offset 0
000385   7003     JNB	0x3, 0               	JNB	PSW, 0
000386   c3ae     JMP	#0x3ae               	JMP	_00112_DS_
                                           ;	op : +
                                           ;	.line	1923; "../kf8ts35_touch_cs_lib.c"	_KF8_LIBc_baseline_count_[_KF8_LIBc_channel_]=0;
                                           	BANKSEL	__KF8_LIBc_channel_
000387   50a5     MOV	R0, 0xa5             	MOV	R0, __KF8_LIBc_channel_
000388   80d2     ADD	R0, #0xd2            	ADD	R0,# (__KF8_LIBc_baseline_count_ + 0)
                                           	BANKSEL	r0x1037
000389   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : =
00038a   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x1037
00038b   528a     MOV	R1, 0x8a             	MOV	R1, r0x1037
                                           	BANKSEL	__KF8_LIBc_baseline_count_
00038c   f741     ST	[R1], R0              	ST	[R1], R0
                                           ;	op : LEFT_OP
                                           ;	.line	1924; "../kf8ts35_touch_cs_lib.c"	_KF8TS35CS_Data_Steady_Flag_ &= ~(1<<_KF8_LIBc_channel_);//Ethan 2018-2-1Ìí¼Ó²ÉÑùÖµÎÈ¶¨ÐÔÅÐ¶Ï
00038d   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
                                           	BANKSEL	r0x1037
00038e   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
00038f   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x1039
000390   5181     MOV	0x81, R0             	MOV	r0x1039, R0
                                           	BANKSEL	__KF8_LIBc_channel_
000391   0ea5     MOVZ	R0, 0xa5            	MOVZ	R0, __KF8_LIBc_channel_
000392   ff10     INC	R0                   	INC	R0
000393   c398     JMP	#0x398               	JMP	_00130_DS_
                                           _00129_DS_
000394   6003     CLR	0x3, 0               	CLR	PSW, 0
000395   e100     MOVB	#0x00               	BANKSEL	r0x1037
000396   138a     RLC	0x8a                 	RLC	r0x1037
                                           	BANKSEL	r0x1039
000397   1381     RLC	0x81                 	RLC	r0x1039
                                           _00130_DS_
000398   ff58     DECJZ	R0                 	DECJZ	R0
000399   c394     JMP	#0x394               	JMP	_00129_DS_
                                           ;	op : ~
                                           	BANKSEL	r0x1037
00039a   058a     CPL	0x8a                 	CPL	r0x1037
                                           	BANKSEL	r0x1039
00039b   0581     CPL	0x81                 	CPL	r0x1039
                                           	BANKSEL	r0x1037
00039c   0e8a     MOVZ	R0, 0x8a            	MOVZ	R0, r0x1037
                                           	BANKSEL	r0x103A
00039d   5188     MOV	0x88, R0             	MOV	r0x103A, R0
                                           	BANKSEL	r0x1039
00039e   0e81     MOVZ	R0, 0x81            	MOVZ	R0, r0x1039
                                           	BANKSEL	r0x103B
00039f   5187     MOV	0x87, R0             	MOV	r0x103B, R0
0003a0   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x103B
0003a1   7787     JNB	0x87, 7              	JNB	r0x103B, 7
0003a2   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
                                           	BANKSEL	r0x103C
0003a3   5186     MOV	0x86, R0             	MOV	r0x103C, R0
                                           	BANKSEL	r0x103D
0003a4   5184     MOV	0x84, R0             	MOV	r0x103D, R0
                                           ;	op : BITWISEAND
                                           	BANKSEL	r0x103A
0003a5   0e88     MOVZ	R0, 0x88            	MOVZ	R0, r0x103A
                                           	BANKSEL	__KF8TS35CS_Data_Steady_Flag_
0003a6   29b4     AND	0xb4, R0             	AND	__KF8TS35CS_Data_Steady_Flag_, R0
                                           	BANKSEL	r0x103B
0003a7   0e87     MOVZ	R0, 0x87            	MOVZ	R0, r0x103B
                                           	BANKSEL	__KF8TS35CS_Data_Steady_Flag_
0003a8   29b5     AND	0xb5, R0             	AND	(__KF8TS35CS_Data_Steady_Flag_ + 1), R0
                                           	BANKSEL	r0x103D
0003a9   0e84     MOVZ	R0, 0x84            	MOVZ	R0, r0x103D
                                           	BANKSEL	__KF8TS35CS_Data_Steady_Flag_
0003aa   29b6     AND	0xb6, R0             	AND	(__KF8TS35CS_Data_Steady_Flag_ + 2), R0
                                           	BANKSEL	r0x103C
0003ab   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x103C
                                           	BANKSEL	__KF8TS35CS_Data_Steady_Flag_
0003ac   29b7     AND	0xb7, R0             	AND	(__KF8TS35CS_Data_Steady_Flag_ + 3), R0
                                           ;	op : GOTO
0003ad   c3cc     JMP	#0x3cc               	JMP	_00113_DS_
                                           ;	op : LABEL
                                           ;	op : LEFT_OP
                                           _00112_DS_
                                           ;	.line	1928; "../kf8ts35_touch_cs_lib.c"	_KF8TS35CS_Data_Steady_Flag_ |= 1<<_KF8_LIBc_channel_;
0003ae   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
                                           	BANKSEL	r0x1037
0003af   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
0003b0   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x1039
0003b1   5181     MOV	0x81, R0             	MOV	r0x1039, R0
                                           	BANKSEL	__KF8_LIBc_channel_
0003b2   0ea5     MOVZ	R0, 0xa5            	MOVZ	R0, __KF8_LIBc_channel_
0003b3   ff10     INC	R0                   	INC	R0
0003b4   c3b9     JMP	#0x3b9               	JMP	_00132_DS_
                                           _00131_DS_
0003b5   6003     CLR	0x3, 0               	CLR	PSW, 0
0003b6   e100     MOVB	#0x00               	BANKSEL	r0x1037
0003b7   138a     RLC	0x8a                 	RLC	r0x1037
                                           	BANKSEL	r0x1039
0003b8   1381     RLC	0x81                 	RLC	r0x1039
                                           _00132_DS_
0003b9   ff58     DECJZ	R0                 	DECJZ	R0
0003ba   c3b5     JMP	#0x3b5               	JMP	_00131_DS_
                                           ;	op : CAST
                                           	BANKSEL	r0x1037
0003bb   0e8a     MOVZ	R0, 0x8a            	MOVZ	R0, r0x1037
                                           	BANKSEL	r0x103A
0003bc   5188     MOV	0x88, R0             	MOV	r0x103A, R0
                                           	BANKSEL	r0x1039
0003bd   0e81     MOVZ	R0, 0x81            	MOVZ	R0, r0x1039
                                           	BANKSEL	r0x103B
0003be   5187     MOV	0x87, R0             	MOV	r0x103B, R0
0003bf   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x103B
0003c0   7787     JNB	0x87, 7              	JNB	r0x103B, 7
0003c1   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
                                           	BANKSEL	r0x103C
0003c2   5186     MOV	0x86, R0             	MOV	r0x103C, R0
                                           	BANKSEL	r0x103D
0003c3   5184     MOV	0x84, R0             	MOV	r0x103D, R0
                                           ;	op : |
                                           	BANKSEL	r0x103A
0003c4   0e88     MOVZ	R0, 0x88            	MOVZ	R0, r0x103A
                                           	BANKSEL	__KF8TS35CS_Data_Steady_Flag_
0003c5   31b4     ORL	0xb4, R0             	ORL	__KF8TS35CS_Data_Steady_Flag_, R0
                                           	BANKSEL	r0x103B
0003c6   0e87     MOVZ	R0, 0x87            	MOVZ	R0, r0x103B
                                           	BANKSEL	__KF8TS35CS_Data_Steady_Flag_
0003c7   31b5     ORL	0xb5, R0             	ORL	(__KF8TS35CS_Data_Steady_Flag_ + 1), R0
                                           	BANKSEL	r0x103D
0003c8   0e84     MOVZ	R0, 0x84            	MOVZ	R0, r0x103D
                                           	BANKSEL	__KF8TS35CS_Data_Steady_Flag_
0003c9   31b6     ORL	0xb6, R0             	ORL	(__KF8TS35CS_Data_Steady_Flag_ + 2), R0
                                           	BANKSEL	r0x103C
0003ca   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x103C
                                           	BANKSEL	__KF8TS35CS_Data_Steady_Flag_
0003cb   31b7     ORL	0xb7, R0             	ORL	(__KF8TS35CS_Data_Steady_Flag_ + 3), R0
                                           ;	op : LABEL
                                           ;	op : +
                                           _00113_DS_
                                           ;	.line	1961; "../kf8ts35_touch_cs_lib.c"	_KF8_LIBi_Date_Change_[_KF8_LIBc_channel_]=_KF8_lib_bahualvtemportemp_TS3_CS_T_;
                                           	BANKSEL	__KF8_LIBc_channel_
0003cc   50a5     MOV	R0, 0xa5             	MOV	R0, __KF8_LIBc_channel_
0003cd   80c4     ADD	R0, #0xc4            	ADD	R0,# (__KF8_LIBi_Date_Change_ + 0)
                                           	BANKSEL	r0x1037
0003ce   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : =
                                           	BANKSEL	__KF8_lib_bahualvtemportemp_TS3_CS_T_
0003cf   0e91     MOVZ	R0, 0x91            	MOVZ	R0, __KF8_lib_bahualvtemportemp_TS3_CS_T_
                                           	BANKSEL	r0x1037
0003d0   528a     MOV	R1, 0x8a             	MOV	R1, r0x1037
                                           	BANKSEL	__KF8_LIBi_Date_Change_
0003d1   f741     ST	[R1], R0              	ST	[R1], R0
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
0003d2   50a5     MOV	R0, 0xa5             	MOV R0, __KF8_LIBc_channel_
0003d3   a801     XOR	R0, #0x1             	XOR R0, #0X01
0003d4   7a03     JB	0x3, 2                	JB PSW,2
0003d5   c3e4     JMP	#0x3e4               	JMP lable_channbig
                                           	BANKSEL __KF8_LIBi_Date_Change_
0003d6   50c4     MOV	R0, 0xc4             	MOV R0, (__KF8_LIBi_Date_Change_+0)
0003d7   52c5     MOV	R1, 0xc5             	MOV R1, (__KF8_LIBi_Date_Change_+1)
0003d8   8080     ADD	R0, #0x80            	ADD R0,#0X80
0003d9   8180     ADD	R1, #0x80            	ADD R1,#0X80
0003da   f841     SUB	R1, R0               	SUB R1, R0
0003db   7803     JB	0x3, 0                	JB PSW,0
0003dc   c3e1     JMP	#0x3e1               	JMP lable_chann1
                                           	BANKSEL __KF8_lib_Finded_MAX_J_TS3_CS_T_
0003dd   9801     MOV	R0, #0x1             	MOV R0, #0X01
0003de   5193     MOV	0x93, R0             	MOV __KF8_lib_Finded_MAX_J_TS3_CS_T_ , R0
                                           	BANKSEL __KF8_lib_Finded_MAX_I_TS3_CS_T_
0003df   0394     CLR	0x94                 	CLR __KF8_lib_Finded_MAX_I_TS3_CS_T_
0003e0   c3e4     JMP	#0x3e4               	JMP lable_channbig
                                           lable_chann1:
                                           	BANKSEL __KF8_lib_Finded_MAX_I_TS3_CS_T_
0003e1   9801     MOV	R0, #0x1             	MOV R0, #0X01
0003e2   5194     MOV	0x94, R0             	MOV __KF8_lib_Finded_MAX_I_TS3_CS_T_ , R0
                                           	BANKSEL __KF8_lib_Finded_MAX_J_TS3_CS_T_
0003e3   0393     CLR	0x93                 	CLR __KF8_lib_Finded_MAX_J_TS3_CS_T_
                                           lable_channbig:
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
0003e4   9802     MOV	R0, #0x2             	MOV R0, #0X02
0003e5   38a5     SUB	R0, 0xa5             	SUB R0, __KF8_LIBc_channel_
0003e6   7803     JB	0x3, 0                	JB PSW,0
0003e7   c402     JMP	#0x402               	JMP lable_channover
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
0003e8   52a5     MOV	R1, 0xa5             	MOV R1, __KF8_LIBc_channel_
0003e9   81c4     ADD	R1, #0xc4            	ADD R1, #(__KF8_LIBi_Date_Change_)
                                           	BANKSEL __KF8_LIBi_Date_Change_
0003ea   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS3_CS_T_
0003eb   8080     ADD	R0, #0x80            	ADD R0, #0X80
0003ec   5191     MOV	0x91, R0             	MOV __KF8_lib_bahualvtemportemp_TS3_CS_T_, R0
                                           	;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Finded_MAX_J_TS3_CS_T_
0003ed   5293     MOV	R1, 0x93             	MOV R1, __KF8_lib_Finded_MAX_J_TS3_CS_T_
0003ee   81c4     ADD	R1, #0xc4            	ADD R1, #(__KF8_LIBi_Date_Change_)
                                           	BANKSEL __KF8_LIBi_Date_Change_
0003ef   f708     LD	R0, [R1]              	LD R0,[R1]
0003f0   8080     ADD	R0, #0x80            	ADD R0,#0X80
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS3_CS_T_
0003f1   3891     SUB	R0, 0x91             	SUB R0, __KF8_lib_bahualvtemportemp_TS3_CS_T_
0003f2   7803     JB	0x3, 0                	JB PSW,0
0003f3   c402     JMP	#0x402               	JMP lable_channover
                                           	;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Finded_MAX_I_TS3_CS_T_
0003f4   5294     MOV	R1, 0x94             	MOV R1, __KF8_lib_Finded_MAX_I_TS3_CS_T_
0003f5   81c4     ADD	R1, #0xc4            	ADD R1, #(__KF8_LIBi_Date_Change_)
                                           	BANKSEL __KF8_LIBi_Date_Change_
0003f6   f708     LD	R0, [R1]              	LD R0,[R1]
0003f7   8080     ADD	R0, #0x80            	ADD R0, #0X80
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS3_CS_T_
0003f8   3891     SUB	R0, 0x91             	SUB R0, __KF8_lib_bahualvtemportemp_TS3_CS_T_
0003f9   7003     JNB	0x3, 0               	JNB PSW,0
0003fa   c3fe     JMP	#0x3fe               	JMP lable_chann2
                                           	BANKSEL __KF8_LIBc_channel_
0003fb   50a5     MOV	R0, 0xa5             	MOV R0, __KF8_LIBc_channel_
                                           	BANKSEL __KF8_lib_Finded_MAX_J_TS3_CS_T_
0003fc   5193     MOV	0x93, R0             	MOV __KF8_lib_Finded_MAX_J_TS3_CS_T_,R0
0003fd   c402     JMP	#0x402               	JMP lable_channover
                                           lable_chann2:
                                           	BANKSEL __KF8_lib_Finded_MAX_I_TS3_CS_T_
0003fe   5094     MOV	R0, 0x94             	MOV R0, __KF8_lib_Finded_MAX_I_TS3_CS_T_
                                           	BANKSEL __KF8_lib_Finded_MAX_J_TS3_CS_T_
0003ff   5193     MOV	0x93, R0             	MOV __KF8_lib_Finded_MAX_J_TS3_CS_T_,R0
                                           	BANKSEL __KF8_LIBc_channel_
000400   50a5     MOV	R0, 0xa5             	MOV R0, __KF8_LIBc_channel_
                                           	BANKSEL __KF8_lib_Finded_MAX_I_TS3_CS_T_
000401   5194     MOV	0x94, R0             	MOV __KF8_lib_Finded_MAX_I_TS3_CS_T_,R0
                                           lable_channover:
                                           	
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	2086; "../kf8ts35_touch_cs_lib.c"	if(!_KF8_lib_Touch_Bits_._KF8_Touch_Protect_Flag)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
000402   7198     JNB	0x98, 1              	JNB	__KF8_lib_Touch_Bits_, 1
000403   c4a3     JMP	#0x4a3               	JMP	_00121_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
000404   50a5     MOV	R0, 0xa5             	MOV R0, __KF8_LIBc_channel_
000405   80c2     ADD	R0, #0xc2            	ADD R0, #low (__KF8_Config_Finger_Threshold)
000406   9907     MOV	R1, #0x7             	MOV R1, #high (__KF8_Config_Finger_Threshold)
000407   7003     JNB	0x3, 0               	JNB PSW,0
000408   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
000409   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
00040a   e100     MOVB	#0x00               	BANKSEL __KF8_lib_bahualvtemportemp_TS3_CS_T_
00040b   5191     MOV	0x91, R0             	MOV __KF8_lib_bahualvtemportemp_TS3_CS_T_, R0
00040c   9806     MOV	R0, #0x6             	MOV R0, #(6)
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS3_CS_T_
00040d   3991     SUB	0x91, R0             	SUB __KF8_lib_bahualvtemportemp_TS3_CS_T_, R0
                                           	
                                           ;	op : +
                                           ;	.line	2113; "../kf8ts35_touch_cs_lib.c"	if(_KF8_LIBi_Date_Change_[_KF8_LIBc_channel_]<_KF8_lib_bahualvtemportemp_TS3_CS_T_)
                                           	BANKSEL	__KF8_LIBc_channel_
00040e   50a5     MOV	R0, 0xa5             	MOV	R0, __KF8_LIBc_channel_
00040f   80c4     ADD	R0, #0xc4            	ADD	R0,# (__KF8_LIBi_Date_Change_ + 0)
                                           	BANKSEL	r0x1037
000410   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x1037
000411   528a     MOV	R1, 0x8a             	MOV	R1, r0x1037
                                           	BANKSEL	__KF8_LIBi_Date_Change_
000412   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x103A
000413   5188     MOV	0x88, R0             	MOV	r0x103A, R0
                                           ;	op : <
                                           	BANKSEL	r0x103A
000414   0e88     MOVZ	R0, 0x88            	MOVZ	R0, r0x103A
000415   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x1038
000416   5189     MOV	0x89, R0             	MOV	r0x1038, R0
                                           	BANKSEL	__KF8_lib_bahualvtemportemp_TS3_CS_T_
000417   0e91     MOVZ	R0, 0x91            	MOVZ	R0, __KF8_lib_bahualvtemportemp_TS3_CS_T_
000418   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x1038
000419   3889     SUB	R0, 0x89             	SUB	R0, r0x1038
                                           ;comparing bytes at offset 0
00041a   7003     JNB	0x3, 0               	JNB	PSW, 0
00041b   c494     JMP	#0x494               	JMP	_00117_DS_
                                           ;	op : +
                                           ;	.line	2116; "../kf8ts35_touch_cs_lib.c"	if(_KF8_LIBc_touch_count_[_KF8_LIBc_channel_]>TCS_AMOUNT) //±»°´ÏÂ±ê¼Ç
                                           	BANKSEL	__KF8_LIBc_channel_
00041c   50a5     MOV	R0, 0xa5             	MOV	R0, __KF8_LIBc_channel_
00041d   80cb     ADD	R0, #0xcb            	ADD	R0,# (__KF8_LIBc_touch_count_ + 0)
                                           	BANKSEL	r0x1037
00041e   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x1037
00041f   528a     MOV	R1, 0x8a             	MOV	R1, r0x1037
                                           	BANKSEL	__KF8_LIBc_touch_count_
000420   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x103A
000421   5188     MOV	0x88, R0             	MOV	r0x103A, R0
                                           ;	op : =
                                           ;gen_assign from CODESPACE
000422   9907     MOV	R1, #0x7             	MOV	R1,# high (_TCS_AMOUNT+0)
000423   98d8     MOV	R0, #0xd8            	MOV	R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL	__R2PCL
000424   d7d5     CALL	#0x7d5              	CALL	__R2PCL
                                           	PAGESEL	$
000425   e100     MOVB	#0x00               	BANKSEL	r0x1037
000426   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : >
                                           	BANKSEL	r0x103A
000427   0e88     MOVZ	R0, 0x88            	MOVZ	R0, r0x103A
                                           	BANKSEL	r0x1037
000428   388a     SUB	R0, 0x8a             	SUB	R0, r0x1037
                                           ;comparing bytes at offset 0
000429   7003     JNB	0x3, 0               	JNB	PSW, 0
00042a   c4a3     JMP	#0x4a3               	JMP	_00121_DS_
                                           ;	op : INLINEASM
00042b   9907     MOV	R1, #0x7             	MOV R1,# high (_TCS_AMOUNT+0)
00042c   98d8     MOV	R0, #0xd8            	MOV R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL
00042d   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
00042e   6003     CLR	0x3, 0               	CLR PSW,0
00042f   ff18     RLC	R0                   	RLC R0
000430   e100     MOVB	#0x00               	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000431   5190     MOV	0x90, R0             	MOV __KF8_lib_Date_Uchar_Temp_TS3_CS_T_,R0
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
000432   52a5     MOV	R1, 0xa5             	MOV R1, __KF8_LIBc_channel_
000433   81cb     ADD	R1, #0xcb            	ADD R1, #(__KF8_LIBc_touch_count_)
                                           	BANKSEL __KF8_LIBc_touch_count_
000434   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000435   3890     SUB	R0, 0x90             	SUB R0, __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000436   7803     JB	0x3, 0                	JB PSW, 0
000437   c43c     JMP	#0x43c               	JMP lable_010101
                                           	BANKSEL __KF8_LIBc_touch_count_
000438   f708     LD	R0, [R1]              	LD R0,[R1]
000439   ff10     INC	R0                   	INC R0
00043a   f741     ST	[R1], R0              	ST [R1],R0
00043b   c493     JMP	#0x493               	JMP lable_020202
                                           lable_010101:
                                           	BANKSEL __KF8_LIBc_touch_count_
00043c   0208     CLR	R0                   	CLR R0
00043d   f741     ST	[R1], R0              	ST [R1], R0
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBc_channel_
00043e   50a5     MOV	R0, 0xa5             	MOV R0, __KF8_LIBc_channel_
00043f   80bb     ADD	R0, #0xbb            	ADD R0, #low (__KF8_TOUCH_CH_EN)
000440   9907     MOV	R1, #0x7             	MOV R1, #high (__KF8_TOUCH_CH_EN)
000441   7003     JNB	0x3, 0               	JNB PSW,0
000442   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
000443   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;;;;;;;;
000444   6003     CLR	0x3, 0               	CLR PSW,0
000445   ff18     RLC	R0                   	RLC R0
000446   ff18     RLC	R0                   	RLC R0
000447   e100     MOVB	#0x00               	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000448   5190     MOV	0x90, R0             	MOV __KF8_lib_Date_Uchar_Temp_TS3_CS_T_ , R0
                                           	;;;;;;;;;;;;;;;;;;;;
000449   800a     ADD	R0, #0xa             	ADD R0,#low(__KF8_LIBt_buff_bit_TS3_CS_T_)
00044a   9906     MOV	R1, #0x6             	MOV R1,#high(__KF8_LIBt_buff_bit_TS3_CS_T_)
00044b   7003     JNB	0x3, 0               	JNB PSW,0
00044c   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
00044d   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
00044e   ff00     CPL	R0                   	CPL R0
00044f   e100     MOVB	#0x00               	BANKSEL __KF8_LIBi_channel_flag_
000450   29c0     AND	0xc0, R0             	AND __KF8_LIBi_channel_flag_, R0
                                           	;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000451   5090     MOV	R0, 0x90             	MOV R0, __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000452   ff10     INC	R0                   	INC R0
000453   800a     ADD	R0, #0xa             	ADD R0,#low(__KF8_LIBt_buff_bit_TS3_CS_T_)
000454   9906     MOV	R1, #0x6             	MOV R1,#high(__KF8_LIBt_buff_bit_TS3_CS_T_)
000455   7003     JNB	0x3, 0               	JNB PSW,0
000456   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
000457   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
000458   ff00     CPL	R0                   	CPL R0
000459   e100     MOVB	#0x00               	BANKSEL __KF8_LIBi_channel_flag_
00045a   29c1     AND	0xc1, R0             	AND (__KF8_LIBi_channel_flag_+1), R0
                                           	;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
00045b   5090     MOV	R0, 0x90             	MOV R0, __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
00045c   ff10     INC	R0                   	INC R0
00045d   ff10     INC	R0                   	INC R0
00045e   800a     ADD	R0, #0xa             	ADD R0,#low(__KF8_LIBt_buff_bit_TS3_CS_T_)
00045f   9906     MOV	R1, #0x6             	MOV R1,#high(__KF8_LIBt_buff_bit_TS3_CS_T_)
000460   7003     JNB	0x3, 0               	JNB PSW,0
000461   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
000462   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
000463   ff00     CPL	R0                   	CPL R0
000464   e100     MOVB	#0x00               	BANKSEL __KF8_LIBi_channel_flag_
000465   29c2     AND	0xc2, R0             	AND (__KF8_LIBi_channel_flag_+2), R0
                                           	;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000466   5090     MOV	R0, 0x90             	MOV R0, __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000467   ff10     INC	R0                   	INC R0
000468   ff10     INC	R0                   	INC R0
000469   ff10     INC	R0                   	INC R0
00046a   800a     ADD	R0, #0xa             	ADD R0,#low(__KF8_LIBt_buff_bit_TS3_CS_T_)
00046b   9906     MOV	R1, #0x6             	MOV R1,#high(__KF8_LIBt_buff_bit_TS3_CS_T_)
00046c   7003     JNB	0x3, 0               	JNB PSW,0
00046d   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
00046e   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
00046f   ff00     CPL	R0                   	CPL R0
000470   e100     MOVB	#0x00               	BANKSEL __KF8_LIBi_channel_flag_
000471   29c3     AND	0xc3, R0             	AND (__KF8_LIBi_channel_flag_+3), R0
                                           	;;;;;;;;;;;;;;;;;
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	;;;;;;;
000472   9800     MOV	R0, #0               	MOV R0, #0X00
                                           	BANKSEL __KF8_lib_Key_Down_Count_TS3_CS_T_
000473   3097     ORL	R0, 0x97             	ORL R0, __KF8_lib_Key_Down_Count_TS3_CS_T_
000474   7a03     JB	0x3, 2                	JB PSW, 2
000475   0797     DEC	0x97                 	DEC __KF8_lib_Key_Down_Count_TS3_CS_T_
                                           	;;;;;;;;;;;;;;;;;
000476   9800     MOV	R0, #0               	MOV R0,#0X00
000477   3097     ORL	R0, 0x97             	ORL R0, __KF8_lib_Key_Down_Count_TS3_CS_T_
000478   7203     JNB	0x3, 2               	JNB PSW, 2
000479   c48a     JMP	#0x48a               	JMP lable_030303
                                           	;;;
                                           	BANKSEL __KF8_LIBc_finger_OUT_First_TS3_CS_T_
00047a   5096     MOV	R0, 0x96             	MOV R0, __KF8_LIBc_finger_OUT_First_TS3_CS_T_
                                           	BANKSEL __KF8_LIBc_channel_
00047b   18a5     XOR	R0, 0xa5             	XOR R0, __KF8_LIBc_channel_
00047c   7a03     JB	0x3, 2                	JB PSW, 2
00047d   c48c     JMP	#0x48c               	JMP lable_050505
                                           	;;;;;;;
                                           	BANKSEL __KF8_LIBc_finger_OUT_Second_TS3_CS_T_
00047e   5095     MOV	R0, 0x95             	MOV R0, __KF8_LIBc_finger_OUT_Second_TS3_CS_T_
                                           	BANKSEL __KF8_LIBc_finger_OUT_First_TS3_CS_T_
00047f   1896     XOR	R0, 0x96             	XOR R0, __KF8_LIBc_finger_OUT_First_TS3_CS_T_
000480   7a03     JB	0x3, 2                	JB PSW, 2
000481   c487     JMP	#0x487               	JMP lable_040404
000482   98ff     MOV	R0, #0xff            	MOV R0,#0XFF
000483   5196     MOV	0x96, R0             	MOV __KF8_LIBc_finger_OUT_First_TS3_CS_T_ , R0
000484   9800     MOV	R0, #0               	MOV R0,#0X00
                                           	BANKSEL __KF8_lib_Key_Down_Count_TS3_CS_T_
000485   5197     MOV	0x97, R0             	MOV __KF8_lib_Key_Down_Count_TS3_CS_T_ ,R0
000486   c48c     JMP	#0x48c               	JMP lable_050505
                                           	;;;;;;;;;
                                           lable_040404:
                                           	BANKSEL __KF8_LIBc_finger_OUT_Second_TS3_CS_T_
000487   5095     MOV	R0, 0x95             	MOV R0, __KF8_LIBc_finger_OUT_Second_TS3_CS_T_
                                           	BANKSEL __KF8_LIBc_finger_OUT_First_TS3_CS_T_
000488   5196     MOV	0x96, R0             	MOV __KF8_LIBc_finger_OUT_First_TS3_CS_T_ ,R0
000489   c48c     JMP	#0x48c               	JMP lable_050505
                                           lable_030303:
                                           	BANKSEL __KF8_LIBc_finger_OUT_First_TS3_CS_T_
00048a   98ff     MOV	R0, #0xff            	MOV R0, #0XFF
00048b   5196     MOV	0x96, R0             	MOV __KF8_LIBc_finger_OUT_First_TS3_CS_T_, R0
                                           lable_050505:
                                           	BANKSEL __KF8_LIBc_finger_OUT_Second_TS3_CS_T_
00048c   98ff     MOV	R0, #0xff            	MOV R0,#0XFF
00048d   5195     MOV	0x95, R0             	MOV __KF8_LIBc_finger_OUT_Second_TS3_CS_T_,R0
00048e   9800     MOV	R0, #0               	MOV R0,#0X00
                                           	BANKSEL __KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_
00048f   51ac     MOV	0xac, R0             	MOV __KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_, R0
000490   51ad     MOV	0xad, R0             	MOV (__KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_+1), R0
                                           	BANKSEL __KF8_lib_MAX_KEY_Vaule_Time_Count_TS3_CS_T_
000491   51ae     MOV	0xae, R0             	MOV __KF8_lib_MAX_KEY_Vaule_Time_Count_TS3_CS_T_, R0
000492   51af     MOV	0xaf, R0             	MOV (__KF8_lib_MAX_KEY_Vaule_Time_Count_TS3_CS_T_+1), R0
                                           lable_020202:
                                           	
                                           ;	op : GOTO
000493   c4a3     JMP	#0x4a3               	JMP	_00121_DS_
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00117_DS_
000494   9907     MOV	R1, #0x7             	MOV R1,# high (_TCS_AMOUNT+0)
000495   98d8     MOV	R0, #0xd8            	MOV R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL
000496   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
000497   ff10     INC	R0                   	INC R0
000498   e100     MOVB	#0x00               	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000499   5190     MOV	0x90, R0             	MOV __KF8_lib_Date_Uchar_Temp_TS3_CS_T_,R0
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBc_channel_
00049a   52a5     MOV	R1, 0xa5             	MOV R1,__KF8_LIBc_channel_
00049b   81cb     ADD	R1, #0xcb            	ADD R1,#(__KF8_LIBc_touch_count_+0)
                                           	BANKSEL __KF8_LIBc_touch_count_
00049c   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
00049d   3890     SUB	R0, 0x90             	SUB R0,__KF8_lib_Date_Uchar_Temp_TS3_CS_T_
00049e   7003     JNB	0x3, 0               	JNB PSW,0 ;;
00049f   c4a3     JMP	#0x4a3               	JMP label_18_18_18
                                           	BANKSEL __KF8_LIBc_touch_count_
0004a0   f708     LD	R0, [R1]              	LD R0,[R1]
0004a1   ff08     DEC	R0                   	DEC R0
0004a2   f741     ST	[R1], R0              	ST [R1],R0
                                           label_18_18_18:
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00121_DS_
0004a3   0008     CRET                     	CRET	
                                           ; exit point of __KF8_LIBf_scan_channel_
                                           
                                           
                                           
                                           func.__KF8_LiBf_KEY_Deal_AND_BaseLine_Up	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8_LiBf_KEY_Deal_AND_BaseLine_Up	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;   __R2PCL
                                           ;10 compiler assigned registers:
                                           ;   r0x1037
                                           ;   r0x1038
                                           ;   r0x1039
                                           ;   r0x103A
                                           ;   r0x103B
                                           ;   r0x103C
                                           ;   r0x103D
                                           ;   r0x103E
                                           ;   r0x103F
                                           ;   r0x1040
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8_LiBf_KEY_Deal_AND_BaseLine_Up	;Function start
                                           ; 2 exit points
                                           ;	op : =
                                           ;	.line	511; "../kf8ts35_touch_cs_lib.c"	_KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_=0x00000001;
00000f   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
000010   e100     MOVB	#0x00               	BANKSEL	__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
000011   51b8     MOV	0xb8, R0             	MOV	__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_, R0
                                           	BANKSEL	__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
000012   03b9     CLR	0xb9                 	CLR	(__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_ + 1)
                                           	BANKSEL	__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
000013   03ba     CLR	0xba                 	CLR	(__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_ + 2)
                                           	BANKSEL	__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
000014   03bb     CLR	0xbb                 	CLR	(__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_ + 3)
                                           ;	op : =
                                           ;	.line	513; "../kf8ts35_touch_cs_lib.c"	for(i_KF8_lib_TS3_CS_T_=0;i_KF8_lib_TS3_CS_T_<CHS_AMOUNT;i_KF8_lib_TS3_CS_T_++)
                                           	BANKSEL	_i_KF8_lib_TS3_CS_T_
000015   038e     CLR	0x8e                 	CLR	_i_KF8_lib_TS3_CS_T_
                                           ;	op : LABEL
                                           ;	op : =
                                           ;gen_assign from CODESPACE
                                           _00072_DS_
000016   9907     MOV	R1, #0x7             	MOV	R1,# high (_CHS_AMOUNT+0)
000017   98d7     MOV	R0, #0xd7            	MOV	R0,# low (_CHS_AMOUNT+0)
                                           	PAGESEL	__R2PCL
000018   d7d5     CALL	#0x7d5              	CALL	__R2PCL
                                           	PAGESEL	$
000019   e100     MOVB	#0x00               	BANKSEL	r0x1037
00001a   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : <
                                           	BANKSEL	r0x1037
00001b   0e8a     MOVZ	R0, 0x8a            	MOVZ	R0, r0x1037
                                           	BANKSEL	_i_KF8_lib_TS3_CS_T_
00001c   388e     SUB	R0, 0x8e             	SUB	R0, _i_KF8_lib_TS3_CS_T_
                                           ;comparing bytes at offset 0
00001d   7003     JNB	0x3, 0               	JNB	PSW, 0
00001e   c2cd     JMP	#0x2cd               	JMP	_00075_DS_
                                           ;	op : INLINEASM
00001f   6003     CLR	0x3, 0               	CLR PSW,0
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
000020   128e     RLCR	0x8e                	RLCR _i_KF8_lib_TS3_CS_T_
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
000021   518d     MOV	0x8d, R0             	MOV _Addr_Copy_Int_KF8_Lib_TS3_CS_T_,R0
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
000022   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
000023   80bb     ADD	R0, #0xbb            	ADD R0, #low (__KF8_TOUCH_CH_EN)
000024   9907     MOV	R1, #0x7             	MOV R1, #high (__KF8_TOUCH_CH_EN)
000025   7003     JNB	0x3, 0               	JNB PSW,0
000026   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
000027   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
000028   e100     MOVB	#0x00               	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000029   5190     MOV	0x90, R0             	MOV __KF8_lib_Date_Uchar_Temp_TS3_CS_T_ ,R0
                                           	;;;;;;;
00002a   98e1     MOV	R0, #0xe1            	MOV R0, #low (__KF8_Inside_Reference_Channel_Declare_)
00002b   9907     MOV	R1, #0x7             	MOV R1, #high (__KF8_Inside_Reference_Channel_Declare_)
                                           	PAGESEL __R2PCHPCL
00002c   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
00002d   1890     XOR	R0, 0x90             	XOR R0, __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
00002e   7a03     JB	0x3, 2                	JB PSW, 2
00002f   c041     JMP	#0x41                	JMP lable_612118
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
000030   98e0     MOV	R0, #0xe0            	MOV R0, #low (__KF8_Inside_Reference_Channel_Disturb_Threshold_Set_)
000031   9907     MOV	R1, #0x7             	MOV R1, #high (__KF8_Inside_Reference_Channel_Disturb_Threshold_Set_)
                                           	PAGESEL __R2PCHPCL
000032   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
000033   e100     MOVB	#0x00               	BANKSEL __KF8_lib_bahualvtemportemp_TS3_CS_T_
000034   5191     MOV	0x91, R0             	MOV __KF8_lib_bahualvtemportemp_TS3_CS_T_ ,R0
                                           	;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
000035   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
000036   80c4     ADD	R0, #0xc4            	ADD R0, #(__KF8_LIBi_Date_Change_)
                                           	;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBi_Date_Change_
000037   f701     LD	R1, [R0]              	LD R1, [R0]
000038   f7f9     JB	R1, 7                 	JB R1,7
000039   c03c     JMP	#0x3c                	JMP lable_6121205
00003a   ff01     CPL	R1                   	CPL R1
00003b   ff11     INC	R1                   	INC R1
                                           lable_6121205:
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS3_CS_T_
00003c   3a91     SUB	R1, 0x91             	SUB R1,__KF8_lib_bahualvtemportemp_TS3_CS_T_
00003d   7003     JNB	0x3, 0               	JNB PSW ,0 ;;
00003e   c041     JMP	#0x41                	JMP lable_612118
                                           lable_6121207:
                                           	BANKSEL __KF8_lib_Touch_Bits_
00003f   6998     SET	0x98, 1              	SET __KF8_lib_Touch_Bits_, 1
                                           	BANKSEL __KF8_lib_Wave_Protect_Time_Count_TS3_CS_T_
000040   0399     CLR	0x99                 	CLR __KF8_lib_Wave_Protect_Time_Count_TS3_CS_T_
                                           lable_612118:
                                           	
                                           ;	op : +
                                           ;	.line	601; "../kf8ts35_touch_cs_lib.c"	if(_KF8_LIBi_Date_Change_[i_KF8_lib_TS3_CS_T_]<_KF8_BasicLine_UP_Noise_Threshold_)
000041   e100     MOVB	#0x00               	BANKSEL	_i_KF8_lib_TS3_CS_T_
000042   508e     MOV	R0, 0x8e             	MOV	R0, _i_KF8_lib_TS3_CS_T_
000043   80c4     ADD	R0, #0xc4            	ADD	R0,# (__KF8_LIBi_Date_Change_ + 0)
                                           	BANKSEL	r0x1037
000044   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x1037
000045   528a     MOV	R1, 0x8a             	MOV	R1, r0x1037
                                           	BANKSEL	__KF8_LIBi_Date_Change_
000046   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x1038
000047   5189     MOV	0x89, R0             	MOV	r0x1038, R0
                                           ;	op : =
                                           ;gen_assign from CODESPACE
000048   9907     MOV	R1, #0x7             	MOV	R1,# high (__KF8_BasicLine_UP_Noise_Threshold_+0)
000049   98dd     MOV	R0, #0xdd            	MOV	R0,# low (__KF8_BasicLine_UP_Noise_Threshold_+0)
                                           	PAGESEL	__R2PCL
00004a   d7d5     CALL	#0x7d5              	CALL	__R2PCL
                                           	PAGESEL	$
00004b   e100     MOVB	#0x00               	BANKSEL	r0x1037
00004c   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : <
                                           	BANKSEL	r0x1038
00004d   0e89     MOVZ	R0, 0x89            	MOVZ	R0, r0x1038
00004e   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x1039
00004f   5181     MOV	0x81, R0             	MOV	r0x1039, R0
                                           	BANKSEL	r0x1037
000050   0e8a     MOVZ	R0, 0x8a            	MOVZ	R0, r0x1037
000051   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x1039
000052   3881     SUB	R0, 0x81             	SUB	R0, r0x1039
                                           ;comparing bytes at offset 0
000053   7003     JNB	0x3, 0               	JNB	PSW, 0
000054   c078     JMP	#0x78                	JMP	_00036_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
000055   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
000056   80d2     ADD	R0, #0xd2            	ADD R0,#(__KF8_LIBc_baseline_count_)
                                           	BANKSEL __KF8_LIBc_baseline_count_
000057   f701     LD	R1, [R0]              	LD R1, [R0]
000058   9864     MOV	R0, #0x64            	MOV R0, #(100)
000059   f941     XOR	R1, R0               	XOR R1, R0
00005a   7a03     JB	0x3, 2                	JB PSW ,2
00005b   c077     JMP	#0x77                	JMP lable_06121629
                                           	;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
00005c   508d     MOV	R0, 0x8d             	MOV R0, _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
00005d   80e7     ADD	R0, #0xe7            	ADD R0, #(__KF8_LIBi_buff_hit_)
                                           	BANKSEL __KF8_LIBi_buff_hit_
00005e   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
00005f   508d     MOV	R0, 0x8d             	MOV R0, _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
000060   80d9     ADD	R0, #0xd9            	ADD R0, #(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000061   f748     ST	[R0], R1              	ST [R0], R1
                                           	;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
000062   508d     MOV	R0, 0x8d             	MOV R0, _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
000063   80e8     ADD	R0, #0xe8            	ADD R0, #(__KF8_LIBi_buff_hit_+1)
                                           	BANKSEL __KF8_LIBi_buff_hit_
000064   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
000065   508d     MOV	R0, 0x8d             	MOV R0, _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
000066   80da     ADD	R0, #0xda            	ADD R0, #(__KF8_LIBi_buff_baseline_+1)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000067   f748     ST	[R0], R1              	ST [R0], R1
                                           	;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
000068   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
000069   80cb     ADD	R0, #0xcb            	ADD R0, #(__KF8_LIBc_touch_count_)
                                           	BANKSEL __KF8_LIBc_touch_count_
00006a   f701     LD	R1, [R0]              	LD R1, [R0]
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
00006b   5390     MOV	0x90, R1             	MOV __KF8_lib_Date_Uchar_Temp_TS3_CS_T_, R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;
00006c   98d8     MOV	R0, #0xd8            	MOV R0, #low(_TCS_AMOUNT)
00006d   9907     MOV	R1, #0x7             	MOV R1, #high(_TCS_AMOUNT)
                                           	PAGESEL __R2PCHPCL
00006e   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;;;;;;;
00006f   3890     SUB	R0, 0x90             	SUB R0, __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000070   7003     JNB	0x3, 0               	JNB PSW, 0
000071   c077     JMP	#0x77                	JMP lable_06121629
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;
000072   e100     MOVB	#0x00               	BANKSEL _i_KF8_lib_TS3_CS_T_
000073   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
000074   80cb     ADD	R0, #0xcb            	ADD R0, #(__KF8_LIBc_touch_count_)
                                           	BANKSEL __KF8_LIBc_touch_count_
000075   9900     MOV	R1, #0               	MOV R1, #0X00
000076   f748     ST	[R0], R1              	ST [R0], R1
                                           lable_06121629:
                                           	
                                           ;	op : GOTO
000077   c167     JMP	#0x167               	JMP	_00037_DS_
                                           ;	op : LABEL
                                           ;	op : +
                                           _00036_DS_
                                           ;	.line	684; "../kf8ts35_touch_cs_lib.c"	else if(_KF8_LIBi_Date_Change_[i_KF8_lib_TS3_CS_T_]>_KF8_BasicLine_Down_Noise_Threshold_)
                                           	BANKSEL	_i_KF8_lib_TS3_CS_T_
000078   508e     MOV	R0, 0x8e             	MOV	R0, _i_KF8_lib_TS3_CS_T_
000079   80c4     ADD	R0, #0xc4            	ADD	R0,# (__KF8_LIBi_Date_Change_ + 0)
                                           	BANKSEL	r0x1037
00007a   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x1037
00007b   528a     MOV	R1, 0x8a             	MOV	R1, r0x1037
                                           	BANKSEL	__KF8_LIBi_Date_Change_
00007c   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x103A
00007d   5188     MOV	0x88, R0             	MOV	r0x103A, R0
                                           ;	op : =
                                           ;gen_assign from CODESPACE
00007e   9907     MOV	R1, #0x7             	MOV	R1,# high (__KF8_BasicLine_Down_Noise_Threshold_+0)
00007f   98de     MOV	R0, #0xde            	MOV	R0,# low (__KF8_BasicLine_Down_Noise_Threshold_+0)
                                           	PAGESEL	__R2PCL
000080   d7d5     CALL	#0x7d5              	CALL	__R2PCL
                                           	PAGESEL	$
000081   e100     MOVB	#0x00               	BANKSEL	r0x1037
000082   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : >
                                           	BANKSEL	r0x1037
000083   0e8a     MOVZ	R0, 0x8a            	MOVZ	R0, r0x1037
000084   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x1039
000085   5181     MOV	0x81, R0             	MOV	r0x1039, R0
                                           	BANKSEL	r0x103A
000086   0e88     MOVZ	R0, 0x88            	MOVZ	R0, r0x103A
000087   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x1039
000088   3881     SUB	R0, 0x81             	SUB	R0, r0x1039
                                           ;comparing bytes at offset 0
000089   7003     JNB	0x3, 0               	JNB	PSW, 0
00008a   c0f8     JMP	#0xf8                	JMP	_00033_DS_
                                           ;	op : INLINEASM
00008b   98dc     MOV	R0, #0xdc            	MOV R0, #low(__KF8_Define_Disturb_Channels_Amount_)
00008c   9907     MOV	R1, #0x7             	MOV R1, #high(__KF8_Define_Disturb_Channels_Amount_)
                                           	PAGESEL __R2PCHPCL
00008d   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;;;;;;;;;;
00008e   e100     MOVB	#0x00               	BANKSEL __KF8_lib_CH_DW_Change_Count_TS3_CS_T_
00008f   3892     SUB	R0, 0x92             	SUB R0, __KF8_lib_CH_DW_Change_Count_TS3_CS_T_
000090   7803     JB	0x3, 0                	JB PSW, 0
000091   c094     JMP	#0x94                	JMP lable_06151019
                                           	BANKSEL __KF8_lib_Touch_Bits_
000092   6998     SET	0x98, 1              	SET __KF8_lib_Touch_Bits_, 1
                                           	BANKSEL __KF8_lib_Wave_Protect_Time_Count_TS3_CS_T_
000093   0399     CLR	0x99                 	CLR __KF8_lib_Wave_Protect_Time_Count_TS3_CS_T_
                                           	;;;;;;;;;;;;;;;;;;;;;;;
                                           lable_06151019:
                                           	
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	716; "../kf8ts35_touch_cs_lib.c"	if(_KF8_lib_Touch_Bits_._KF8_Touch_Protect_Flag)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
000094   7998     JB	0x98, 1               	JB	__KF8_lib_Touch_Bits_, 1
000095   c0b8     JMP	#0xb8                	JMP	_00030_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
000096   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
000097   80d2     ADD	R0, #0xd2            	ADD R0,#(__KF8_LIBc_baseline_count_)
                                           	BANKSEL __KF8_LIBc_baseline_count_
000098   f701     LD	R1, [R0]              	LD R1, [R0]
000099   a9ec     XOR	R1, #0xec            	XOR R1, #Low(-20)
00009a   7203     JNB	0x3, 2               	JNB PSW, 2
00009b   c0a3     JMP	#0xa3                	JMP lable_06151032
                                           	;;;;;;;;
00009c   98d9     MOV	R0, #0xd9            	MOV R0,#low(__KF8_Disturb_Protect_Circle_)
00009d   9907     MOV	R1, #0x7             	MOV R1,#high(__KF8_Disturb_Protect_Circle_)
                                           	PAGESEL __R2PCHPCL
00009e   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;
00009f   e100     MOVB	#0x00               	BANKSEL __KF8_lib_Wave_Protect_Time_Count_TS3_CS_T_
0000a0   1899     XOR	R0, 0x99             	XOR R0, __KF8_lib_Wave_Protect_Time_Count_TS3_CS_T_
0000a1   7a03     JB	0x3, 2                	JB PSW, 2
0000a2   c0b7     JMP	#0xb7                	JMP lable_06151055
                                           	;;;;;;;;;;;;;;;;;;;
                                           lable_06151032:
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0000a3   508d     MOV	R0, 0x8d             	MOV R0, _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0000a4   80e7     ADD	R0, #0xe7            	ADD R0, #(__KF8_LIBi_buff_hit_)
                                           	BANKSEL __KF8_LIBi_buff_hit_
0000a5   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0000a6   508d     MOV	R0, 0x8d             	MOV R0, _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0000a7   80d9     ADD	R0, #0xd9            	ADD R0, #(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
0000a8   f748     ST	[R0], R1              	ST [R0], R1
                                           	;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0000a9   508d     MOV	R0, 0x8d             	MOV R0, _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0000aa   80e8     ADD	R0, #0xe8            	ADD R0, #(__KF8_LIBi_buff_hit_+1)
                                           	BANKSEL __KF8_LIBi_buff_hit_
0000ab   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0000ac   508d     MOV	R0, 0x8d             	MOV R0, _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0000ad   80da     ADD	R0, #0xda            	ADD R0, #(__KF8_LIBi_buff_baseline_+1)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
0000ae   f748     ST	[R0], R1              	ST [R0], R1
                                           	;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
0000af   50b8     MOV	R0, 0xb8             	MOV R0, __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
0000b0   31bc     ORL	0xbc, R0             	ORL __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_, R0
                                           	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
0000b1   50b9     MOV	R0, 0xb9             	MOV R0, (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_ + 1)
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
0000b2   31bd     ORL	0xbd, R0             	ORL (__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_ + 1), R0
                                           	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
0000b3   50ba     MOV	R0, 0xba             	MOV R0, (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_+2)
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
0000b4   31be     ORL	0xbe, R0             	ORL (__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_+2), R0
                                           	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
0000b5   50bb     MOV	R0, 0xbb             	MOV R0, (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_ + 3)
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
0000b6   31bf     ORL	0xbf, R0             	ORL (__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_ + 3), R0
                                           	;;;;;;;;;;;;;;;;;
                                           lable_06151055:
                                           	
                                           ;	op : GOTO
0000b7   c167     JMP	#0x167               	JMP	_00037_DS_
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00030_DS_
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
0000b8   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
0000b9   80d2     ADD	R0, #0xd2            	ADD R0,# (__KF8_LIBc_baseline_count_ + 0)
                                           	BANKSEL __KF8_LIBc_baseline_count_
0000ba   f701     LD	R1, [R0]              	LD R1, [R0]
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS3_CS_T_
0000bb   5391     MOV	0x91, R1             	MOV __KF8_lib_bahualvtemportemp_TS3_CS_T_, R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;
0000bc   9907     MOV	R1, #0x7             	MOV R1,# high (__KF8_BaseLine_Update_Circle_Count_For_Down_+0)
0000bd   98db     MOV	R0, #0xdb            	MOV R0,# low (__KF8_BaseLine_Update_Circle_Count_For_Down_+0)
                                           	PAGESEL __R2PCHPCL
0000be   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
0000bf   e100     MOVB	#0x00               	BANKSEL __KF8_lib_bahualvtemportemp_TS3_CS_T_
0000c0   1891     XOR	R0, 0x91             	XOR R0, __KF8_lib_bahualvtemportemp_TS3_CS_T_
0000c1   7a03     JB	0x3, 2                	JB PSW, 2
0000c2   c0f7     JMP	#0xf7                	JMP lable_06160853
                                           	;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
0000c3   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
0000c4   80cb     ADD	R0, #0xcb            	ADD R0,# (__KF8_LIBc_touch_count_ + 0)
                                           	BANKSEL __KF8_LIBc_touch_count_
0000c5   f701     LD	R1, [R0]              	LD R1, [R0]
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
0000c6   5390     MOV	0x90, R1             	MOV __KF8_lib_Date_Uchar_Temp_TS3_CS_T_, R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;
0000c7   98d8     MOV	R0, #0xd8            	MOV R0,# low (_TCS_AMOUNT+0)
0000c8   9907     MOV	R1, #0x7             	MOV R1,# high (_TCS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL
0000c9   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
0000ca   e100     MOVB	#0x00               	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
0000cb   3890     SUB	R0, 0x90             	SUB R0, __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
0000cc   7003     JNB	0x3, 0               	JNB PSW, 0
0000cd   c0eb     JMP	#0xeb                	JMP lable_06151118
                                           	;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Key_Down_Count_TS3_CS_T_
0000ce   5097     MOV	R0, 0x97             	MOV R0, __KF8_lib_Key_Down_Count_TS3_CS_T_
0000cf   a802     XOR	R0, #0x2             	XOR R0,# 0x02
0000d0   7a03     JB	0x3, 2                	JB PSW, 2
0000d1   c0df     JMP	#0xdf                	JMP lable_06151125
                                           	;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0000d2   508d     MOV	R0, 0x8d             	MOV R0, _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0000d3   80e7     ADD	R0, #0xe7            	ADD R0, #(__KF8_LIBi_buff_hit_)
                                           	BANKSEL __KF8_LIBi_buff_hit_
0000d4   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0000d5   508d     MOV	R0, 0x8d             	MOV R0, _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0000d6   80d9     ADD	R0, #0xd9            	ADD R0, #(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
0000d7   f748     ST	[R0], R1              	ST [R0], R1
                                           	;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0000d8   508d     MOV	R0, 0x8d             	MOV R0, _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0000d9   80e8     ADD	R0, #0xe8            	ADD R0, #(__KF8_LIBi_buff_hit_+1)
                                           	BANKSEL __KF8_LIBi_buff_hit_
0000da   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0000db   508d     MOV	R0, 0x8d             	MOV R0, _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0000dc   80da     ADD	R0, #0xda            	ADD R0, #(__KF8_LIBi_buff_baseline_+1)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
0000dd   f748     ST	[R0], R1              	ST [R0], R1
0000de   c0f3     JMP	#0xf3                	JMP lable_06151133
                                           lable_06151125:
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0000df   508d     MOV	R0, 0x8d             	MOV R0, _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
0000e0   80d9     ADD	R0, #0xd9            	ADD R0, #(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
0000e1   f701     LD	R1, [R0]              	LD R1,[R0]
0000e2   81ff     ADD	R1, #0xff            	ADD R1,#0XFF
0000e3   f748     ST	[R0], R1              	ST [R0],R1
0000e4   7003     JNB	0x3, 0               	JNB PSW, 0
0000e5   c0f3     JMP	#0xf3                	JMP lable_06151133
0000e6   ff10     INC	R0                   	INC R0
0000e7   f701     LD	R1, [R0]              	LD R1,[R0]
0000e8   ff09     DEC	R1                   	DEC R1
0000e9   f748     ST	[R0], R1              	ST [R0],R1
0000ea   c0f3     JMP	#0xf3                	JMP lable_06151133
                                           lable_06151118:
                                           	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
0000eb   50b8     MOV	R0, 0xb8             	MOV R0, __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
0000ec   31bc     ORL	0xbc, R0             	ORL __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_, R0
                                           	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
0000ed   50b9     MOV	R0, 0xb9             	MOV R0, (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_ + 1)
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
0000ee   31bd     ORL	0xbd, R0             	ORL (__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_ + 1), R0
                                           	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
0000ef   50ba     MOV	R0, 0xba             	MOV R0, (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_ + 2)
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
0000f0   31be     ORL	0xbe, R0             	ORL (__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_ + 2), R0
                                           	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
0000f1   50bb     MOV	R0, 0xbb             	MOV R0, (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_ + 3)
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
0000f2   31bf     ORL	0xbf, R0             	ORL (__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_ + 3), R0
                                           	;;;;;;;;;;;;;;;;;;;;;;;;
                                           lable_06151133:
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
0000f3   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
0000f4   80d2     ADD	R0, #0xd2            	ADD R0,# (__KF8_LIBc_baseline_count_ + 0)
                                           	BANKSEL __KF8_LIBc_baseline_count_
0000f5   9900     MOV	R1, #0               	MOV R1,#0X00
0000f6   f748     ST	[R0], R1              	ST [R0], R1
                                           lable_06160853:
                                           	
                                           ;	op : GOTO
0000f7   c167     JMP	#0x167               	JMP	_00037_DS_
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00033_DS_
                                           	BANKSEL __KF8_lib_Touch_Bits_
0000f8   7198     JNB	0x98, 1              	JNB __KF8_lib_Touch_Bits_, 1
0000f9   c102     JMP	#0x102               	JMP lable_06151543
                                           	;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
0000fa   04b8     CPLR	0xb8                	CPLR __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
0000fb   29bc     AND	0xbc, R0             	AND __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_, R0
                                           	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
0000fc   04b9     CPLR	0xb9                	CPLR (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_+1)
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
0000fd   29bd     AND	0xbd, R0             	AND (__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_ + 1), R0
                                           	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
0000fe   04ba     CPLR	0xba                	CPLR (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_+2)
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
0000ff   29be     AND	0xbe, R0             	AND (__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_ + 2), R0
                                           	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
000100   04bb     CPLR	0xbb                	CPLR (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_+3)
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
000101   29bf     AND	0xbf, R0             	AND (__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_ + 3), R0
                                           lable_06151543:
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
000102   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
000103   80d2     ADD	R0, #0xd2            	ADD R0,# (__KF8_LIBc_baseline_count_ + 0)
                                           	BANKSEL __KF8_LIBc_baseline_count_
000104   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS3_CS_T_
000105   5391     MOV	0x91, R1             	MOV __KF8_lib_bahualvtemportemp_TS3_CS_T_, R1
                                           	;;;;;;;;;;;;;;;;;
000106   98db     MOV	R0, #0xdb            	MOV R0,# low (__KF8_BaseLine_Update_Circle_Count_For_Down_+0)
000107   9907     MOV	R1, #0x7             	MOV R1,# high (__KF8_BaseLine_Update_Circle_Count_For_Down_+0)
                                           	PAGESEL __R2PCHPCL
000108   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
000109   e100     MOVB	#0x00               	BANKSEL __KF8_lib_bahualvtemportemp_TS3_CS_T_
00010a   1891     XOR	R0, 0x91             	XOR R0, __KF8_lib_bahualvtemportemp_TS3_CS_T_
00010b   7203     JNB	0x3, 2               	JNB PSW, 2
00010c   c114     JMP	#0x114               	JMP lable_06151621
                                           	;;;;;;;;;;;;;;;;;;
00010d   9907     MOV	R1, #0x7             	MOV R1,# high (__KF8_BaseLine_Update_Circle_Count_For_UP_+0)
00010e   98da     MOV	R0, #0xda            	MOV R0,# low (__KF8_BaseLine_Update_Circle_Count_For_UP_+0)
                                           	PAGESEL __R2PCHPCL
00010f   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
000110   e100     MOVB	#0x00               	BANKSEL __KF8_lib_bahualvtemportemp_TS3_CS_T_
000111   1891     XOR	R0, 0x91             	XOR R0, __KF8_lib_bahualvtemportemp_TS3_CS_T_
000112   7a03     JB	0x3, 2                	JB PSW, 2
000113   c167     JMP	#0x167               	JMP lable_06151626
                                           	;;;;;;;;;;;;;;;;;;;;
                                           lable_06151621:
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
000114   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
000115   80d2     ADD	R0, #0xd2            	ADD R0,# (__KF8_LIBc_baseline_count_ + 0)
                                           	BANKSEL __KF8_LIBc_baseline_count_
000116   9900     MOV	R1, #0               	MOV R1,#0X00
000117   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
000118   508d     MOV	R0, 0x8d             	MOV R0,_Addr_Copy_Int_KF8_Lib_TS3_CS_T_
000119   80d9     ADD	R0, #0xd9            	ADD R0,#(__KF8_LIBi_buff_baseline_+0)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00011a   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
00011b   53a8     MOV	0xa8, R1             	MOV __KF8_Temp_Cur_A_TS3_CS_T_,R1
00011c   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00011d   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
00011e   53a9     MOV	0xa9, R1             	MOV __KF8_Temp_Cur_A_TS3_CS_T_+1,R1
                                           	;;;
00011f   9901     MOV	R1, #0x1             	MOV R1,#0x01
                                           _KF8_lib_DW_UP_Basic_IIR_Normal_Get_DS_0001:
000120   6003     CLR	0x3, 0               	CLR PSW,0
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
000121   11a9     RRC	0xa9                 	RRC __KF8_Temp_Cur_A_TS3_CS_T_+1
000122   11a8     RRC	0xa8                 	RRC __KF8_Temp_Cur_A_TS3_CS_T_
000123   6003     CLR	0x3, 0               	CLR PSW,0
000124   ff19     RLC	R1                   	RLC R1
000125   f8c8     MOV	R0, R1               	MOV R0,R1
000126   a808     XOR	R0, #0x8             	XOR R0,#(8)
000127   7a03     JB	0x3, 2                	JB PSW,2
000128   c120     JMP	#0x120               	JMP _KF8_lib_DW_UP_Basic_IIR_Normal_Get_DS_0001
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
000129   508d     MOV	R0, 0x8d             	MOV R0,_Addr_Copy_Int_KF8_Lib_TS3_CS_T_
00012a   80e7     ADD	R0, #0xe7            	ADD R0,#(__KF8_LIBi_buff_hit_+0)
                                           	BANKSEL __KF8_LIBi_buff_hit_
00012b   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_B_TS3_CS_T_
00012c   53a6     MOV	0xa6, R1             	MOV __KF8_Temp_Cur_B_TS3_CS_T_,R1
00012d   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_buff_hit_
00012e   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_B_TS3_CS_T_
00012f   53a7     MOV	0xa7, R1             	MOV __KF8_Temp_Cur_B_TS3_CS_T_+1,R1
                                           	;;;
000130   9901     MOV	R1, #0x1             	MOV R1,#0x01
                                           _KF8_lib_DW_UP_Basic_IIR_Normal_Get_DS_0002:
000131   6003     CLR	0x3, 0               	CLR PSW,0
                                           	BANKSEL __KF8_Temp_Cur_B_TS3_CS_T_
000132   11a7     RRC	0xa7                 	RRC __KF8_Temp_Cur_B_TS3_CS_T_+1
000133   11a6     RRC	0xa6                 	RRC __KF8_Temp_Cur_B_TS3_CS_T_
000134   6003     CLR	0x3, 0               	CLR PSW,0
000135   ff19     RLC	R1                   	RLC R1
000136   f8c8     MOV	R0, R1               	MOV R0,R1
000137   a808     XOR	R0, #0x8             	XOR R0,#(8)
000138   7a03     JB	0x3, 2                	JB PSW,2
000139   c131     JMP	#0x131               	JMP _KF8_lib_DW_UP_Basic_IIR_Normal_Get_DS_0002
                                           	;;;
                                           	;;;;
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
00013a   52a8     MOV	R1, 0xa8             	MOV R1,__KF8_Temp_Cur_A_TS3_CS_T_
                                           	BANKSEL __KF8_Temp_Cur_B_TS3_CS_T_
00013b   3ba6     SUB	0xa6, R1             	SUB __KF8_Temp_Cur_B_TS3_CS_T_,R1
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
00013c   52a9     MOV	R1, 0xa9             	MOV R1,__KF8_Temp_Cur_A_TS3_CS_T_+1
00013d   7803     JB	0x3, 0                	JB PSW,0
00013e   ff11     INC	R1                   	INC R1
                                           	BANKSEL __KF8_Temp_Cur_B_TS3_CS_T_
00013f   3ba7     SUB	0xa7, R1             	SUB __KF8_Temp_Cur_B_TS3_CS_T_+1,R1
                                           	;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
000140   508d     MOV	R0, 0x8d             	MOV R0,_Addr_Copy_Int_KF8_Lib_TS3_CS_T_
000141   80d9     ADD	R0, #0xd9            	ADD R0,#(__KF8_LIBi_buff_baseline_+0)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000142   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_B_TS3_CS_T_
000143   22a6     ADD	R1, 0xa6             	ADD R1, __KF8_Temp_Cur_B_TS3_CS_T_
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000144   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;
000145   ff10     INC	R0                   	INC R0
000146   f701     LD	R1, [R0]              	LD R1,[R0]
000147   7003     JNB	0x3, 0               	JNB PSW,0
000148   ff11     INC	R1                   	INC R1
                                           	BANKSEL __KF8_Temp_Cur_B_TS3_CS_T_
000149   22a7     ADD	R1, 0xa7             	ADD R1,__KF8_Temp_Cur_B_TS3_CS_T_+1
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00014a   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
00014b   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
00014c   80c4     ADD	R0, #0xc4            	ADD R0,# (__KF8_LIBi_Date_Change_ + 0)
                                           	BANKSEL __KF8_LIBi_Date_Change_
00014d   f701     LD	R1, [R0]              	LD R1, [R0]
00014e   f7b9     JNB	R1, 7                	JNB R1, 7
00014f   c15c     JMP	#0x15c               	JMP lable_06151740
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
000150   508d     MOV	R0, 0x8d             	MOV R0, _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
000151   80d9     ADD	R0, #0xd9            	ADD R0,#(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000152   f701     LD	R1, [R0]              	LD R1, [R0]
000153   81ff     ADD	R1, #0xff            	ADD R1, #0XFF
000154   f748     ST	[R0], R1              	ST [R0],R1
000155   7003     JNB	0x3, 0               	JNB PSW,0
000156   c167     JMP	#0x167               	JMP lable_06151626
000157   ff10     INC	R0                   	INC R0
000158   f701     LD	R1, [R0]              	LD R1,[R0]
000159   ff09     DEC	R1                   	DEC R1
00015a   f748     ST	[R0], R1              	ST [R0],R1
00015b   c167     JMP	#0x167               	JMP lable_06151626
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           lable_06151740:
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
00015c   508d     MOV	R0, 0x8d             	MOV R0, _Addr_Copy_Int_KF8_Lib_TS3_CS_T_
00015d   80d9     ADD	R0, #0xd9            	ADD R0,#(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00015e   f701     LD	R1, [R0]              	LD R1, [R0]
00015f   8101     ADD	R1, #0x1             	ADD R1,#0X01
000160   f748     ST	[R0], R1              	ST [R0],R1
000161   7803     JB	0x3, 0                	JB PSW,0
000162   c167     JMP	#0x167               	JMP lable_06151626
000163   ff10     INC	R0                   	INC R0
000164   f701     LD	R1, [R0]              	LD R1,[R0]
000165   ff11     INC	R1                   	INC R1
000166   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;;;;;;;;;;;
                                           lable_06151626:
                                           	
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00037_DS_
000167   e100     MOVB	#0x00               	BANKSEL __KF8_lib_Touch_Bits_
000168   7998     JB	0x98, 1               	JB __KF8_lib_Touch_Bits_, 1
000169   c179     JMP	#0x179               	JMP lable_06161004
                                           	;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
00016a   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
00016b   80cb     ADD	R0, #0xcb            	ADD R0,#(__KF8_LIBc_touch_count_)
                                           	BANKSEL __KF8_LIBc_touch_count_
00016c   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
00016d   5390     MOV	0x90, R1             	MOV __KF8_lib_Date_Uchar_Temp_TS3_CS_T_,R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;
00016e   9907     MOV	R1, #0x7             	MOV R1,# high (_TCS_AMOUNT+0)
00016f   98d8     MOV	R0, #0xd8            	MOV R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL
000170   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;;;;;;;;;;;;;;;
000171   e100     MOVB	#0x00               	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000172   3990     SUB	0x90, R0             	SUB __KF8_lib_Date_Uchar_Temp_TS3_CS_T_,R0
000173   7003     JNB	0x3, 0               	JNB PSW,0
000174   c179     JMP	#0x179               	JMP lable_06161004
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
000175   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
000176   80cb     ADD	R0, #0xcb            	ADD R0,#(__KF8_LIBc_touch_count_)
000177   9900     MOV	R1, #0               	MOV R1,#0X00
                                           	BANKSEL __KF8_LIBc_touch_count_
000178   f748     ST	[R0], R1              	ST [R0],R1
                                           lable_06161004:
                                           	
                                           ;	op : +
                                           ;	.line	1206; "../kf8ts35_touch_cs_lib.c"	if(_KF8_LIBi_Date_Change_[i_KF8_lib_TS3_CS_T_]>=0)
                                           	BANKSEL	_i_KF8_lib_TS3_CS_T_
000179   508e     MOV	R0, 0x8e             	MOV	R0, _i_KF8_lib_TS3_CS_T_
00017a   80c4     ADD	R0, #0xc4            	ADD	R0,# (__KF8_LIBi_Date_Change_ + 0)
                                           	BANKSEL	r0x1037
00017b   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x1037
00017c   528a     MOV	R1, 0x8a             	MOV	R1, r0x1037
                                           	BANKSEL	__KF8_LIBi_Date_Change_
00017d   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x103B
00017e   5187     MOV	0x87, R0             	MOV	r0x103B, R0
                                           ;	op : <
                                           ;signed compare: left < lit(0x0=0), size=1, mask=ff
00017f   6803     SET	0x3, 0               	SET	PSW, 0
                                           	BANKSEL	r0x103B
000180   7f87     JB	0x87, 7               	JB	r0x103B, 7
000181   6003     CLR	0x3, 0               	CLR	PSW, 0
000182   7003     JNB	0x3, 0               	JNB	PSW, 0
000183   c18a     JMP	#0x18a               	JMP	_00039_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
000184   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
000185   80d2     ADD	R0, #0xd2            	ADD R0,#(__KF8_LIBc_baseline_count_)
                                           	BANKSEL __KF8_LIBc_baseline_count_
000186   f701     LD	R1, [R0]              	LD R1, [R0]
000187   ff09     DEC	R1                   	DEC R1
000188   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : GOTO
000189   c18f     JMP	#0x18f               	JMP	_00040_DS_
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00039_DS_
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
00018a   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
00018b   80d2     ADD	R0, #0xd2            	ADD R0,#(__KF8_LIBc_baseline_count_)
                                           	BANKSEL __KF8_LIBc_baseline_count_
00018c   f701     LD	R1, [R0]              	LD R1, [R0]
00018d   ff11     INC	R1                   	INC R1
00018e   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : LABEL
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00040_DS_
                                           ;	.line	1242; "../kf8ts35_touch_cs_lib.c"	if(!_KF8_lib_Touch_Bits_._KF8_Touch_Protect_Flag)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
00018f   7198     JNB	0x98, 1              	JNB	__KF8_lib_Touch_Bits_, 1
000190   c2c6     JMP	#0x2c6               	JMP	_00065_DS_
                                           ;	op : EQ_OP
                                           ;	.line	1244; "../kf8ts35_touch_cs_lib.c"	if(	((i_KF8_lib_TS3_CS_T_==_KF8_lib_Finded_MAX_I_TS3_CS_T_)	||	(i_KF8_lib_TS3_CS_T_==_KF8_lib_Finded_MAX_J_TS3_CS_T_) )&& _KF8_LIBi_Date_Change_[i_KF8_lib_TS3_CS_T_]>_KF8_Config_Finger_Threshold[i_KF8_lib_TS3_CS_T_]	)
                                           	BANKSEL	__KF8_lib_Finded_MAX_I_TS3_CS_T_
000191   0e94     MOVZ	R0, 0x94            	MOVZ	R0, __KF8_lib_Finded_MAX_I_TS3_CS_T_
                                           	BANKSEL	_i_KF8_lib_TS3_CS_T_
000192   188e     XOR	R0, 0x8e             	XOR	R0, _i_KF8_lib_TS3_CS_T_
000193   7203     JNB	0x3, 2               	JNB	PSW, 2
000194   c199     JMP	#0x199               	JMP	_00063_DS_
                                           	BANKSEL	__KF8_lib_Finded_MAX_J_TS3_CS_T_
000195   0e93     MOVZ	R0, 0x93            	MOVZ	R0, __KF8_lib_Finded_MAX_J_TS3_CS_T_
                                           	BANKSEL	_i_KF8_lib_TS3_CS_T_
000196   188e     XOR	R0, 0x8e             	XOR	R0, _i_KF8_lib_TS3_CS_T_
000197   7a03     JB	0x3, 2                	JB	PSW, 2
000198   c2b3     JMP	#0x2b3               	JMP	_00060_DS_
                                           ;	op : LABEL
                                           ;	op : +
                                           _00063_DS_
                                           	BANKSEL	_i_KF8_lib_TS3_CS_T_
000199   508e     MOV	R0, 0x8e             	MOV	R0, _i_KF8_lib_TS3_CS_T_
00019a   80c4     ADD	R0, #0xc4            	ADD	R0,# (__KF8_LIBi_Date_Change_ + 0)
                                           	BANKSEL	r0x1037
00019b   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x1037
00019c   528a     MOV	R1, 0x8a             	MOV	R1, r0x1037
                                           	BANKSEL	__KF8_LIBi_Date_Change_
00019d   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x103B
00019e   5187     MOV	0x87, R0             	MOV	r0x103B, R0
                                           ;	op : +
00019f   98c2     MOV	R0, #0xc2            	MOV	R0,# (__KF8_Config_Finger_Threshold + 0)
                                           	BANKSEL	_i_KF8_lib_TS3_CS_T_
0001a0   208e     ADD	R0, 0x8e             	ADD	R0, _i_KF8_lib_TS3_CS_T_
                                           	BANKSEL	r0x1037
0001a1   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
0001a2   9807     MOV	R0, #0x7             	MOV	R0,# high (__KF8_Config_Finger_Threshold + 0)
                                           	BANKSEL	r0x103A
0001a3   5188     MOV	0x88, R0             	MOV	r0x103A, R0
0001a4   0208     CLR	R0                   	CLR	R0
0001a5   7003     JNB	0x3, 0               	JNB	PSW, 0
0001a6   ff10     INC	R0                   	INC	R0
0001a7   7203     JNB	0x3, 2               	JNB	PSW, 2
0001a8   c1aa     JMP	#0x1aa               	JMP	_00195_DS_
                                           	BANKSEL	r0x103A
0001a9   2188     ADD	0x88, R0             	ADD	r0x103A, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00195_DS_
                                           	BANKSEL	r0x103A
0001aa   5288     MOV	R1, 0x88             	MOV	R1, r0x103A
                                           	BANKSEL	r0x1037
0001ab   508a     MOV	R0, 0x8a             	MOV	R0, r0x1037
                                           	PAGESEL	__R2PCL
0001ac   d7d5     CALL	#0x7d5              	CALL	__R2PCL
                                           	PAGESEL	$
0001ad   e100     MOVB	#0x00               	BANKSEL	r0x103C
0001ae   5186     MOV	0x86, R0             	MOV	r0x103C, R0
                                           ;	op : >
                                           	BANKSEL	r0x103C
0001af   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x103C
0001b0   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x1039
0001b1   5181     MOV	0x81, R0             	MOV	r0x1039, R0
                                           	BANKSEL	r0x103B
0001b2   0e87     MOVZ	R0, 0x87            	MOVZ	R0, r0x103B
0001b3   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x1039
0001b4   3881     SUB	R0, 0x81             	SUB	R0, r0x1039
                                           ;comparing bytes at offset 0
0001b5   7003     JNB	0x3, 0               	JNB	PSW, 0
0001b6   c2b3     JMP	#0x2b3               	JMP	_00060_DS_
                                           ;	op : DUMMY_READ_VOLATILE
                                           ;	op : LEFT_OP
                                           ;	.line	1248; "../kf8ts35_touch_cs_lib.c"	if(_KF8TS35CS_Data_Steady_Flag_&(1<<i_KF8_lib_TS3_CS_T_))//Etan2018-2-1;Ö»ÓÐÔÚ²ÉÑùÖµÎÈ¶¨µÄÊ±ºò²ÅÈÏÎªÓÐ°´¼ü´¥·¢
0001b7   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
                                           	BANKSEL	r0x1037
0001b8   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
0001b9   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x103A
0001ba   5188     MOV	0x88, R0             	MOV	r0x103A, R0
                                           	BANKSEL	_i_KF8_lib_TS3_CS_T_
0001bb   0e8e     MOVZ	R0, 0x8e            	MOVZ	R0, _i_KF8_lib_TS3_CS_T_
0001bc   ff10     INC	R0                   	INC	R0
0001bd   c1c2     JMP	#0x1c2               	JMP	_00105_DS_
                                           _00104_DS_
0001be   6003     CLR	0x3, 0               	CLR	PSW, 0
0001bf   e100     MOVB	#0x00               	BANKSEL	r0x1037
0001c0   138a     RLC	0x8a                 	RLC	r0x1037
                                           	BANKSEL	r0x103A
0001c1   1388     RLC	0x88                 	RLC	r0x103A
                                           _00105_DS_
0001c2   ff58     DECJZ	R0                 	DECJZ	R0
0001c3   c1be     JMP	#0x1be               	JMP	_00104_DS_
                                           ;	op : CAST
                                           	BANKSEL	r0x1037
0001c4   0e8a     MOVZ	R0, 0x8a            	MOVZ	R0, r0x1037
                                           	BANKSEL	r0x103B
0001c5   5187     MOV	0x87, R0             	MOV	r0x103B, R0
                                           	BANKSEL	r0x103A
0001c6   0e88     MOVZ	R0, 0x88            	MOVZ	R0, r0x103A
                                           	BANKSEL	r0x103C
0001c7   5186     MOV	0x86, R0             	MOV	r0x103C, R0
0001c8   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x103C
0001c9   7786     JNB	0x86, 7              	JNB	r0x103C, 7
0001ca   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
                                           	BANKSEL	r0x103D
0001cb   5184     MOV	0x84, R0             	MOV	r0x103D, R0
                                           	BANKSEL	r0x103E
0001cc   5185     MOV	0x85, R0             	MOV	r0x103E, R0
                                           ;	op : BITWISEAND
                                           	BANKSEL	r0x103B
0001cd   0e87     MOVZ	R0, 0x87            	MOVZ	R0, r0x103B
                                           	BANKSEL	__KF8TS35CS_Data_Steady_Flag_
0001ce   28b4     AND	R0, 0xb4             	AND	R0, __KF8TS35CS_Data_Steady_Flag_
                                           	BANKSEL	r0x1037
0001cf   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           	BANKSEL	r0x103C
0001d0   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x103C
                                           	BANKSEL	__KF8TS35CS_Data_Steady_Flag_
0001d1   28b5     AND	R0, 0xb5             	AND	R0, (__KF8TS35CS_Data_Steady_Flag_ + 1)
                                           	BANKSEL	r0x103A
0001d2   5188     MOV	0x88, R0             	MOV	r0x103A, R0
                                           	BANKSEL	r0x103E
0001d3   0e85     MOVZ	R0, 0x85            	MOVZ	R0, r0x103E
                                           	BANKSEL	__KF8TS35CS_Data_Steady_Flag_
0001d4   28b6     AND	R0, 0xb6             	AND	R0, (__KF8TS35CS_Data_Steady_Flag_ + 2)
                                           	BANKSEL	r0x103F
0001d5   5183     MOV	0x83, R0             	MOV	r0x103F, R0
                                           	BANKSEL	r0x103D
0001d6   0e84     MOVZ	R0, 0x84            	MOVZ	R0, r0x103D
                                           	BANKSEL	__KF8TS35CS_Data_Steady_Flag_
0001d7   28b7     AND	R0, 0xb7             	AND	R0, (__KF8TS35CS_Data_Steady_Flag_ + 3)
                                           	BANKSEL	r0x1040
0001d8   5182     MOV	0x82, R0             	MOV	r0x1040, R0
                                           ;	op : IFX
                                           	BANKSEL	r0x1037
0001d9   0e8a     MOVZ	R0, 0x8a            	MOVZ	R0, r0x1037
                                           	BANKSEL	r0x103A
0001da   3088     ORL	R0, 0x88             	ORL	R0, r0x103A
                                           	BANKSEL	r0x103F
0001db   3083     ORL	R0, 0x83             	ORL	R0, r0x103F
                                           	BANKSEL	r0x1040
0001dc   3082     ORL	R0, 0x82             	ORL	R0, r0x1040
0001dd   7203     JNB	0x3, 2               	JNB	PSW, 2
0001de   c1f8     JMP	#0x1f8               	JMP	_00044_DS_
                                           ;	op : +
                                           ;	.line	1250; "../kf8ts35_touch_cs_lib.c"	if(_KF8_LIBc_touch_count_[i_KF8_lib_TS3_CS_T_]<TCS_AMOUNT)
                                           	BANKSEL	_i_KF8_lib_TS3_CS_T_
0001df   508e     MOV	R0, 0x8e             	MOV	R0, _i_KF8_lib_TS3_CS_T_
0001e0   80cb     ADD	R0, #0xcb            	ADD	R0,# (__KF8_LIBc_touch_count_ + 0)
                                           	BANKSEL	r0x1037
0001e1   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x1037
0001e2   528a     MOV	R1, 0x8a             	MOV	R1, r0x1037
                                           	BANKSEL	__KF8_LIBc_touch_count_
0001e3   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x103B
0001e4   5187     MOV	0x87, R0             	MOV	r0x103B, R0
                                           ;	op : =
                                           ;gen_assign from CODESPACE
0001e5   9907     MOV	R1, #0x7             	MOV	R1,# high (_TCS_AMOUNT+0)
0001e6   98d8     MOV	R0, #0xd8            	MOV	R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL	__R2PCL
0001e7   d7d5     CALL	#0x7d5              	CALL	__R2PCL
                                           	PAGESEL	$
0001e8   e100     MOVB	#0x00               	BANKSEL	r0x1037
0001e9   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : <
                                           	BANKSEL	r0x1037
0001ea   0e8a     MOVZ	R0, 0x8a            	MOVZ	R0, r0x1037
                                           	BANKSEL	r0x103B
0001eb   3887     SUB	R0, 0x87             	SUB	R0, r0x103B
                                           ;comparing bytes at offset 0
0001ec   7003     JNB	0x3, 0               	JNB	PSW, 0
0001ed   c1f8     JMP	#0x1f8               	JMP	_00044_DS_
                                           ;	op : +
                                           ;	.line	1252; "../kf8ts35_touch_cs_lib.c"	_KF8_LIBc_touch_count_[i_KF8_lib_TS3_CS_T_]++;
                                           	BANKSEL	_i_KF8_lib_TS3_CS_T_
0001ee   508e     MOV	R0, 0x8e             	MOV	R0, _i_KF8_lib_TS3_CS_T_
0001ef   80cb     ADD	R0, #0xcb            	ADD	R0,# (__KF8_LIBc_touch_count_ + 0)
                                           	BANKSEL	r0x1037
0001f0   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x1037
0001f1   528a     MOV	R1, 0x8a             	MOV	R1, r0x1037
                                           	BANKSEL	__KF8_LIBc_touch_count_
0001f2   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x103C
0001f3   5186     MOV	0x86, R0             	MOV	r0x103C, R0
                                           ;	op : +
                                           	BANKSEL	r0x103C
0001f4   0b86     INC	0x86                 	INC	r0x103C
                                           ;	op : =
                                           	BANKSEL	r0x103C
0001f5   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x103C
                                           	BANKSEL	r0x1037
0001f6   528a     MOV	R1, 0x8a             	MOV	R1, r0x1037
                                           	BANKSEL	__KF8_LIBc_touch_count_
0001f7   f741     ST	[R1], R0              	ST	[R1], R0
                                           ;	op : LABEL
                                           ;	op : =
                                           ;gen_assign from CODESPACE
                                           _00044_DS_
                                           ;	.line	1285; "../kf8ts35_touch_cs_lib.c"	if(_KF8_DoubleKey_Compages_Limitable_Circle_)  // £¡=0µÄÅÐ¶Ï
0001f8   9900     MOV	R1, #0               	MOV	R1,# high (__KF8_DoubleKey_Compages_Limitable_Circle_+0)
0001f9   9802     MOV	R0, #0x2             	MOV	R0,# low (__KF8_DoubleKey_Compages_Limitable_Circle_+0)
                                           	PAGESEL	__R2PCL
0001fa   d7d5     CALL	#0x7d5              	CALL	__R2PCL
                                           	PAGESEL	$
0001fb   e100     MOVB	#0x00               	BANKSEL	r0x1037
0001fc   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
0001fd   9900     MOV	R1, #0               	MOV	R1,# high (__KF8_DoubleKey_Compages_Limitable_Circle_+1)
0001fe   9803     MOV	R0, #0x3             	MOV	R0,# low (__KF8_DoubleKey_Compages_Limitable_Circle_+1)
                                           	PAGESEL	__R2PCL
0001ff   d7d5     CALL	#0x7d5              	CALL	__R2PCL
                                           	PAGESEL	$
000200   e100     MOVB	#0x00               	BANKSEL	r0x103B
000201   5187     MOV	0x87, R0             	MOV	r0x103B, R0
                                           ;	op : IFX
                                           	BANKSEL	r0x1037
000202   0e8a     MOVZ	R0, 0x8a            	MOVZ	R0, r0x1037
                                           	BANKSEL	r0x103B
000203   3087     ORL	R0, 0x87             	ORL	R0, r0x103B
000204   7203     JNB	0x3, 2               	JNB	PSW, 2
000205   c222     JMP	#0x222               	JMP	_00051_DS_
                                           ;	op : EQ_OP
                                           ;	.line	1287; "../kf8ts35_touch_cs_lib.c"	if(_KF8_lib_Key_Down_Count_TS3_CS_T_==1&&_KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_<_KF8_DoubleKey_Compages_Limitable_Circle_)
                                           	BANKSEL	__KF8_lib_Key_Down_Count_TS3_CS_T_
000206   0e97     MOVZ	R0, 0x97            	MOVZ	R0, __KF8_lib_Key_Down_Count_TS3_CS_T_
000207   a801     XOR	R0, #0x1             	XOR	R0,# 0x01
000208   7a03     JB	0x3, 2                	JB	PSW, 2
000209   c222     JMP	#0x222               	JMP	_00051_DS_
                                           ;	op : <
                                           	BANKSEL	r0x103B
00020a   0e87     MOVZ	R0, 0x87            	MOVZ	R0, r0x103B
                                           	BANKSEL	__KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_
00020b   38ad     SUB	R0, 0xad             	SUB	R0, (__KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_ + 1)
                                           ;comparing bytes at offset 1
00020c   7a03     JB	0x3, 2                	JB	PSW, 2
00020d   c210     JMP	#0x210               	JMP	_00107_DS_
                                           	BANKSEL	r0x1037
00020e   0e8a     MOVZ	R0, 0x8a            	MOVZ	R0, r0x1037
                                           	BANKSEL	__KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_
00020f   38ac     SUB	R0, 0xac             	SUB	R0, __KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_
                                           _00107_DS_
000210   7003     JNB	0x3, 0               	JNB	PSW, 0
000211   c222     JMP	#0x222               	JMP	_00051_DS_
                                           ;	op : +
                                           ;	.line	1289; "../kf8ts35_touch_cs_lib.c"	_KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_++;
                                           	BANKSEL	__KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_
000212   0bac     INC	0xac                 	INC	__KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_
000213   7a03     JB	0x3, 2                	JB	PSW, 2
000214   c216     JMP	#0x216               	JMP	_00196_DS_
                                           	BANKSEL	__KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_
000215   0bad     INC	0xad                 	INC	(__KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_ + 1)
                                           ;	op : EQ_OP
                                           _00196_DS_
                                           ;	.line	1290; "../kf8ts35_touch_cs_lib.c"	if(_KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_==_KF8_DoubleKey_Compages_Limitable_Circle_)
                                           	BANKSEL	r0x1037
000216   0e8a     MOVZ	R0, 0x8a            	MOVZ	R0, r0x1037
                                           	BANKSEL	__KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_
000217   18ac     XOR	R0, 0xac             	XOR	R0, __KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_
000218   7a03     JB	0x3, 2                	JB	PSW, 2
000219   c222     JMP	#0x222               	JMP	_00051_DS_
                                           	BANKSEL	r0x103B
00021a   0e87     MOVZ	R0, 0x87            	MOVZ	R0, r0x103B
                                           	BANKSEL	__KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_
00021b   18ad     XOR	R0, 0xad             	XOR	R0, (__KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_ + 1)
00021c   7a03     JB	0x3, 2                	JB	PSW, 2
00021d   c222     JMP	#0x222               	JMP	_00051_DS_
                                           ;	op : =
                                           ;	.line	1292; "../kf8ts35_touch_cs_lib.c"	_KF8_lib_Key_Down_Count_TS3_CS_T_=2;
00021e   9802     MOV	R0, #0x2             	MOV	R0,# 0x02
                                           	BANKSEL	__KF8_lib_Key_Down_Count_TS3_CS_T_
00021f   5197     MOV	0x97, R0             	MOV	__KF8_lib_Key_Down_Count_TS3_CS_T_, R0
                                           ;	op : =
                                           ;	.line	1293; "../kf8ts35_touch_cs_lib.c"	_KF8_LIBc_finger_OUT_Second_TS3_CS_T_=_KF8_LIBc_finger_OUT_First_TS3_CS_T_;
                                           	BANKSEL	__KF8_LIBc_finger_OUT_First_TS3_CS_T_
000220   0e96     MOVZ	R0, 0x96            	MOVZ	R0, __KF8_LIBc_finger_OUT_First_TS3_CS_T_
                                           	BANKSEL	__KF8_LIBc_finger_OUT_Second_TS3_CS_T_
000221   5195     MOV	0x95, R0             	MOV	__KF8_LIBc_finger_OUT_Second_TS3_CS_T_, R0
                                           ;	op : LABEL
                                           ;	op : +
                                           _00051_DS_
                                           ;	.line	1298; "../kf8ts35_touch_cs_lib.c"	if(_KF8_LIBc_touch_count_[i_KF8_lib_TS3_CS_T_]==TCS_AMOUNT )
                                           	BANKSEL	_i_KF8_lib_TS3_CS_T_
000222   508e     MOV	R0, 0x8e             	MOV	R0, _i_KF8_lib_TS3_CS_T_
000223   80cb     ADD	R0, #0xcb            	ADD	R0,# (__KF8_LIBc_touch_count_ + 0)
                                           	BANKSEL	r0x1037
000224   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x1037
000225   528a     MOV	R1, 0x8a             	MOV	R1, r0x1037
                                           	BANKSEL	__KF8_LIBc_touch_count_
000226   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x103C
000227   5186     MOV	0x86, R0             	MOV	r0x103C, R0
                                           ;	op : =
                                           ;gen_assign from CODESPACE
000228   9907     MOV	R1, #0x7             	MOV	R1,# high (_TCS_AMOUNT+0)
000229   98d8     MOV	R0, #0xd8            	MOV	R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL	__R2PCL
00022a   d7d5     CALL	#0x7d5              	CALL	__R2PCL
                                           	PAGESEL	$
00022b   e100     MOVB	#0x00               	BANKSEL	r0x1037
00022c   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : EQ_OP
                                           	BANKSEL	r0x1037
00022d   0e8a     MOVZ	R0, 0x8a            	MOVZ	R0, r0x1037
                                           	BANKSEL	r0x103C
00022e   1886     XOR	R0, 0x86             	XOR	R0, r0x103C
00022f   7a03     JB	0x3, 2                	JB	PSW, 2
000230   c2c6     JMP	#0x2c6               	JMP	_00065_DS_
                                           ;	op : IFX
                                           ;	.line	1303; "../kf8ts35_touch_cs_lib.c"	if(_KF8_LIBi_channel_flag_)
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000231   0ec0     MOVZ	R0, 0xc0            	MOVZ	R0, __KF8_LIBi_channel_flag_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000232   30c1     ORL	R0, 0xc1             	ORL	R0, (__KF8_LIBi_channel_flag_ + 1)
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000233   30c2     ORL	R0, 0xc2             	ORL	R0, (__KF8_LIBi_channel_flag_ + 2)
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000234   30c3     ORL	R0, 0xc3             	ORL	R0, (__KF8_LIBi_channel_flag_ + 3)
000235   7203     JNB	0x3, 2               	JNB	PSW, 2
000236   c275     JMP	#0x275               	JMP	_00053_DS_
                                           ;	op : INLINEASM
                                           	;;
                                           	BANKSEL __KF8_lib_Key_Down_Count_TS3_CS_T_
000237   5097     MOV	R0, 0x97             	MOV R0, __KF8_lib_Key_Down_Count_TS3_CS_T_
000238   a801     XOR	R0, #0x1             	XOR R0,# 0x01
000239   7a03     JB	0x3, 2                	JB PSW, 2
00023a   c270     JMP	#0x270               	JMP lable_06161201
                                           	;;;;;;;;;;;;;
                                           	;;
00023b   9802     MOV	R0, #0x2             	MOV R0,# 0x02
                                           	BANKSEL __KF8_lib_Key_Down_Count_TS3_CS_T_
00023c   5197     MOV	0x97, R0             	MOV __KF8_lib_Key_Down_Count_TS3_CS_T_, R0
                                           	;;;;;;;;;;;;;
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
00023d   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
                                           	BANKSEL __KF8_LIBc_finger_OUT_Second_TS3_CS_T_
00023e   5195     MOV	0x95, R0             	MOV __KF8_LIBc_finger_OUT_Second_TS3_CS_T_, R0
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	;;
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
00023f   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
000240   80bb     ADD	R0, #0xbb            	ADD R0, #low (__KF8_TOUCH_CH_EN)
000241   9907     MOV	R1, #0x7             	MOV R1, #high (__KF8_TOUCH_CH_EN)
000242   7003     JNB	0x3, 0               	JNB PSW,0
000243   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
000244   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
000245   6003     CLR	0x3, 0               	CLR PSW,0
000246   ff18     RLC	R0                   	RLC R0
000247   ff18     RLC	R0                   	RLC R0
000248   e100     MOVB	#0x00               	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000249   5190     MOV	0x90, R0             	MOV __KF8_lib_Date_Uchar_Temp_TS3_CS_T_ , R0
                                           	;;;;;;;;;;;;;;;;;;;;
00024a   800a     ADD	R0, #0xa             	ADD R0,#low(__KF8_LIBt_buff_bit_TS3_CS_T_)
00024b   9906     MOV	R1, #0x6             	MOV R1,#high(__KF8_LIBt_buff_bit_TS3_CS_T_)
00024c   7003     JNB	0x3, 0               	JNB PSW,0
00024d   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
00024e   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
00024f   e100     MOVB	#0x00               	BANKSEL __KF8_LIBi_channel_flag_
000250   31c0     ORL	0xc0, R0             	ORL __KF8_LIBi_channel_flag_,R0
                                           	;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000251   5090     MOV	R0, 0x90             	MOV R0, __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000252   ff10     INC	R0                   	INC R0
000253   800a     ADD	R0, #0xa             	ADD R0,#low(__KF8_LIBt_buff_bit_TS3_CS_T_)
000254   9906     MOV	R1, #0x6             	MOV R1,#high(__KF8_LIBt_buff_bit_TS3_CS_T_)
000255   7003     JNB	0x3, 0               	JNB PSW,0
000256   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
000257   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
000258   e100     MOVB	#0x00               	BANKSEL __KF8_LIBi_channel_flag_
000259   31c1     ORL	0xc1, R0             	ORL (__KF8_LIBi_channel_flag_+1), R0
                                           	;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
00025a   5090     MOV	R0, 0x90             	MOV R0, __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
00025b   ff10     INC	R0                   	INC R0
00025c   ff10     INC	R0                   	INC R0
00025d   800a     ADD	R0, #0xa             	ADD R0,#low(__KF8_LIBt_buff_bit_TS3_CS_T_)
00025e   9906     MOV	R1, #0x6             	MOV R1,#high(__KF8_LIBt_buff_bit_TS3_CS_T_)
00025f   7003     JNB	0x3, 0               	JNB PSW,0
000260   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
000261   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
000262   e100     MOVB	#0x00               	BANKSEL __KF8_LIBi_channel_flag_
000263   31c2     ORL	0xc2, R0             	ORL (__KF8_LIBi_channel_flag_+2), R0
                                           	;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000264   5090     MOV	R0, 0x90             	MOV R0, __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000265   ff10     INC	R0                   	INC R0
000266   ff10     INC	R0                   	INC R0
000267   ff10     INC	R0                   	INC R0
000268   800a     ADD	R0, #0xa             	ADD R0,#low(__KF8_LIBt_buff_bit_TS3_CS_T_)
000269   9906     MOV	R1, #0x6             	MOV R1,#high(__KF8_LIBt_buff_bit_TS3_CS_T_)
00026a   7003     JNB	0x3, 0               	JNB PSW,0
00026b   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
00026c   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
00026d   e100     MOVB	#0x00               	BANKSEL __KF8_LIBi_channel_flag_
00026e   31c3     ORL	0xc3, R0             	ORL (__KF8_LIBi_channel_flag_+3), R0
                                           	;;;;;;;;;;;;;;;;;;;;;
00026f   c274     JMP	#0x274               	JMP lable_06161420
                                           	;;;;;;
                                           lable_06161201:
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
000270   508e     MOV	R0, 0x8e             	MOV R0,_i_KF8_lib_TS3_CS_T_
000271   80cb     ADD	R0, #0xcb            	ADD R0,#(__KF8_LIBc_touch_count_)
000272   9900     MOV	R1, #0               	MOV R1,#0X00
                                           	BANKSEL __KF8_LIBc_touch_count_
000273   f748     ST	[R0], R1              	ST [R0], R1
                                           lable_06161420:
                                           	
                                           ;	op : GOTO
000274   c2ad     JMP	#0x2ad               	JMP	_00054_DS_
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00053_DS_
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
000275   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
000276   80bb     ADD	R0, #0xbb            	ADD R0, #low (__KF8_TOUCH_CH_EN)
000277   9907     MOV	R1, #0x7             	MOV R1, #high (__KF8_TOUCH_CH_EN)
000278   7003     JNB	0x3, 0               	JNB PSW,0
000279   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
00027a   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
00027b   6003     CLR	0x3, 0               	CLR PSW,0
00027c   ff18     RLC	R0                   	RLC R0
00027d   ff18     RLC	R0                   	RLC R0
00027e   e100     MOVB	#0x00               	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
00027f   5190     MOV	0x90, R0             	MOV __KF8_lib_Date_Uchar_Temp_TS3_CS_T_ , R0
                                           	;;;;;;;;;;;;;;;;;;;;
000280   800a     ADD	R0, #0xa             	ADD R0,#low(__KF8_LIBt_buff_bit_TS3_CS_T_)
000281   9906     MOV	R1, #0x6             	MOV R1,#high(__KF8_LIBt_buff_bit_TS3_CS_T_)
000282   7003     JNB	0x3, 0               	JNB PSW,0
000283   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
000284   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
000285   e100     MOVB	#0x00               	BANKSEL __KF8_LIBi_channel_flag_
000286   51c0     MOV	0xc0, R0             	MOV __KF8_LIBi_channel_flag_,R0
                                           	;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000287   5090     MOV	R0, 0x90             	MOV R0, __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000288   ff10     INC	R0                   	INC R0
000289   800a     ADD	R0, #0xa             	ADD R0,#low(__KF8_LIBt_buff_bit_TS3_CS_T_)
00028a   9906     MOV	R1, #0x6             	MOV R1,#high(__KF8_LIBt_buff_bit_TS3_CS_T_)
00028b   7003     JNB	0x3, 0               	JNB PSW,0
00028c   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
00028d   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
00028e   e100     MOVB	#0x00               	BANKSEL __KF8_LIBi_channel_flag_
00028f   51c1     MOV	0xc1, R0             	MOV (__KF8_LIBi_channel_flag_+1), R0
                                           	;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000290   5090     MOV	R0, 0x90             	MOV R0, __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000291   ff10     INC	R0                   	INC R0
000292   ff10     INC	R0                   	INC R0
000293   800a     ADD	R0, #0xa             	ADD R0,#low(__KF8_LIBt_buff_bit_TS3_CS_T_)
000294   9906     MOV	R1, #0x6             	MOV R1,#high(__KF8_LIBt_buff_bit_TS3_CS_T_)
000295   7003     JNB	0x3, 0               	JNB PSW,0
000296   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
000297   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
000298   e100     MOVB	#0x00               	BANKSEL __KF8_LIBi_channel_flag_
000299   51c2     MOV	0xc2, R0             	MOV (__KF8_LIBi_channel_flag_+2), R0
                                           	;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
00029a   5090     MOV	R0, 0x90             	MOV R0, __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
00029b   ff10     INC	R0                   	INC R0
00029c   ff10     INC	R0                   	INC R0
00029d   ff10     INC	R0                   	INC R0
00029e   800a     ADD	R0, #0xa             	ADD R0,#low(__KF8_LIBt_buff_bit_TS3_CS_T_)
00029f   9906     MOV	R1, #0x6             	MOV R1,#high(__KF8_LIBt_buff_bit_TS3_CS_T_)
0002a0   7003     JNB	0x3, 0               	JNB PSW,0
0002a1   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
0002a2   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
0002a3   e100     MOVB	#0x00               	BANKSEL __KF8_LIBi_channel_flag_
0002a4   51c3     MOV	0xc3, R0             	MOV (__KF8_LIBi_channel_flag_+3), R0
                                           	;;;;;;;;;;;;;;;;;
                                           	;;;;;;;;;;;;;;;;;;;;;
0002a5   9801     MOV	R0, #0x1             	MOV R0,# 0x01
                                           	BANKSEL __KF8_lib_Key_Down_Count_TS3_CS_T_
0002a6   5197     MOV	0x97, R0             	MOV __KF8_lib_Key_Down_Count_TS3_CS_T_, R0
                                           	;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_
0002a7   51ac     MOV	0xac, R0             	MOV __KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_, R0
                                           	BANKSEL __KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_
0002a8   03ad     CLR	0xad                 	CLR (__KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_ + 1)
                                           	;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
0002a9   508e     MOV	R0, 0x8e             	MOV R0, _i_KF8_lib_TS3_CS_T_
                                           	BANKSEL __KF8_LIBc_finger_OUT_First_TS3_CS_T_
0002aa   5196     MOV	0x96, R0             	MOV __KF8_LIBc_finger_OUT_First_TS3_CS_T_, R0
                                           	;;;;;;;;;;;;;;;
0002ab   98ff     MOV	R0, #0xff            	MOV R0,# 0xff
                                           	BANKSEL __KF8_LIBc_finger_OUT_Second_TS3_CS_T_
0002ac   5195     MOV	0x95, R0             	MOV __KF8_LIBc_finger_OUT_Second_TS3_CS_T_, R0
                                           	
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00054_DS_
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
0002ad   508e     MOV	R0, 0x8e             	MOV R0,_i_KF8_lib_TS3_CS_T_
0002ae   80cb     ADD	R0, #0xcb            	ADD R0,#(__KF8_LIBc_touch_count_)
                                           	BANKSEL __KF8_LIBc_touch_count_
0002af   f701     LD	R1, [R0]              	LD R1,[R0]
0002b0   ff11     INC	R1                   	INC R1
0002b1   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : GOTO
0002b2   c2c6     JMP	#0x2c6               	JMP	_00065_DS_
                                           ;	op : LABEL
                                           ;	op : +
                                           _00060_DS_
                                           ;	.line	1532; "../kf8ts35_touch_cs_lib.c"	else if(_KF8_LIBc_touch_count_[i_KF8_lib_TS3_CS_T_]<TCS_AMOUNT)
                                           	BANKSEL	_i_KF8_lib_TS3_CS_T_
0002b3   508e     MOV	R0, 0x8e             	MOV	R0, _i_KF8_lib_TS3_CS_T_
0002b4   80cb     ADD	R0, #0xcb            	ADD	R0,# (__KF8_LIBc_touch_count_ + 0)
                                           	BANKSEL	r0x1037
0002b5   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x1037
0002b6   528a     MOV	R1, 0x8a             	MOV	R1, r0x1037
                                           	BANKSEL	__KF8_LIBc_touch_count_
0002b7   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x103E
0002b8   5185     MOV	0x85, R0             	MOV	r0x103E, R0
                                           ;	op : =
                                           ;gen_assign from CODESPACE
0002b9   9907     MOV	R1, #0x7             	MOV	R1,# high (_TCS_AMOUNT+0)
0002ba   98d8     MOV	R0, #0xd8            	MOV	R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL	__R2PCL
0002bb   d7d5     CALL	#0x7d5              	CALL	__R2PCL
                                           	PAGESEL	$
0002bc   e100     MOVB	#0x00               	BANKSEL	r0x1037
0002bd   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
                                           ;	op : <
                                           	BANKSEL	r0x1037
0002be   0e8a     MOVZ	R0, 0x8a            	MOVZ	R0, r0x1037
                                           	BANKSEL	r0x103E
0002bf   3885     SUB	R0, 0x85             	SUB	R0, r0x103E
                                           ;comparing bytes at offset 0
0002c0   7003     JNB	0x3, 0               	JNB	PSW, 0
0002c1   c2c6     JMP	#0x2c6               	JMP	_00065_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL _i_KF8_lib_TS3_CS_T_
0002c2   508e     MOV	R0, 0x8e             	MOV R0,_i_KF8_lib_TS3_CS_T_
0002c3   80cb     ADD	R0, #0xcb            	ADD R0,#(__KF8_LIBc_touch_count_)
                                           	BANKSEL __KF8_LIBc_touch_count_
0002c4   9900     MOV	R1, #0               	MOV R1,#0X00
0002c5   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00065_DS_
0002c6   6003     CLR	0x3, 0               	CLR PSW, 0
                                           	BANKSEL __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
0002c7   13b8     RLC	0xb8                 	RLC __KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_
0002c8   13b9     RLC	0xb9                 	RLC (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_ + 1)
0002c9   13ba     RLC	0xba                 	RLC (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_ + 2)
0002ca   13bb     RLC	0xbb                 	RLC (__KF8_LIBi_Touch_Bit_1_Find_TS3_CS_T_ + 3)
                                           	
                                           ;	op : +
                                           ;	.line	513; "../kf8ts35_touch_cs_lib.c"	for(i_KF8_lib_TS3_CS_T_=0;i_KF8_lib_TS3_CS_T_<CHS_AMOUNT;i_KF8_lib_TS3_CS_T_++)
                                           	BANKSEL	_i_KF8_lib_TS3_CS_T_
0002cb   0b8e     INC	0x8e                 	INC	_i_KF8_lib_TS3_CS_T_
                                           ;	op : GOTO
0002cc   c016     JMP	#0x16                	JMP	_00072_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00075_DS_
                                           ;	.line	1566; "../kf8ts35_touch_cs_lib.c"	_KF8_lib_CH_DW_Change_Count_TS3_CS_T_=0;
                                           	BANKSEL	__KF8_lib_CH_DW_Change_Count_TS3_CS_T_
0002cd   0392     CLR	0x92                 	CLR	__KF8_lib_CH_DW_Change_Count_TS3_CS_T_
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	1568; "../kf8ts35_touch_cs_lib.c"	if(_KF8_lib_Touch_Bits_._KF8_Touch_Protect_Flag)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
0002ce   7998     JB	0x98, 1               	JB	__KF8_lib_Touch_Bits_, 1
0002cf   c2da     JMP	#0x2da               	JMP	_00067_DS_
                                           ;	op : INLINEASM
0002d0   98d9     MOV	R0, #0xd9            	MOV R0,#low(__KF8_Disturb_Protect_Circle_)
0002d1   9907     MOV	R1, #0x7             	MOV R1,#high(__KF8_Disturb_Protect_Circle_)
                                           	PAGESEL __R2PCHPCL
0002d2   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;
0002d3   e100     MOVB	#0x00               	BANKSEL __KF8_lib_Wave_Protect_Time_Count_TS3_CS_T_
0002d4   0b99     INC	0x99                 	INC __KF8_lib_Wave_Protect_Time_Count_TS3_CS_T_
0002d5   5299     MOV	R1, 0x99             	MOV R1,__KF8_lib_Wave_Protect_Time_Count_TS3_CS_T_
                                           	;;;;;;;;;
0002d6   f841     SUB	R1, R0               	SUB R1,R0
0002d7   7003     JNB	0x3, 0               	JNB PSW, 0
0002d8   c2da     JMP	#0x2da               	JMP lable_06161507
                                           	BANKSEL __KF8_lib_Touch_Bits_
0002d9   6198     CLR	0x98, 1              	CLR __KF8_lib_Touch_Bits_, 1
                                           lable_06161507:
                                           	
                                           ;	op : LABEL
                                           ;	op : =
                                           ;gen_assign from CODESPACE
                                           _00067_DS_
                                           ;	.line	1599; "../kf8ts35_touch_cs_lib.c"	if(_KF8_Key_Max_Pressed_Limitable_Circle_)
0002da   9907     MOV	R1, #0x7             	MOV	R1,# high (__KF8_Key_Max_Pressed_Limitable_Circle_+0)
0002db   98d3     MOV	R0, #0xd3            	MOV	R0,# low (__KF8_Key_Max_Pressed_Limitable_Circle_+0)
                                           	PAGESEL	__R2PCL
0002dc   d7d5     CALL	#0x7d5              	CALL	__R2PCL
                                           	PAGESEL	$
0002dd   e100     MOVB	#0x00               	BANKSEL	r0x1037
0002de   518a     MOV	0x8a, R0             	MOV	r0x1037, R0
0002df   9907     MOV	R1, #0x7             	MOV	R1,# high (__KF8_Key_Max_Pressed_Limitable_Circle_+1)
0002e0   98d4     MOV	R0, #0xd4            	MOV	R0,# low (__KF8_Key_Max_Pressed_Limitable_Circle_+1)
                                           	PAGESEL	__R2PCL
0002e1   d7d5     CALL	#0x7d5              	CALL	__R2PCL
                                           	PAGESEL	$
0002e2   e100     MOVB	#0x00               	BANKSEL	r0x103E
0002e3   5185     MOV	0x85, R0             	MOV	r0x103E, R0
                                           ;	op : IFX
                                           	BANKSEL	r0x1037
0002e4   0e8a     MOVZ	R0, 0x8a            	MOVZ	R0, r0x1037
                                           	BANKSEL	r0x103E
0002e5   3085     ORL	R0, 0x85             	ORL	R0, r0x103E
0002e6   7203     JNB	0x3, 2               	JNB	PSW, 2
0002e7   c32e     JMP	#0x32e               	JMP	_00076_DS_
                                           ;	op : IFX
                                           ;	.line	1601; "../kf8ts35_touch_cs_lib.c"	if(_KF8_LIBi_channel_flag_)
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0002e8   0ec0     MOVZ	R0, 0xc0            	MOVZ	R0, __KF8_LIBi_channel_flag_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0002e9   30c1     ORL	R0, 0xc1             	ORL	R0, (__KF8_LIBi_channel_flag_ + 1)
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0002ea   30c2     ORL	R0, 0xc2             	ORL	R0, (__KF8_LIBi_channel_flag_ + 2)
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0002eb   30c3     ORL	R0, 0xc3             	ORL	R0, (__KF8_LIBi_channel_flag_ + 3)
0002ec   7203     JNB	0x3, 2               	JNB	PSW, 2
0002ed   c32e     JMP	#0x32e               	JMP	_00076_DS_
                                           ;	op : +
                                           ;	.line	1603; "../kf8ts35_touch_cs_lib.c"	_KF8_lib_MAX_KEY_Vaule_Time_Count_TS3_CS_T_++;
                                           	BANKSEL	__KF8_lib_MAX_KEY_Vaule_Time_Count_TS3_CS_T_
0002ee   0bae     INC	0xae                 	INC	__KF8_lib_MAX_KEY_Vaule_Time_Count_TS3_CS_T_
0002ef   7a03     JB	0x3, 2                	JB	PSW, 2
0002f0   c2f2     JMP	#0x2f2               	JMP	_00197_DS_
                                           	BANKSEL	__KF8_lib_MAX_KEY_Vaule_Time_Count_TS3_CS_T_
0002f1   0baf     INC	0xaf                 	INC	(__KF8_lib_MAX_KEY_Vaule_Time_Count_TS3_CS_T_ + 1)
                                           ;	op : INLINEASM
                                           _00197_DS_
0002f2   98d3     MOV	R0, #0xd3            	MOV R0,#low(__KF8_Key_Max_Pressed_Limitable_Circle_)
0002f3   9907     MOV	R1, #0x7             	MOV R1,#high(__KF8_Key_Max_Pressed_Limitable_Circle_)
                                           	PAGESEL __R2PCHPCL
0002f4   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;;;;;
0002f5   e100     MOVB	#0x00               	BANKSEL __KF8_lib_MAX_KEY_Vaule_Time_Count_TS3_CS_T_
0002f6   18ae     XOR	R0, 0xae             	XOR R0,__KF8_lib_MAX_KEY_Vaule_Time_Count_TS3_CS_T_
0002f7   7a03     JB	0x3, 2                	JB PSW,2
0002f8   c32e     JMP	#0x32e               	JMP lable_06161527
                                           	;;;;;;;;;;;;;;;;
0002f9   98d4     MOV	R0, #0xd4            	MOV R0,#low(__KF8_Key_Max_Pressed_Limitable_Circle_+1)
0002fa   9907     MOV	R1, #0x7             	MOV R1,#high(__KF8_Key_Max_Pressed_Limitable_Circle_+1)
                                           	PAGESEL __R2PCHPCL
0002fb   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;;;;;;;
0002fc   e100     MOVB	#0x00               	BANKSEL __KF8_lib_MAX_KEY_Vaule_Time_Count_TS3_CS_T_
0002fd   18af     XOR	R0, 0xaf             	XOR R0,(__KF8_lib_MAX_KEY_Vaule_Time_Count_TS3_CS_T_+1)
0002fe   7a03     JB	0x3, 2                	JB PSW ,2
0002ff   c32e     JMP	#0x32e               	JMP lable_06161527
                                           	;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBi_channel_flag_
000300   03c0     CLR	0xc0                 	CLR __KF8_LIBi_channel_flag_
000301   03c1     CLR	0xc1                 	CLR (__KF8_LIBi_channel_flag_ + 1)
000302   03c2     CLR	0xc2                 	CLR (__KF8_LIBi_channel_flag_ + 2)
000303   03c3     CLR	0xc3                 	CLR (__KF8_LIBi_channel_flag_ + 3)
                                           	;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Key_Down_Count_TS3_CS_T_
000304   5097     MOV	R0, 0x97             	MOV R0, __KF8_lib_Key_Down_Count_TS3_CS_T_
000305   a802     XOR	R0, #0x2             	XOR R0,# 0x02
000306   7a03     JB	0x3, 2                	JB PSW, 2
000307   c317     JMP	#0x317               	JMP lable_06161530
                                           	;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBc_finger_OUT_Second_TS3_CS_T_
000308   5095     MOV	R0, 0x95             	MOV R0,__KF8_LIBc_finger_OUT_Second_TS3_CS_T_
000309   6003     CLR	0x3, 0               	CLR PSW,0
00030a   ff18     RLC	R0                   	RLC R0
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
00030b   5190     MOV	0x90, R0             	MOV __KF8_lib_Date_Uchar_Temp_TS3_CS_T_, R0
00030c   80e7     ADD	R0, #0xe7            	ADD R0, #(__KF8_LIBi_buff_hit_)
                                           	BANKSEL __KF8_LIBi_buff_hit_
00030d   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
00030e   5090     MOV	R0, 0x90             	MOV R0,__KF8_lib_Date_Uchar_Temp_TS3_CS_T_
00030f   80d9     ADD	R0, #0xd9            	ADD R0,#(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000310   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000311   5090     MOV	R0, 0x90             	MOV R0,__KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000312   80e8     ADD	R0, #0xe8            	ADD R0,#(__KF8_LIBi_buff_hit_+1)
                                           	BANKSEL __KF8_LIBi_buff_hit_
000313   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000314   5090     MOV	R0, 0x90             	MOV R0,__KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000315   80da     ADD	R0, #0xda            	ADD R0,#(__KF8_LIBi_buff_baseline_+1)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000316   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           lable_06161530:
                                           	BANKSEL __KF8_LIBc_finger_OUT_First_TS3_CS_T_
000317   5096     MOV	R0, 0x96             	MOV R0,__KF8_LIBc_finger_OUT_First_TS3_CS_T_
000318   6003     CLR	0x3, 0               	CLR PSW,0
000319   ff18     RLC	R0                   	RLC R0
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
00031a   5190     MOV	0x90, R0             	MOV __KF8_lib_Date_Uchar_Temp_TS3_CS_T_, R0
00031b   80e7     ADD	R0, #0xe7            	ADD R0, #(__KF8_LIBi_buff_hit_)
                                           	BANKSEL __KF8_LIBi_buff_hit_
00031c   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
00031d   5090     MOV	R0, 0x90             	MOV R0,__KF8_lib_Date_Uchar_Temp_TS3_CS_T_
00031e   80d9     ADD	R0, #0xd9            	ADD R0,#(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00031f   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000320   5090     MOV	R0, 0x90             	MOV R0,__KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000321   80e8     ADD	R0, #0xe8            	ADD R0,#(__KF8_LIBi_buff_hit_+1)
                                           	BANKSEL __KF8_LIBi_buff_hit_
000322   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000323   5090     MOV	R0, 0x90             	MOV R0,__KF8_lib_Date_Uchar_Temp_TS3_CS_T_
000324   80da     ADD	R0, #0xda            	ADD R0,#(__KF8_LIBi_buff_baseline_+1)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000325   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Key_Down_Count_TS3_CS_T_
000326   0397     CLR	0x97                 	CLR __KF8_lib_Key_Down_Count_TS3_CS_T_
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;
000327   98ff     MOV	R0, #0xff            	MOV R0,# 0xff
                                           	BANKSEL __KF8_LIBc_finger_OUT_First_TS3_CS_T_
000328   5196     MOV	0x96, R0             	MOV __KF8_LIBc_finger_OUT_First_TS3_CS_T_, R0
                                           	;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBc_finger_OUT_Second_TS3_CS_T_
000329   5195     MOV	0x95, R0             	MOV __KF8_LIBc_finger_OUT_Second_TS3_CS_T_, R0
                                           	;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_
00032a   03ac     CLR	0xac                 	CLR __KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_
                                           	BANKSEL __KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_
00032b   03ad     CLR	0xad                 	CLR (__KF8_lib_Key_Double_Timer_Protect_TS3_CS_T_ + 1)
                                           	;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_MAX_KEY_Vaule_Time_Count_TS3_CS_T_
00032c   03ae     CLR	0xae                 	CLR __KF8_lib_MAX_KEY_Vaule_Time_Count_TS3_CS_T_
00032d   03af     CLR	0xaf                 	CLR (__KF8_lib_MAX_KEY_Vaule_Time_Count_TS3_CS_T_ + 1)
                                           lable_06161527:
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00076_DS_
00032e   0008     CRET                     	CRET	
                                           ; exit point of __KF8_LiBf_KEY_Deal_AND_BaseLine_Up
                                           
                                           
                                           
                                           func.__KF8TS35_Init_Touch_cs_General_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8TS35_Init_Touch_cs_General_	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8TS35_Init_Touch_cs_General_	;Function start
                                           ; 2 exit points
                                           ;	op : =
                                           ;	.line	369; "../kf8ts35_touch_cs_lib.c"	_KF8_lib_Date_Uchar_Temp_TS3_CS_T_=0; // ¿ª»ú·ÅÆúµÄnÈ¦¼ÆÊý±£Ö¤Îª0¿ªÊ¼
0006ef   e100     MOVB	#0x00               	BANKSEL	__KF8_lib_Date_Uchar_Temp_TS3_CS_T_
0006f0   0390     CLR	0x90                 	CLR	__KF8_lib_Date_Uchar_Temp_TS3_CS_T_
                                           ;	op : =
                                           ;	.line	371; "../kf8ts35_touch_cs_lib.c"	_KF8_lib_Touch_Bits_._KF8_Touch_Work_Flag=0; //³õÊ¼»¯
                                           	BANKSEL	__KF8_lib_Touch_Bits_
0006f1   6098     CLR	0x98, 0              	CLR	__KF8_lib_Touch_Bits_, 0
                                           ;	op : =
                                           ;	.line	372; "../kf8ts35_touch_cs_lib.c"	_KF8_lib_Touch_Bits_._KF8_Touch_Protect_Flag=0;//³õÊ¼»¯
                                           	BANKSEL	__KF8_lib_Touch_Bits_
0006f2   6198     CLR	0x98, 1              	CLR	__KF8_lib_Touch_Bits_, 1
                                           ;	op : =
                                           ;	.line	376; "../kf8ts35_touch_cs_lib.c"	_KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_=0;
                                           	BANKSEL	__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
0006f3   03bc     CLR	0xbc                 	CLR	__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
                                           	BANKSEL	__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
0006f4   03bd     CLR	0xbd                 	CLR	(__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_ + 1)
                                           	BANKSEL	__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
0006f5   03be     CLR	0xbe                 	CLR	(__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_ + 2)
                                           	BANKSEL	__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_
0006f6   03bf     CLR	0xbf                 	CLR	(__KF8_lib_CH_DW_Change_Dealed_Flag_TS3_CS_T_ + 3)
                                           ;	op : INLINEASM
                                           	; 408 "../kf8ts35_touch_cs_lib.c"
                                           	;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBc_channel_
0006f7   03a5     CLR	0xa5                 	CLR __KF8_LIBc_channel_
                                           	;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBi_channel_flag_ ;
0006f8   03c0     CLR	0xc0                 	CLR __KF8_LIBi_channel_flag_
0006f9   03c1     CLR	0xc1                 	CLR __KF8_LIBi_channel_flag_+1
0006fa   03c2     CLR	0xc2                 	CLR __KF8_LIBi_channel_flag_+2
0006fb   03c3     CLR	0xc3                 	CLR __KF8_LIBi_channel_flag_+3
                                           	;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
0006fc   0390     CLR	0x90                 	CLR __KF8_lib_Date_Uchar_Temp_TS3_CS_T_
                                           	;;;;;;;;;;;;;;
                                           	
                                           ;	op : INLINEASM
0006fd   e101     MOVB	#0x01               	MOVB #0x01
0006fe   9866     MOV	R0, #0x66            	MOV R0,#0x66
0006ff   514e     MOV	0x4e, R0             	MOV 0x4E,R0 ;
                                           	
                                           ;	op : INLINEASM
000700   98bb     MOV	R0, #0xbb            	MOV R0, # low (__KF8_TOUCH_CH_EN+0)
000701   9907     MOV	R1, #0x7             	MOV R1, # high (__KF8_TOUCH_CH_EN+0)
                                           	PAGESEL __R2PCHPCL
000702   d7d0     CALL	#0x7d0              	CALL __R2PCHPCL
                                           	PAGESEL $
000703   9080     ORL	R0, #0x80            	ORL R0,#0x80
000704   e100     MOVB	#0x00               	BANKSEL CTCTL0
000705   5153     MOV	0x53, R0             	MOV CTCTL0,R0
                                           	
                                           ;	op : =
                                           ;	.line	429; "../kf8ts35_touch_cs_lib.c"	
                                           	BANKSEL	_T3L
000706   034f     CLR	0x4f                 	CLR	_T3L
                                           ;	op : =
                                           	BANKSEL	_T3H
000707   035f     CLR	0x5f                 	CLR	_T3H
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	431; "../kf8ts35_touch_cs_lib.c"	#if 0
                                           	BANKSEL	__KF8_lib_Touch_Bits_
000708   7d98     JB	0x98, 5               	JB	__KF8_lib_Touch_Bits_, 5
000709   c70b     JMP	#0x70b               	JMP	_00019_DS_
                                           ;	op : INLINEASM
                                           	MOVB #0x00
00070a   6553     CLR	0x53, 5              	CLR 0x53,5
                                           	
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00019_DS_
                                           	BANKSEL _CTCTL0
00070b   6e53     SET	0x53, 6              	SET _CTCTL0,6
00070c   0000     NOP                      	NOP
00070d   7e53     JB	0x53, 6               	JB _CTCTL0,6
00070e   c70b     JMP	#0x70b               	JMP $-3
                                           	
                                           ;	op : |
                                           ;	.line	476; "../kf8ts35_touch_cs_lib.c"	CTCTL0 |= 0x20;
                                           	BANKSEL	_CTCTL0
00070f   6d53     SET	0x53, 5              	SET	_CTCTL0, 5
                                           ;	op : |
                                           ;	.line	477; "../kf8ts35_touch_cs_lib.c"	CTCTL1 |= 0X20;
                                           	BANKSEL	_CTCTL1
000710   6d64     SET	0x64, 5              	SET	_CTCTL1, 5
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	479; "../kf8ts35_touch_cs_lib.c"	if(_KF8_lib_Touch_Bits_._KF8_Touch_Use_T3_B)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
000711   7d98     JB	0x98, 5               	JB	__KF8_lib_Touch_Bits_, 5
000712   c714     JMP	#0x714               	JMP	_00021_DS_
                                           ;	op : INLINEASM
                                           	MOVB #0x00
000713   6d53     SET	0x53, 5              	SET 0x53,5
                                           	
                                           ;	op : LABEL
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00021_DS_
                                           ;	.line	488; "../kf8ts35_touch_cs_lib.c"	if(_KF8_lib_Touch_Bits_._KF8_Touch_Count_Use_T4)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
000714   7f98     JB	0x98, 7               	JB	__KF8_lib_Touch_Bits_, 7
000715   c71a     JMP	#0x71a               	JMP	_00023_DS_
                                           ;	op : =
                                           ;	.line	490; "../kf8ts35_touch_cs_lib.c"	T4L = 0;    T4H = 0; 	T4ON=1;		// T3 T4 Èç¹û·ÖÆµ Íâ²¿¿ÉÉèÖÃ
000716   e101     MOVB	#0x01               	BANKSEL	_T4L
000717   0360     CLR	0x60                 	CLR	_T4L
                                           ;	op : =
                                           	BANKSEL	_T4H
000718   0361     CLR	0x61                 	CLR	_T4H
                                           ;	op : =
                                           	BANKSEL	_T4CTL_bits
000719   6864     SET	0x64, 0              	SET	_T4CTL_bits, 0
                                           ;	op : LABEL
                                           ;	op : =
                                           _00023_DS_
                                           ;	.line	492; "../kf8ts35_touch_cs_lib.c"	T3IF=0;		T3IE=1;
00071a   e100     MOVB	#0x00               	BANKSEL	_EIF2_bits
00071b   670d     CLR	0xd, 7               	CLR	_EIF2_bits, 7
                                           ;	op : =
                                           	BANKSEL	_EIE2_bits
00071c   6f2d     SET	0x2d, 7              	SET	_EIE2_bits, 7
                                           ;	op : =
                                           ;	.line	493; "../kf8ts35_touch_cs_lib.c"	AIEL=1;		AIEH=1;
                                           	BANKSEL	_INTCTL_bits
00071d   6e0b     SET	0xb, 6               	SET	_INTCTL_bits, 6
                                           ;	op : =
                                           	BANKSEL	_INTCTL_bits
00071e   6f0b     SET	0xb, 7               	SET	_INTCTL_bits, 7
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
00071f   0008     CRET                     	CRET	
                                           ; exit point of __KF8TS35_Init_Touch_cs_General_
                                           
                                           
                                           
                                           func.__KF8_lib_Baihualv_get_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8_lib_Baihualv_get_	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8_lib_Baihualv_get_	;Function start
                                           ; 2 exit points
                                           ;	op : INLINEASM
000662   e100     MOVB	#0x00               	BANKSEL __KF8_Temp_Cur_B_TS3_CS_T_
000663   50a6     MOV	R0, 0xa6             	MOV R0,__KF8_Temp_Cur_B_TS3_CS_T_
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
000664   39a8     SUB	0xa8, R0             	SUB __KF8_Temp_Cur_A_TS3_CS_T_,R0
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_Temp_Cur_B_TS3_CS_T_
000665   52a7     MOV	R1, 0xa7             	MOV R1,(__KF8_Temp_Cur_B_TS3_CS_T_+1)
000666   7803     JB	0x3, 0                	JB PSW,0
000667   ff11     INC	R1                   	INC R1
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
000668   3ba9     SUB	0xa9, R1             	SUB (__KF8_Temp_Cur_A_TS3_CS_T_+1),R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
000669   7803     JB	0x3, 0                	JB PSW,0
00066a   c66c     JMP	#0x66c               	JMP label_3_3_3
00066b   c673     JMP	#0x673               	JMP label_4_4_4
                                           label_3_3_3:
                                           	;;
                                           	BANKSEL __KF8_lib_Touch_Bits_
00066c   6498     CLR	0x98, 4              	CLR __KF8_lib_Touch_Bits_, 4
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
00066d   05a8     CPL	0xa8                 	CPL __KF8_Temp_Cur_A_TS3_CS_T_
                                           	BANKSEL (__KF8_Temp_Cur_A_TS3_CS_T_+1)
00066e   05a9     CPL	0xa9                 	CPL (__KF8_Temp_Cur_A_TS3_CS_T_+1)
00066f   0ba8     INC	0xa8                 	INC __KF8_Temp_Cur_A_TS3_CS_T_
000670   7203     JNB	0x3, 2               	JNB PSW,2
000671   0ba9     INC	0xa9                 	INC (__KF8_Temp_Cur_A_TS3_CS_T_+1)
000672   c674     JMP	#0x674               	JMP label_5_5_5
                                           label_4_4_4:
                                           	;;
                                           	BANKSEL __KF8_lib_Touch_Bits_
000673   6c98     SET	0x98, 4              	SET __KF8_lib_Touch_Bits_, 4
                                           label_5_5_5:
                                           	
                                           ;	op : INLINEASM
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
000674   50a9     MOV	R0, 0xa9             	MOV R0, (__KF8_Temp_Cur_A_TS3_CS_T_ + 1)
000675   88fc     AND	R0, #0xfc            	AND R0,# 0xfc
000676   7a03     JB	0x3, 2                	JB PSW, 2
000677   c68e     JMP	#0x68e               	JMP label_6_6_6
                                           	;;;;;;;;;;;;;;;;;;;;;;Ð¡ÓÚ;;;;;;;;;;;;;;;;;;;;;;;;
000678   9806     MOV	R0, #0x6             	MOV R0,# 0x06
000679   ff10     INC	R0                   	INC R0
00067a   c67e     JMP	#0x67e               	JMP label_7_7_7
                                           label_8_8_8:
00067b   6003     CLR	0x3, 0               	CLR PSW, 0
00067c   13a8     RLC	0xa8                 	RLC __KF8_Temp_Cur_A_TS3_CS_T_
00067d   13a9     RLC	0xa9                 	RLC (__KF8_Temp_Cur_A_TS3_CS_T_ + 1)
                                           label_7_7_7:
00067e   ff58     DECJZ	R0                 	DECJZ R0
00067f   c67b     JMP	#0x67b               	JMP label_8_8_8
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
000680   9808     MOV	R0, #0x8             	MOV R0,# 0x08
                                           	BANKSEL __KF8_Temp_Cur_B_TS3_CS_T_
000681   21a6     ADD	0xa6, R0             	ADD __KF8_Temp_Cur_B_TS3_CS_T_, R0
                                           	PAGESEL label_9_9_9
000682   7803     JB	0x3, 0                	JB PSW, 0
000683   c685     JMP	#0x685               	JMP label_9_9_9
000684   0ba7     INC	0xa7                 	INC (__KF8_Temp_Cur_B_TS3_CS_T_ + 1)
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           label_9_9_9:
000685   9804     MOV	R0, #0x4             	MOV R0,# 0x04
000686   ff10     INC	R0                   	INC R0
000687   c68b     JMP	#0x68b               	JMP label_10_10_10
                                           label_11_11_11:
000688   6003     CLR	0x3, 0               	CLR PSW, 0
000689   11a7     RRC	0xa7                 	RRC (__KF8_Temp_Cur_B_TS3_CS_T_ + 1)
00068a   11a6     RRC	0xa6                 	RRC __KF8_Temp_Cur_B_TS3_CS_T_
                                           label_10_10_10:
00068b   ff58     DECJZ	R0                 	DECJZ R0
00068c   c688     JMP	#0x688               	JMP label_11_11_11
00068d   c69c     JMP	#0x69c               	JMP label_13_13_13
                                           	;;;;;;;;;;;;;;;;;;;;;;´óÓÚµÈÓÚ;;;;;;;;;;;;;;;;;;;;;;;;
                                           label_6_6_6:
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
00068e   6003     CLR	0x3, 0               	CLR PSW, 0
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
00068f   13a8     RLC	0xa8                 	RLC __KF8_Temp_Cur_A_TS3_CS_T_
000690   13a9     RLC	0xa9                 	RLC (__KF8_Temp_Cur_A_TS3_CS_T_ + 1)
000691   6003     CLR	0x3, 0               	CLR PSW, 0
000692   13a8     RLC	0xa8                 	RLC __KF8_Temp_Cur_A_TS3_CS_T_
000693   13a9     RLC	0xa9                 	RLC (__KF8_Temp_Cur_A_TS3_CS_T_ + 1)
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
000694   9880     MOV	R0, #0x80            	MOV R0,# 0x80
                                           	BANKSEL __KF8_Temp_Cur_B_TS3_CS_T_
000695   21a6     ADD	0xa6, R0             	ADD __KF8_Temp_Cur_B_TS3_CS_T_, R0
000696   7803     JB	0x3, 0                	JB PSW, 0
000697   c699     JMP	#0x699               	JMP label_12_12_12
000698   0ba7     INC	0xa7                 	INC (__KF8_Temp_Cur_B_TS3_CS_T_ + 1)
                                           label_12_12_12:
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
000699   50a7     MOV	R0, 0xa7             	MOV R0, (__KF8_Temp_Cur_B_TS3_CS_T_ + 1)
00069a   51a6     MOV	0xa6, R0             	MOV __KF8_Temp_Cur_B_TS3_CS_T_, R0
00069b   03a7     CLR	0xa7                 	CLR (__KF8_Temp_Cur_B_TS3_CS_T_ + 1)
                                           label_13_13_13:
                                           	
                                           ;	op : =
                                           ;	.line	307; "../kf8ts35_touch_cs_lib.c"	_KF8_lib_bahualvtemportemp_TS3_CS_T_=0;
                                           	BANKSEL	__KF8_lib_bahualvtemportemp_TS3_CS_T_
00069c   0391     CLR	0x91                 	CLR	__KF8_lib_bahualvtemportemp_TS3_CS_T_
                                           ;	op : INLINEASM
                                           label_17_17_17:
                                           	BANKSEL __KF8_Temp_Cur_B_TS3_CS_T_
00069d   50a6     MOV	R0, 0xa6             	MOV R0,__KF8_Temp_Cur_B_TS3_CS_T_
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
00069e   39a8     SUB	0xa8, R0             	SUB __KF8_Temp_Cur_A_TS3_CS_T_,R0
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_Temp_Cur_B_TS3_CS_T_
00069f   52a7     MOV	R1, 0xa7             	MOV R1,(__KF8_Temp_Cur_B_TS3_CS_T_+1)
0006a0   7803     JB	0x3, 0                	JB PSW,0
0006a1   ff11     INC	R1                   	INC R1
                                           	BANKSEL __KF8_Temp_Cur_A_TS3_CS_T_
0006a2   3ba9     SUB	0xa9, R1             	SUB (__KF8_Temp_Cur_A_TS3_CS_T_+1),R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
0006a3   7803     JB	0x3, 0                	JB PSW,0
0006a4   c6a6     JMP	#0x6a6               	JMP label_15_15_15
0006a5   c6a7     JMP	#0x6a7               	JMP label_14_14_14
                                           label_15_15_15:
                                           	;;
0006a6   c6ad     JMP	#0x6ad               	JMP label_16_16_16
                                           label_14_14_14:
                                           	;;
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS3_CS_T_
0006a7   0b91     INC	0x91                 	INC __KF8_lib_bahualvtemportemp_TS3_CS_T_
0006a8   5091     MOV	R0, 0x91             	MOV R0,__KF8_lib_bahualvtemportemp_TS3_CS_T_
0006a9   a07e     SUB	R0, #0x7e            	SUB R0,#(126)
0006aa   7803     JB	0x3, 0                	JB PSW,0
0006ab   c6ad     JMP	#0x6ad               	JMP label_16_16_16 ;
0006ac   c69d     JMP	#0x69d               	JMP label_17_17_17 ;
                                           label_16_16_16:
                                           	
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	349; "../kf8ts35_touch_cs_lib.c"	if(_KF8_lib_Touch_Bits_._KF8_Touch_Flag_Flag1)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
0006ad   7c98     JB	0x98, 4               	JB	__KF8_lib_Touch_Bits_, 4
0006ae   c6b1     JMP	#0x6b1               	JMP	_00015_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS3_CS_T_
0006af   0591     CPL	0x91                 	CPL __KF8_lib_bahualvtemportemp_TS3_CS_T_
0006b0   0b91     INC	0x91                 	INC __KF8_lib_bahualvtemportemp_TS3_CS_T_
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00015_DS_
0006b1   0008     CRET                     	CRET	
                                           ; exit point of __KF8_lib_Baihualv_get_
                                           
                                           
                                           
                                           func.__KF8TS35_Lib_Set_General_cs_Parameter	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8TS35_Lib_Set_General_cs_Parameter	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;1 compiler assigned register :
                                           ;   r0x1042
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8TS35_Lib_Set_General_cs_Parameter	;Function start
                                           ; 2 exit points
                                           ;	op : RECEIVE
                                           ;	.line	151; "../kf8ts35_touch_cs_lib.c"	void _KF8TS35_Lib_Set_General_cs_Parameter(unsigned char parameterin)
0007a8   e100     MOVB	#0x00               	BANKSEL	r0x1042
0007a9   518b     MOV	0x8b, R0             	MOV	r0x1042, R0
                                           ;	op : IFX
                                           ;	.line	153; "../kf8ts35_touch_cs_lib.c"	if(parameterin==0)
0007aa   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x1042
0007ab   308b     ORL	R0, 0x8b             	ORL	R0, r0x1042
0007ac   7a03     JB	0x3, 2                	JB	PSW, 2
0007ad   c7b1     JMP	#0x7b1               	JMP	_00007_DS_
                                           ;	op : =
                                           ;	.line	155; "../kf8ts35_touch_cs_lib.c"	_KF8_lib_Touch_Bits_._KF8_Touch_Count_Use_T4=1;
                                           	BANKSEL	__KF8_lib_Touch_Bits_
0007ae   6f98     SET	0x98, 7              	SET	__KF8_lib_Touch_Bits_, 7
                                           ;	op : =
                                           ;	.line	156; "../kf8ts35_touch_cs_lib.c"	_KF8_lib_Touch_Bits_._KF8_Touch_Use_T3_B=0;
                                           	BANKSEL	__KF8_lib_Touch_Bits_
0007af   6598     CLR	0x98, 5              	CLR	__KF8_lib_Touch_Bits_, 5
                                           ;	op : GOTO
0007b0   c7ba     JMP	#0x7ba               	JMP	_00009_DS_
                                           ;	op : LABEL
                                           ;	op : EQ_OP
                                           _00007_DS_
                                           ;	.line	158; "../kf8ts35_touch_cs_lib.c"	else if(parameterin==1)
                                           	BANKSEL	r0x1042
0007b1   0e8b     MOVZ	R0, 0x8b            	MOVZ	R0, r0x1042
0007b2   a801     XOR	R0, #0x1             	XOR	R0,# 0x01
0007b3   7a03     JB	0x3, 2                	JB	PSW, 2
0007b4   c7b8     JMP	#0x7b8               	JMP	_00004_DS_
                                           ;	op : =
                                           ;	.line	160; "../kf8ts35_touch_cs_lib.c"	_KF8_lib_Touch_Bits_._KF8_Touch_Count_Use_T4=0;
                                           	BANKSEL	__KF8_lib_Touch_Bits_
0007b5   6798     CLR	0x98, 7              	CLR	__KF8_lib_Touch_Bits_, 7
                                           ;	op : =
                                           ;	.line	161; "../kf8ts35_touch_cs_lib.c"	_KF8_lib_Touch_Bits_._KF8_Touch_Use_T3_B=0;
                                           	BANKSEL	__KF8_lib_Touch_Bits_
0007b6   6598     CLR	0x98, 5              	CLR	__KF8_lib_Touch_Bits_, 5
                                           ;	op : GOTO
0007b7   c7ba     JMP	#0x7ba               	JMP	_00009_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00004_DS_
                                           ;	.line	165; "../kf8ts35_touch_cs_lib.c"	_KF8_lib_Touch_Bits_._KF8_Touch_Count_Use_T4=0;
                                           	BANKSEL	__KF8_lib_Touch_Bits_
0007b8   6798     CLR	0x98, 7              	CLR	__KF8_lib_Touch_Bits_, 7
                                           ;	op : =
                                           ;	.line	166; "../kf8ts35_touch_cs_lib.c"	_KF8_lib_Touch_Bits_._KF8_Touch_Use_T3_B=1;
                                           	BANKSEL	__KF8_lib_Touch_Bits_
0007b9   6d98     SET	0x98, 5              	SET	__KF8_lib_Touch_Bits_, 5
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00009_DS_
0007ba   0008     CRET                     	CRET	
                                           ; exit point of __KF8TS35_Lib_Set_General_cs_Parameter
                                           
                                           
                                           
                                           func.__R2PCHPCL	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __R2PCHPCL	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __R2PCHPCL	;Function start
                                           ; 2 exit points
                                           ;	op : INLINEASM
0007d0   530a     MOV	0xa, R1              	MOV PCH,R1
0007d1   5102     MOV	0x2, R0              	MOV PCL,R0
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
0007d2   0008     CRET                     	CRET	
                                           ; exit point of __R2PCHPCL
                                           
                                           
                                           ;	code size estimation:
                                           ;	  555+  303 =   858 instructions ( 2322 byte)
                                           
                                           
                                           	.end
                                           .config
002007   07c4     DEC	0xc4                
002008   ffff     NOPZ                    
                                           fun.__R2PCL
0007d5   530a     MOV	0xa, R1             
0007d6   5102     MOV	0x2, R0             
                                           func.__gsinit_startup
0007c9   0000     NOP                     
0007ca   d767     CALL	#0x767             
0007cb   0000     NOP                     
0007cc   0008     CRET                    
                                           _sartup_TS3514
000747   e100     MOVB	#0x00              
000748   dfff     CALL	#0xfff             
000749   5130     MOV	0x30, R0            
00074a   ffff     NOPZ                    
00074b   ffff     NOPZ                    
00074c   dffe     CALL	#0xffe             
00074d   5137     MOV	0x37, R0            
00074e   ffff     NOPZ                    
00074f   ffff     NOPZ                    
000750   dffd     CALL	#0xffd             
000751   514c     MOV	0x4c, R0            
000752   ffff     NOPZ                    
000753   ffff     NOPZ                    
000754   dffc     CALL	#0xffc             
000755   514d     MOV	0x4d, R0            
000756   ffff     NOPZ                    
000757   ffff     NOPZ                    
000758   dffb     CALL	#0xffb             
000759   512a     MOV	0x2a, R0            
00075a   ffff     NOPZ                    
00075b   e101     MOVB	#0x01              
00075c   dffa     CALL	#0xffa             
00075d   5159     MOV	0x59, R0            
00075e   ffff     NOPZ                    
00075f   dff9     CALL	#0xff9             
000760   515a     MOV	0x5a, R0            
000761   ffff     NOPZ                    
000762   dff8     CALL	#0xff8             
000763   5165     MOV	0x65, R0            
000764   ffff     NOPZ                    
000765   ffff     NOPZ                    
000766   0008     CRET                    
                                           .cinit
000767   e100     MOVB	#0x00              
000768   9880     MOV	R0, #0x80           
000769   9930     MOV	R1, #0x30           
00076a   0000     NOP                     
00076b   d77a     CALL	#0x77a             
00076c   9834     MOV	R0, #0x34           
00076d   51b0     MOV	0xb0, R0            
00076e   98b2     MOV	R0, #0xb2           
00076f   9943     MOV	R1, #0x43           
000770   0000     NOP                     
000771   d77a     CALL	#0x77a             
000772   9812     MOV	R0, #0x12           
000773   51b1     MOV	0xb1, R0            
000774   e101     MOVB	#0x01              
000775   9880     MOV	R0, #0x80           
000776   9914     MOV	R1, #0x14           
000777   0000     NOP                     
000778   d77a     CALL	#0x77a             
000779   0008     CRET                    
00077a   020a     CLR	R2                  
00077b   f750     ST	[R0], R2             
00077c   ff10     INC	R0                  
00077d   ff59     DECJZ	R1                
00077e   c77b     JMP	#0x77b              
00077f   0008     CRET                    
