gplink-1.1.0
Copyright (c) 1998-2005 gputils project
Listing File Generated: 4-4-2018  14:51:04
 
 
Address  Value    Disassembly              Source
-------  -----    -----------              ------
                                           ;--------------------------------------------------------
                                           ; File Created by ChiponCC : aolisn inc.
                                           ; Version 3.0.4#6752 (Jul  6 2017 15:09:47) (MSVC)
                                           ; This file was generated Wed Apr 04 14:50:54 2018
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../config_set.c"
                                           	.radix dec
                                           	.include "KF8S1011.inc"
                                           
                                           ;************************************************************ 
                                           ;       Header file for the KungFu8 
                                           ;       KF8S1011 
                                           ;       Microcontroller
                                           ; 
                                           ;       Copyright 2012-2013 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
                                           P4                .EQU                0x09
                                           PCH               .EQU                0x0A
                                           INTCTL            .EQU                0x0B
                                           EIF1              .EQU                0x0C
                                           EIF2              .EQU                0x0D
                                           T1L               .EQU                0x0E
                                           T1H               .EQU                0x0F
                                           T1CTL             .EQU                0x10
                                           PWMCTL            .EQU                0x15
                                           CMCTL1            .EQU                0x1A
                                           VRECAL            .EQU                0x1C
                                           ANSEH             .EQU                0x1D
                                           ADCDATAH          .EQU                0x1E
                                           ADCCTL0           .EQU                0x1F
                                           OPTR              .EQU                0x21
                                           TR0               .EQU                0x25
                                           TR2               .EQU                0x26
                                           TR1               .EQU                0x27
                                           TR3               .EQU                0x28
                                           TR4               .EQU                0x29
                                           EIE1              .EQU                0x2C
                                           EIE2              .EQU                0x2D
                                           PCTL              .EQU                0x2E
                                           OSCCTL            .EQU                0x2F
                                           OSCCAL0           .EQU                0x30
                                           ANSEL             .EQU                0x31
                                           PUR               .EQU                0x35
                                           IOCL              .EQU                0x36
                                           OSCCAL1           .EQU                0x37
                                           BADDRH            .EQU                0x3A
                                           BADDRL            .EQU                0x3B
                                           EECTL1            .EQU                0x3C
                                           EECTL2            .EQU                0x3D
                                           ADCDATAL          .EQU                0x3E
                                           ADCCTL1           .EQU                0x3F
                                           T3L               .EQU                0x50
                                           CTCTL             .EQU                0x53
                                           RSCTL             .EQU                0x58
                                           TXSDR             .EQU                0x59
                                           RXSDR             .EQU                0x5A
                                           OSCLDOCAL         .EQU                0x5E
                                           T1U               .EQU                0x5F
                                           BRCTL             .EQU                0x77
                                           TSCTL             .EQU                0x78
                                           EUBRGL            .EQU                0x79
                                           EUBRGH            .EQU                0x7A
                                            
                                            
                                           
                                           ;Address:0x03 PSW Bits------------------
                                           RP0                .EQU                5
                                           TO                 .EQU                4
                                           PD                 .EQU                3
                                           Z                  .EQU                2
                                           DC                 .EQU                1
                                           CY                 .EQU                0
                                           _RP0               .EQU                5
                                           _TO                .EQU                4
                                           _PD                .EQU                3
                                           _Z                 .EQU                2
                                           _DC                .EQU                1
                                           _CY                .EQU                0
                                           
                                           ;Address:0x05 P0 Bits-------------------
                                           P07                .EQU                7
                                           P06                .EQU                6
                                           P05                .EQU                5
                                           P04                .EQU                4
                                           P03                .EQU                3
                                           P01                .EQU                1
                                           P00                .EQU                0
                                           _P07               .EQU                7
                                           _P06               .EQU                6
                                           _P05               .EQU                5
                                           _P04               .EQU                4
                                           _P03               .EQU                3
                                           _P01               .EQU                1
                                           _P00               .EQU                0
                                           
                                           ;Address:0x06 P2 Bits-------------------
                                           P27                .EQU                7
                                           P26                .EQU                6
                                           P23                .EQU                3
                                           P22                .EQU                2
                                           P21                .EQU                1
                                           P20                .EQU                0
                                           _P27               .EQU                7
                                           _P26               .EQU                6
                                           _P23               .EQU                3
                                           _P22               .EQU                2
                                           _P21               .EQU                1
                                           _P20               .EQU                0
                                           
                                           ;Address:0x07 P1 Bits-------------------
                                           P17                .EQU                7
                                           P16                .EQU                6
                                           P15                .EQU                5
                                           P13                .EQU                3
                                           P12                .EQU                2
                                           _P17               .EQU                7
                                           _P16               .EQU                6
                                           _P15               .EQU                5
                                           _P13               .EQU                3
                                           _P12               .EQU                2
                                           
                                           ;Address:0x08 P3 Bits-------------------
                                           P37                .EQU                7
                                           P36                .EQU                6
                                           P35                .EQU                5
                                           P34                .EQU                4
                                           P33                .EQU                3
                                           P31                .EQU                1
                                           P30                .EQU                0
                                           _P37               .EQU                7
                                           _P36               .EQU                6
                                           _P35               .EQU                5
                                           _P34               .EQU                4
                                           _P33               .EQU                3
                                           _P31               .EQU                1
                                           _P30               .EQU                0
                                           
                                           ;Address:0x09 P4 Bits-------------------
                                           P43                .EQU                3
                                           _P43               .EQU                3
                                           
                                           ;Address:0x0B INTCTL Bits---------------
                                           AIE                .EQU                7
                                           PUIE               .EQU                6
                                           T0IE               .EQU                5
                                           P0IE               .EQU                3
                                           T0IF               .EQU                2
                                           P0IF               .EQU                0
                                           _AIE               .EQU                7
                                           _PUIE              .EQU                6
                                           _T0IE              .EQU                5
                                           _P0IE              .EQU                3
                                           _T0IF              .EQU                2
                                           _P0IF              .EQU                0
                                           
                                           ;Address:0x0C EIF1 Bits-----------------
                                           CTIF               .EQU                7
                                           ADIF               .EQU                6
                                           INT2IF             .EQU                5
                                           INT1IF             .EQU                4
                                           C1IF               .EQU                3
                                           PWM2IF             .EQU                2
                                           T2IF               .EQU                1
                                           T1IF               .EQU                0
                                           _CTIF              .EQU                7
                                           _ADIF              .EQU                6
                                           _INT2IF            .EQU                5
                                           _INT1IF            .EQU                4
                                           _C1IF              .EQU                3
                                           _PWM2IF            .EQU                2
                                           _T2IF              .EQU                1
                                           _T1IF              .EQU                0
                                           
                                           ;Address:0x0D EIF2 Bits-----------------
                                           RXIF               .EQU                5
                                           TXIF               .EQU                4
                                           _RXIF              .EQU                5
                                           _TXIF              .EQU                4
                                           
                                           ;Address:0x10 T1CTL Bits----------------
                                           T1GC               .EQU                6
                                           T1CKS1             .EQU                5
                                           T1CKS0             .EQU                4
                                           T1SY               .EQU                2
                                           T1CS               .EQU                1
                                           T1ON               .EQU                0
                                           _T1GC              .EQU                6
                                           _T1CKS1            .EQU                5
                                           _T1CKS0            .EQU                4
                                           _T1SY              .EQU                2
                                           _T1CS              .EQU                1
                                           _T1ON              .EQU                0
                                           
                                           ;Address:0x15 PWMCTL Bits---------------
                                           INT2SE             .EQU                7
                                           INT1SE             .EQU                6
                                           _INT2SE            .EQU                7
                                           _INT1SE            .EQU                6
                                           
                                           ;Address:0x1A CMCTL1 Bits---------------
                                           CTCLKSEL1          .EQU                7
                                           CTCLKSEL0          .EQU                6
                                           CTVREFSEL1         .EQU                5
                                           CTVREFSEL0         .EQU                4
                                           _CTCLKSEL1         .EQU                7
                                           _CTCLKSEL0         .EQU                6
                                           _CTVREFSEL1        .EQU                5
                                           _CTVREFSEL0        .EQU                4
                                           
                                           ;Address:0x1D ANSEH Bits----------------
                                           ANS11              .EQU                3
                                           ANS10              .EQU                2
                                           _ANS11             .EQU                3
                                           _ANS10             .EQU                2
                                           
                                           ;Address:0x1F 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
                                           
                                           ;Address:0x21 OPTR Bits-----------------
                                           PUPH               .EQU                7
                                           T0CS               .EQU                5
                                           T0SE               .EQU                4
                                           PSA                .EQU                3
                                           PS2                .EQU                2
                                           PS1                .EQU                1
                                           PS0                .EQU                0
                                           _PUPH              .EQU                7
                                           _T0CS              .EQU                5
                                           _T0SE              .EQU                4
                                           _PSA               .EQU                3
                                           _PS2               .EQU                2
                                           _PS1               .EQU                1
                                           _PS0               .EQU                0
                                           
                                           ;Address:0x25 TR0 Bits------------------
                                           TR07               .EQU                7
                                           TR06               .EQU                6
                                           TR05               .EQU                5
                                           TR04               .EQU                4
                                           TR03               .EQU                3
                                           TR01               .EQU                1
                                           TR00               .EQU                0
                                           _TR07              .EQU                7
                                           _TR06              .EQU                6
                                           _TR05              .EQU                5
                                           _TR04              .EQU                4
                                           _TR03              .EQU                3
                                           _TR01              .EQU                1
                                           _TR00              .EQU                0
                                           
                                           ;Address:0x26 TR2 Bits------------------
                                           TR27               .EQU                7
                                           TR26               .EQU                6
                                           TR23               .EQU                3
                                           TR22               .EQU                2
                                           TR21               .EQU                1
                                           TR20               .EQU                0
                                           _TR27              .EQU                7
                                           _TR26              .EQU                6
                                           _TR23              .EQU                3
                                           _TR22              .EQU                2
                                           _TR21              .EQU                1
                                           _TR20              .EQU                0
                                           
                                           ;Address:0x27 TR1 Bits------------------
                                           TR17               .EQU                7
                                           TR16               .EQU                6
                                           TR15               .EQU                5
                                           TR13               .EQU                3
                                           TR12               .EQU                2
                                           _TR17              .EQU                7
                                           _TR16              .EQU                6
                                           _TR15              .EQU                5
                                           _TR13              .EQU                3
                                           _TR12              .EQU                2
                                           
                                           ;Address:0x28 TR3 Bits------------------
                                           TR37               .EQU                7
                                           TR36               .EQU                6
                                           TR35               .EQU                5
                                           TR34               .EQU                4
                                           TR33               .EQU                3
                                           TR31               .EQU                1
                                           TR30               .EQU                0
                                           _TR37              .EQU                7
                                           _TR36              .EQU                6
                                           _TR35              .EQU                5
                                           _TR34              .EQU                4
                                           _TR33              .EQU                3
                                           _TR31              .EQU                1
                                           _TR30              .EQU                0
                                           
                                           ;Address:0x29 TR4 Bits------------------
                                           TR43               .EQU                3
                                           _TR43              .EQU                3
                                           
                                           ;Address:0x2C EIE1 Bits-----------------
                                           CTIE               .EQU                7
                                           ADIE               .EQU                6
                                           INT2IE             .EQU                5
                                           INT1IE             .EQU                4
                                           C1IE               .EQU                3
                                           PWM2IE             .EQU                2
                                           T2IE               .EQU                1
                                           T1IE               .EQU                0
                                           _CTIE              .EQU                7
                                           _ADIE              .EQU                6
                                           _INT2IE            .EQU                5
                                           _INT1IE            .EQU                4
                                           _C1IE              .EQU                3
                                           _PWM2IE            .EQU                2
                                           _T2IE              .EQU                1
                                           _T1IE              .EQU                0
                                           
                                           ;Address:0x2D EIE2 Bits-----------------
                                           RXIE               .EQU                5
                                           TXIE               .EQU                4
                                           _RXIE              .EQU                5
                                           _TXIE              .EQU                4
                                           
                                           ;Address:0x2E PCTL Bits-----------------
                                           VREEN              .EQU                7
                                           VREOE              .EQU                6
                                           SLVREN             .EQU                4
                                           POR                .EQU                1
                                           LVR                .EQU                0
                                           _VREEN             .EQU                7
                                           _VREOE             .EQU                6
                                           _SLVREN            .EQU                4
                                           _POR               .EQU                1
                                           _LVR               .EQU                0
                                           
                                           ;Address:0x2F OSCCTL Bits---------------
                                           CKOEN              .EQU                7
                                           IRCS2              .EQU                6
                                           IRCS1              .EQU                5
                                           IRCS0              .EQU                4
                                           _CKOEN             .EQU                7
                                           _IRCS2             .EQU                6
                                           _IRCS1             .EQU                5
                                           _IRCS0             .EQU                4
                                           
                                           ;Address:0x31 ANSEL Bits----------------
                                           ANS7               .EQU                7
                                           ANS6               .EQU                6
                                           ANS4               .EQU                4
                                           ANS3               .EQU                3
                                           ANS1               .EQU                1
                                           ANS0               .EQU                0
                                           _ANS7              .EQU                7
                                           _ANS6              .EQU                6
                                           _ANS4              .EQU                4
                                           _ANS3              .EQU                3
                                           _ANS1              .EQU                1
                                           _ANS0              .EQU                0
                                           
                                           ;Address:0x35 PUR Bits------------------
                                           PUR7               .EQU                7
                                           PUR6               .EQU                6
                                           PUR5               .EQU                5
                                           PUR4               .EQU                4
                                           PUR1               .EQU                1
                                           PUR0               .EQU                0
                                           _PUR7              .EQU                7
                                           _PUR6              .EQU                6
                                           _PUR5              .EQU                5
                                           _PUR4              .EQU                4
                                           _PUR1              .EQU                1
                                           _PUR0              .EQU                0
                                           
                                           ;Address:0x36 IOCL Bits-----------------
                                           IOCL7              .EQU                7
                                           IOCL6              .EQU                6
                                           IOCL5              .EQU                5
                                           IOCL4              .EQU                4
                                           IOCL3              .EQU                3
                                           IOCL1              .EQU                1
                                           IOCL0              .EQU                0
                                           _IOCL7             .EQU                7
                                           _IOCL6             .EQU                6
                                           _IOCL5             .EQU                5
                                           _IOCL4             .EQU                4
                                           _IOCL3             .EQU                3
                                           _IOCL1             .EQU                1
                                           _IOCL0             .EQU                0
                                           
                                           ;Address:0x3F ADCCTL1 Bits--------------
                                           ADCS2              .EQU                6
                                           ADCS1              .EQU                5
                                           ADCS0              .EQU                4
                                           VCFG1              .EQU                3
                                           VCFG0              .EQU                2
                                           _ADCS2             .EQU                6
                                           _ADCS1             .EQU                5
                                           _ADCS0             .EQU                4
                                           _VCFG1             .EQU                3
                                           _VCFG0             .EQU                2
                                           
                                           ;Address:0x50 T3L Bits------------------
                                           T3L7               .EQU                7
                                           T3L6               .EQU                6
                                           T3L5               .EQU                5
                                           T3L4               .EQU                4
                                           T3L3               .EQU                3
                                           T3L2               .EQU                2
                                           T3L1               .EQU                1
                                           T3L0               .EQU                0
                                           _T3L7              .EQU                7
                                           _T3L6              .EQU                6
                                           _T3L5              .EQU                5
                                           _T3L4              .EQU                4
                                           _T3L3              .EQU                3
                                           _T3L2              .EQU                2
                                           _T3L1              .EQU                1
                                           _T3L0              .EQU                0
                                           
                                           ;Address:0x53 CTCTL Bits----------------
                                           CTEN               .EQU                7
                                           CTSTART            .EQU                6
                                           CTCAPS             .EQU                5
                                           CTCMS              .EQU                4
                                           CTCHSEL4           .EQU                4
                                           CTCHSEL3           .EQU                3
                                           CTCHSEL2           .EQU                2
                                           CTCHSEL1           .EQU                1
                                           CTCHSEL0           .EQU                0
                                           _CTEN              .EQU                7
                                           _CTSTART           .EQU                6
                                           _CTCAPS            .EQU                5
                                           _CTCMS             .EQU                4
                                           _CTCHSEL4          .EQU                4
                                           _CTCHSEL3          .EQU                3
                                           _CTCHSEL2          .EQU                2
                                           _CTCHSEL1          .EQU                1
                                           _CTCHSEL0          .EQU                0
                                           
                                           ;Address:0x58 RSCTL Bits----------------
                                           SPEN               .EQU                7
                                           RX9                .EQU                6
                                           SRXEN              .EQU                5
                                           CRXEN              .EQU                4
                                           ADREN              .EQU                3
                                           FRER               .EQU                2
                                           OVFER              .EQU                1
                                           RX9D               .EQU                0
                                           _SPEN              .EQU                7
                                           _RX9               .EQU                6
                                           _SRXEN             .EQU                5
                                           _CRXEN             .EQU                4
                                           _ADREN             .EQU                3
                                           _FRER              .EQU                2
                                           _OVFER             .EQU                1
                                           _RX9D              .EQU                0
                                           
                                           ;Address:0x5E OSCLDOCAL Bits------------
                                           
                                           ;Address:0x77 BRCTL Bits----------------
                                           ABRDOVF            .EQU                7
                                           RCIDLF             .EQU                6
                                           SCKPS              .EQU                4
                                           BRG16              .EQU                3
                                           WUEN               .EQU                1
                                           ADRBEN             .EQU                0
                                           _ABRDOVF           .EQU                7
                                           _RCIDLF            .EQU                6
                                           _SCKPS             .EQU                4
                                           _BRG16             .EQU                3
                                           _WUEN              .EQU                1
                                           _ADRBEN            .EQU                0
                                           
                                           ;Address:0x78 TSCTL Bits----------------
                                           CSRS               .EQU                7
                                           TX9                .EQU                6
                                           TXEN               .EQU                5
                                           SYNC               .EQU                4
                                           SENDB              .EQU                3
                                           HBRG               .EQU                2
                                           TXSRS              .EQU                1
                                           TX9D               .EQU                0
                                           _CSRS              .EQU                7
                                           _TX9               .EQU                6
                                           _TXEN              .EQU                5
                                           _SYNC              .EQU                4
                                           _SENDB             .EQU                3
                                           _HBRG              .EQU                2
                                           _TXSRS             .EQU                1
                                           _TX9D              .EQU                0
                                           
                                           ;Address:0x79 EUBRGL Bits---------------
                                           BRG7               .EQU                7
                                           BRG6               .EQU                6
                                           BRG5               .EQU                5
                                           BRG4               .EQU                4
                                           BRG3               .EQU                3
                                           BRG2               .EQU                2
                                           BRG1               .EQU                1
                                           BRG0               .EQU                0
                                           _BRG7              .EQU                7
                                           _BRG6              .EQU                6
                                           _BRG5              .EQU                5
                                           _BRG4              .EQU                4
                                           _BRG3              .EQU                3
                                           _BRG2              .EQU                2
                                           _BRG1              .EQU                1
                                           _BRG0              .EQU                0
                                           
                                           ;Address:0x7A EUBRGH Bits---------------
                                           BRG15              .EQU                7
                                           BRG14              .EQU                6
                                           BRG13              .EQU                5
                                           BRG12              .EQU                4
                                           BRG11              .EQU                3
                                           BRG10              .EQU                2
                                           BRG9               .EQU                1
                                           BRG8               .EQU                0
                                           _BRG15             .EQU                7
                                           _BRG14             .EQU                6
                                           _BRG13             .EQU                5
                                           _BRG12             .EQU                4
                                           _BRG11             .EQU                3
                                           _BRG10             .EQU                2
                                           _BRG9              .EQU                1
                                           _BRG8              .EQU                0
                                            
                                            
                                           ;--------------------------------------------------------
                                           ; config word(s)
                                           ;--------------------------------------------------------
                                           	__config 0x4c0
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           
                                           	.extern STK12
                                           	.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 : aolisn inc.
                                           ; Version 3.0.4#6752 (Jul  6 2017 15:09:47) (MSVC)
                                           ; This file was generated Wed Apr 04 14:50:56 2018
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../debug_touch.c"
                                           	.radix dec
                                           	.include "KF8S1011.inc"
                                           
                                           ;************************************************************ 
                                           ;       Header file for the KungFu8 
                                           ;       KF8S1011 
                                           ;       Microcontroller
                                           ; 
                                           ;       Copyright 2012-2013 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
                                           P4                .EQU                0x09
                                           PCH               .EQU                0x0A
                                           INTCTL            .EQU                0x0B
                                           EIF1              .EQU                0x0C
                                           EIF2              .EQU                0x0D
                                           T1L               .EQU                0x0E
                                           T1H               .EQU                0x0F
                                           T1CTL             .EQU                0x10
                                           PWMCTL            .EQU                0x15
                                           CMCTL1            .EQU                0x1A
                                           VRECAL            .EQU                0x1C
                                           ANSEH             .EQU                0x1D
                                           ADCDATAH          .EQU                0x1E
                                           ADCCTL0           .EQU                0x1F
                                           OPTR              .EQU                0x21
                                           TR0               .EQU                0x25
                                           TR2               .EQU                0x26
                                           TR1               .EQU                0x27
                                           TR3               .EQU                0x28
                                           TR4               .EQU                0x29
                                           EIE1              .EQU                0x2C
                                           EIE2              .EQU                0x2D
                                           PCTL              .EQU                0x2E
                                           OSCCTL            .EQU                0x2F
                                           OSCCAL0           .EQU                0x30
                                           ANSEL             .EQU                0x31
                                           PUR               .EQU                0x35
                                           IOCL              .EQU                0x36
                                           OSCCAL1           .EQU                0x37
                                           BADDRH            .EQU                0x3A
                                           BADDRL            .EQU                0x3B
                                           EECTL1            .EQU                0x3C
                                           EECTL2            .EQU                0x3D
                                           ADCDATAL          .EQU                0x3E
                                           ADCCTL1           .EQU                0x3F
                                           T3L               .EQU                0x50
                                           CTCTL             .EQU                0x53
                                           RSCTL             .EQU                0x58
                                           TXSDR             .EQU                0x59
                                           RXSDR             .EQU                0x5A
                                           OSCLDOCAL         .EQU                0x5E
                                           T1U               .EQU                0x5F
                                           BRCTL             .EQU                0x77
                                           TSCTL             .EQU                0x78
                                           EUBRGL            .EQU                0x79
                                           EUBRGH            .EQU                0x7A
                                            
                                            
                                           
                                           ;Address:0x03 PSW Bits------------------
                                           RP0                .EQU                5
                                           TO                 .EQU                4
                                           PD                 .EQU                3
                                           Z                  .EQU                2
                                           DC                 .EQU                1
                                           CY                 .EQU                0
                                           _RP0               .EQU                5
                                           _TO                .EQU                4
                                           _PD                .EQU                3
                                           _Z                 .EQU                2
                                           _DC                .EQU                1
                                           _CY                .EQU                0
                                           
                                           ;Address:0x05 P0 Bits-------------------
                                           P07                .EQU                7
                                           P06                .EQU                6
                                           P05                .EQU                5
                                           P04                .EQU                4
                                           P03                .EQU                3
                                           P01                .EQU                1
                                           P00                .EQU                0
                                           _P07               .EQU                7
                                           _P06               .EQU                6
                                           _P05               .EQU                5
                                           _P04               .EQU                4
                                           _P03               .EQU                3
                                           _P01               .EQU                1
                                           _P00               .EQU                0
                                           
                                           ;Address:0x06 P2 Bits-------------------
                                           P27                .EQU                7
                                           P26                .EQU                6
                                           P23                .EQU                3
                                           P22                .EQU                2
                                           P21                .EQU                1
                                           P20                .EQU                0
                                           _P27               .EQU                7
                                           _P26               .EQU                6
                                           _P23               .EQU                3
                                           _P22               .EQU                2
                                           _P21               .EQU                1
                                           _P20               .EQU                0
                                           
                                           ;Address:0x07 P1 Bits-------------------
                                           P17                .EQU                7
                                           P16                .EQU                6
                                           P15                .EQU                5
                                           P13                .EQU                3
                                           P12                .EQU                2
                                           _P17               .EQU                7
                                           _P16               .EQU                6
                                           _P15               .EQU                5
                                           _P13               .EQU                3
                                           _P12               .EQU                2
                                           
                                           ;Address:0x08 P3 Bits-------------------
                                           P37                .EQU                7
                                           P36                .EQU                6
                                           P35                .EQU                5
                                           P34                .EQU                4
                                           P33                .EQU                3
                                           P31                .EQU                1
                                           P30                .EQU                0
                                           _P37               .EQU                7
                                           _P36               .EQU                6
                                           _P35               .EQU                5
                                           _P34               .EQU                4
                                           _P33               .EQU                3
                                           _P31               .EQU                1
                                           _P30               .EQU                0
                                           
                                           ;Address:0x09 P4 Bits-------------------
                                           P43                .EQU                3
                                           _P43               .EQU                3
                                           
                                           ;Address:0x0B INTCTL Bits---------------
                                           AIE                .EQU                7
                                           PUIE               .EQU                6
                                           T0IE               .EQU                5
                                           P0IE               .EQU                3
                                           T0IF               .EQU                2
                                           P0IF               .EQU                0
                                           _AIE               .EQU                7
                                           _PUIE              .EQU                6
                                           _T0IE              .EQU                5
                                           _P0IE              .EQU                3
                                           _T0IF              .EQU                2
                                           _P0IF              .EQU                0
                                           
                                           ;Address:0x0C EIF1 Bits-----------------
                                           CTIF               .EQU                7
                                           ADIF               .EQU                6
                                           INT2IF             .EQU                5
                                           INT1IF             .EQU                4
                                           C1IF               .EQU                3
                                           PWM2IF             .EQU                2
                                           T2IF               .EQU                1
                                           T1IF               .EQU                0
                                           _CTIF              .EQU                7
                                           _ADIF              .EQU                6
                                           _INT2IF            .EQU                5
                                           _INT1IF            .EQU                4
                                           _C1IF              .EQU                3
                                           _PWM2IF            .EQU                2
                                           _T2IF              .EQU                1
                                           _T1IF              .EQU                0
                                           
                                           ;Address:0x0D EIF2 Bits-----------------
                                           RXIF               .EQU                5
                                           TXIF               .EQU                4
                                           _RXIF              .EQU                5
                                           _TXIF              .EQU                4
                                           
                                           ;Address:0x10 T1CTL Bits----------------
                                           T1GC               .EQU                6
                                           T1CKS1             .EQU                5
                                           T1CKS0             .EQU                4
                                           T1SY               .EQU                2
                                           T1CS               .EQU                1
                                           T1ON               .EQU                0
                                           _T1GC              .EQU                6
                                           _T1CKS1            .EQU                5
                                           _T1CKS0            .EQU                4
                                           _T1SY              .EQU                2
                                           _T1CS              .EQU                1
                                           _T1ON              .EQU                0
                                           
                                           ;Address:0x15 PWMCTL Bits---------------
                                           INT2SE             .EQU                7
                                           INT1SE             .EQU                6
                                           _INT2SE            .EQU                7
                                           _INT1SE            .EQU                6
                                           
                                           ;Address:0x1A CMCTL1 Bits---------------
                                           CTCLKSEL1          .EQU                7
                                           CTCLKSEL0          .EQU                6
                                           CTVREFSEL1         .EQU                5
                                           CTVREFSEL0         .EQU                4
                                           _CTCLKSEL1         .EQU                7
                                           _CTCLKSEL0         .EQU                6
                                           _CTVREFSEL1        .EQU                5
                                           _CTVREFSEL0        .EQU                4
                                           
                                           ;Address:0x1D ANSEH Bits----------------
                                           ANS11              .EQU                3
                                           ANS10              .EQU                2
                                           _ANS11             .EQU                3
                                           _ANS10             .EQU                2
                                           
                                           ;Address:0x1F 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
                                           
                                           ;Address:0x21 OPTR Bits-----------------
                                           PUPH               .EQU                7
                                           T0CS               .EQU                5
                                           T0SE               .EQU                4
                                           PSA                .EQU                3
                                           PS2                .EQU                2
                                           PS1                .EQU                1
                                           PS0                .EQU                0
                                           _PUPH              .EQU                7
                                           _T0CS              .EQU                5
                                           _T0SE              .EQU                4
                                           _PSA               .EQU                3
                                           _PS2               .EQU                2
                                           _PS1               .EQU                1
                                           _PS0               .EQU                0
                                           
                                           ;Address:0x25 TR0 Bits------------------
                                           TR07               .EQU                7
                                           TR06               .EQU                6
                                           TR05               .EQU                5
                                           TR04               .EQU                4
                                           TR03               .EQU                3
                                           TR01               .EQU                1
                                           TR00               .EQU                0
                                           _TR07              .EQU                7
                                           _TR06              .EQU                6
                                           _TR05              .EQU                5
                                           _TR04              .EQU                4
                                           _TR03              .EQU                3
                                           _TR01              .EQU                1
                                           _TR00              .EQU                0
                                           
                                           ;Address:0x26 TR2 Bits------------------
                                           TR27               .EQU                7
                                           TR26               .EQU                6
                                           TR23               .EQU                3
                                           TR22               .EQU                2
                                           TR21               .EQU                1
                                           TR20               .EQU                0
                                           _TR27              .EQU                7
                                           _TR26              .EQU                6
                                           _TR23              .EQU                3
                                           _TR22              .EQU                2
                                           _TR21              .EQU                1
                                           _TR20              .EQU                0
                                           
                                           ;Address:0x27 TR1 Bits------------------
                                           TR17               .EQU                7
                                           TR16               .EQU                6
                                           TR15               .EQU                5
                                           TR13               .EQU                3
                                           TR12               .EQU                2
                                           _TR17              .EQU                7
                                           _TR16              .EQU                6
                                           _TR15              .EQU                5
                                           _TR13              .EQU                3
                                           _TR12              .EQU                2
                                           
                                           ;Address:0x28 TR3 Bits------------------
                                           TR37               .EQU                7
                                           TR36               .EQU                6
                                           TR35               .EQU                5
                                           TR34               .EQU                4
                                           TR33               .EQU                3
                                           TR31               .EQU                1
                                           TR30               .EQU                0
                                           _TR37              .EQU                7
                                           _TR36              .EQU                6
                                           _TR35              .EQU                5
                                           _TR34              .EQU                4
                                           _TR33              .EQU                3
                                           _TR31              .EQU                1
                                           _TR30              .EQU                0
                                           
                                           ;Address:0x29 TR4 Bits------------------
                                           TR43               .EQU                3
                                           _TR43              .EQU                3
                                           
                                           ;Address:0x2C EIE1 Bits-----------------
                                           CTIE               .EQU                7
                                           ADIE               .EQU                6
                                           INT2IE             .EQU                5
                                           INT1IE             .EQU                4
                                           C1IE               .EQU                3
                                           PWM2IE             .EQU                2
                                           T2IE               .EQU                1
                                           T1IE               .EQU                0
                                           _CTIE              .EQU                7
                                           _ADIE              .EQU                6
                                           _INT2IE            .EQU                5
                                           _INT1IE            .EQU                4
                                           _C1IE              .EQU                3
                                           _PWM2IE            .EQU                2
                                           _T2IE              .EQU                1
                                           _T1IE              .EQU                0
                                           
                                           ;Address:0x2D EIE2 Bits-----------------
                                           RXIE               .EQU                5
                                           TXIE               .EQU                4
                                           _RXIE              .EQU                5
                                           _TXIE              .EQU                4
                                           
                                           ;Address:0x2E PCTL Bits-----------------
                                           VREEN              .EQU                7
                                           VREOE              .EQU                6
                                           SLVREN             .EQU                4
                                           POR                .EQU                1
                                           LVR                .EQU                0
                                           _VREEN             .EQU                7
                                           _VREOE             .EQU                6
                                           _SLVREN            .EQU                4
                                           _POR               .EQU                1
                                           _LVR               .EQU                0
                                           
                                           ;Address:0x2F OSCCTL Bits---------------
                                           CKOEN              .EQU                7
                                           IRCS2              .EQU                6
                                           IRCS1              .EQU                5
                                           IRCS0              .EQU                4
                                           _CKOEN             .EQU                7
                                           _IRCS2             .EQU                6
                                           _IRCS1             .EQU                5
                                           _IRCS0             .EQU                4
                                           
                                           ;Address:0x31 ANSEL Bits----------------
                                           ANS7               .EQU                7
                                           ANS6               .EQU                6
                                           ANS4               .EQU                4
                                           ANS3               .EQU                3
                                           ANS1               .EQU                1
                                           ANS0               .EQU                0
                                           _ANS7              .EQU                7
                                           _ANS6              .EQU                6
                                           _ANS4              .EQU                4
                                           _ANS3              .EQU                3
                                           _ANS1              .EQU                1
                                           _ANS0              .EQU                0
                                           
                                           ;Address:0x35 PUR Bits------------------
                                           PUR7               .EQU                7
                                           PUR6               .EQU                6
                                           PUR5               .EQU                5
                                           PUR4               .EQU                4
                                           PUR1               .EQU                1
                                           PUR0               .EQU                0
                                           _PUR7              .EQU                7
                                           _PUR6              .EQU                6
                                           _PUR5              .EQU                5
                                           _PUR4              .EQU                4
                                           _PUR1              .EQU                1
                                           _PUR0              .EQU                0
                                           
                                           ;Address:0x36 IOCL Bits-----------------
                                           IOCL7              .EQU                7
                                           IOCL6              .EQU                6
                                           IOCL5              .EQU                5
                                           IOCL4              .EQU                4
                                           IOCL3              .EQU                3
                                           IOCL1              .EQU                1
                                           IOCL0              .EQU                0
                                           _IOCL7             .EQU                7
                                           _IOCL6             .EQU                6
                                           _IOCL5             .EQU                5
                                           _IOCL4             .EQU                4
                                           _IOCL3             .EQU                3
                                           _IOCL1             .EQU                1
                                           _IOCL0             .EQU                0
                                           
                                           ;Address:0x3F ADCCTL1 Bits--------------
                                           ADCS2              .EQU                6
                                           ADCS1              .EQU                5
                                           ADCS0              .EQU                4
                                           VCFG1              .EQU                3
                                           VCFG0              .EQU                2
                                           _ADCS2             .EQU                6
                                           _ADCS1             .EQU                5
                                           _ADCS0             .EQU                4
                                           _VCFG1             .EQU                3
                                           _VCFG0             .EQU                2
                                           
                                           ;Address:0x50 T3L Bits------------------
                                           T3L7               .EQU                7
                                           T3L6               .EQU                6
                                           T3L5               .EQU                5
                                           T3L4               .EQU                4
                                           T3L3               .EQU                3
                                           T3L2               .EQU                2
                                           T3L1               .EQU                1
                                           T3L0               .EQU                0
                                           _T3L7              .EQU                7
                                           _T3L6              .EQU                6
                                           _T3L5              .EQU                5
                                           _T3L4              .EQU                4
                                           _T3L3              .EQU                3
                                           _T3L2              .EQU                2
                                           _T3L1              .EQU                1
                                           _T3L0              .EQU                0
                                           
                                           ;Address:0x53 CTCTL Bits----------------
                                           CTEN               .EQU                7
                                           CTSTART            .EQU                6
                                           CTCAPS             .EQU                5
                                           CTCMS              .EQU                4
                                           CTCHSEL4           .EQU                4
                                           CTCHSEL3           .EQU                3
                                           CTCHSEL2           .EQU                2
                                           CTCHSEL1           .EQU                1
                                           CTCHSEL0           .EQU                0
                                           _CTEN              .EQU                7
                                           _CTSTART           .EQU                6
                                           _CTCAPS            .EQU                5
                                           _CTCMS             .EQU                4
                                           _CTCHSEL4          .EQU                4
                                           _CTCHSEL3          .EQU                3
                                           _CTCHSEL2          .EQU                2
                                           _CTCHSEL1          .EQU                1
                                           _CTCHSEL0          .EQU                0
                                           
                                           ;Address:0x58 RSCTL Bits----------------
                                           SPEN               .EQU                7
                                           RX9                .EQU                6
                                           SRXEN              .EQU                5
                                           CRXEN              .EQU                4
                                           ADREN              .EQU                3
                                           FRER               .EQU                2
                                           OVFER              .EQU                1
                                           RX9D               .EQU                0
                                           _SPEN              .EQU                7
                                           _RX9               .EQU                6
                                           _SRXEN             .EQU                5
                                           _CRXEN             .EQU                4
                                           _ADREN             .EQU                3
                                           _FRER              .EQU                2
                                           _OVFER             .EQU                1
                                           _RX9D              .EQU                0
                                           
                                           ;Address:0x5E OSCLDOCAL Bits------------
                                           
                                           ;Address:0x77 BRCTL Bits----------------
                                           ABRDOVF            .EQU                7
                                           RCIDLF             .EQU                6
                                           SCKPS              .EQU                4
                                           BRG16              .EQU                3
                                           WUEN               .EQU                1
                                           ADRBEN             .EQU                0
                                           _ABRDOVF           .EQU                7
                                           _RCIDLF            .EQU                6
                                           _SCKPS             .EQU                4
                                           _BRG16             .EQU                3
                                           _WUEN              .EQU                1
                                           _ADRBEN            .EQU                0
                                           
                                           ;Address:0x78 TSCTL Bits----------------
                                           CSRS               .EQU                7
                                           TX9                .EQU                6
                                           TXEN               .EQU                5
                                           SYNC               .EQU                4
                                           SENDB              .EQU                3
                                           HBRG               .EQU                2
                                           TXSRS              .EQU                1
                                           TX9D               .EQU                0
                                           _CSRS              .EQU                7
                                           _TX9               .EQU                6
                                           _TXEN              .EQU                5
                                           _SYNC              .EQU                4
                                           _SENDB             .EQU                3
                                           _HBRG              .EQU                2
                                           _TXSRS             .EQU                1
                                           _TX9D              .EQU                0
                                           
                                           ;Address:0x79 EUBRGL Bits---------------
                                           BRG7               .EQU                7
                                           BRG6               .EQU                6
                                           BRG5               .EQU                5
                                           BRG4               .EQU                4
                                           BRG3               .EQU                3
                                           BRG2               .EQU                2
                                           BRG1               .EQU                1
                                           BRG0               .EQU                0
                                           _BRG7              .EQU                7
                                           _BRG6              .EQU                6
                                           _BRG5              .EQU                5
                                           _BRG4              .EQU                4
                                           _BRG3              .EQU                3
                                           _BRG2              .EQU                2
                                           _BRG1              .EQU                1
                                           _BRG0              .EQU                0
                                           
                                           ;Address:0x7A EUBRGH Bits---------------
                                           BRG15              .EQU                7
                                           BRG14              .EQU                6
                                           BRG13              .EQU                5
                                           BRG12              .EQU                4
                                           BRG11              .EQU                3
                                           BRG10              .EQU                2
                                           BRG9               .EQU                1
                                           BRG8               .EQU                0
                                           _BRG15             .EQU                7
                                           _BRG14             .EQU                6
                                           _BRG13             .EQU                5
                                           _BRG12             .EQU                4
                                           _BRG11             .EQU                3
                                           _BRG10             .EQU                2
                                           _BRG9              .EQU                1
                                           _BRG8              .EQU                0
                                            
                                            
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           	.extern	_init_mcu
                                           	.extern	__KF8S_Get_Ver_General_
                                           	.extern	__KF8S_Lib_Set_General_Parameter
                                           	.extern	__KF8S_Init_Touch_General_
                                           	.extern	__KF8S_Touch_Process_General_
                                           	.extern	__KF8S_Touch_TEST_General_
                                           	.extern	_delay_ms
                                           	.extern	_delay_us
                                           	.extern	__R2PCL
                                           	.extern	_PSW_bits
                                           	.extern	_P0_bits
                                           	.extern	_P2_bits
                                           	.extern	_P1_bits
                                           	.extern	_P3_bits
                                           	.extern	_P4_bits
                                           	.extern	_INTCTL_bits
                                           	.extern	_EIF1_bits
                                           	.extern	_EIF2_bits
                                           	.extern	_T1CTL_bits
                                           	.extern	_PWMCTL_bits
                                           	.extern	_CMCTL1_bits
                                           	.extern	_ANSEH_bits
                                           	.extern	_ADCCTL0_bits
                                           	.extern	_OPTR_bits
                                           	.extern	_TR0_bits
                                           	.extern	_TR2_bits
                                           	.extern	_TR1_bits
                                           	.extern	_TR3_bits
                                           	.extern	_TR4_bits
                                           	.extern	_EIE1_bits
                                           	.extern	_EIE2_bits
                                           	.extern	_PCTL_bits
                                           	.extern	_OSCCTL_bits
                                           	.extern	_ANSEL_bits
                                           	.extern	_PUR_bits
                                           	.extern	_IOCL_bits
                                           	.extern	_ADCCTL1_bits
                                           	.extern	_T3L_bits
                                           	.extern	_CTCTL_bits
                                           	.extern	_RSCTL_bits
                                           	.extern	_OSCLDOCAL_bits
                                           	.extern	_BRCTL_bits
                                           	.extern	_TSCTL_bits
                                           	.extern	_EUBRGL_bits
                                           	.extern	_EUBRGH_bits
                                           	.extern	__KF8_LIBi_channel_flag_
                                           	.extern	__KF8_LIBc_channel_
                                           	.extern	__KF8_LIBc_channel_Buf
                                           	.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	_P3
                                           	.extern	_P4
                                           	.extern	_PCH
                                           	.extern	_INTCTL
                                           	.extern	_EIF1
                                           	.extern	_EIF2
                                           	.extern	_T1L
                                           	.extern	_T1H
                                           	.extern	_T1CTL
                                           	.extern	_PWMCTL
                                           	.extern	_CMCTL1
                                           	.extern	_VRECAL
                                           	.extern	_ANSEH
                                           	.extern	_ADCDATAH
                                           	.extern	_ADCCTL0
                                           	.extern	_OPTR
                                           	.extern	_TR0
                                           	.extern	_TR2
                                           	.extern	_TR1
                                           	.extern	_TR3
                                           	.extern	_TR4
                                           	.extern	_EIE1
                                           	.extern	_EIE2
                                           	.extern	_PCTL
                                           	.extern	_OSCCTL
                                           	.extern	_OSCCAL0
                                           	.extern	_ANSEL
                                           	.extern	_PUR
                                           	.extern	_IOCL
                                           	.extern	_OSCCAL1
                                           	.extern	_BADDRH
                                           	.extern	_BADDRL
                                           	.extern	_EECTL1
                                           	.extern	_EECTL2
                                           	.extern	_ADCDATAL
                                           	.extern	_ADCCTL1
                                           	.extern	_T3L
                                           	.extern	_CTCTL
                                           	.extern	_RSCTL
                                           	.extern	_TXSDR
                                           	.extern	_RXSDR
                                           	.extern	_OSCLDOCAL
                                           	.extern	_T1U
                                           	.extern	_BRCTL
                                           	.extern	_TSCTL
                                           	.extern	_EUBRGL
                                           	.extern	_EUBRGH
                                           
                                           	.extern STK12
                                           	.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;
                                           	SET	_TR0_bits, 1
                                           ;	op : =
                                           ;	.line	323; "../debug_touch.c"	DAT_SET_IN;
                                           	SET	_TR0_bits, 0
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	324; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	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)
                                           	JB	_P0_bits, 1
                                           	JMP	_00078_DS_
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	330; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	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)
                                           	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)
                                           	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;
                                           	CLR	_TR0_bits, 1
                                           ;	op : =
                                           ;	.line	343; "../debug_touch.c"	CLK_SET_LOW;
                                           	CLR	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	344; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	346; "../debug_touch.c"	CLK_SET_HIGH;		//ÉÏÉýÑØ
                                           	SET	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	348; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	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;
                                           	JB	_P0_bits, 0
                                           ;	.line	355; "../debug_touch.c"	CLK_SET_LOW;			//ÏÂ½µÑØ
                                           	JMP	_00116_DS_
                                           	CLR	_P0_bits, 1
                                           ;	.line	358; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	360; "../debug_touch.c"	DAT_SET_OUT;
                                           	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;
                                           	SET	_P0_bits, 0
                                           ;	op : GOTO
                                           	JMP	_00090_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00089_DS_
                                           ;	.line	409; "../debug_touch.c"	DAT_SET_LOW;
                                           	CLR	_P0_bits, 0
                                           ;	op : LABEL
                                           ;	op : =
                                           _00090_DS_
                                           ;	.line	411; "../debug_touch.c"	CLK_SET_HIGH;
                                           	SET	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	412; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	414; "../debug_touch.c"	CLK_SET_LOW;
                                           	CLR	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	415; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	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,# 0x6e
                                           	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;
                                           	SET	_TR0_bits, 0
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	425; "../debug_touch.c"	Touch_Delay2;	//±à³ÌÆ÷ÅÐ¶ÏÐèÒªÊ±¼ä
                                           	MOV	R0,# 0x6e
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	427; "../debug_touch.c"	CLK_SET_HIGH;
                                           	SET	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	428; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	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,# 0x05
                                           	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,# 0x05
                                           	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)
                                           	JB	_P0_bits, 0
                                           	JMP	_00102_DS_
                                           ;	op : =
                                           ;	.line	435; "../debug_touch.c"	CLK_SET_LOW;
                                           	CLR	_P0_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,# 0x05
                                           	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;
                                           	SET	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	441; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	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)
                                           	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)
                                           	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;
                                           	CLR	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	480; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	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;
                                           	CLR	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	486; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	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;
                                           	SET	_TR0_bits, 1
                                           ;	op : =
                                           ;	.line	490; "../debug_touch.c"	DAT_SET_IN;
                                           	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;
                                           	SET	_TR0_bits, 1
                                           ;	op : =
                                           ;	.line	65; "../debug_touch.c"	DAT_SET_IN;
                                           	SET	_TR0_bits, 0
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	66; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	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)
                                           	JB	_P0_bits, 1
                                           	JMP	_00007_DS_
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	72; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	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)
                                           	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)
                                           	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;
                                           	CLR	_TR0_bits, 1
                                           ;	op : =
                                           ;	.line	85; "../debug_touch.c"	CLK_SET_LOW;
                                           	CLR	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	86; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	88; "../debug_touch.c"	CLK_SET_HIGH;		//ÉÏÉýÑØ
                                           	SET	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	90; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	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;
                                           	JB	_P0_bits, 0
                                           ;	.line	97; "../debug_touch.c"	CLK_SET_LOW;			//ÏÂ½µÑØ
                                           	JMP	_00045_DS_
                                           	CLR	_P0_bits, 1
                                           ;	.line	101; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	102; "../debug_touch.c"	DAT_SET_OUT;
                                           	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;
                                           	SET	_P0_bits, 0
                                           ;	op : GOTO
                                           	JMP	_00019_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00018_DS_
                                           ;	.line	219; "../debug_touch.c"	DAT_SET_LOW;
                                           	CLR	_P0_bits, 0
                                           ;	op : LABEL
                                           ;	op : =
                                           _00019_DS_
                                           ;	.line	221; "../debug_touch.c"	CLK_SET_HIGH;
                                           	SET	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	222; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	224; "../debug_touch.c"	CLK_SET_LOW;
                                           	CLR	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	225; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	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,# 0x6e
                                           	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;
                                           	SET	_TR0_bits, 0
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	235; "../debug_touch.c"	Touch_Delay2;	//±à³ÌÆ÷ÅÐ¶ÏÐèÒªÊ±¼ä
                                           	MOV	R0,# 0x6e
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	237; "../debug_touch.c"	CLK_SET_HIGH;
                                           	SET	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	238; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	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,# 0x05
                                           	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,# 0x05
                                           	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)
                                           	JB	_P0_bits, 0
                                           	JMP	_00031_DS_
                                           ;	op : =
                                           ;	.line	245; "../debug_touch.c"	CLK_SET_LOW;
                                           	CLR	_P0_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,# 0x05
                                           	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;
                                           	SET	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	251; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	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)
                                           	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)
                                           	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;
                                           	CLR	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	290; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	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;
                                           	CLR	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	296; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	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;
                                           	SET	_TR0_bits, 1
                                           ;	op : =
                                           ;	.line	300; "../debug_touch.c"	DAT_SET_IN;
                                           	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+   91 =   511 instructions ( 1204 byte)
                                           
                                           
                                           	.end
                                           ;--------------------------------------------------------
                                           ; File Created by ChiponCC : aolisn inc.
                                           ; Version 3.0.4#6752 (Jul  6 2017 15:09:47) (MSVC)
                                           ; This file was generated Wed Apr 04 14:50:59 2018
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../init_mcu.c"
                                           	.radix dec
                                           	.include "KF8S1011.inc"
                                           
                                           ;************************************************************ 
                                           ;       Header file for the KungFu8 
                                           ;       KF8S1011 
                                           ;       Microcontroller
                                           ; 
                                           ;       Copyright 2012-2013 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
                                           P4                .EQU                0x09
                                           PCH               .EQU                0x0A
                                           INTCTL            .EQU                0x0B
                                           EIF1              .EQU                0x0C
                                           EIF2              .EQU                0x0D
                                           T1L               .EQU                0x0E
                                           T1H               .EQU                0x0F
                                           T1CTL             .EQU                0x10
                                           PWMCTL            .EQU                0x15
                                           CMCTL1            .EQU                0x1A
                                           VRECAL            .EQU                0x1C
                                           ANSEH             .EQU                0x1D
                                           ADCDATAH          .EQU                0x1E
                                           ADCCTL0           .EQU                0x1F
                                           OPTR              .EQU                0x21
                                           TR0               .EQU                0x25
                                           TR2               .EQU                0x26
                                           TR1               .EQU                0x27
                                           TR3               .EQU                0x28
                                           TR4               .EQU                0x29
                                           EIE1              .EQU                0x2C
                                           EIE2              .EQU                0x2D
                                           PCTL              .EQU                0x2E
                                           OSCCTL            .EQU                0x2F
                                           OSCCAL0           .EQU                0x30
                                           ANSEL             .EQU                0x31
                                           PUR               .EQU                0x35
                                           IOCL              .EQU                0x36
                                           OSCCAL1           .EQU                0x37
                                           BADDRH            .EQU                0x3A
                                           BADDRL            .EQU                0x3B
                                           EECTL1            .EQU                0x3C
                                           EECTL2            .EQU                0x3D
                                           ADCDATAL          .EQU                0x3E
                                           ADCCTL1           .EQU                0x3F
                                           T3L               .EQU                0x50
                                           CTCTL             .EQU                0x53
                                           RSCTL             .EQU                0x58
                                           TXSDR             .EQU                0x59
                                           RXSDR             .EQU                0x5A
                                           OSCLDOCAL         .EQU                0x5E
                                           T1U               .EQU                0x5F
                                           BRCTL             .EQU                0x77
                                           TSCTL             .EQU                0x78
                                           EUBRGL            .EQU                0x79
                                           EUBRGH            .EQU                0x7A
                                            
                                            
                                           
                                           ;Address:0x03 PSW Bits------------------
                                           RP0                .EQU                5
                                           TO                 .EQU                4
                                           PD                 .EQU                3
                                           Z                  .EQU                2
                                           DC                 .EQU                1
                                           CY                 .EQU                0
                                           _RP0               .EQU                5
                                           _TO                .EQU                4
                                           _PD                .EQU                3
                                           _Z                 .EQU                2
                                           _DC                .EQU                1
                                           _CY                .EQU                0
                                           
                                           ;Address:0x05 P0 Bits-------------------
                                           P07                .EQU                7
                                           P06                .EQU                6
                                           P05                .EQU                5
                                           P04                .EQU                4
                                           P03                .EQU                3
                                           P01                .EQU                1
                                           P00                .EQU                0
                                           _P07               .EQU                7
                                           _P06               .EQU                6
                                           _P05               .EQU                5
                                           _P04               .EQU                4
                                           _P03               .EQU                3
                                           _P01               .EQU                1
                                           _P00               .EQU                0
                                           
                                           ;Address:0x06 P2 Bits-------------------
                                           P27                .EQU                7
                                           P26                .EQU                6
                                           P23                .EQU                3
                                           P22                .EQU                2
                                           P21                .EQU                1
                                           P20                .EQU                0
                                           _P27               .EQU                7
                                           _P26               .EQU                6
                                           _P23               .EQU                3
                                           _P22               .EQU                2
                                           _P21               .EQU                1
                                           _P20               .EQU                0
                                           
                                           ;Address:0x07 P1 Bits-------------------
                                           P17                .EQU                7
                                           P16                .EQU                6
                                           P15                .EQU                5
                                           P13                .EQU                3
                                           P12                .EQU                2
                                           _P17               .EQU                7
                                           _P16               .EQU                6
                                           _P15               .EQU                5
                                           _P13               .EQU                3
                                           _P12               .EQU                2
                                           
                                           ;Address:0x08 P3 Bits-------------------
                                           P37                .EQU                7
                                           P36                .EQU                6
                                           P35                .EQU                5
                                           P34                .EQU                4
                                           P33                .EQU                3
                                           P31                .EQU                1
                                           P30                .EQU                0
                                           _P37               .EQU                7
                                           _P36               .EQU                6
                                           _P35               .EQU                5
                                           _P34               .EQU                4
                                           _P33               .EQU                3
                                           _P31               .EQU                1
                                           _P30               .EQU                0
                                           
                                           ;Address:0x09 P4 Bits-------------------
                                           P43                .EQU                3
                                           _P43               .EQU                3
                                           
                                           ;Address:0x0B INTCTL Bits---------------
                                           AIE                .EQU                7
                                           PUIE               .EQU                6
                                           T0IE               .EQU                5
                                           P0IE               .EQU                3
                                           T0IF               .EQU                2
                                           P0IF               .EQU                0
                                           _AIE               .EQU                7
                                           _PUIE              .EQU                6
                                           _T0IE              .EQU                5
                                           _P0IE              .EQU                3
                                           _T0IF              .EQU                2
                                           _P0IF              .EQU                0
                                           
                                           ;Address:0x0C EIF1 Bits-----------------
                                           CTIF               .EQU                7
                                           ADIF               .EQU                6
                                           INT2IF             .EQU                5
                                           INT1IF             .EQU                4
                                           C1IF               .EQU                3
                                           PWM2IF             .EQU                2
                                           T2IF               .EQU                1
                                           T1IF               .EQU                0
                                           _CTIF              .EQU                7
                                           _ADIF              .EQU                6
                                           _INT2IF            .EQU                5
                                           _INT1IF            .EQU                4
                                           _C1IF              .EQU                3
                                           _PWM2IF            .EQU                2
                                           _T2IF              .EQU                1
                                           _T1IF              .EQU                0
                                           
                                           ;Address:0x0D EIF2 Bits-----------------
                                           RXIF               .EQU                5
                                           TXIF               .EQU                4
                                           _RXIF              .EQU                5
                                           _TXIF              .EQU                4
                                           
                                           ;Address:0x10 T1CTL Bits----------------
                                           T1GC               .EQU                6
                                           T1CKS1             .EQU                5
                                           T1CKS0             .EQU                4
                                           T1SY               .EQU                2
                                           T1CS               .EQU                1
                                           T1ON               .EQU                0
                                           _T1GC              .EQU                6
                                           _T1CKS1            .EQU                5
                                           _T1CKS0            .EQU                4
                                           _T1SY              .EQU                2
                                           _T1CS              .EQU                1
                                           _T1ON              .EQU                0
                                           
                                           ;Address:0x15 PWMCTL Bits---------------
                                           INT2SE             .EQU                7
                                           INT1SE             .EQU                6
                                           _INT2SE            .EQU                7
                                           _INT1SE            .EQU                6
                                           
                                           ;Address:0x1A CMCTL1 Bits---------------
                                           CTCLKSEL1          .EQU                7
                                           CTCLKSEL0          .EQU                6
                                           CTVREFSEL1         .EQU                5
                                           CTVREFSEL0         .EQU                4
                                           _CTCLKSEL1         .EQU                7
                                           _CTCLKSEL0         .EQU                6
                                           _CTVREFSEL1        .EQU                5
                                           _CTVREFSEL0        .EQU                4
                                           
                                           ;Address:0x1D ANSEH Bits----------------
                                           ANS11              .EQU                3
                                           ANS10              .EQU                2
                                           _ANS11             .EQU                3
                                           _ANS10             .EQU                2
                                           
                                           ;Address:0x1F 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
                                           
                                           ;Address:0x21 OPTR Bits-----------------
                                           PUPH               .EQU                7
                                           T0CS               .EQU                5
                                           T0SE               .EQU                4
                                           PSA                .EQU                3
                                           PS2                .EQU                2
                                           PS1                .EQU                1
                                           PS0                .EQU                0
                                           _PUPH              .EQU                7
                                           _T0CS              .EQU                5
                                           _T0SE              .EQU                4
                                           _PSA               .EQU                3
                                           _PS2               .EQU                2
                                           _PS1               .EQU                1
                                           _PS0               .EQU                0
                                           
                                           ;Address:0x25 TR0 Bits------------------
                                           TR07               .EQU                7
                                           TR06               .EQU                6
                                           TR05               .EQU                5
                                           TR04               .EQU                4
                                           TR03               .EQU                3
                                           TR01               .EQU                1
                                           TR00               .EQU                0
                                           _TR07              .EQU                7
                                           _TR06              .EQU                6
                                           _TR05              .EQU                5
                                           _TR04              .EQU                4
                                           _TR03              .EQU                3
                                           _TR01              .EQU                1
                                           _TR00              .EQU                0
                                           
                                           ;Address:0x26 TR2 Bits------------------
                                           TR27               .EQU                7
                                           TR26               .EQU                6
                                           TR23               .EQU                3
                                           TR22               .EQU                2
                                           TR21               .EQU                1
                                           TR20               .EQU                0
                                           _TR27              .EQU                7
                                           _TR26              .EQU                6
                                           _TR23              .EQU                3
                                           _TR22              .EQU                2
                                           _TR21              .EQU                1
                                           _TR20              .EQU                0
                                           
                                           ;Address:0x27 TR1 Bits------------------
                                           TR17               .EQU                7
                                           TR16               .EQU                6
                                           TR15               .EQU                5
                                           TR13               .EQU                3
                                           TR12               .EQU                2
                                           _TR17              .EQU                7
                                           _TR16              .EQU                6
                                           _TR15              .EQU                5
                                           _TR13              .EQU                3
                                           _TR12              .EQU                2
                                           
                                           ;Address:0x28 TR3 Bits------------------
                                           TR37               .EQU                7
                                           TR36               .EQU                6
                                           TR35               .EQU                5
                                           TR34               .EQU                4
                                           TR33               .EQU                3
                                           TR31               .EQU                1
                                           TR30               .EQU                0
                                           _TR37              .EQU                7
                                           _TR36              .EQU                6
                                           _TR35              .EQU                5
                                           _TR34              .EQU                4
                                           _TR33              .EQU                3
                                           _TR31              .EQU                1
                                           _TR30              .EQU                0
                                           
                                           ;Address:0x29 TR4 Bits------------------
                                           TR43               .EQU                3
                                           _TR43              .EQU                3
                                           
                                           ;Address:0x2C EIE1 Bits-----------------
                                           CTIE               .EQU                7
                                           ADIE               .EQU                6
                                           INT2IE             .EQU                5
                                           INT1IE             .EQU                4
                                           C1IE               .EQU                3
                                           PWM2IE             .EQU                2
                                           T2IE               .EQU                1
                                           T1IE               .EQU                0
                                           _CTIE              .EQU                7
                                           _ADIE              .EQU                6
                                           _INT2IE            .EQU                5
                                           _INT1IE            .EQU                4
                                           _C1IE              .EQU                3
                                           _PWM2IE            .EQU                2
                                           _T2IE              .EQU                1
                                           _T1IE              .EQU                0
                                           
                                           ;Address:0x2D EIE2 Bits-----------------
                                           RXIE               .EQU                5
                                           TXIE               .EQU                4
                                           _RXIE              .EQU                5
                                           _TXIE              .EQU                4
                                           
                                           ;Address:0x2E PCTL Bits-----------------
                                           VREEN              .EQU                7
                                           VREOE              .EQU                6
                                           SLVREN             .EQU                4
                                           POR                .EQU                1
                                           LVR                .EQU                0
                                           _VREEN             .EQU                7
                                           _VREOE             .EQU                6
                                           _SLVREN            .EQU                4
                                           _POR               .EQU                1
                                           _LVR               .EQU                0
                                           
                                           ;Address:0x2F OSCCTL Bits---------------
                                           CKOEN              .EQU                7
                                           IRCS2              .EQU                6
                                           IRCS1              .EQU                5
                                           IRCS0              .EQU                4
                                           _CKOEN             .EQU                7
                                           _IRCS2             .EQU                6
                                           _IRCS1             .EQU                5
                                           _IRCS0             .EQU                4
                                           
                                           ;Address:0x31 ANSEL Bits----------------
                                           ANS7               .EQU                7
                                           ANS6               .EQU                6
                                           ANS4               .EQU                4
                                           ANS3               .EQU                3
                                           ANS1               .EQU                1
                                           ANS0               .EQU                0
                                           _ANS7              .EQU                7
                                           _ANS6              .EQU                6
                                           _ANS4              .EQU                4
                                           _ANS3              .EQU                3
                                           _ANS1              .EQU                1
                                           _ANS0              .EQU                0
                                           
                                           ;Address:0x35 PUR Bits------------------
                                           PUR7               .EQU                7
                                           PUR6               .EQU                6
                                           PUR5               .EQU                5
                                           PUR4               .EQU                4
                                           PUR1               .EQU                1
                                           PUR0               .EQU                0
                                           _PUR7              .EQU                7
                                           _PUR6              .EQU                6
                                           _PUR5              .EQU                5
                                           _PUR4              .EQU                4
                                           _PUR1              .EQU                1
                                           _PUR0              .EQU                0
                                           
                                           ;Address:0x36 IOCL Bits-----------------
                                           IOCL7              .EQU                7
                                           IOCL6              .EQU                6
                                           IOCL5              .EQU                5
                                           IOCL4              .EQU                4
                                           IOCL3              .EQU                3
                                           IOCL1              .EQU                1
                                           IOCL0              .EQU                0
                                           _IOCL7             .EQU                7
                                           _IOCL6             .EQU                6
                                           _IOCL5             .EQU                5
                                           _IOCL4             .EQU                4
                                           _IOCL3             .EQU                3
                                           _IOCL1             .EQU                1
                                           _IOCL0             .EQU                0
                                           
                                           ;Address:0x3F ADCCTL1 Bits--------------
                                           ADCS2              .EQU                6
                                           ADCS1              .EQU                5
                                           ADCS0              .EQU                4
                                           VCFG1              .EQU                3
                                           VCFG0              .EQU                2
                                           _ADCS2             .EQU                6
                                           _ADCS1             .EQU                5
                                           _ADCS0             .EQU                4
                                           _VCFG1             .EQU                3
                                           _VCFG0             .EQU                2
                                           
                                           ;Address:0x50 T3L Bits------------------
                                           T3L7               .EQU                7
                                           T3L6               .EQU                6
                                           T3L5               .EQU                5
                                           T3L4               .EQU                4
                                           T3L3               .EQU                3
                                           T3L2               .EQU                2
                                           T3L1               .EQU                1
                                           T3L0               .EQU                0
                                           _T3L7              .EQU                7
                                           _T3L6              .EQU                6
                                           _T3L5              .EQU                5
                                           _T3L4              .EQU                4
                                           _T3L3              .EQU                3
                                           _T3L2              .EQU                2
                                           _T3L1              .EQU                1
                                           _T3L0              .EQU                0
                                           
                                           ;Address:0x53 CTCTL Bits----------------
                                           CTEN               .EQU                7
                                           CTSTART            .EQU                6
                                           CTCAPS             .EQU                5
                                           CTCMS              .EQU                4
                                           CTCHSEL4           .EQU                4
                                           CTCHSEL3           .EQU                3
                                           CTCHSEL2           .EQU                2
                                           CTCHSEL1           .EQU                1
                                           CTCHSEL0           .EQU                0
                                           _CTEN              .EQU                7
                                           _CTSTART           .EQU                6
                                           _CTCAPS            .EQU                5
                                           _CTCMS             .EQU                4
                                           _CTCHSEL4          .EQU                4
                                           _CTCHSEL3          .EQU                3
                                           _CTCHSEL2          .EQU                2
                                           _CTCHSEL1          .EQU                1
                                           _CTCHSEL0          .EQU                0
                                           
                                           ;Address:0x58 RSCTL Bits----------------
                                           SPEN               .EQU                7
                                           RX9                .EQU                6
                                           SRXEN              .EQU                5
                                           CRXEN              .EQU                4
                                           ADREN              .EQU                3
                                           FRER               .EQU                2
                                           OVFER              .EQU                1
                                           RX9D               .EQU                0
                                           _SPEN              .EQU                7
                                           _RX9               .EQU                6
                                           _SRXEN             .EQU                5
                                           _CRXEN             .EQU                4
                                           _ADREN             .EQU                3
                                           _FRER              .EQU                2
                                           _OVFER             .EQU                1
                                           _RX9D              .EQU                0
                                           
                                           ;Address:0x5E OSCLDOCAL Bits------------
                                           
                                           ;Address:0x77 BRCTL Bits----------------
                                           ABRDOVF            .EQU                7
                                           RCIDLF             .EQU                6
                                           SCKPS              .EQU                4
                                           BRG16              .EQU                3
                                           WUEN               .EQU                1
                                           ADRBEN             .EQU                0
                                           _ABRDOVF           .EQU                7
                                           _RCIDLF            .EQU                6
                                           _SCKPS             .EQU                4
                                           _BRG16             .EQU                3
                                           _WUEN              .EQU                1
                                           _ADRBEN            .EQU                0
                                           
                                           ;Address:0x78 TSCTL Bits----------------
                                           CSRS               .EQU                7
                                           TX9                .EQU                6
                                           TXEN               .EQU                5
                                           SYNC               .EQU                4
                                           SENDB              .EQU                3
                                           HBRG               .EQU                2
                                           TXSRS              .EQU                1
                                           TX9D               .EQU                0
                                           _CSRS              .EQU                7
                                           _TX9               .EQU                6
                                           _TXEN              .EQU                5
                                           _SYNC              .EQU                4
                                           _SENDB             .EQU                3
                                           _HBRG              .EQU                2
                                           _TXSRS             .EQU                1
                                           _TX9D              .EQU                0
                                           
                                           ;Address:0x79 EUBRGL Bits---------------
                                           BRG7               .EQU                7
                                           BRG6               .EQU                6
                                           BRG5               .EQU                5
                                           BRG4               .EQU                4
                                           BRG3               .EQU                3
                                           BRG2               .EQU                2
                                           BRG1               .EQU                1
                                           BRG0               .EQU                0
                                           _BRG7              .EQU                7
                                           _BRG6              .EQU                6
                                           _BRG5              .EQU                5
                                           _BRG4              .EQU                4
                                           _BRG3              .EQU                3
                                           _BRG2              .EQU                2
                                           _BRG1              .EQU                1
                                           _BRG0              .EQU                0
                                           
                                           ;Address:0x7A EUBRGH Bits---------------
                                           BRG15              .EQU                7
                                           BRG14              .EQU                6
                                           BRG13              .EQU                5
                                           BRG12              .EQU                4
                                           BRG11              .EQU                3
                                           BRG10              .EQU                2
                                           BRG9               .EQU                1
                                           BRG8               .EQU                0
                                           _BRG15             .EQU                7
                                           _BRG14             .EQU                6
                                           _BRG13             .EQU                5
                                           _BRG12             .EQU                4
                                           _BRG11             .EQU                3
                                           _BRG10             .EQU                2
                                           _BRG9              .EQU                1
                                           _BRG8              .EQU                0
                                            
                                            
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           	.extern	_PSW_bits
                                           	.extern	_P0_bits
                                           	.extern	_P2_bits
                                           	.extern	_P1_bits
                                           	.extern	_P3_bits
                                           	.extern	_P4_bits
                                           	.extern	_INTCTL_bits
                                           	.extern	_EIF1_bits
                                           	.extern	_EIF2_bits
                                           	.extern	_T1CTL_bits
                                           	.extern	_PWMCTL_bits
                                           	.extern	_CMCTL1_bits
                                           	.extern	_ANSEH_bits
                                           	.extern	_ADCCTL0_bits
                                           	.extern	_OPTR_bits
                                           	.extern	_TR0_bits
                                           	.extern	_TR2_bits
                                           	.extern	_TR1_bits
                                           	.extern	_TR3_bits
                                           	.extern	_TR4_bits
                                           	.extern	_EIE1_bits
                                           	.extern	_EIE2_bits
                                           	.extern	_PCTL_bits
                                           	.extern	_OSCCTL_bits
                                           	.extern	_ANSEL_bits
                                           	.extern	_PUR_bits
                                           	.extern	_IOCL_bits
                                           	.extern	_ADCCTL1_bits
                                           	.extern	_T3L_bits
                                           	.extern	_CTCTL_bits
                                           	.extern	_RSCTL_bits
                                           	.extern	_OSCLDOCAL_bits
                                           	.extern	_BRCTL_bits
                                           	.extern	_TSCTL_bits
                                           	.extern	_EUBRGL_bits
                                           	.extern	_EUBRGH_bits
                                           	.extern	_T0
                                           	.extern	_PCL
                                           	.extern	_PSW
                                           	.extern	_P0
                                           	.extern	_P2
                                           	.extern	_P1
                                           	.extern	_P3
                                           	.extern	_P4
                                           	.extern	_PCH
                                           	.extern	_INTCTL
                                           	.extern	_EIF1
                                           	.extern	_EIF2
                                           	.extern	_T1L
                                           	.extern	_T1H
                                           	.extern	_T1CTL
                                           	.extern	_PWMCTL
                                           	.extern	_CMCTL1
                                           	.extern	_VRECAL
                                           	.extern	_ANSEH
                                           	.extern	_ADCDATAH
                                           	.extern	_ADCCTL0
                                           	.extern	_OPTR
                                           	.extern	_TR0
                                           	.extern	_TR2
                                           	.extern	_TR1
                                           	.extern	_TR3
                                           	.extern	_TR4
                                           	.extern	_EIE1
                                           	.extern	_EIE2
                                           	.extern	_PCTL
                                           	.extern	_OSCCTL
                                           	.extern	_OSCCAL0
                                           	.extern	_ANSEL
                                           	.extern	_PUR
                                           	.extern	_IOCL
                                           	.extern	_OSCCAL1
                                           	.extern	_BADDRH
                                           	.extern	_BADDRL
                                           	.extern	_EECTL1
                                           	.extern	_EECTL2
                                           	.extern	_ADCDATAL
                                           	.extern	_ADCCTL1
                                           	.extern	_T3L
                                           	.extern	_CTCTL
                                           	.extern	_RSCTL
                                           	.extern	_TXSDR
                                           	.extern	_RXSDR
                                           	.extern	_OSCLDOCAL
                                           	.extern	_T1U
                                           	.extern	_BRCTL
                                           	.extern	_TSCTL
                                           	.extern	_EUBRGL
                                           	.extern	_EUBRGH
                                           
                                           	.extern STK12
                                           	.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 = 0x60;           //8M
000574   9860     MOV	R0, #0x60            	MOV	R0,# 0x60
000575   512f     MOV	0x2f, R0             	MOV	_OSCCTL, R0
                                           ;	op : =
                                           ;	.line	21; "../init_mcu.c"	TR0 = 0XFF;              //1111 1111		P07,P06´¥ÃþÍ¨µÀ0,1   ÉèÖÃIO¿ÚÎªÊäÈë
000576   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
000577   5125     MOV	0x25, R0             	MOV	_TR0, R0
                                           ;	op : =
                                           ;	.line	22; "../init_mcu.c"	TR1 = 0XFF;              //1111 1111		P16,P17´¥ÃþÍ¨µÀ2,3  ÉèÖÃIO¿ÚÎªÊäÈë
000578   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
000579   5127     MOV	0x27, R0             	MOV	_TR1, R0
                                           ;	op : =
                                           ;	.line	23; "../init_mcu.c"	TR2 = 0X3F;              //0111 1111		P20,P21´¥ÃþÍ¨µÀ4,5  ÉèÖÃIO¿ÚÎªÊäÈë
00057a   983f     MOV	R0, #0x3f            	MOV	R0,# 0x3f
00057b   5126     MOV	0x26, R0             	MOV	_TR2, R0
                                           ;	op : =
                                           ;	.line	24; "../init_mcu.c"	TR3 = 0X06;				 //0000 0110                   ¡¶P32ÉèÖÃ³ÉÊäÈë¿Ú¡·
00057c   9806     MOV	R0, #0x6             	MOV	R0,# 0x06
00057d   5128     MOV	0x28, R0             	MOV	_TR3, R0
                                           ;	op : =
                                           ;	.line	25; "../init_mcu.c"	TR4 = 0XFF;				 //1111 1111
00057e   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
00057f   5129     MOV	0x29, R0             	MOV	_TR4, R0
                                           ;	op : =
                                           ;	.line	27; "../init_mcu.c"	P0 = 0X00;               //0000 0000
000580   0305     CLR	0x5                  	CLR	_P0
                                           ;	op : =
                                           ;	.line	28; "../init_mcu.c"	P1 = 0X00;               //0000 0000
000581   0307     CLR	0x7                  	CLR	_P1
                                           ;	op : =
                                           ;	.line	29; "../init_mcu.c"	P2 = 0x00;               //0000 0000
000582   0306     CLR	0x6                  	CLR	_P2
                                           ;	op : =
                                           ;	.line	30; "../init_mcu.c"	P3 = 0XFD;				 //1111 1101		Ï¨ÃðËùÓÐLEDµÆ
000583   98fd     MOV	R0, #0xfd            	MOV	R0,# 0xfd
000584   5108     MOV	0x8, R0              	MOV	_P3, R0
                                           ;	op : =
                                           ;	.line	31; "../init_mcu.c"	P4 = 0X00;
000585   0309     CLR	0x9                  	CLR	_P4
                                           ;	op : |
                                           ;	.line	34; "../init_mcu.c"	ANSEL |= 1<<6;			 //Íâ¹ÒµçÈÝ½ÅÉèÖÃÎªÄ£Äâ¿Ú
000586   6e31     SET	0x31, 6              	SET	_ANSEL, 6
                                           ;	op : =
                                           ;	.line	37; "../init_mcu.c"	T1CTL = 0X00;    		 //1£º1·ÖÆµ£¬²»¿ªÆô¼ÆÊýÆ÷T1
000587   0310     CLR	0x10                 	CLR	_T1CTL
                                           ;	op : =
                                           ;	.line	38; "../init_mcu.c"	T1L = 0;
000588   030e     CLR	0xe                  	CLR	_T1L
                                           ;	op : =
                                           ;	.line	39; "../init_mcu.c"	T1H = 0;
000589   030f     CLR	0xf                  	CLR	_T1H
                                           ;	op : =
                                           ;	.line	40; "../init_mcu.c"	T1IF = 0;
00058a   600c     CLR	0xc, 0               	CLR	_EIF1_bits, 0
                                           ;	op : =
                                           ;	.line	41; "../init_mcu.c"	AIE = 0;
00058b   670b     CLR	0xb, 7               	CLR	_INTCTL_bits, 7
                                           ;	op : =
                                           ;	.line	45; "../init_mcu.c"	TSCTL=0x22; // È«Ë«¹¤ £¬8Î» ·¢ËÍÊ¹ÄÜ£¬µÍËÙÄ£Ê½£¬·¢ËÍ»º´æ¿Õ,µÍËÙµÄ
00058c   9822     MOV	R0, #0x22            	MOV	R0,# 0x22
00058d   5178     MOV	0x78, R0             	MOV	_TSCTL, R0
                                           ;	op : =
                                           ;	.line	46; "../init_mcu.c"	RSCTL=0xB0;// ´®¿ÚÊ¹ÄÜ£¬ÎÞ´íÎó£¬8Î»ÎÞµØÖ·¸ÅÄî£¬Ê¹ÄÜ£¬µ¥×Ö½Ú½ÓÊÕ
00058e   98b0     MOV	R0, #0xb0            	MOV	R0,# 0xb0
00058f   5158     MOV	0x58, R0             	MOV	_RSCTL, R0
                                           ;	op : =
                                           ;	.line	47; "../init_mcu.c"	BRCTL=0x48; //16Î»²¨ÌØÂÊ·¢ËÍÆ÷
000590   9848     MOV	R0, #0x48            	MOV	R0,# 0x48
000591   5177     MOV	0x77, R0             	MOV	_BRCTL, R0
                                           ;	op : =
                                           ;	.line	48; "../init_mcu.c"	EUBRGL=0x19; 		//     0x33  9600     0x19  19.2    0x3F  10417
000592   9819     MOV	R0, #0x19            	MOV	R0,# 0x19
000593   5179     MOV	0x79, R0             	MOV	_EUBRGL, R0
                                           ;	op : =
                                           ;	.line	49; "../init_mcu.c"	TXIE=0;
000594   642d     CLR	0x2d, 4              	CLR	_EIE2_bits, 4
                                           ;	op : =
                                           ;	.line	50; "../init_mcu.c"	TXIF=0;
000595   640d     CLR	0xd, 4               	CLR	_EIF2_bits, 4
                                           ;	op : =
                                           ;	.line	51; "../init_mcu.c"	RXIF=0;
000596   650d     CLR	0xd, 5               	CLR	_EIF2_bits, 5
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
000597   0008     CRET                     	CRET	
                                           ; exit point of _init_mcu
                                           
                                           
                                           ;	code size estimation:
                                           ;	   36+    0 =    36 instructions (   72 byte)
                                           
                                           
                                           	.end
                                           ;--------------------------------------------------------
                                           ; File Created by ChiponCC : aolisn inc.
                                           ; Version 3.0.4#6752 (Jul  6 2017 15:09:47) (MSVC)
                                           ; This file was generated Wed Apr 04 14:51:01 2018
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../kf8s_touch_g.c"
                                           	.radix dec
                                           	.include "KF8S1011.inc"
                                           
                                           ;************************************************************ 
                                           ;       Header file for the KungFu8 
                                           ;       KF8S1011 
                                           ;       Microcontroller
                                           ; 
                                           ;       Copyright 2012-2013 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
                                           P4                .EQU                0x09
                                           PCH               .EQU                0x0A
                                           INTCTL            .EQU                0x0B
                                           EIF1              .EQU                0x0C
                                           EIF2              .EQU                0x0D
                                           T1L               .EQU                0x0E
                                           T1H               .EQU                0x0F
                                           T1CTL             .EQU                0x10
                                           PWMCTL            .EQU                0x15
                                           CMCTL1            .EQU                0x1A
                                           VRECAL            .EQU                0x1C
                                           ANSEH             .EQU                0x1D
                                           ADCDATAH          .EQU                0x1E
                                           ADCCTL0           .EQU                0x1F
                                           OPTR              .EQU                0x21
                                           TR0               .EQU                0x25
                                           TR2               .EQU                0x26
                                           TR1               .EQU                0x27
                                           TR3               .EQU                0x28
                                           TR4               .EQU                0x29
                                           EIE1              .EQU                0x2C
                                           EIE2              .EQU                0x2D
                                           PCTL              .EQU                0x2E
                                           OSCCTL            .EQU                0x2F
                                           OSCCAL0           .EQU                0x30
                                           ANSEL             .EQU                0x31
                                           PUR               .EQU                0x35
                                           IOCL              .EQU                0x36
                                           OSCCAL1           .EQU                0x37
                                           BADDRH            .EQU                0x3A
                                           BADDRL            .EQU                0x3B
                                           EECTL1            .EQU                0x3C
                                           EECTL2            .EQU                0x3D
                                           ADCDATAL          .EQU                0x3E
                                           ADCCTL1           .EQU                0x3F
                                           T3L               .EQU                0x50
                                           CTCTL             .EQU                0x53
                                           RSCTL             .EQU                0x58
                                           TXSDR             .EQU                0x59
                                           RXSDR             .EQU                0x5A
                                           OSCLDOCAL         .EQU                0x5E
                                           T1U               .EQU                0x5F
                                           BRCTL             .EQU                0x77
                                           TSCTL             .EQU                0x78
                                           EUBRGL            .EQU                0x79
                                           EUBRGH            .EQU                0x7A
                                            
                                            
                                           
                                           ;Address:0x03 PSW Bits------------------
                                           RP0                .EQU                5
                                           TO                 .EQU                4
                                           PD                 .EQU                3
                                           Z                  .EQU                2
                                           DC                 .EQU                1
                                           CY                 .EQU                0
                                           _RP0               .EQU                5
                                           _TO                .EQU                4
                                           _PD                .EQU                3
                                           _Z                 .EQU                2
                                           _DC                .EQU                1
                                           _CY                .EQU                0
                                           
                                           ;Address:0x05 P0 Bits-------------------
                                           P07                .EQU                7
                                           P06                .EQU                6
                                           P05                .EQU                5
                                           P04                .EQU                4
                                           P03                .EQU                3
                                           P01                .EQU                1
                                           P00                .EQU                0
                                           _P07               .EQU                7
                                           _P06               .EQU                6
                                           _P05               .EQU                5
                                           _P04               .EQU                4
                                           _P03               .EQU                3
                                           _P01               .EQU                1
                                           _P00               .EQU                0
                                           
                                           ;Address:0x06 P2 Bits-------------------
                                           P27                .EQU                7
                                           P26                .EQU                6
                                           P23                .EQU                3
                                           P22                .EQU                2
                                           P21                .EQU                1
                                           P20                .EQU                0
                                           _P27               .EQU                7
                                           _P26               .EQU                6
                                           _P23               .EQU                3
                                           _P22               .EQU                2
                                           _P21               .EQU                1
                                           _P20               .EQU                0
                                           
                                           ;Address:0x07 P1 Bits-------------------
                                           P17                .EQU                7
                                           P16                .EQU                6
                                           P15                .EQU                5
                                           P13                .EQU                3
                                           P12                .EQU                2
                                           _P17               .EQU                7
                                           _P16               .EQU                6
                                           _P15               .EQU                5
                                           _P13               .EQU                3
                                           _P12               .EQU                2
                                           
                                           ;Address:0x08 P3 Bits-------------------
                                           P37                .EQU                7
                                           P36                .EQU                6
                                           P35                .EQU                5
                                           P34                .EQU                4
                                           P33                .EQU                3
                                           P31                .EQU                1
                                           P30                .EQU                0
                                           _P37               .EQU                7
                                           _P36               .EQU                6
                                           _P35               .EQU                5
                                           _P34               .EQU                4
                                           _P33               .EQU                3
                                           _P31               .EQU                1
                                           _P30               .EQU                0
                                           
                                           ;Address:0x09 P4 Bits-------------------
                                           P43                .EQU                3
                                           _P43               .EQU                3
                                           
                                           ;Address:0x0B INTCTL Bits---------------
                                           AIE                .EQU                7
                                           PUIE               .EQU                6
                                           T0IE               .EQU                5
                                           P0IE               .EQU                3
                                           T0IF               .EQU                2
                                           P0IF               .EQU                0
                                           _AIE               .EQU                7
                                           _PUIE              .EQU                6
                                           _T0IE              .EQU                5
                                           _P0IE              .EQU                3
                                           _T0IF              .EQU                2
                                           _P0IF              .EQU                0
                                           
                                           ;Address:0x0C EIF1 Bits-----------------
                                           CTIF               .EQU                7
                                           ADIF               .EQU                6
                                           INT2IF             .EQU                5
                                           INT1IF             .EQU                4
                                           C1IF               .EQU                3
                                           PWM2IF             .EQU                2
                                           T2IF               .EQU                1
                                           T1IF               .EQU                0
                                           _CTIF              .EQU                7
                                           _ADIF              .EQU                6
                                           _INT2IF            .EQU                5
                                           _INT1IF            .EQU                4
                                           _C1IF              .EQU                3
                                           _PWM2IF            .EQU                2
                                           _T2IF              .EQU                1
                                           _T1IF              .EQU                0
                                           
                                           ;Address:0x0D EIF2 Bits-----------------
                                           RXIF               .EQU                5
                                           TXIF               .EQU                4
                                           _RXIF              .EQU                5
                                           _TXIF              .EQU                4
                                           
                                           ;Address:0x10 T1CTL Bits----------------
                                           T1GC               .EQU                6
                                           T1CKS1             .EQU                5
                                           T1CKS0             .EQU                4
                                           T1SY               .EQU                2
                                           T1CS               .EQU                1
                                           T1ON               .EQU                0
                                           _T1GC              .EQU                6
                                           _T1CKS1            .EQU                5
                                           _T1CKS0            .EQU                4
                                           _T1SY              .EQU                2
                                           _T1CS              .EQU                1
                                           _T1ON              .EQU                0
                                           
                                           ;Address:0x15 PWMCTL Bits---------------
                                           INT2SE             .EQU                7
                                           INT1SE             .EQU                6
                                           _INT2SE            .EQU                7
                                           _INT1SE            .EQU                6
                                           
                                           ;Address:0x1A CMCTL1 Bits---------------
                                           CTCLKSEL1          .EQU                7
                                           CTCLKSEL0          .EQU                6
                                           CTVREFSEL1         .EQU                5
                                           CTVREFSEL0         .EQU                4
                                           _CTCLKSEL1         .EQU                7
                                           _CTCLKSEL0         .EQU                6
                                           _CTVREFSEL1        .EQU                5
                                           _CTVREFSEL0        .EQU                4
                                           
                                           ;Address:0x1D ANSEH Bits----------------
                                           ANS11              .EQU                3
                                           ANS10              .EQU                2
                                           _ANS11             .EQU                3
                                           _ANS10             .EQU                2
                                           
                                           ;Address:0x1F 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
                                           
                                           ;Address:0x21 OPTR Bits-----------------
                                           PUPH               .EQU                7
                                           T0CS               .EQU                5
                                           T0SE               .EQU                4
                                           PSA                .EQU                3
                                           PS2                .EQU                2
                                           PS1                .EQU                1
                                           PS0                .EQU                0
                                           _PUPH              .EQU                7
                                           _T0CS              .EQU                5
                                           _T0SE              .EQU                4
                                           _PSA               .EQU                3
                                           _PS2               .EQU                2
                                           _PS1               .EQU                1
                                           _PS0               .EQU                0
                                           
                                           ;Address:0x25 TR0 Bits------------------
                                           TR07               .EQU                7
                                           TR06               .EQU                6
                                           TR05               .EQU                5
                                           TR04               .EQU                4
                                           TR03               .EQU                3
                                           TR01               .EQU                1
                                           TR00               .EQU                0
                                           _TR07              .EQU                7
                                           _TR06              .EQU                6
                                           _TR05              .EQU                5
                                           _TR04              .EQU                4
                                           _TR03              .EQU                3
                                           _TR01              .EQU                1
                                           _TR00              .EQU                0
                                           
                                           ;Address:0x26 TR2 Bits------------------
                                           TR27               .EQU                7
                                           TR26               .EQU                6
                                           TR23               .EQU                3
                                           TR22               .EQU                2
                                           TR21               .EQU                1
                                           TR20               .EQU                0
                                           _TR27              .EQU                7
                                           _TR26              .EQU                6
                                           _TR23              .EQU                3
                                           _TR22              .EQU                2
                                           _TR21              .EQU                1
                                           _TR20              .EQU                0
                                           
                                           ;Address:0x27 TR1 Bits------------------
                                           TR17               .EQU                7
                                           TR16               .EQU                6
                                           TR15               .EQU                5
                                           TR13               .EQU                3
                                           TR12               .EQU                2
                                           _TR17              .EQU                7
                                           _TR16              .EQU                6
                                           _TR15              .EQU                5
                                           _TR13              .EQU                3
                                           _TR12              .EQU                2
                                           
                                           ;Address:0x28 TR3 Bits------------------
                                           TR37               .EQU                7
                                           TR36               .EQU                6
                                           TR35               .EQU                5
                                           TR34               .EQU                4
                                           TR33               .EQU                3
                                           TR31               .EQU                1
                                           TR30               .EQU                0
                                           _TR37              .EQU                7
                                           _TR36              .EQU                6
                                           _TR35              .EQU                5
                                           _TR34              .EQU                4
                                           _TR33              .EQU                3
                                           _TR31              .EQU                1
                                           _TR30              .EQU                0
                                           
                                           ;Address:0x29 TR4 Bits------------------
                                           TR43               .EQU                3
                                           _TR43              .EQU                3
                                           
                                           ;Address:0x2C EIE1 Bits-----------------
                                           CTIE               .EQU                7
                                           ADIE               .EQU                6
                                           INT2IE             .EQU                5
                                           INT1IE             .EQU                4
                                           C1IE               .EQU                3
                                           PWM2IE             .EQU                2
                                           T2IE               .EQU                1
                                           T1IE               .EQU                0
                                           _CTIE              .EQU                7
                                           _ADIE              .EQU                6
                                           _INT2IE            .EQU                5
                                           _INT1IE            .EQU                4
                                           _C1IE              .EQU                3
                                           _PWM2IE            .EQU                2
                                           _T2IE              .EQU                1
                                           _T1IE              .EQU                0
                                           
                                           ;Address:0x2D EIE2 Bits-----------------
                                           RXIE               .EQU                5
                                           TXIE               .EQU                4
                                           _RXIE              .EQU                5
                                           _TXIE              .EQU                4
                                           
                                           ;Address:0x2E PCTL Bits-----------------
                                           VREEN              .EQU                7
                                           VREOE              .EQU                6
                                           SLVREN             .EQU                4
                                           POR                .EQU                1
                                           LVR                .EQU                0
                                           _VREEN             .EQU                7
                                           _VREOE             .EQU                6
                                           _SLVREN            .EQU                4
                                           _POR               .EQU                1
                                           _LVR               .EQU                0
                                           
                                           ;Address:0x2F OSCCTL Bits---------------
                                           CKOEN              .EQU                7
                                           IRCS2              .EQU                6
                                           IRCS1              .EQU                5
                                           IRCS0              .EQU                4
                                           _CKOEN             .EQU                7
                                           _IRCS2             .EQU                6
                                           _IRCS1             .EQU                5
                                           _IRCS0             .EQU                4
                                           
                                           ;Address:0x31 ANSEL Bits----------------
                                           ANS7               .EQU                7
                                           ANS6               .EQU                6
                                           ANS4               .EQU                4
                                           ANS3               .EQU                3
                                           ANS1               .EQU                1
                                           ANS0               .EQU                0
                                           _ANS7              .EQU                7
                                           _ANS6              .EQU                6
                                           _ANS4              .EQU                4
                                           _ANS3              .EQU                3
                                           _ANS1              .EQU                1
                                           _ANS0              .EQU                0
                                           
                                           ;Address:0x35 PUR Bits------------------
                                           PUR7               .EQU                7
                                           PUR6               .EQU                6
                                           PUR5               .EQU                5
                                           PUR4               .EQU                4
                                           PUR1               .EQU                1
                                           PUR0               .EQU                0
                                           _PUR7              .EQU                7
                                           _PUR6              .EQU                6
                                           _PUR5              .EQU                5
                                           _PUR4              .EQU                4
                                           _PUR1              .EQU                1
                                           _PUR0              .EQU                0
                                           
                                           ;Address:0x36 IOCL Bits-----------------
                                           IOCL7              .EQU                7
                                           IOCL6              .EQU                6
                                           IOCL5              .EQU                5
                                           IOCL4              .EQU                4
                                           IOCL3              .EQU                3
                                           IOCL1              .EQU                1
                                           IOCL0              .EQU                0
                                           _IOCL7             .EQU                7
                                           _IOCL6             .EQU                6
                                           _IOCL5             .EQU                5
                                           _IOCL4             .EQU                4
                                           _IOCL3             .EQU                3
                                           _IOCL1             .EQU                1
                                           _IOCL0             .EQU                0
                                           
                                           ;Address:0x3F ADCCTL1 Bits--------------
                                           ADCS2              .EQU                6
                                           ADCS1              .EQU                5
                                           ADCS0              .EQU                4
                                           VCFG1              .EQU                3
                                           VCFG0              .EQU                2
                                           _ADCS2             .EQU                6
                                           _ADCS1             .EQU                5
                                           _ADCS0             .EQU                4
                                           _VCFG1             .EQU                3
                                           _VCFG0             .EQU                2
                                           
                                           ;Address:0x50 T3L Bits------------------
                                           T3L7               .EQU                7
                                           T3L6               .EQU                6
                                           T3L5               .EQU                5
                                           T3L4               .EQU                4
                                           T3L3               .EQU                3
                                           T3L2               .EQU                2
                                           T3L1               .EQU                1
                                           T3L0               .EQU                0
                                           _T3L7              .EQU                7
                                           _T3L6              .EQU                6
                                           _T3L5              .EQU                5
                                           _T3L4              .EQU                4
                                           _T3L3              .EQU                3
                                           _T3L2              .EQU                2
                                           _T3L1              .EQU                1
                                           _T3L0              .EQU                0
                                           
                                           ;Address:0x53 CTCTL Bits----------------
                                           CTEN               .EQU                7
                                           CTSTART            .EQU                6
                                           CTCAPS             .EQU                5
                                           CTCMS              .EQU                4
                                           CTCHSEL4           .EQU                4
                                           CTCHSEL3           .EQU                3
                                           CTCHSEL2           .EQU                2
                                           CTCHSEL1           .EQU                1
                                           CTCHSEL0           .EQU                0
                                           _CTEN              .EQU                7
                                           _CTSTART           .EQU                6
                                           _CTCAPS            .EQU                5
                                           _CTCMS             .EQU                4
                                           _CTCHSEL4          .EQU                4
                                           _CTCHSEL3          .EQU                3
                                           _CTCHSEL2          .EQU                2
                                           _CTCHSEL1          .EQU                1
                                           _CTCHSEL0          .EQU                0
                                           
                                           ;Address:0x58 RSCTL Bits----------------
                                           SPEN               .EQU                7
                                           RX9                .EQU                6
                                           SRXEN              .EQU                5
                                           CRXEN              .EQU                4
                                           ADREN              .EQU                3
                                           FRER               .EQU                2
                                           OVFER              .EQU                1
                                           RX9D               .EQU                0
                                           _SPEN              .EQU                7
                                           _RX9               .EQU                6
                                           _SRXEN             .EQU                5
                                           _CRXEN             .EQU                4
                                           _ADREN             .EQU                3
                                           _FRER              .EQU                2
                                           _OVFER             .EQU                1
                                           _RX9D              .EQU                0
                                           
                                           ;Address:0x5E OSCLDOCAL Bits------------
                                           
                                           ;Address:0x77 BRCTL Bits----------------
                                           ABRDOVF            .EQU                7
                                           RCIDLF             .EQU                6
                                           SCKPS              .EQU                4
                                           BRG16              .EQU                3
                                           WUEN               .EQU                1
                                           ADRBEN             .EQU                0
                                           _ABRDOVF           .EQU                7
                                           _RCIDLF            .EQU                6
                                           _SCKPS             .EQU                4
                                           _BRG16             .EQU                3
                                           _WUEN              .EQU                1
                                           _ADRBEN            .EQU                0
                                           
                                           ;Address:0x78 TSCTL Bits----------------
                                           CSRS               .EQU                7
                                           TX9                .EQU                6
                                           TXEN               .EQU                5
                                           SYNC               .EQU                4
                                           SENDB              .EQU                3
                                           HBRG               .EQU                2
                                           TXSRS              .EQU                1
                                           TX9D               .EQU                0
                                           _CSRS              .EQU                7
                                           _TX9               .EQU                6
                                           _TXEN              .EQU                5
                                           _SYNC              .EQU                4
                                           _SENDB             .EQU                3
                                           _HBRG              .EQU                2
                                           _TXSRS             .EQU                1
                                           _TX9D              .EQU                0
                                           
                                           ;Address:0x79 EUBRGL Bits---------------
                                           BRG7               .EQU                7
                                           BRG6               .EQU                6
                                           BRG5               .EQU                5
                                           BRG4               .EQU                4
                                           BRG3               .EQU                3
                                           BRG2               .EQU                2
                                           BRG1               .EQU                1
                                           BRG0               .EQU                0
                                           _BRG7              .EQU                7
                                           _BRG6              .EQU                6
                                           _BRG5              .EQU                5
                                           _BRG4              .EQU                4
                                           _BRG3              .EQU                3
                                           _BRG2              .EQU                2
                                           _BRG1              .EQU                1
                                           _BRG0              .EQU                0
                                           
                                           ;Address:0x7A EUBRGH Bits---------------
                                           BRG15              .EQU                7
                                           BRG14              .EQU                6
                                           BRG13              .EQU                5
                                           BRG12              .EQU                4
                                           BRG11              .EQU                3
                                           BRG10              .EQU                2
                                           BRG9               .EQU                1
                                           BRG8               .EQU                0
                                           _BRG15             .EQU                7
                                           _BRG14             .EQU                6
                                           _BRG13             .EQU                5
                                           _BRG12             .EQU                4
                                           _BRG11             .EQU                3
                                           _BRG10             .EQU                2
                                           _BRG9              .EQU                1
                                           _BRG8              .EQU                0
                                            
                                            
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           	.extern	_init_mcu
                                           	.extern	__KF8S_Get_Ver_General_
                                           	.extern	__KF8S_Lib_Set_General_Parameter
                                           	.extern	__KF8S_Init_Touch_General_
                                           	.extern	__KF8S_Touch_Process_General_
                                           	.extern	__KF8S_Touch_TEST_General_
                                           	.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	_P3_bits
                                           	.extern	_P4_bits
                                           	.extern	_INTCTL_bits
                                           	.extern	_EIF1_bits
                                           	.extern	_EIF2_bits
                                           	.extern	_T1CTL_bits
                                           	.extern	_PWMCTL_bits
                                           	.extern	_CMCTL1_bits
                                           	.extern	_ANSEH_bits
                                           	.extern	_ADCCTL0_bits
                                           	.extern	_OPTR_bits
                                           	.extern	_TR0_bits
                                           	.extern	_TR2_bits
                                           	.extern	_TR1_bits
                                           	.extern	_TR3_bits
                                           	.extern	_TR4_bits
                                           	.extern	_EIE1_bits
                                           	.extern	_EIE2_bits
                                           	.extern	_PCTL_bits
                                           	.extern	_OSCCTL_bits
                                           	.extern	_ANSEL_bits
                                           	.extern	_PUR_bits
                                           	.extern	_IOCL_bits
                                           	.extern	_ADCCTL1_bits
                                           	.extern	_T3L_bits
                                           	.extern	_CTCTL_bits
                                           	.extern	_RSCTL_bits
                                           	.extern	_OSCLDOCAL_bits
                                           	.extern	_BRCTL_bits
                                           	.extern	_TSCTL_bits
                                           	.extern	_EUBRGL_bits
                                           	.extern	_EUBRGH_bits
                                           	.extern	__KF8_LIBc_channel_Buf
                                           	.extern	_sentbuf1
                                           	.extern	_sentbuf2
                                           	.extern	_sentbuf3
                                           	.extern	_sentbuf4
                                           	.extern	_T0
                                           	.extern	_PCL
                                           	.extern	_PSW
                                           	.extern	_P0
                                           	.extern	_P2
                                           	.extern	_P1
                                           	.extern	_P3
                                           	.extern	_P4
                                           	.extern	_PCH
                                           	.extern	_INTCTL
                                           	.extern	_EIF1
                                           	.extern	_EIF2
                                           	.extern	_T1L
                                           	.extern	_T1H
                                           	.extern	_T1CTL
                                           	.extern	_PWMCTL
                                           	.extern	_CMCTL1
                                           	.extern	_VRECAL
                                           	.extern	_ANSEH
                                           	.extern	_ADCDATAH
                                           	.extern	_ADCCTL0
                                           	.extern	_OPTR
                                           	.extern	_TR0
                                           	.extern	_TR2
                                           	.extern	_TR1
                                           	.extern	_TR3
                                           	.extern	_TR4
                                           	.extern	_EIE1
                                           	.extern	_EIE2
                                           	.extern	_PCTL
                                           	.extern	_OSCCTL
                                           	.extern	_OSCCAL0
                                           	.extern	_ANSEL
                                           	.extern	_PUR
                                           	.extern	_IOCL
                                           	.extern	_OSCCAL1
                                           	.extern	_BADDRH
                                           	.extern	_BADDRL
                                           	.extern	_EECTL1
                                           	.extern	_EECTL2
                                           	.extern	_ADCDATAL
                                           	.extern	_ADCCTL1
                                           	.extern	_T3L
                                           	.extern	_CTCTL
                                           	.extern	_RSCTL
                                           	.extern	_TXSDR
                                           	.extern	_RXSDR
                                           	.extern	_OSCLDOCAL
                                           	.extern	_T1U
                                           	.extern	_BRCTL
                                           	.extern	_TSCTL
                                           	.extern	_EUBRGL
                                           	.extern	_EUBRGH
                                           
                                           	.extern STK12
                                           	.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_kf8s_touch_g_0	.udata
                                           __KF8_LIBc_baseline_count_	.res	6
                                           
                                           UD_kf8s_touch_g_1	.udata
                                           __KF8_LIBi_buff_hit_	.res	12
                                           
                                           UD_kf8s_touch_g_2	.udata
                                           __KF8_LIBi_buff_baseline_	.res	12
                                           
                                           UD_kf8s_touch_g_3	.udata
                                           __KF8_LIBc_touch_count_	.res	6
                                           
                                           UD_kf8s_touch_g_4	.udata
                                           __KF8_LIBi_Date_Change_	.res	6
                                           
                                           UD_kf8s_touch_g_5	.udata
                                           __KF8_LIBc_channel_	.res	1
                                           
                                           UD_kf8s_touch_g_6	.udata
                                           __KF8_LIBi_channel_flag_	.res	2
                                           
                                           ;--------------------------------------------------------
                                           ; absolute symbol definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; compiler-defined variables
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; initialized data
                                           ;--------------------------------------------------------
                                           
                                           ID_kf8s_touch_g_0	.code
                                           _CHS_AMOUNT
000616   b006     RRET	R0, #0x6            	RRET R0, #0x06
                                           
                                           
                                           ID_kf8s_touch_g_1	.code
                                           _TCS_AMOUNT
000617   b005     RRET	R0, #0x5            	RRET R0, #0x05
                                           
                                           
                                           ID_kf8s_touch_g_2	.code
                                           __KF8_Disturb_Protect_Circle_
000618   b064     RRET	R0, #0x64           	RRET R0, #0x64
                                           
                                           
                                           ID_kf8s_touch_g_3	.code
                                           __KF8_DoubleKey_Compages_Limitable_Circle_
000002   b02c     RRET	R0, #0x2c           	RRET R0, #0x2c
000003   b001     RRET	R0, #0x1            	RRET R0, #0x01
                                           
                                           
                                           ID_kf8s_touch_g_4	.code
                                           __KF8_Key_Max_Pressed_Limitable_Circle_
000ff6   b040     RRET	R0, #0x40           	RRET R0, #0x40
000ff7   b01f     RRET	R0, #0x1f           	RRET R0, #0x1f
                                           
                                           
                                           ID_kf8s_touch_g_5	.code
                                           __KF8_BaseLine_Update_Circle_Count_For_UP_
000619   b064     RRET	R0, #0x64           	RRET R0, #0x64
                                           
                                           
                                           ID_kf8s_touch_g_6	.code
                                           __KF8_BaseLine_Update_Circle_Count_For_Down_
00061a   b09c     RRET	R0, #0x9c           	RRET R0, #0x9c
                                           
                                           
                                           ID_kf8s_touch_g_7	.code
                                           __KF8_Define_Disturb_Channels_Amount_
00061b   b003     RRET	R0, #0x3            	RRET R0, #0x03
                                           
                                           
                                           ID_kf8s_touch_g_8	.code
                                           __KF8_BasicLine_UP_Noise_Threshold_
00061c   b0ec     RRET	R0, #0xec           	RRET R0, #0xec
                                           
                                           
                                           ID_kf8s_touch_g_9	.code
                                           __KF8_BasicLine_Down_Noise_Threshold_
00061d   b014     RRET	R0, #0x14           	RRET R0, #0x14
                                           
                                           
                                           ID_kf8s_touch_g_10	.code
                                           __KF8_Data_Steady_Threshold_Set_
00061e   b00c     RRET	R0, #0xc            	RRET R0, #0x0c
                                           
                                           
                                           ID_kf8s_touch_g_11	.code
                                           __KF8_Inside_Reference_Channel_Disturb_Threshold_Set_
00061f   b00f     RRET	R0, #0xf            	RRET R0, #0x0f
                                           
                                           
                                           ID_kf8s_touch_g_12	.code
                                           __KF8_TOUCH_CH_EN
000ff0   b000     RRET	R0, #0              	RRET R0, #0x00
000ff1   b001     RRET	R0, #0x1            	RRET R0, #0x01
000ff2   b002     RRET	R0, #0x2            	RRET R0, #0x02
000ff3   b003     RRET	R0, #0x3            	RRET R0, #0x03
000ff4   b004     RRET	R0, #0x4            	RRET R0, #0x04
000ff5   b005     RRET	R0, #0x5            	RRET R0, #0x05
                                           
                                           
                                           ID_kf8s_touch_g_13	.code
                                           __KF8_Inside_Reference_Channel_Declare_
000620   b014     RRET	R0, #0x14           	RRET R0, #0x14
                                           
                                           
                                           ID_kf8s_touch_g_14	.code
                                           __KF8_Config_Finger_Threshold
000606   b032     RRET	R0, #0x32           	RRET R0, #0x32
000607   b032     RRET	R0, #0x32           	RRET R0, #0x32
000608   b032     RRET	R0, #0x32           	RRET R0, #0x32
000609   b032     RRET	R0, #0x32           	RRET R0, #0x32
00060a   b032     RRET	R0, #0x32           	RRET R0, #0x32
00060b   b032     RRET	R0, #0x32           	RRET R0, #0x32
                                           
                                           ;--------------------------------------------------------
                                           ; overlayable items in internal ram 
                                           ;--------------------------------------------------------
                                           ;	.udata_ovr
                                           
                                           ;	code size estimation:
                                           ;	    0+    0 =     0 instructions (    0 byte)
                                           
                                           
                                           	.end
                                           ;--------------------------------------------------------
                                           ; File Created by ChiponCC : aolisn inc.
                                           ; Version 3.0.4#6752 (Jul  6 2017 15:09:47) (MSVC)
                                           ; This file was generated Wed Apr 04 14:51:02 2018
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../main.c"
                                           	.radix dec
                                           	.include "KF8S1011.inc"
                                           
                                           ;************************************************************ 
                                           ;       Header file for the KungFu8 
                                           ;       KF8S1011 
                                           ;       Microcontroller
                                           ; 
                                           ;       Copyright 2012-2013 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
                                           P4                .EQU                0x09
                                           PCH               .EQU                0x0A
                                           INTCTL            .EQU                0x0B
                                           EIF1              .EQU                0x0C
                                           EIF2              .EQU                0x0D
                                           T1L               .EQU                0x0E
                                           T1H               .EQU                0x0F
                                           T1CTL             .EQU                0x10
                                           PWMCTL            .EQU                0x15
                                           CMCTL1            .EQU                0x1A
                                           VRECAL            .EQU                0x1C
                                           ANSEH             .EQU                0x1D
                                           ADCDATAH          .EQU                0x1E
                                           ADCCTL0           .EQU                0x1F
                                           OPTR              .EQU                0x21
                                           TR0               .EQU                0x25
                                           TR2               .EQU                0x26
                                           TR1               .EQU                0x27
                                           TR3               .EQU                0x28
                                           TR4               .EQU                0x29
                                           EIE1              .EQU                0x2C
                                           EIE2              .EQU                0x2D
                                           PCTL              .EQU                0x2E
                                           OSCCTL            .EQU                0x2F
                                           OSCCAL0           .EQU                0x30
                                           ANSEL             .EQU                0x31
                                           PUR               .EQU                0x35
                                           IOCL              .EQU                0x36
                                           OSCCAL1           .EQU                0x37
                                           BADDRH            .EQU                0x3A
                                           BADDRL            .EQU                0x3B
                                           EECTL1            .EQU                0x3C
                                           EECTL2            .EQU                0x3D
                                           ADCDATAL          .EQU                0x3E
                                           ADCCTL1           .EQU                0x3F
                                           T3L               .EQU                0x50
                                           CTCTL             .EQU                0x53
                                           RSCTL             .EQU                0x58
                                           TXSDR             .EQU                0x59
                                           RXSDR             .EQU                0x5A
                                           OSCLDOCAL         .EQU                0x5E
                                           T1U               .EQU                0x5F
                                           BRCTL             .EQU                0x77
                                           TSCTL             .EQU                0x78
                                           EUBRGL            .EQU                0x79
                                           EUBRGH            .EQU                0x7A
                                            
                                            
                                           
                                           ;Address:0x03 PSW Bits------------------
                                           RP0                .EQU                5
                                           TO                 .EQU                4
                                           PD                 .EQU                3
                                           Z                  .EQU                2
                                           DC                 .EQU                1
                                           CY                 .EQU                0
                                           _RP0               .EQU                5
                                           _TO                .EQU                4
                                           _PD                .EQU                3
                                           _Z                 .EQU                2
                                           _DC                .EQU                1
                                           _CY                .EQU                0
                                           
                                           ;Address:0x05 P0 Bits-------------------
                                           P07                .EQU                7
                                           P06                .EQU                6
                                           P05                .EQU                5
                                           P04                .EQU                4
                                           P03                .EQU                3
                                           P01                .EQU                1
                                           P00                .EQU                0
                                           _P07               .EQU                7
                                           _P06               .EQU                6
                                           _P05               .EQU                5
                                           _P04               .EQU                4
                                           _P03               .EQU                3
                                           _P01               .EQU                1
                                           _P00               .EQU                0
                                           
                                           ;Address:0x06 P2 Bits-------------------
                                           P27                .EQU                7
                                           P26                .EQU                6
                                           P23                .EQU                3
                                           P22                .EQU                2
                                           P21                .EQU                1
                                           P20                .EQU                0
                                           _P27               .EQU                7
                                           _P26               .EQU                6
                                           _P23               .EQU                3
                                           _P22               .EQU                2
                                           _P21               .EQU                1
                                           _P20               .EQU                0
                                           
                                           ;Address:0x07 P1 Bits-------------------
                                           P17                .EQU                7
                                           P16                .EQU                6
                                           P15                .EQU                5
                                           P13                .EQU                3
                                           P12                .EQU                2
                                           _P17               .EQU                7
                                           _P16               .EQU                6
                                           _P15               .EQU                5
                                           _P13               .EQU                3
                                           _P12               .EQU                2
                                           
                                           ;Address:0x08 P3 Bits-------------------
                                           P37                .EQU                7
                                           P36                .EQU                6
                                           P35                .EQU                5
                                           P34                .EQU                4
                                           P33                .EQU                3
                                           P31                .EQU                1
                                           P30                .EQU                0
                                           _P37               .EQU                7
                                           _P36               .EQU                6
                                           _P35               .EQU                5
                                           _P34               .EQU                4
                                           _P33               .EQU                3
                                           _P31               .EQU                1
                                           _P30               .EQU                0
                                           
                                           ;Address:0x09 P4 Bits-------------------
                                           P43                .EQU                3
                                           _P43               .EQU                3
                                           
                                           ;Address:0x0B INTCTL Bits---------------
                                           AIE                .EQU                7
                                           PUIE               .EQU                6
                                           T0IE               .EQU                5
                                           P0IE               .EQU                3
                                           T0IF               .EQU                2
                                           P0IF               .EQU                0
                                           _AIE               .EQU                7
                                           _PUIE              .EQU                6
                                           _T0IE              .EQU                5
                                           _P0IE              .EQU                3
                                           _T0IF              .EQU                2
                                           _P0IF              .EQU                0
                                           
                                           ;Address:0x0C EIF1 Bits-----------------
                                           CTIF               .EQU                7
                                           ADIF               .EQU                6
                                           INT2IF             .EQU                5
                                           INT1IF             .EQU                4
                                           C1IF               .EQU                3
                                           PWM2IF             .EQU                2
                                           T2IF               .EQU                1
                                           T1IF               .EQU                0
                                           _CTIF              .EQU                7
                                           _ADIF              .EQU                6
                                           _INT2IF            .EQU                5
                                           _INT1IF            .EQU                4
                                           _C1IF              .EQU                3
                                           _PWM2IF            .EQU                2
                                           _T2IF              .EQU                1
                                           _T1IF              .EQU                0
                                           
                                           ;Address:0x0D EIF2 Bits-----------------
                                           RXIF               .EQU                5
                                           TXIF               .EQU                4
                                           _RXIF              .EQU                5
                                           _TXIF              .EQU                4
                                           
                                           ;Address:0x10 T1CTL Bits----------------
                                           T1GC               .EQU                6
                                           T1CKS1             .EQU                5
                                           T1CKS0             .EQU                4
                                           T1SY               .EQU                2
                                           T1CS               .EQU                1
                                           T1ON               .EQU                0
                                           _T1GC              .EQU                6
                                           _T1CKS1            .EQU                5
                                           _T1CKS0            .EQU                4
                                           _T1SY              .EQU                2
                                           _T1CS              .EQU                1
                                           _T1ON              .EQU                0
                                           
                                           ;Address:0x15 PWMCTL Bits---------------
                                           INT2SE             .EQU                7
                                           INT1SE             .EQU                6
                                           _INT2SE            .EQU                7
                                           _INT1SE            .EQU                6
                                           
                                           ;Address:0x1A CMCTL1 Bits---------------
                                           CTCLKSEL1          .EQU                7
                                           CTCLKSEL0          .EQU                6
                                           CTVREFSEL1         .EQU                5
                                           CTVREFSEL0         .EQU                4
                                           _CTCLKSEL1         .EQU                7
                                           _CTCLKSEL0         .EQU                6
                                           _CTVREFSEL1        .EQU                5
                                           _CTVREFSEL0        .EQU                4
                                           
                                           ;Address:0x1D ANSEH Bits----------------
                                           ANS11              .EQU                3
                                           ANS10              .EQU                2
                                           _ANS11             .EQU                3
                                           _ANS10             .EQU                2
                                           
                                           ;Address:0x1F 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
                                           
                                           ;Address:0x21 OPTR Bits-----------------
                                           PUPH               .EQU                7
                                           T0CS               .EQU                5
                                           T0SE               .EQU                4
                                           PSA                .EQU                3
                                           PS2                .EQU                2
                                           PS1                .EQU                1
                                           PS0                .EQU                0
                                           _PUPH              .EQU                7
                                           _T0CS              .EQU                5
                                           _T0SE              .EQU                4
                                           _PSA               .EQU                3
                                           _PS2               .EQU                2
                                           _PS1               .EQU                1
                                           _PS0               .EQU                0
                                           
                                           ;Address:0x25 TR0 Bits------------------
                                           TR07               .EQU                7
                                           TR06               .EQU                6
                                           TR05               .EQU                5
                                           TR04               .EQU                4
                                           TR03               .EQU                3
                                           TR01               .EQU                1
                                           TR00               .EQU                0
                                           _TR07              .EQU                7
                                           _TR06              .EQU                6
                                           _TR05              .EQU                5
                                           _TR04              .EQU                4
                                           _TR03              .EQU                3
                                           _TR01              .EQU                1
                                           _TR00              .EQU                0
                                           
                                           ;Address:0x26 TR2 Bits------------------
                                           TR27               .EQU                7
                                           TR26               .EQU                6
                                           TR23               .EQU                3
                                           TR22               .EQU                2
                                           TR21               .EQU                1
                                           TR20               .EQU                0
                                           _TR27              .EQU                7
                                           _TR26              .EQU                6
                                           _TR23              .EQU                3
                                           _TR22              .EQU                2
                                           _TR21              .EQU                1
                                           _TR20              .EQU                0
                                           
                                           ;Address:0x27 TR1 Bits------------------
                                           TR17               .EQU                7
                                           TR16               .EQU                6
                                           TR15               .EQU                5
                                           TR13               .EQU                3
                                           TR12               .EQU                2
                                           _TR17              .EQU                7
                                           _TR16              .EQU                6
                                           _TR15              .EQU                5
                                           _TR13              .EQU                3
                                           _TR12              .EQU                2
                                           
                                           ;Address:0x28 TR3 Bits------------------
                                           TR37               .EQU                7
                                           TR36               .EQU                6
                                           TR35               .EQU                5
                                           TR34               .EQU                4
                                           TR33               .EQU                3
                                           TR31               .EQU                1
                                           TR30               .EQU                0
                                           _TR37              .EQU                7
                                           _TR36              .EQU                6
                                           _TR35              .EQU                5
                                           _TR34              .EQU                4
                                           _TR33              .EQU                3
                                           _TR31              .EQU                1
                                           _TR30              .EQU                0
                                           
                                           ;Address:0x29 TR4 Bits------------------
                                           TR43               .EQU                3
                                           _TR43              .EQU                3
                                           
                                           ;Address:0x2C EIE1 Bits-----------------
                                           CTIE               .EQU                7
                                           ADIE               .EQU                6
                                           INT2IE             .EQU                5
                                           INT1IE             .EQU                4
                                           C1IE               .EQU                3
                                           PWM2IE             .EQU                2
                                           T2IE               .EQU                1
                                           T1IE               .EQU                0
                                           _CTIE              .EQU                7
                                           _ADIE              .EQU                6
                                           _INT2IE            .EQU                5
                                           _INT1IE            .EQU                4
                                           _C1IE              .EQU                3
                                           _PWM2IE            .EQU                2
                                           _T2IE              .EQU                1
                                           _T1IE              .EQU                0
                                           
                                           ;Address:0x2D EIE2 Bits-----------------
                                           RXIE               .EQU                5
                                           TXIE               .EQU                4
                                           _RXIE              .EQU                5
                                           _TXIE              .EQU                4
                                           
                                           ;Address:0x2E PCTL Bits-----------------
                                           VREEN              .EQU                7
                                           VREOE              .EQU                6
                                           SLVREN             .EQU                4
                                           POR                .EQU                1
                                           LVR                .EQU                0
                                           _VREEN             .EQU                7
                                           _VREOE             .EQU                6
                                           _SLVREN            .EQU                4
                                           _POR               .EQU                1
                                           _LVR               .EQU                0
                                           
                                           ;Address:0x2F OSCCTL Bits---------------
                                           CKOEN              .EQU                7
                                           IRCS2              .EQU                6
                                           IRCS1              .EQU                5
                                           IRCS0              .EQU                4
                                           _CKOEN             .EQU                7
                                           _IRCS2             .EQU                6
                                           _IRCS1             .EQU                5
                                           _IRCS0             .EQU                4
                                           
                                           ;Address:0x31 ANSEL Bits----------------
                                           ANS7               .EQU                7
                                           ANS6               .EQU                6
                                           ANS4               .EQU                4
                                           ANS3               .EQU                3
                                           ANS1               .EQU                1
                                           ANS0               .EQU                0
                                           _ANS7              .EQU                7
                                           _ANS6              .EQU                6
                                           _ANS4              .EQU                4
                                           _ANS3              .EQU                3
                                           _ANS1              .EQU                1
                                           _ANS0              .EQU                0
                                           
                                           ;Address:0x35 PUR Bits------------------
                                           PUR7               .EQU                7
                                           PUR6               .EQU                6
                                           PUR5               .EQU                5
                                           PUR4               .EQU                4
                                           PUR1               .EQU                1
                                           PUR0               .EQU                0
                                           _PUR7              .EQU                7
                                           _PUR6              .EQU                6
                                           _PUR5              .EQU                5
                                           _PUR4              .EQU                4
                                           _PUR1              .EQU                1
                                           _PUR0              .EQU                0
                                           
                                           ;Address:0x36 IOCL Bits-----------------
                                           IOCL7              .EQU                7
                                           IOCL6              .EQU                6
                                           IOCL5              .EQU                5
                                           IOCL4              .EQU                4
                                           IOCL3              .EQU                3
                                           IOCL1              .EQU                1
                                           IOCL0              .EQU                0
                                           _IOCL7             .EQU                7
                                           _IOCL6             .EQU                6
                                           _IOCL5             .EQU                5
                                           _IOCL4             .EQU                4
                                           _IOCL3             .EQU                3
                                           _IOCL1             .EQU                1
                                           _IOCL0             .EQU                0
                                           
                                           ;Address:0x3F ADCCTL1 Bits--------------
                                           ADCS2              .EQU                6
                                           ADCS1              .EQU                5
                                           ADCS0              .EQU                4
                                           VCFG1              .EQU                3
                                           VCFG0              .EQU                2
                                           _ADCS2             .EQU                6
                                           _ADCS1             .EQU                5
                                           _ADCS0             .EQU                4
                                           _VCFG1             .EQU                3
                                           _VCFG0             .EQU                2
                                           
                                           ;Address:0x50 T3L Bits------------------
                                           T3L7               .EQU                7
                                           T3L6               .EQU                6
                                           T3L5               .EQU                5
                                           T3L4               .EQU                4
                                           T3L3               .EQU                3
                                           T3L2               .EQU                2
                                           T3L1               .EQU                1
                                           T3L0               .EQU                0
                                           _T3L7              .EQU                7
                                           _T3L6              .EQU                6
                                           _T3L5              .EQU                5
                                           _T3L4              .EQU                4
                                           _T3L3              .EQU                3
                                           _T3L2              .EQU                2
                                           _T3L1              .EQU                1
                                           _T3L0              .EQU                0
                                           
                                           ;Address:0x53 CTCTL Bits----------------
                                           CTEN               .EQU                7
                                           CTSTART            .EQU                6
                                           CTCAPS             .EQU                5
                                           CTCMS              .EQU                4
                                           CTCHSEL4           .EQU                4
                                           CTCHSEL3           .EQU                3
                                           CTCHSEL2           .EQU                2
                                           CTCHSEL1           .EQU                1
                                           CTCHSEL0           .EQU                0
                                           _CTEN              .EQU                7
                                           _CTSTART           .EQU                6
                                           _CTCAPS            .EQU                5
                                           _CTCMS             .EQU                4
                                           _CTCHSEL4          .EQU                4
                                           _CTCHSEL3          .EQU                3
                                           _CTCHSEL2          .EQU                2
                                           _CTCHSEL1          .EQU                1
                                           _CTCHSEL0          .EQU                0
                                           
                                           ;Address:0x58 RSCTL Bits----------------
                                           SPEN               .EQU                7
                                           RX9                .EQU                6
                                           SRXEN              .EQU                5
                                           CRXEN              .EQU                4
                                           ADREN              .EQU                3
                                           FRER               .EQU                2
                                           OVFER              .EQU                1
                                           RX9D               .EQU                0
                                           _SPEN              .EQU                7
                                           _RX9               .EQU                6
                                           _SRXEN             .EQU                5
                                           _CRXEN             .EQU                4
                                           _ADREN             .EQU                3
                                           _FRER              .EQU                2
                                           _OVFER             .EQU                1
                                           _RX9D              .EQU                0
                                           
                                           ;Address:0x5E OSCLDOCAL Bits------------
                                           
                                           ;Address:0x77 BRCTL Bits----------------
                                           ABRDOVF            .EQU                7
                                           RCIDLF             .EQU                6
                                           SCKPS              .EQU                4
                                           BRG16              .EQU                3
                                           WUEN               .EQU                1
                                           ADRBEN             .EQU                0
                                           _ABRDOVF           .EQU                7
                                           _RCIDLF            .EQU                6
                                           _SCKPS             .EQU                4
                                           _BRG16             .EQU                3
                                           _WUEN              .EQU                1
                                           _ADRBEN            .EQU                0
                                           
                                           ;Address:0x78 TSCTL Bits----------------
                                           CSRS               .EQU                7
                                           TX9                .EQU                6
                                           TXEN               .EQU                5
                                           SYNC               .EQU                4
                                           SENDB              .EQU                3
                                           HBRG               .EQU                2
                                           TXSRS              .EQU                1
                                           TX9D               .EQU                0
                                           _CSRS              .EQU                7
                                           _TX9               .EQU                6
                                           _TXEN              .EQU                5
                                           _SYNC              .EQU                4
                                           _SENDB             .EQU                3
                                           _HBRG              .EQU                2
                                           _TXSRS             .EQU                1
                                           _TX9D              .EQU                0
                                           
                                           ;Address:0x79 EUBRGL Bits---------------
                                           BRG7               .EQU                7
                                           BRG6               .EQU                6
                                           BRG5               .EQU                5
                                           BRG4               .EQU                4
                                           BRG3               .EQU                3
                                           BRG2               .EQU                2
                                           BRG1               .EQU                1
                                           BRG0               .EQU                0
                                           _BRG7              .EQU                7
                                           _BRG6              .EQU                6
                                           _BRG5              .EQU                5
                                           _BRG4              .EQU                4
                                           _BRG3              .EQU                3
                                           _BRG2              .EQU                2
                                           _BRG1              .EQU                1
                                           _BRG0              .EQU                0
                                           
                                           ;Address:0x7A EUBRGH Bits---------------
                                           BRG15              .EQU                7
                                           BRG14              .EQU                6
                                           BRG13              .EQU                5
                                           BRG12              .EQU                4
                                           BRG11              .EQU                3
                                           BRG10              .EQU                2
                                           BRG9               .EQU                1
                                           BRG8               .EQU                0
                                           _BRG15             .EQU                7
                                           _BRG14             .EQU                6
                                           _BRG13             .EQU                5
                                           _BRG12             .EQU                4
                                           _BRG11             .EQU                3
                                           _BRG10             .EQU                2
                                           _BRG9              .EQU                1
                                           _BRG8              .EQU                0
                                            
                                            
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           	.extern	_init_mcu
                                           	.extern	__KF8S_Get_Ver_General_
                                           	.extern	__KF8S_Lib_Set_General_Parameter
                                           	.extern	__KF8S_Init_Touch_General_
                                           	.extern	__KF8S_Touch_Process_General_
                                           	.extern	__KF8S_Touch_TEST_General_
                                           	.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	_P3_bits
                                           	.extern	_P4_bits
                                           	.extern	_INTCTL_bits
                                           	.extern	_EIF1_bits
                                           	.extern	_EIF2_bits
                                           	.extern	_T1CTL_bits
                                           	.extern	_PWMCTL_bits
                                           	.extern	_CMCTL1_bits
                                           	.extern	_ANSEH_bits
                                           	.extern	_ADCCTL0_bits
                                           	.extern	_OPTR_bits
                                           	.extern	_TR0_bits
                                           	.extern	_TR2_bits
                                           	.extern	_TR1_bits
                                           	.extern	_TR3_bits
                                           	.extern	_TR4_bits
                                           	.extern	_EIE1_bits
                                           	.extern	_EIE2_bits
                                           	.extern	_PCTL_bits
                                           	.extern	_OSCCTL_bits
                                           	.extern	_ANSEL_bits
                                           	.extern	_PUR_bits
                                           	.extern	_IOCL_bits
                                           	.extern	_ADCCTL1_bits
                                           	.extern	_T3L_bits
                                           	.extern	_CTCTL_bits
                                           	.extern	_RSCTL_bits
                                           	.extern	_OSCLDOCAL_bits
                                           	.extern	_BRCTL_bits
                                           	.extern	_TSCTL_bits
                                           	.extern	_EUBRGL_bits
                                           	.extern	_EUBRGH_bits
                                           	.extern	__KF8_LIBi_channel_flag_
                                           	.extern	__KF8_LIBc_channel_
                                           	.extern	__KF8_LIBc_channel_Buf
                                           	.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	_sentbuf1
                                           	.extern	_sentbuf2
                                           	.extern	_sentbuf3
                                           	.extern	_sentbuf4
                                           	.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	_P3
                                           	.extern	_P4
                                           	.extern	_PCH
                                           	.extern	_INTCTL
                                           	.extern	_EIF1
                                           	.extern	_EIF2
                                           	.extern	_T1L
                                           	.extern	_T1H
                                           	.extern	_T1CTL
                                           	.extern	_PWMCTL
                                           	.extern	_CMCTL1
                                           	.extern	_VRECAL
                                           	.extern	_ANSEH
                                           	.extern	_ADCDATAH
                                           	.extern	_ADCCTL0
                                           	.extern	_OPTR
                                           	.extern	_TR0
                                           	.extern	_TR2
                                           	.extern	_TR1
                                           	.extern	_TR3
                                           	.extern	_TR4
                                           	.extern	_EIE1
                                           	.extern	_EIE2
                                           	.extern	_PCTL
                                           	.extern	_OSCCTL
                                           	.extern	_OSCCAL0
                                           	.extern	_ANSEL
                                           	.extern	_PUR
                                           	.extern	_IOCL
                                           	.extern	_OSCCAL1
                                           	.extern	_BADDRH
                                           	.extern	_BADDRL
                                           	.extern	_EECTL1
                                           	.extern	_EECTL2
                                           	.extern	_ADCDATAL
                                           	.extern	_ADCCTL1
                                           	.extern	_T3L
                                           	.extern	_CTCTL
                                           	.extern	_RSCTL
                                           	.extern	_TXSDR
                                           	.extern	_RXSDR
                                           	.extern	_OSCLDOCAL
                                           	.extern	_T1U
                                           	.extern	_BRCTL
                                           	.extern	_TSCTL
                                           	.extern	_EUBRGL
                                           	.extern	_EUBRGH
                                           	.extern	_startup
                                           	.extern	__gsinit_startup
                                           ;--------------------------------------------------------
                                           ; global declarations
                                           ;--------------------------------------------------------
                                           	.global	_delay_us
                                           	.global	_delay_ms
                                           	.global	_display
                                           	.global	_INT_FUN
                                           	.global	_main
                                           	.global	_Touch_Watch
                                           	.global	_flag
                                           
                                           	.global STK12
                                           	.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
                                           STK12	.res 1
                                           	.type STK12, 108
                                           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
                                           _Touch_Watch	.res	2
                                           
                                           UD_main_1	.udata
                                           _flag	.res	1
                                           
                                           ;--------------------------------------------------------
                                           ; absolute symbol definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; compiler-defined variables
                                           ;--------------------------------------------------------
                                           UDL_main_0	.udata
                                           r0x1006	.res	1
                                           UDL_main_1	.udata
                                           r0x1005	.res	1
                                           UDL_main_2	.udata
                                           r0x1007	.res	1
                                           UDL_main_3	.udata
                                           r0x1008	.res	1
                                           UDL_main_4	.udata
                                           r0x1009	.res	1
                                           UDL_main_5	.udata
                                           r0x100A	.res	1
                                           UDL_main_6	.udata
                                           r0x1010	.res	1
                                           UDL_main_7	.udata
                                           r0x100F	.res	1
                                           UDL_main_8	.udata
                                           r0x1011	.res	1
                                           UDL_main_9	.udata
                                           r0x1012	.res	1
                                           UDL_main_10	.udata
                                           r0x100B	.res	1
                                           UDL_main_11	.udata
                                           r0x100C	.res	1
                                           UDL_main_12	.udata
                                           r0x100D	.res	1
                                           ;--------------------------------------------------------
                                           ; initialized data
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; overlayable items in internal ram 
                                           ;--------------------------------------------------------
                                           ;	.udata_ovr
                                           ;--------------------------------------------------------
                                           ; reset vector 
                                           ;--------------------------------------------------------
                                           STARTUP	.code 0x0000
000000   0000     NOP                      	NOP
                                           	PAGESEL	init_imp
000001   c60c     JMP	#0x60c               	JMP		init_imp
                                           
                                           	.global	init_imp
                                           INIT_IMP	.code
                                           init_imp
                                           	PAGESEL	_startup
00060c   d5e9     CALL	#0x5e9              	CALL	_startup
                                           	PAGESEL	__gsinit_startup
00060d   d614     CALL	#0x614              	CALL	__gsinit_startup
                                           	PAGESEL	_main
00060e   c4f7     JMP	#0x4f7               	JMP		_main
                                           ;--------------------------------------------------------
                                           ; interrupt and initialization code
                                           ;--------------------------------------------------------
                                           c_interrupt	.code	0x4
000004   f8c3     MOV	R3, R0               	MOV		R3,R0
000005   5803     MOV	R4, 0x3              	MOV		R4,PSW
000006   5a0a     MOV	R5, 0xa              	MOV		R5,PCH
000007   f8ca     MOV	R2, R1               	MOV		R2,R1
                                           	PAGESEL	interrupt_service_routine
000008   c5d8     JMP	#0x5d8               	JMP		interrupt_service_routine
                                           
                                           
                                           
                                           func._INT_FUN	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = I
                                           ;***
                                           ;entry:  _INT_FUN	;Function start
                                           ; 0 exit points
                                           ;functions called:
                                           ;   __KF8S_Touch_Process_General_
                                           ;   __KF8S_Touch_Process_General_
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _INT_FUN	;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
                                           ;	.line	153; "../main.c"	if(T1IF||CTIF)
0005d8   700c     JNB	0xc, 0               	JNB	_EIF1_bits, 0
0005d9   c5dc     JMP	#0x5dc               	JMP	_00047_DS_
                                           ;	op : GET_VALUE_AT_ADDRESS
0005da   7f0c     JB	0xc, 7                	JB	_EIF1_bits, 7
0005db   c5e4     JMP	#0x5e4               	JMP	_00050_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00047_DS_
                                           ;	.line	155; "../main.c"	T1IF=0;
0005dc   600c     CLR	0xc, 0               	CLR	_EIF1_bits, 0
                                           ;	op : =
                                           ;	.line	156; "../main.c"	CTIF=0;
0005dd   670c     CLR	0xc, 7               	CLR	_EIF1_bits, 7
                                           ;	op : =
                                           ;	.line	157; "../main.c"	Touch_Watch=0;
0005de   6503     CLR	0x3, 5               	BANKSEL	_Touch_Watch
0005df   03ad     CLR	0xad                 	CLR	_Touch_Watch
                                           	BANKSEL	_Touch_Watch
0005e0   03ae     CLR	0xae                 	CLR	(_Touch_Watch + 1)
                                           ;	op : =
                                           ;	.line	158; "../main.c"	flag = 1;
0005e1   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
                                           	BANKSEL	_flag
0005e2   519d     MOV	0x9d, R0             	MOV	_flag, R0
                                           ;	op : CALL
                                           ;	.line	161; "../main.c"	_KF8S_Touch_Process_General_(); //¸üÐÂ°´¼ü±êÖ¾
                                           	PAGESEL	__KF8S_Touch_Process_General_
0005e3   d413     CALL	#0x413              	CALL	__KF8S_Touch_Process_General_
                                           	PAGESEL	$
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00050_DS_
0005e4   f8d1     MOV	R1, R2               	MOV	R1, R2
0005e5   5b0a     MOV	0xa, R5              	MOV	PCH, R5
0005e6   5903     MOV	0x3, R4              	MOV	PSW, R4
0005e7   f8d8     MOV	R0, R3               	MOV	R0, R3
0005e8   0009     IRET                     	IRET	
                                           
                                           
                                           
                                           func._main	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = M
                                           ;***
                                           ;entry:  _main	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   _init_mcu
                                           ;   _delay_ms
                                           ;   __KF8S_Init_Touch_General_
                                           ;   _display
                                           ;   __KF8S_Init_Touch_General_
                                           ;   _init_mcu
                                           ;   _delay_ms
                                           ;   __KF8S_Init_Touch_General_
                                           ;   _display
                                           ;   __KF8S_Init_Touch_General_
                                           ;5 compiler assigned registers:
                                           ;   STK00
                                           ;   r0x100B
                                           ;   r0x100C
                                           ;   r0x100D
                                           ;   r0x100E
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _main	;Function start
                                           ; 2 exit points
                                           ;	op : CALL
                                           ;	.line	175; "../main.c"	init_mcu();						//³õÊ¼»¯MCU¼Ä´æÆ÷
                                           	PAGESEL	_init_mcu
0004f7   d574     CALL	#0x574              	CALL	_init_mcu
                                           	PAGESEL	$
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	176; "../main.c"	delay_ms(500);					//ÑÓÊ±Ò»»á£¬·ÀÖ¹ÉÏµçÎó´¥·¢´¥ÃþÍ¨µÀ
0004f8   98f4     MOV	R0, #0xf4            	MOV	R0,# 0xf4
0004f9   6503     CLR	0x3, 5               	BANKSEL	STK00
0004fa   51e7     MOV	0xe7, R0             	MOV	STK00, R0
0004fb   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
                                           	PAGESEL	_delay_ms
0004fc   d54f     CALL	#0x54f              	CALL	_delay_ms
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	177; "../main.c"	CMCTL1 = 0x90;    //ÉèÖÃ´¥Ãþ·ÖÆµºÍ»ù×¼µçÑ¹
0004fd   9890     MOV	R0, #0x90            	MOV	R0,# 0x90
0004fe   511a     MOV	0x1a, R0             	MOV	_CMCTL1, R0
                                           ;	op : INLINEASM
0004ff   0064     CWDT                     	CWDT 
                                           ;	op : CALL
                                           ;	.line	181; "../main.c"	_KF8S_Init_Touch_General_();		//µ÷ÓÃµçÈÝ´¥Ãþ¿âº¯ÊýµÄ³õÊ¼»¯
                                           	PAGESEL	__KF8S_Init_Touch_General_
000500   d524     CALL	#0x524              	CALL	__KF8S_Init_Touch_General_
                                           	PAGESEL	$
                                           ;	op : INLINEASM
000501   0064     CWDT                     	CWDT 
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00056_DS_
000502   0064     CWDT                     	CWDT 
                                           ;	op : CALL
                                           ;	.line	188; "../main.c"	display();					//ÏÔÊ¾LEDµÆ
                                           	PAGESEL	_display
000503   d598     CALL	#0x598              	CALL	_display
                                           	PAGESEL	$
                                           ;	op : +
                                           ;	.line	200; "../main.c"	Touch_Watch++;
000504   6503     CLR	0x3, 5               	BANKSEL	_Touch_Watch
000505   0bad     INC	0xad                 	INC	_Touch_Watch
000506   7a03     JB	0x3, 2                	JB	PSW, 2
000507   c509     JMP	#0x509               	JMP	_00063_DS_
                                           	BANKSEL	_Touch_Watch
000508   0bae     INC	0xae                 	INC	(_Touch_Watch + 1)
                                           ;	op : CAST
                                           _00063_DS_
                                           ;	.line	201; "../main.c"	if(Touch_Watch>50000)
                                           	BANKSEL	_Touch_Watch
000509   0ead     MOVZ	R0, 0xad            	MOVZ	R0, _Touch_Watch
                                           	BANKSEL	r0x100B
00050a   5196     MOV	0x96, R0             	MOV	r0x100B, R0
                                           	BANKSEL	_Touch_Watch
00050b   0eae     MOVZ	R0, 0xae            	MOVZ	R0, (_Touch_Watch + 1)
                                           	BANKSEL	r0x100C
00050c   5195     MOV	0x95, R0             	MOV	r0x100C, R0
                                           	BANKSEL	r0x100D
00050d   0394     CLR	0x94                 	CLR	r0x100D
                                           ;;1	CLR	r0x100E
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/2)
                                           ;signed compare: left >= lit(0xC351=50001), size=4, mask=ffffffff
00050e   9800     MOV	R0, #0               	MOV	R0,# 0x00
00050f   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
000510   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           ;comparing bytes at offset 3
000511   7a03     JB	0x3, 2                	JB	PSW, 2
000512   c51d     JMP	#0x51d               	JMP	_00062_DS_
000513   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x100D
000514   3894     SUB	R0, 0x94             	SUB	R0, r0x100D
000515   7a03     JB	0x3, 2                	JB	PSW, 2
000516   c51d     JMP	#0x51d               	JMP	_00062_DS_
000517   98c3     MOV	R0, #0xc3            	MOV	R0,# 0xc3
                                           	BANKSEL	r0x100C
000518   3895     SUB	R0, 0x95             	SUB	R0, r0x100C
000519   7a03     JB	0x3, 2                	JB	PSW, 2
00051a   c51d     JMP	#0x51d               	JMP	_00062_DS_
00051b   9851     MOV	R0, #0x51            	MOV	R0,# 0x51
                                           	BANKSEL	r0x100B
00051c   3896     SUB	R0, 0x96             	SUB	R0, r0x100B
                                           _00062_DS_
00051d   7803     JB	0x3, 0                	JB	PSW, 0
00051e   c502     JMP	#0x502               	JMP	_00056_DS_
                                           ;	op : =
                                           ;	.line	203; "../main.c"	Touch_Watch=0;
                                           	BANKSEL	_Touch_Watch
00051f   03ad     CLR	0xad                 	CLR	_Touch_Watch
                                           	BANKSEL	_Touch_Watch
000520   03ae     CLR	0xae                 	CLR	(_Touch_Watch + 1)
                                           ;	op : CALL
                                           ;	.line	204; "../main.c"	_KF8S_Init_Touch_General_();
                                           	PAGESEL	__KF8S_Init_Touch_General_
000521   d524     CALL	#0x524              	CALL	__KF8S_Init_Touch_General_
                                           	PAGESEL	$
                                           ;	op : GOTO
000522   c502     JMP	#0x502               	JMP	_00056_DS_
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
000523   0008     CRET                     	CRET	
                                           ; exit point of _main
                                           
                                           
                                           
                                           func._delay_us	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _delay_us	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;5 compiler assigned registers:
                                           ;   r0x100F
                                           ;   STK00
                                           ;   r0x1010
                                           ;   r0x1011
                                           ;   r0x1012
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _delay_us	;Function start
                                           ; 2 exit points
                                           ;	op : RECEIVE
                                           ;	.line	114; "../main.c"	void delay_us(uint us_data)
                                           	BANKSEL	r0x100F
                                           	MOV	r0x100F, R0
                                           	BANKSEL	STK00
                                           	MOVZ	R0, STK00
                                           	BANKSEL	r0x1010
                                           	MOV	r0x1010, R0
                                           ;	op : =
                                           ;	op : LABEL
                                           ;	op : =
                                           _00040_DS_
                                           ;	.line	116; "../main.c"	while(us_data--);
                                           	BANKSEL	r0x1010
                                           	MOVZ	R0, r0x1010
                                           	BANKSEL	r0x1011
                                           	MOV	r0x1011, R0
                                           	BANKSEL	r0x100F
                                           	MOVZ	R0, r0x100F
                                           	BANKSEL	r0x1012
                                           	MOV	r0x1012, R0
                                           ;	op : -
                                           	MOV	R0,# 0xff
                                           	BANKSEL	r0x1010
                                           	ADD	r0x1010, R0
                                           	JNB	PSW, 0
                                           	JMP	_00064_DS_
                                           	BANKSEL	r0x100F
                                           	DEC	r0x100F
                                           ;	op : IFX
                                           _00064_DS_
                                           	BANKSEL	r0x1011
                                           	MOVZ	R0, r0x1011
                                           	BANKSEL	r0x1012
                                           	ORL	R0, r0x1012
                                           	JB	PSW, 2
                                           	JMP	_00040_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:
                                           ;   r0x1005
                                           ;   STK00
                                           ;   r0x1006
                                           ;   r0x1007
                                           ;   r0x1008
                                           ;   r0x1009
                                           ;   r0x100A
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _delay_ms	;Function start
                                           ; 2 exit points
                                           ;	op : RECEIVE
                                           ;	.line	94; "../main.c"	void delay_ms(uint ms_data)
00054f   6503     CLR	0x3, 5               	BANKSEL	r0x1005
000550   519b     MOV	0x9b, R0             	MOV	r0x1005, R0
                                           	BANKSEL	STK00
000551   0ee7     MOVZ	R0, 0xe7            	MOVZ	R0, STK00
                                           	BANKSEL	r0x1006
000552   519c     MOV	0x9c, R0             	MOV	r0x1006, R0
                                           ;	op : =
                                           ;	op : LABEL
                                           ;	op : =
                                           _00030_DS_
                                           ;	.line	97; "../main.c"	while(ms_data--)
                                           	BANKSEL	r0x1006
000553   0e9c     MOVZ	R0, 0x9c            	MOVZ	R0, r0x1006
                                           	BANKSEL	r0x1007
000554   519a     MOV	0x9a, R0             	MOV	r0x1007, R0
                                           	BANKSEL	r0x1005
000555   0e9b     MOVZ	R0, 0x9b            	MOVZ	R0, r0x1005
                                           	BANKSEL	r0x1008
000556   5199     MOV	0x99, R0             	MOV	r0x1008, R0
                                           ;	op : -
000557   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
                                           	BANKSEL	r0x1006
000558   219c     ADD	0x9c, R0             	ADD	r0x1006, R0
000559   7003     JNB	0x3, 0               	JNB	PSW, 0
00055a   c55c     JMP	#0x55c               	JMP	_00065_DS_
                                           	BANKSEL	r0x1005
00055b   079b     DEC	0x9b                 	DEC	r0x1005
                                           ;	op : IFX
                                           _00065_DS_
                                           	BANKSEL	r0x1007
00055c   0e9a     MOVZ	R0, 0x9a            	MOVZ	R0, r0x1007
                                           	BANKSEL	r0x1008
00055d   3099     ORL	R0, 0x99             	ORL	R0, r0x1008
00055e   7203     JNB	0x3, 2               	JNB	PSW, 2
00055f   c573     JMP	#0x573               	JMP	_00033_DS_
                                           ;	op : INLINEASM
000560   0064     CWDT                     	CWDT 
                                           ;	op : =
                                           ;	.line	101; "../main.c"	while(j--)
000561   98c8     MOV	R0, #0xc8            	MOV	R0,# 0xc8
                                           	BANKSEL	r0x1007
000562   519a     MOV	0x9a, R0             	MOV	r0x1007, R0
                                           	BANKSEL	r0x1008
000563   0399     CLR	0x99                 	CLR	r0x1008
                                           ;	op : LABEL
                                           ;	op : =
                                           _00027_DS_
                                           	BANKSEL	r0x1007
000564   0e9a     MOVZ	R0, 0x9a            	MOVZ	R0, r0x1007
                                           	BANKSEL	r0x1009
000565   5198     MOV	0x98, R0             	MOV	r0x1009, R0
                                           	BANKSEL	r0x1008
000566   0e99     MOVZ	R0, 0x99            	MOVZ	R0, r0x1008
                                           	BANKSEL	r0x100A
000567   5197     MOV	0x97, R0             	MOV	r0x100A, R0
                                           ;	op : -
000568   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
                                           	BANKSEL	r0x1007
000569   219a     ADD	0x9a, R0             	ADD	r0x1007, R0
00056a   7003     JNB	0x3, 0               	JNB	PSW, 0
00056b   c56d     JMP	#0x56d               	JMP	_00066_DS_
                                           	BANKSEL	r0x1008
00056c   0799     DEC	0x99                 	DEC	r0x1008
                                           ;	op : IFX
                                           _00066_DS_
                                           	BANKSEL	r0x1009
00056d   0e98     MOVZ	R0, 0x98            	MOVZ	R0, r0x1009
                                           	BANKSEL	r0x100A
00056e   3097     ORL	R0, 0x97             	ORL	R0, r0x100A
00056f   7203     JNB	0x3, 2               	JNB	PSW, 2
000570   c553     JMP	#0x553               	JMP	_00030_DS_
                                           ;	op : INLINEASM
000571   0064     CWDT                     	CWDT 
                                           ;	op : GOTO
000572   c564     JMP	#0x564               	JMP	_00027_DS_
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00033_DS_
000573   0008     CRET                     	CRET	
                                           ; exit point of _delay_ms
                                           
                                           
                                           
                                           func._display	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _display	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _display	;Function start
                                           ; 2 exit points
                                           ;	op : BITWISEAND
                                           ;	.line	32; "../main.c"	if(_KF8_LIBi_channel_flag_&0x0001)		//Í¨µÀ0
000598   6503     CLR	0x3, 5               	BANKSEL	__KF8_LIBi_channel_flag_
000599   78af     JB	0xaf, 0               	JB	__KF8_LIBi_channel_flag_, 0
00059a   c59d     JMP	#0x59d               	JMP	_00002_DS_
                                           ;	op : =
                                           ;	.line	34; "../main.c"	LED1=1;
00059b   6f08     SET	0x8, 7               	SET	_P3_bits, 7
                                           ;	op : GOTO
00059c   c59e     JMP	#0x59e               	JMP	_00003_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00002_DS_
                                           ;	.line	38; "../main.c"	LED1=0;
00059d   6708     CLR	0x8, 7               	CLR	_P3_bits, 7
                                           ;	op : LABEL
                                           ;	op : BITWISEAND
                                           _00003_DS_
                                           ;	.line	41; "../main.c"	if(_KF8_LIBi_channel_flag_&0x0002)		//Í¨µÀ1
                                           	BANKSEL	__KF8_LIBi_channel_flag_
00059e   79af     JB	0xaf, 1               	JB	__KF8_LIBi_channel_flag_, 1
00059f   c5a2     JMP	#0x5a2               	JMP	_00005_DS_
                                           ;	op : =
                                           ;	.line	43; "../main.c"	LED2=1;
0005a0   6e08     SET	0x8, 6               	SET	_P3_bits, 6
                                           ;	op : GOTO
0005a1   c5a3     JMP	#0x5a3               	JMP	_00006_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00005_DS_
                                           ;	.line	47; "../main.c"	LED2=0;
0005a2   6608     CLR	0x8, 6               	CLR	_P3_bits, 6
                                           ;	op : LABEL
                                           ;	op : BITWISEAND
                                           _00006_DS_
                                           ;	.line	50; "../main.c"	if(_KF8_LIBi_channel_flag_&0x0004)		//Í¨µÀ2
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0005a3   7aaf     JB	0xaf, 2               	JB	__KF8_LIBi_channel_flag_, 2
0005a4   c5a7     JMP	#0x5a7               	JMP	_00008_DS_
                                           ;	op : =
                                           ;	.line	52; "../main.c"	LED3=1;
0005a5   6d08     SET	0x8, 5               	SET	_P3_bits, 5
                                           ;	op : GOTO
0005a6   c5a8     JMP	#0x5a8               	JMP	_00009_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00008_DS_
                                           ;	.line	56; "../main.c"	LED3=0;
0005a7   6508     CLR	0x8, 5               	CLR	_P3_bits, 5
                                           ;	op : LABEL
                                           ;	op : BITWISEAND
                                           _00009_DS_
                                           ;	.line	59; "../main.c"	if(_KF8_LIBi_channel_flag_&0x0008)		//Í¨µÀ3
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0005a8   7baf     JB	0xaf, 3               	JB	__KF8_LIBi_channel_flag_, 3
0005a9   c5ac     JMP	#0x5ac               	JMP	_00011_DS_
                                           ;	op : =
                                           ;	.line	61; "../main.c"	LED4=1;
0005aa   6c08     SET	0x8, 4               	SET	_P3_bits, 4
                                           ;	op : GOTO
0005ab   c5ad     JMP	#0x5ad               	JMP	_00012_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00011_DS_
                                           ;	.line	65; "../main.c"	LED4=0;
0005ac   6408     CLR	0x8, 4               	CLR	_P3_bits, 4
                                           ;	op : LABEL
                                           ;	op : BITWISEAND
                                           _00012_DS_
                                           ;	.line	68; "../main.c"	if(_KF8_LIBi_channel_flag_&0x0010)		//Í¨µÀ4
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0005ad   7caf     JB	0xaf, 4               	JB	__KF8_LIBi_channel_flag_, 4
0005ae   c5b1     JMP	#0x5b1               	JMP	_00014_DS_
                                           ;	op : =
                                           ;	.line	70; "../main.c"	LED5=1;
0005af   6b08     SET	0x8, 3               	SET	_P3_bits, 3
                                           ;	op : GOTO
0005b0   c5b2     JMP	#0x5b2               	JMP	_00015_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00014_DS_
                                           ;	.line	74; "../main.c"	LED5=0;
0005b1   6308     CLR	0x8, 3               	CLR	_P3_bits, 3
                                           ;	op : LABEL
                                           ;	op : BITWISEAND
                                           _00015_DS_
                                           ;	.line	77; "../main.c"	if(_KF8_LIBi_channel_flag_&0x0020)		//Í¨µÀ5
                                           	BANKSEL	__KF8_LIBi_channel_flag_
0005b2   7daf     JB	0xaf, 5               	JB	__KF8_LIBi_channel_flag_, 5
0005b3   c5b6     JMP	#0x5b6               	JMP	_00017_DS_
                                           ;	op : =
                                           ;	.line	79; "../main.c"	LED6=1;
0005b4   6808     SET	0x8, 0               	SET	_P3_bits, 0
                                           ;	op : GOTO
0005b5   c5b7     JMP	#0x5b7               	JMP	_00019_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00017_DS_
                                           ;	.line	83; "../main.c"	LED6=0;
0005b6   6008     CLR	0x8, 0               	CLR	_P3_bits, 0
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00019_DS_
0005b7   0008     CRET                     	CRET	
                                           ; exit point of _display
                                           
                                           
                                           ;	code size estimation:
                                           ;	  150+   54 =   204 instructions (  516 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:26:56 2018
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../kf8s_touch_g_lib.c"
                                           	.radix dec
                                           	.include "KF8S1011.inc"
                                           
                                           ;************************************************************ 
                                           ;       Header file for the KungFu8 
                                           ;       KF8S1011 
                                           ;       Microcontroller
                                           ; 
                                           ;       Copyright 2012-2013 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
                                           P4                .EQU                0x09
                                           PCH               .EQU                0x0A
                                           INTCTL            .EQU                0x0B
                                           EIF1              .EQU                0x0C
                                           EIF2              .EQU                0x0D
                                           T1L               .EQU                0x0E
                                           T1H               .EQU                0x0F
                                           T1CTL             .EQU                0x10
                                           PWMCTL            .EQU                0x15
                                           CMCTL1            .EQU                0x1A
                                           VRECAL            .EQU                0x1C
                                           ANSEH             .EQU                0x1D
                                           ADCDATAH          .EQU                0x1E
                                           ADCCTL0           .EQU                0x1F
                                           OPTR              .EQU                0x21
                                           TR0               .EQU                0x25
                                           TR2               .EQU                0x26
                                           TR1               .EQU                0x27
                                           TR3               .EQU                0x28
                                           TR4               .EQU                0x29
                                           EIE1              .EQU                0x2C
                                           EIE2              .EQU                0x2D
                                           PCTL              .EQU                0x2E
                                           OSCCTL            .EQU                0x2F
                                           OSCCAL0           .EQU                0x30
                                           ANSEL             .EQU                0x31
                                           PUR               .EQU                0x35
                                           IOCL              .EQU                0x36
                                           OSCCAL1           .EQU                0x37
                                           BADDRH            .EQU                0x3A
                                           BADDRL            .EQU                0x3B
                                           EECTL1            .EQU                0x3C
                                           EECTL2            .EQU                0x3D
                                           ADCDATAL          .EQU                0x3E
                                           ADCCTL1           .EQU                0x3F
                                           T3L               .EQU                0x50
                                           CTCTL             .EQU                0x53
                                           RSCTL             .EQU                0x58
                                           TXSDR             .EQU                0x59
                                           RXSDR             .EQU                0x5A
                                           OSCLDOCAL         .EQU                0x5E
                                           T1U               .EQU                0x5F
                                           BRCTL             .EQU                0x77
                                           TSCTL             .EQU                0x78
                                           EUBRGL            .EQU                0x79
                                           EUBRGH            .EQU                0x7A
                                            
                                            
                                           
                                           ;Address:0x03 PSW Bits------------------
                                           RP0                .EQU                5
                                           TO                 .EQU                4
                                           PD                 .EQU                3
                                           Z                  .EQU                2
                                           DC                 .EQU                1
                                           CY                 .EQU                0
                                           _RP0               .EQU                5
                                           _TO                .EQU                4
                                           _PD                .EQU                3
                                           _Z                 .EQU                2
                                           _DC                .EQU                1
                                           _CY                .EQU                0
                                           
                                           ;Address:0x05 P0 Bits-------------------
                                           P07                .EQU                7
                                           P06                .EQU                6
                                           P05                .EQU                5
                                           P04                .EQU                4
                                           P03                .EQU                3
                                           P01                .EQU                1
                                           P00                .EQU                0
                                           _P07               .EQU                7
                                           _P06               .EQU                6
                                           _P05               .EQU                5
                                           _P04               .EQU                4
                                           _P03               .EQU                3
                                           _P01               .EQU                1
                                           _P00               .EQU                0
                                           
                                           ;Address:0x06 P2 Bits-------------------
                                           P27                .EQU                7
                                           P26                .EQU                6
                                           P23                .EQU                3
                                           P22                .EQU                2
                                           P21                .EQU                1
                                           P20                .EQU                0
                                           _P27               .EQU                7
                                           _P26               .EQU                6
                                           _P23               .EQU                3
                                           _P22               .EQU                2
                                           _P21               .EQU                1
                                           _P20               .EQU                0
                                           
                                           ;Address:0x07 P1 Bits-------------------
                                           P17                .EQU                7
                                           P16                .EQU                6
                                           P15                .EQU                5
                                           P13                .EQU                3
                                           P12                .EQU                2
                                           _P17               .EQU                7
                                           _P16               .EQU                6
                                           _P15               .EQU                5
                                           _P13               .EQU                3
                                           _P12               .EQU                2
                                           
                                           ;Address:0x08 P3 Bits-------------------
                                           P37                .EQU                7
                                           P36                .EQU                6
                                           P35                .EQU                5
                                           P34                .EQU                4
                                           P33                .EQU                3
                                           P31                .EQU                1
                                           P30                .EQU                0
                                           _P37               .EQU                7
                                           _P36               .EQU                6
                                           _P35               .EQU                5
                                           _P34               .EQU                4
                                           _P33               .EQU                3
                                           _P31               .EQU                1
                                           _P30               .EQU                0
                                           
                                           ;Address:0x09 P4 Bits-------------------
                                           P43                .EQU                3
                                           _P43               .EQU                3
                                           
                                           ;Address:0x0B INTCTL Bits---------------
                                           AIE                .EQU                7
                                           PUIE               .EQU                6
                                           T0IE               .EQU                5
                                           P0IE               .EQU                3
                                           T0IF               .EQU                2
                                           P0IF               .EQU                0
                                           _AIE               .EQU                7
                                           _PUIE              .EQU                6
                                           _T0IE              .EQU                5
                                           _P0IE              .EQU                3
                                           _T0IF              .EQU                2
                                           _P0IF              .EQU                0
                                           
                                           ;Address:0x0C EIF1 Bits-----------------
                                           CTIF               .EQU                7
                                           ADIF               .EQU                6
                                           INT2IF             .EQU                5
                                           INT1IF             .EQU                4
                                           C1IF               .EQU                3
                                           PWM2IF             .EQU                2
                                           T2IF               .EQU                1
                                           T1IF               .EQU                0
                                           _CTIF              .EQU                7
                                           _ADIF              .EQU                6
                                           _INT2IF            .EQU                5
                                           _INT1IF            .EQU                4
                                           _C1IF              .EQU                3
                                           _PWM2IF            .EQU                2
                                           _T2IF              .EQU                1
                                           _T1IF              .EQU                0
                                           
                                           ;Address:0x0D EIF2 Bits-----------------
                                           RXIF               .EQU                5
                                           TXIF               .EQU                4
                                           _RXIF              .EQU                5
                                           _TXIF              .EQU                4
                                           
                                           ;Address:0x10 T1CTL Bits----------------
                                           T1GC               .EQU                6
                                           T1CKS1             .EQU                5
                                           T1CKS0             .EQU                4
                                           T1SY               .EQU                2
                                           T1CS               .EQU                1
                                           T1ON               .EQU                0
                                           _T1GC              .EQU                6
                                           _T1CKS1            .EQU                5
                                           _T1CKS0            .EQU                4
                                           _T1SY              .EQU                2
                                           _T1CS              .EQU                1
                                           _T1ON              .EQU                0
                                           
                                           ;Address:0x15 PWMCTL Bits---------------
                                           INT2SE             .EQU                7
                                           INT1SE             .EQU                6
                                           _INT2SE            .EQU                7
                                           _INT1SE            .EQU                6
                                           
                                           ;Address:0x1A CMCTL1 Bits---------------
                                           CTCLKSEL1          .EQU                7
                                           CTCLKSEL0          .EQU                6
                                           CTVREFSEL1         .EQU                5
                                           CTVREFSEL0         .EQU                4
                                           _CTCLKSEL1         .EQU                7
                                           _CTCLKSEL0         .EQU                6
                                           _CTVREFSEL1        .EQU                5
                                           _CTVREFSEL0        .EQU                4
                                           
                                           ;Address:0x1D ANSEH Bits----------------
                                           ANS11              .EQU                3
                                           ANS10              .EQU                2
                                           _ANS11             .EQU                3
                                           _ANS10             .EQU                2
                                           
                                           ;Address:0x1F 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
                                           
                                           ;Address:0x21 OPTR Bits-----------------
                                           PUPH               .EQU                7
                                           T0CS               .EQU                5
                                           T0SE               .EQU                4
                                           PSA                .EQU                3
                                           PS2                .EQU                2
                                           PS1                .EQU                1
                                           PS0                .EQU                0
                                           _PUPH              .EQU                7
                                           _T0CS              .EQU                5
                                           _T0SE              .EQU                4
                                           _PSA               .EQU                3
                                           _PS2               .EQU                2
                                           _PS1               .EQU                1
                                           _PS0               .EQU                0
                                           
                                           ;Address:0x25 TR0 Bits------------------
                                           TR07               .EQU                7
                                           TR06               .EQU                6
                                           TR05               .EQU                5
                                           TR04               .EQU                4
                                           TR03               .EQU                3
                                           TR01               .EQU                1
                                           TR00               .EQU                0
                                           _TR07              .EQU                7
                                           _TR06              .EQU                6
                                           _TR05              .EQU                5
                                           _TR04              .EQU                4
                                           _TR03              .EQU                3
                                           _TR01              .EQU                1
                                           _TR00              .EQU                0
                                           
                                           ;Address:0x26 TR2 Bits------------------
                                           TR27               .EQU                7
                                           TR26               .EQU                6
                                           TR23               .EQU                3
                                           TR22               .EQU                2
                                           TR21               .EQU                1
                                           TR20               .EQU                0
                                           _TR27              .EQU                7
                                           _TR26              .EQU                6
                                           _TR23              .EQU                3
                                           _TR22              .EQU                2
                                           _TR21              .EQU                1
                                           _TR20              .EQU                0
                                           
                                           ;Address:0x27 TR1 Bits------------------
                                           TR17               .EQU                7
                                           TR16               .EQU                6
                                           TR15               .EQU                5
                                           TR13               .EQU                3
                                           TR12               .EQU                2
                                           _TR17              .EQU                7
                                           _TR16              .EQU                6
                                           _TR15              .EQU                5
                                           _TR13              .EQU                3
                                           _TR12              .EQU                2
                                           
                                           ;Address:0x28 TR3 Bits------------------
                                           TR37               .EQU                7
                                           TR36               .EQU                6
                                           TR35               .EQU                5
                                           TR34               .EQU                4
                                           TR33               .EQU                3
                                           TR31               .EQU                1
                                           TR30               .EQU                0
                                           _TR37              .EQU                7
                                           _TR36              .EQU                6
                                           _TR35              .EQU                5
                                           _TR34              .EQU                4
                                           _TR33              .EQU                3
                                           _TR31              .EQU                1
                                           _TR30              .EQU                0
                                           
                                           ;Address:0x29 TR4 Bits------------------
                                           TR43               .EQU                3
                                           _TR43              .EQU                3
                                           
                                           ;Address:0x2C EIE1 Bits-----------------
                                           CTIE               .EQU                7
                                           ADIE               .EQU                6
                                           INT2IE             .EQU                5
                                           INT1IE             .EQU                4
                                           C1IE               .EQU                3
                                           PWM2IE             .EQU                2
                                           T2IE               .EQU                1
                                           T1IE               .EQU                0
                                           _CTIE              .EQU                7
                                           _ADIE              .EQU                6
                                           _INT2IE            .EQU                5
                                           _INT1IE            .EQU                4
                                           _C1IE              .EQU                3
                                           _PWM2IE            .EQU                2
                                           _T2IE              .EQU                1
                                           _T1IE              .EQU                0
                                           
                                           ;Address:0x2D EIE2 Bits-----------------
                                           RXIE               .EQU                5
                                           TXIE               .EQU                4
                                           _RXIE              .EQU                5
                                           _TXIE              .EQU                4
                                           
                                           ;Address:0x2E PCTL Bits-----------------
                                           VREEN              .EQU                7
                                           VREOE              .EQU                6
                                           SLVREN             .EQU                4
                                           POR                .EQU                1
                                           LVR                .EQU                0
                                           _VREEN             .EQU                7
                                           _VREOE             .EQU                6
                                           _SLVREN            .EQU                4
                                           _POR               .EQU                1
                                           _LVR               .EQU                0
                                           
                                           ;Address:0x2F OSCCTL Bits---------------
                                           CKOEN              .EQU                7
                                           IRCS2              .EQU                6
                                           IRCS1              .EQU                5
                                           IRCS0              .EQU                4
                                           _CKOEN             .EQU                7
                                           _IRCS2             .EQU                6
                                           _IRCS1             .EQU                5
                                           _IRCS0             .EQU                4
                                           
                                           ;Address:0x31 ANSEL Bits----------------
                                           ANS7               .EQU                7
                                           ANS6               .EQU                6
                                           ANS4               .EQU                4
                                           ANS3               .EQU                3
                                           ANS1               .EQU                1
                                           ANS0               .EQU                0
                                           _ANS7              .EQU                7
                                           _ANS6              .EQU                6
                                           _ANS4              .EQU                4
                                           _ANS3              .EQU                3
                                           _ANS1              .EQU                1
                                           _ANS0              .EQU                0
                                           
                                           ;Address:0x35 PUR Bits------------------
                                           PUR7               .EQU                7
                                           PUR6               .EQU                6
                                           PUR5               .EQU                5
                                           PUR4               .EQU                4
                                           PUR1               .EQU                1
                                           PUR0               .EQU                0
                                           _PUR7              .EQU                7
                                           _PUR6              .EQU                6
                                           _PUR5              .EQU                5
                                           _PUR4              .EQU                4
                                           _PUR1              .EQU                1
                                           _PUR0              .EQU                0
                                           
                                           ;Address:0x36 IOCL Bits-----------------
                                           IOCL7              .EQU                7
                                           IOCL6              .EQU                6
                                           IOCL5              .EQU                5
                                           IOCL4              .EQU                4
                                           IOCL3              .EQU                3
                                           IOCL1              .EQU                1
                                           IOCL0              .EQU                0
                                           _IOCL7             .EQU                7
                                           _IOCL6             .EQU                6
                                           _IOCL5             .EQU                5
                                           _IOCL4             .EQU                4
                                           _IOCL3             .EQU                3
                                           _IOCL1             .EQU                1
                                           _IOCL0             .EQU                0
                                           
                                           ;Address:0x3F ADCCTL1 Bits--------------
                                           ADCS2              .EQU                6
                                           ADCS1              .EQU                5
                                           ADCS0              .EQU                4
                                           VCFG1              .EQU                3
                                           VCFG0              .EQU                2
                                           _ADCS2             .EQU                6
                                           _ADCS1             .EQU                5
                                           _ADCS0             .EQU                4
                                           _VCFG1             .EQU                3
                                           _VCFG0             .EQU                2
                                           
                                           ;Address:0x50 T3L Bits------------------
                                           T3L7               .EQU                7
                                           T3L6               .EQU                6
                                           T3L5               .EQU                5
                                           T3L4               .EQU                4
                                           T3L3               .EQU                3
                                           T3L2               .EQU                2
                                           T3L1               .EQU                1
                                           T3L0               .EQU                0
                                           _T3L7              .EQU                7
                                           _T3L6              .EQU                6
                                           _T3L5              .EQU                5
                                           _T3L4              .EQU                4
                                           _T3L3              .EQU                3
                                           _T3L2              .EQU                2
                                           _T3L1              .EQU                1
                                           _T3L0              .EQU                0
                                           
                                           ;Address:0x53 CTCTL Bits----------------
                                           CTEN               .EQU                7
                                           CTSTART            .EQU                6
                                           CTCAPS             .EQU                5
                                           CTCMS              .EQU                4
                                           CTCHSEL4           .EQU                4
                                           CTCHSEL3           .EQU                3
                                           CTCHSEL2           .EQU                2
                                           CTCHSEL1           .EQU                1
                                           CTCHSEL0           .EQU                0
                                           _CTEN              .EQU                7
                                           _CTSTART           .EQU                6
                                           _CTCAPS            .EQU                5
                                           _CTCMS             .EQU                4
                                           _CTCHSEL4          .EQU                4
                                           _CTCHSEL3          .EQU                3
                                           _CTCHSEL2          .EQU                2
                                           _CTCHSEL1          .EQU                1
                                           _CTCHSEL0          .EQU                0
                                           
                                           ;Address:0x58 RSCTL Bits----------------
                                           SPEN               .EQU                7
                                           RX9                .EQU                6
                                           SRXEN              .EQU                5
                                           CRXEN              .EQU                4
                                           ADREN              .EQU                3
                                           FRER               .EQU                2
                                           OVFER              .EQU                1
                                           RX9D               .EQU                0
                                           _SPEN              .EQU                7
                                           _RX9               .EQU                6
                                           _SRXEN             .EQU                5
                                           _CRXEN             .EQU                4
                                           _ADREN             .EQU                3
                                           _FRER              .EQU                2
                                           _OVFER             .EQU                1
                                           _RX9D              .EQU                0
                                           
                                           ;Address:0x5E OSCLDOCAL Bits------------
                                           
                                           ;Address:0x77 BRCTL Bits----------------
                                           ABRDOVF            .EQU                7
                                           RCIDLF             .EQU                6
                                           SCKPS              .EQU                4
                                           BRG16              .EQU                3
                                           WUEN               .EQU                1
                                           ADRBEN             .EQU                0
                                           _ABRDOVF           .EQU                7
                                           _RCIDLF            .EQU                6
                                           _SCKPS             .EQU                4
                                           _BRG16             .EQU                3
                                           _WUEN              .EQU                1
                                           _ADRBEN            .EQU                0
                                           
                                           ;Address:0x78 TSCTL Bits----------------
                                           CSRS               .EQU                7
                                           TX9                .EQU                6
                                           TXEN               .EQU                5
                                           SYNC               .EQU                4
                                           SENDB              .EQU                3
                                           HBRG               .EQU                2
                                           TXSRS              .EQU                1
                                           TX9D               .EQU                0
                                           _CSRS              .EQU                7
                                           _TX9               .EQU                6
                                           _TXEN              .EQU                5
                                           _SYNC              .EQU                4
                                           _SENDB             .EQU                3
                                           _HBRG              .EQU                2
                                           _TXSRS             .EQU                1
                                           _TX9D              .EQU                0
                                           
                                           ;Address:0x79 EUBRGL Bits---------------
                                           BRG7               .EQU                7
                                           BRG6               .EQU                6
                                           BRG5               .EQU                5
                                           BRG4               .EQU                4
                                           BRG3               .EQU                3
                                           BRG2               .EQU                2
                                           BRG1               .EQU                1
                                           BRG0               .EQU                0
                                           _BRG7              .EQU                7
                                           _BRG6              .EQU                6
                                           _BRG5              .EQU                5
                                           _BRG4              .EQU                4
                                           _BRG3              .EQU                3
                                           _BRG2              .EQU                2
                                           _BRG1              .EQU                1
                                           _BRG0              .EQU                0
                                           
                                           ;Address:0x7A EUBRGH Bits---------------
                                           BRG15              .EQU                7
                                           BRG14              .EQU                6
                                           BRG13              .EQU                5
                                           BRG12              .EQU                4
                                           BRG11              .EQU                3
                                           BRG10              .EQU                2
                                           BRG9               .EQU                1
                                           BRG8               .EQU                0
                                           _BRG15             .EQU                7
                                           _BRG14             .EQU                6
                                           _BRG13             .EQU                5
                                           _BRG12             .EQU                4
                                           _BRG11             .EQU                3
                                           _BRG10             .EQU                2
                                           _BRG9              .EQU                1
                                           _BRG8              .EQU                0
                                            
                                            
                                           ;--------------------------------------------------------
                                           ; 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	_P3_bits
                                           	.extern	_P4_bits
                                           	.extern	_INTCTL_bits
                                           	.extern	_EIF1_bits
                                           	.extern	_EIF2_bits
                                           	.extern	_T1CTL_bits
                                           	.extern	_PWMCTL_bits
                                           	.extern	_CMCTL1_bits
                                           	.extern	_ANSEH_bits
                                           	.extern	_ADCCTL0_bits
                                           	.extern	_OPTR_bits
                                           	.extern	_TR0_bits
                                           	.extern	_TR2_bits
                                           	.extern	_TR1_bits
                                           	.extern	_TR3_bits
                                           	.extern	_TR4_bits
                                           	.extern	_EIE1_bits
                                           	.extern	_EIE2_bits
                                           	.extern	_PCTL_bits
                                           	.extern	_OSCCTL_bits
                                           	.extern	_ANSEL_bits
                                           	.extern	_PUR_bits
                                           	.extern	_IOCL_bits
                                           	.extern	_ADCCTL1_bits
                                           	.extern	_T3L_bits
                                           	.extern	_CTCTL_bits
                                           	.extern	_RSCTL_bits
                                           	.extern	_OSCLDOCAL_bits
                                           	.extern	_BRCTL_bits
                                           	.extern	_TSCTL_bits
                                           	.extern	_EUBRGL_bits
                                           	.extern	_EUBRGH_bits
                                           	.extern	_sentbuf1
                                           	.extern	_sentbuf2
                                           	.extern	_sentbuf3
                                           	.extern	_sentbuf4
                                           	.extern	__KF8_LIBi_channel_flag_
                                           	.extern	__KF8_LIBc_channel_
                                           	.extern	__KF8_LIBc_channel_Buf
                                           	.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	_P3
                                           	.extern	_P4
                                           	.extern	_PCH
                                           	.extern	_INTCTL
                                           	.extern	_EIF1
                                           	.extern	_EIF2
                                           	.extern	_T1L
                                           	.extern	_T1H
                                           	.extern	_T1CTL
                                           	.extern	_PWMCTL
                                           	.extern	_CMCTL1
                                           	.extern	_VRECAL
                                           	.extern	_ANSEH
                                           	.extern	_ADCDATAH
                                           	.extern	_ADCCTL0
                                           	.extern	_OPTR
                                           	.extern	_TR0
                                           	.extern	_TR2
                                           	.extern	_TR1
                                           	.extern	_TR3
                                           	.extern	_TR4
                                           	.extern	_EIE1
                                           	.extern	_EIE2
                                           	.extern	_PCTL
                                           	.extern	_OSCCTL
                                           	.extern	_OSCCAL0
                                           	.extern	_ANSEL
                                           	.extern	_PUR
                                           	.extern	_IOCL
                                           	.extern	_OSCCAL1
                                           	.extern	_BADDRH
                                           	.extern	_BADDRL
                                           	.extern	_EECTL1
                                           	.extern	_EECTL2
                                           	.extern	_ADCDATAL
                                           	.extern	_ADCCTL1
                                           	.extern	_T3L
                                           	.extern	_CTCTL
                                           	.extern	_RSCTL
                                           	.extern	_TXSDR
                                           	.extern	_RXSDR
                                           	.extern	_OSCLDOCAL
                                           	.extern	_T1U
                                           	.extern	_BRCTL
                                           	.extern	_TSCTL
                                           	.extern	_EUBRGL
                                           	.extern	_EUBRGH
                                           
                                           	.extern STK12
                                           	.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	__KF8S_Get_Ver_General_
                                           	.global	__KF8S_Touch_TEST_General_
                                           	.global	__KF8S_Touch_Process_General_
                                           	.global	__KF8S_Init_Touch_General_
                                           	.global	__KF8S_Lib_Set_General_Parameter
                                           	.global	__KF8_lib_Wave_Protect_Time_Count_S_T_
                                           	.global	__KF8_lib_MAX_KEY_Vaule_Time_Count_S_T_
                                           	.global	__KF8_lib_Key_Double_Timer_Protect_S_T_
                                           	.global	__KF8_lib_Key_Down_Count_S_T_
                                           	.global	__KF8_LIBc_finger_OUT_First_S_T_
                                           	.global	__KF8_LIBc_finger_OUT_Second_S_T_
                                           	.global	__KF8_lib_Finded_MAX_I_S_T_
                                           	.global	__KF8_lib_Finded_MAX_J_S_T_
                                           	.global	__KF8_lib_CH_No_WA_Change_Flag_S_T_
                                           	.global	__KF8_lib_CH_DW_Change_Count_S_T_
                                           	.global	__KF8_lib_CH_DW_Change_Dealed_Flag_S_T_
                                           	.global	__KF8_lib_bahualvtemportemp_S_T_
                                           	.global	__KF8_lib_Date_Uchar_Temp_S_T_
                                           	.global	_change_buf_KF8_Lib_S_T_
                                           	.global	_i_KF8_lib_S_T_
                                           	.global	_result_temp_KF8_Lib_S_T_
                                           	.global	_Addr_Copy_Int_KF8_Lib_S_T_
                                           	.global	__KF8_LIBi_Touch_New_Date_S_T_
                                           	.global	__KF8_Temp_Cur_A_S_T_
                                           	.global	__KF8_Temp_Cur_B_S_T_
                                           	.global	__KF8S_Data_Steady_Flag_
                                           	.global	__KF8_LIBt_buff_bit_S_T_
                                           
                                           ;--------------------------------------------------------
                                           ; global definitions
                                           ;--------------------------------------------------------
                                           UD_kf8s_touch_g_lib_0	.udata
                                           __KF8_lib_Wave_Protect_Time_Count_S_T_	.res	1
                                           
                                           UD_kf8s_touch_g_lib_1	.udata
                                           __KF8_lib_MAX_KEY_Vaule_Time_Count_S_T_	.res	2
                                           
                                           UD_kf8s_touch_g_lib_2	.udata
                                           __KF8_lib_Key_Double_Timer_Protect_S_T_	.res	2
                                           
                                           UD_kf8s_touch_g_lib_3	.udata
                                           __KF8_lib_Touch_Bits_	.res	1
                                           
                                           UD_kf8s_touch_g_lib_4	.udata
                                           __KF8_lib_Key_Down_Count_S_T_	.res	1
                                           
                                           UD_kf8s_touch_g_lib_5	.udata
                                           __KF8_LIBc_finger_OUT_First_S_T_	.res	1
                                           
                                           UD_kf8s_touch_g_lib_6	.udata
                                           __KF8_LIBc_finger_OUT_Second_S_T_	.res	1
                                           
                                           UD_kf8s_touch_g_lib_7	.udata
                                           __KF8_lib_Finded_MAX_I_S_T_	.res	1
                                           
                                           UD_kf8s_touch_g_lib_8	.udata
                                           __KF8_lib_Finded_MAX_J_S_T_	.res	1
                                           
                                           UD_kf8s_touch_g_lib_9	.udata
                                           __KF8_lib_CH_No_WA_Change_Flag_S_T_	.res	2
                                           
                                           UD_kf8s_touch_g_lib_10	.udata
                                           __KF8_lib_CH_DW_Change_Count_S_T_	.res	1
                                           
                                           UD_kf8s_touch_g_lib_11	.udata
                                           __KF8_lib_CH_DW_Change_Dealed_Flag_S_T_	.res	2
                                           
                                           UD_kf8s_touch_g_lib_12	.udata
                                           __KF8_lib_bahualvtemportemp_S_T_	.res	1
                                           
                                           UD_kf8s_touch_g_lib_13	.udata
                                           __KF8_lib_Date_Uchar_Temp_S_T_	.res	1
                                           
                                           UD_kf8s_touch_g_lib_14	.udata
                                           _change_buf_KF8_Lib_S_T_	.res	1
                                           
                                           UD_kf8s_touch_g_lib_15	.udata
                                           _i_KF8_lib_S_T_	.res	1
                                           
                                           UD_kf8s_touch_g_lib_16	.udata
                                           _result_temp_KF8_Lib_S_T_	.res	2
                                           
                                           UD_kf8s_touch_g_lib_17	.udata
                                           _Addr_Copy_Int_KF8_Lib_S_T_	.res	1
                                           
                                           UD_kf8s_touch_g_lib_18	.udata
                                           __KF8_LIBi_Touch_New_Date_S_T_	.res	2
                                           
                                           UD_kf8s_touch_g_lib_19	.udata
                                           __KF8_Temp_Cur_A_S_T_	.res	2
                                           
                                           UD_kf8s_touch_g_lib_20	.udata
                                           __KF8_Temp_Cur_B_S_T_	.res	2
                                           
                                           UD_kf8s_touch_g_lib_21	.udata
                                           __KF8S_Data_Steady_Flag_	.res	2
                                           
                                           ;--------------------------------------------------------
                                           ; absolute symbol definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; compiler-defined variables
                                           ;--------------------------------------------------------
                                           UDL_kf8s_touch_g_lib_0	.udata
                                           r0x1031	.res	1
                                           UDL_kf8s_touch_g_lib_1	.udata
                                           r0x102A	.res	1
                                           UDL_kf8s_touch_g_lib_2	.udata
                                           r0x102B	.res	1
                                           UDL_kf8s_touch_g_lib_3	.udata
                                           r0x102D	.res	1
                                           UDL_kf8s_touch_g_lib_4	.udata
                                           r0x102E	.res	1
                                           UDL_kf8s_touch_g_lib_5	.udata
                                           r0x102F	.res	1
                                           UDL_kf8s_touch_g_lib_6	.udata
                                           r0x1030	.res	1
                                           UDL_kf8s_touch_g_lib_7	.udata
                                           r0x102C	.res	1
                                           ;--------------------------------------------------------
                                           ; initialized data
                                           ;--------------------------------------------------------
                                           
                                           ID_kf8s_touch_g_lib_0	.code
                                           __KF8_LIBt_buff_bit_S_T_
0005b8   b001     RRET	R0, #0x1            	RRET R0, #0x01
0005b9   b000     RRET	R0, #0              	RRET R0, #0x00
0005ba   b002     RRET	R0, #0x2            	RRET R0, #0x02
0005bb   b000     RRET	R0, #0              	RRET R0, #0x00
0005bc   b004     RRET	R0, #0x4            	RRET R0, #0x04
0005bd   b000     RRET	R0, #0              	RRET R0, #0x00
0005be   b008     RRET	R0, #0x8            	RRET R0, #0x08
0005bf   b000     RRET	R0, #0              	RRET R0, #0x00
0005c0   b010     RRET	R0, #0x10           	RRET R0, #0x10
0005c1   b000     RRET	R0, #0              	RRET R0, #0x00
0005c2   b020     RRET	R0, #0x20           	RRET R0, #0x20
0005c3   b000     RRET	R0, #0              	RRET R0, #0x00
0005c4   b040     RRET	R0, #0x40           	RRET R0, #0x40
0005c5   b000     RRET	R0, #0              	RRET R0, #0x00
0005c6   b080     RRET	R0, #0x80           	RRET R0, #0x80
0005c7   b000     RRET	R0, #0              	RRET R0, #0x00
0005c8   b000     RRET	R0, #0              	RRET R0, #0x00
0005c9   b001     RRET	R0, #0x1            	RRET R0, #0x01
0005ca   b000     RRET	R0, #0              	RRET R0, #0x00
0005cb   b002     RRET	R0, #0x2            	RRET R0, #0x02
0005cc   b000     RRET	R0, #0              	RRET R0, #0x00
0005cd   b004     RRET	R0, #0x4            	RRET R0, #0x04
0005ce   b000     RRET	R0, #0              	RRET R0, #0x00
0005cf   b008     RRET	R0, #0x8            	RRET R0, #0x08
0005d0   b000     RRET	R0, #0              	RRET R0, #0x00
0005d1   b010     RRET	R0, #0x10           	RRET R0, #0x10
0005d2   b000     RRET	R0, #0              	RRET R0, #0x00
0005d3   b020     RRET	R0, #0x20           	RRET R0, #0x20
0005d4   b000     RRET	R0, #0              	RRET R0, #0x00
0005d5   b040     RRET	R0, #0x40           	RRET R0, #0x40
0005d6   b000     RRET	R0, #0              	RRET R0, #0x00
0005d7   b080     RRET	R0, #0x80           	RRET R0, #0x80
                                           
                                           ;--------------------------------------------------------
                                           ; overlayable items in internal ram 
                                           ;--------------------------------------------------------
                                           ;	.udata_ovr
                                           
                                           
                                           func.__KF8S_Get_Ver_General_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8S_Get_Ver_General_	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8S_Get_Ver_General_	;Function start
                                           ; 2 exit points
                                           ;	op : RETURN
                                           ;	.line	2827; "../kf8s_touch_g_lib.c"	return Ver_S_G;
                                           	MOV	R0,# 0x15
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           	CRET	
                                           ; exit point of __KF8S_Get_Ver_General_
                                           
                                           
                                           
                                           func.__KF8S_Touch_TEST_General_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8S_Touch_TEST_General_	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8S_Touch_TEST_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_S_T_
                                           	MOV _Addr_Copy_Int_KF8_Lib_S_T_,R0
                                           	
                                           ;	op : INLINEASM
                                           	;;
                                           	BANKSEL _CTCTL
                                           	JB _CTCTL,4
                                           	JMP USE_T1_DATE_IN
                                           USE_T13_DATE_IN1:
                                           	BANKSEL T1U
                                           	MOV R1,T1U
                                           	BANKSEL __KF8_lib_Touch_Bits_
                                           	JNB __KF8_lib_Touch_Bits_,7 ;
                                           	JMP USE_16bit_END1
                                           	CLR PSW,0
                                           	RRC R1
                                           USE_16bit_END1:
                                           	BANKSEL T3L
                                           	MOV R0,T3L
                                           	JMP DATE_READ_IN_VAR1
                                           USE_T1_DATE_IN1:
                                           	BANKSEL T1H
                                           	MOV R1,T1H
                                           	BANKSEL T1L
                                           	MOV R0,T1L
                                           DATE_READ_IN_VAR1:
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_S_T_
                                           	MOV __KF8_LIBi_Touch_New_Date_S_T_+1,R1
                                           	MOV __KF8_LIBi_Touch_New_Date_S_T_,R0
                                           	CLR PSW,0
                                           	RRC __KF8_LIBi_Touch_New_Date_S_T_+1
                                           	RRC __KF8_LIBi_Touch_New_Date_S_T_
                                           	;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
                                           	MOV R0,_Addr_Copy_Int_KF8_Lib_S_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_S_T_
                                           	ADD __KF8_LIBi_Touch_New_Date_S_T_,R1
                                           	INC R0
                                           	BANKSEL __KF8_LIBi_buff_hit_
                                           	LD R1,[R0]
                                           	JNB PSW,0
                                           	INC R1
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_S_T_
                                           	ADD R1,__KF8_LIBi_Touch_New_Date_S_T_+1
                                           	BANKSEL __KF8_LIBi_buff_hit_
                                           	ST [R0],R1
                                           	DEC R0
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_S_T_
                                           	MOV R1,__KF8_LIBi_Touch_New_Date_S_T_
                                           	BANKSEL __KF8_LIBi_buff_hit_
                                           	ST [R0],R1
                                           	
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	2673; "../kf8s_touch_g_lib.c"	if(!_KF8_lib_Touch_Bits_._KF8_Touch_Work_Flag)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
                                           	JNB	__KF8_lib_Touch_Bits_, 0
                                           	JMP	_00147_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
                                           	MOV R0,_Addr_Copy_Int_KF8_Lib_S_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_S_T_
                                           	MOV R0,_Addr_Copy_Int_KF8_Lib_S_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_S_T_
                                           	MOV R0,_Addr_Copy_Int_KF8_Lib_S_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_S_T_
                                           	MOV R0,_Addr_Copy_Int_KF8_Lib_S_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	2721; "../kf8s_touch_g_lib.c"	if(_KF8_LIBc_channel_==0)
                                           	MOV	R0,# 0x00
                                           	BANKSEL	__KF8_LIBc_channel_
                                           	ORL	R0, __KF8_LIBc_channel_
                                           	JB	PSW, 2
                                           	JMP	_00147_DS_
                                           ;	op : +
                                           ;	.line	2723; "../kf8s_touch_g_lib.c"	_KF8_lib_Date_Uchar_Temp_S_T_++;
                                           	BANKSEL	__KF8_lib_Date_Uchar_Temp_S_T_
                                           	INC	__KF8_lib_Date_Uchar_Temp_S_T_
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/3)
                                           ;unsigned compare: left >= lit(0x81=129), size=1
                                           ;	.line	2724; "../kf8s_touch_g_lib.c"	if(_KF8_lib_Date_Uchar_Temp_S_T_>128) //²»°´ÕûÈ¦ÁË£¬´Ó0ËãÆð£¬Ê¡´úÂë
                                           	MOV	R0,# 0x81
                                           	BANKSEL	__KF8_lib_Date_Uchar_Temp_S_T_
                                           	SUB	R0, __KF8_lib_Date_Uchar_Temp_S_T_
                                           ;comparing bytes at offset 0
                                           	JB	PSW, 0
                                           	JMP	_00147_DS_
                                           ;	op : =
                                           ;	.line	2726; "../kf8s_touch_g_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
                                           _00147_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 : INLINEASM
                                           	BANKSEL _CTCTL
                                           	JNB _CTCTL,4
                                           	JMP USE_T3L_COUNT_FLAG1
                                           	CLR _T1L
                                           	CLR _T1H
                                           	CLR _EIF1,_T1IF
                                           	JMP START_CT_DO1
                                           USE_T3L_COUNT_FLAG1:
                                           	CLR _T3L
                                           START_CT_DO1:
                                           	CLR _PSW,0
                                           	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 $
                                           	MOV R1,#0xF0
                                           	BANKSEL _CTCTL
                                           	AND _CTCTL,R1 ;
                                           	ORL _CTCTL,R0
                                           	MOV R0,#0x01
                                           	DECJZ R0
                                           	JMP $-1
                                           	SET _CTCTL,6 ;
                                           	NOP
                                           	JB _CTCTL,6
                                           	JMP $-3
                                           START_CT_END_DO1:
                                           	BANKSEL _CTCTL
                                           	JNB _CTCTL,4
                                           	CLR _T1U
                                           	SET _EIE1,7 ;
                                           	CLR _EIF1,7 ;
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           	CRET	
                                           ; exit point of __KF8S_Touch_TEST_General_
                                           
                                           
                                           
                                           func.__KF8S_Touch_Process_General_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8S_Touch_Process_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
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8S_Touch_Process_General_	;Function start
                                           ; 2 exit points
                                           ;	op : INLINEASM
000413   6003     CLR	0x3, 0               	CLR PSW,0
000414   6503     CLR	0x3, 5               	BANKSEL __KF8_LIBc_channel_
000415   129e     RLCR	0x9e                	RLCR __KF8_LIBc_channel_
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
000416   5187     MOV	0x87, R0             	MOV _Addr_Copy_Int_KF8_Lib_S_T_,R0
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL _CTCTL
000417   7c53     JB	0x53, 4               	JB _CTCTL,4
000418   c420     JMP	#0x420               	JMP USE_T1_DATE_IN
                                           USE_T13_DATE_IN:
                                           	BANKSEL T1U
000419   525f     MOV	R1, 0x5f             	MOV R1,T1U
                                           	BANKSEL __KF8_lib_Touch_Bits_
00041a   7792     JNB	0x92, 7              	JNB __KF8_lib_Touch_Bits_,7 ;
00041b   c41e     JMP	#0x41e               	JMP USE_16bit_END
00041c   6003     CLR	0x3, 0               	CLR PSW,0
00041d   ff21     RRC	R1                   	RRC R1
                                           USE_16bit_END:
                                           	BANKSEL T3L
00041e   5050     MOV	R0, 0x50             	MOV R0,T3L
00041f   c422     JMP	#0x422               	JMP DATE_READ_IN_VAR
                                           USE_T1_DATE_IN:
                                           	BANKSEL T1H
000420   520f     MOV	R1, 0xf              	MOV R1,T1H
                                           	BANKSEL T1L
000421   500e     MOV	R0, 0xe              	MOV R0,T1L
                                           DATE_READ_IN_VAR:
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_S_T_
000422   53a6     MOV	0xa6, R1             	MOV __KF8_LIBi_Touch_New_Date_S_T_+1,R1
000423   51a5     MOV	0xa5, R0             	MOV __KF8_LIBi_Touch_New_Date_S_T_,R0
                                           	
                                           ;	op : INLINEASM
                                           	;;---------------------------------
                                           	;;==
000424   9802     MOV	R0, #0x2             	MOV R0,#(2)
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_S_T_
000425   21a5     ADD	0xa5, R0             	ADD __KF8_LIBi_Touch_New_Date_S_T_,R0
000426   7003     JNB	0x3, 0               	JNB PSW,0
000427   0ba6     INC	0xa6                 	INC __KF8_LIBi_Touch_New_Date_S_T_+1
                                           	;;==;
000428   9802     MOV	R0, #0x2             	MOV R0,#2
000429   ff10     INC	R0                   	INC R0
00042a   c42e     JMP	#0x42e               	JMP IIR_Deal_NEXT_1
                                           IIR_Deal_DO_1:
00042b   6003     CLR	0x3, 0               	CLR PSW,0
00042c   11a6     RRC	0xa6                 	RRC __KF8_LIBi_Touch_New_Date_S_T_+1
00042d   11a5     RRC	0xa5                 	RRC __KF8_LIBi_Touch_New_Date_S_T_
                                           IIR_Deal_NEXT_1:
00042e   ff58     DECJZ	R0                 	DECJZ R0
00042f   c42b     JMP	#0x42b               	JMP IIR_Deal_DO_1
                                           	;;-----------------------------------
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
000430   5087     MOV	R0, 0x87             	MOV R0, _Addr_Copy_Int_KF8_Lib_S_T_
000431   80cf     ADD	R0, #0xcf            	ADD R0,#(__KF8_LIBi_buff_hit_+0)
                                           	BANKSEL __KF8_LIBi_buff_hit_
000432   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
000433   53a3     MOV	0xa3, R1             	MOV __KF8_Temp_Cur_A_S_T_,R1
000434   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_buff_hit_
000435   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
000436   53a4     MOV	0xa4, R1             	MOV __KF8_Temp_Cur_A_S_T_+1,R1 ;
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
000437   50a3     MOV	R0, 0xa3             	MOV R0,__KF8_Temp_Cur_A_S_T_
                                           	BANKSEL __KF8_Temp_Cur_B_S_T_
000438   51a1     MOV	0xa1, R0             	MOV __KF8_Temp_Cur_B_S_T_,R0
000439   53a2     MOV	0xa2, R1             	MOV __KF8_Temp_Cur_B_S_T_+1,R1 ;
                                           	;;==
00043a   9802     MOV	R0, #0x2             	MOV R0,#(2)
                                           	BANKSEL __KF8_Temp_Cur_B_S_T_
00043b   21a1     ADD	0xa1, R0             	ADD __KF8_Temp_Cur_B_S_T_,R0
00043c   7003     JNB	0x3, 0               	JNB PSW,0
00043d   0ba2     INC	0xa2                 	INC __KF8_Temp_Cur_B_S_T_+1
                                           	;;==;
00043e   9802     MOV	R0, #0x2             	MOV R0,#2
00043f   ff10     INC	R0                   	INC R0
000440   c444     JMP	#0x444               	JMP IIR_Deal_NEXT_2
                                           IIR_Deal_DO_2:
000441   6003     CLR	0x3, 0               	CLR PSW,0
000442   11a2     RRC	0xa2                 	RRC __KF8_Temp_Cur_B_S_T_+1
000443   11a1     RRC	0xa1                 	RRC __KF8_Temp_Cur_B_S_T_
                                           IIR_Deal_NEXT_2:
000444   ff58     DECJZ	R0                 	DECJZ R0
000445   c441     JMP	#0x441               	JMP IIR_Deal_DO_2 ;
000446   50a1     MOV	R0, 0xa1             	MOV R0,__KF8_Temp_Cur_B_S_T_
000447   52a2     MOV	R1, 0xa2             	MOV R1,__KF8_Temp_Cur_B_S_T_+1
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
000448   39a3     SUB	0xa3, R0             	SUB __KF8_Temp_Cur_A_S_T_,R0
000449   7803     JB	0x3, 0                	JB PSW,0
00044a   07a4     DEC	0xa4                 	DEC __KF8_Temp_Cur_A_S_T_+1
00044b   3ba4     SUB	0xa4, R1             	SUB __KF8_Temp_Cur_A_S_T_+1,R1
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_S_T_
00044c   52a6     MOV	R1, 0xa6             	MOV R1,__KF8_LIBi_Touch_New_Date_S_T_+1
00044d   50a5     MOV	R0, 0xa5             	MOV R0,__KF8_LIBi_Touch_New_Date_S_T_
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
00044e   21a3     ADD	0xa3, R0             	ADD __KF8_Temp_Cur_A_S_T_,R0
00044f   7003     JNB	0x3, 0               	JNB PSW,0
000450   ff11     INC	R1                   	INC R1
000451   23a4     ADD	0xa4, R1             	ADD __KF8_Temp_Cur_A_S_T_+1,R1 ;
000452   52a3     MOV	R1, 0xa3             	MOV R1,__KF8_Temp_Cur_A_S_T_
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
000453   5087     MOV	R0, 0x87             	MOV R0, _Addr_Copy_Int_KF8_Lib_S_T_
000454   80cf     ADD	R0, #0xcf            	ADD R0,#(__KF8_LIBi_buff_hit_+0)
                                           	BANKSEL __KF8_LIBi_buff_hit_
000455   f748     ST	[R0], R1              	ST[R0],R1
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
000456   52a4     MOV	R1, 0xa4             	MOV R1,__KF8_Temp_Cur_A_S_T_+1
000457   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_buff_hit_
000458   f748     ST	[R0], R1              	ST[R0],R1
                                           	;;-----------------------------------
                                           	
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	2413; "../kf8s_touch_g_lib.c"	if(!_KF8_lib_Touch_Bits_._KF8_Touch_Work_Flag)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
000459   7092     JNB	0x92, 0              	JNB	__KF8_lib_Touch_Bits_, 0
00045a   c47a     JMP	#0x47a               	JMP	_00135_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
00045b   5087     MOV	R0, 0x87             	MOV R0,_Addr_Copy_Int_KF8_Lib_S_T_ ;;
00045c   80cf     ADD	R0, #0xcf            	ADD R0, #(__KF8_LIBi_buff_hit_)
                                           	BANKSEL __KF8_LIBi_buff_hit_ ;;_KF8_LIBi_buff_hit_ low
00045d   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
00045e   5087     MOV	R0, 0x87             	MOV R0,_Addr_Copy_Int_KF8_Lib_S_T_ ;;
00045f   80c3     ADD	R0, #0xc3            	ADD R0, #(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_ ;;_KF8_LIBi_buff_baseline_ low
000460   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
000461   5087     MOV	R0, 0x87             	MOV R0,_Addr_Copy_Int_KF8_Lib_S_T_ ;;
000462   80d0     ADD	R0, #0xd0            	ADD R0, #(__KF8_LIBi_buff_hit_+1)
                                           	BANKSEL __KF8_LIBi_buff_hit_ ;; _KF8_LIBi_buff_hit_ high
000463   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
000464   5087     MOV	R0, 0x87             	MOV R0,_Addr_Copy_Int_KF8_Lib_S_T_ ;;
000465   80c4     ADD	R0, #0xc4            	ADD R0, #(__KF8_LIBi_buff_baseline_+1)
                                           	BANKSEL __KF8_LIBi_buff_baseline_ ;;
000466   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBc_channel_
000467   509e     MOV	R0, 0x9e             	MOV R0, __KF8_LIBc_channel_ ;;
000468   80b7     ADD	R0, #0xb7            	ADD R0, #(__KF8_LIBc_touch_count_)
000469   9900     MOV	R1, #0               	MOV R1,#0x00
                                           	BANKSEL __KF8_LIBc_touch_count_
00046a   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBc_channel_
00046b   509e     MOV	R0, 0x9e             	MOV R0, __KF8_LIBc_channel_
00046c   80bd     ADD	R0, #0xbd            	ADD R0, #(__KF8_LIBc_baseline_count_)
00046d   9900     MOV	R1, #0               	MOV R1,#0x00
                                           	BANKSEL __KF8_LIBc_baseline_count_
00046e   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : IFX
                                           ;	.line	2464; "../kf8s_touch_g_lib.c"	if(_KF8_LIBc_channel_==0)
00046f   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	__KF8_LIBc_channel_
000470   309e     ORL	R0, 0x9e             	ORL	R0, __KF8_LIBc_channel_
000471   7a03     JB	0x3, 2                	JB	PSW, 2
000472   c481     JMP	#0x481               	JMP	_00136_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
000473   0b8a     INC	0x8a                 	INC __KF8_lib_Date_Uchar_Temp_S_T_
000474   9824     MOV	R0, #0x24            	MOV R0, #0X24
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
000475   388a     SUB	R0, 0x8a             	SUB R0, __KF8_lib_Date_Uchar_Temp_S_T_
000476   7803     JB	0x3, 0                	JB PSW, 0
000477   c479     JMP	#0x479               	JMP label_over
                                           	BANKSEL __KF8_lib_Touch_Bits_
000478   6892     SET	0x92, 0              	SET __KF8_lib_Touch_Bits_, 0
                                           label_over:
                                           	
                                           ;	op : GOTO
000479   c481     JMP	#0x481               	JMP	_00136_DS_
                                           ;	op : LABEL
                                           ;	op : CALL
                                           _00135_DS_
                                           ;	.line	2491; "../kf8s_touch_g_lib.c"	_KF8_LIBf_scan_channel_(); //É¨ÃèADÍ¨µÀ,¼ÆËã±ä»¯ÂÊ£¬×ö±ä»¯Í³¼Æ
                                           	PAGESEL	__KF8_LIBf_scan_channel_
00047a   d2d8     CALL	#0x2d8              	CALL	__KF8_LIBf_scan_channel_
                                           	PAGESEL	$
                                           ;	op : IFX
                                           ;	.line	2493; "../kf8s_touch_g_lib.c"	if(_KF8_LIBc_channel_==0)
00047b   9800     MOV	R0, #0               	MOV	R0,# 0x00
00047c   6503     CLR	0x3, 5               	BANKSEL	__KF8_LIBc_channel_
00047d   309e     ORL	R0, 0x9e             	ORL	R0, __KF8_LIBc_channel_
00047e   7a03     JB	0x3, 2                	JB	PSW, 2
00047f   c481     JMP	#0x481               	JMP	_00136_DS_
                                           ;	op : CALL
                                           ;	.line	2495; "../kf8s_touch_g_lib.c"	_KF8_LiBf_KEY_Deal_AND_BaseLine_Up();
                                           	PAGESEL	__KF8_LiBf_KEY_Deal_AND_BaseLine_Up
000480   d009     CALL	#0x9                	CALL	__KF8_LiBf_KEY_Deal_AND_BaseLine_Up
                                           	PAGESEL	$
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00136_DS_
000481   9906     MOV	R1, #0x6             	MOV R1,# high (_CHS_AMOUNT+0)
000482   9816     MOV	R0, #0x16            	MOV R0,# low (_CHS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL
000483   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
000484   6503     CLR	0x3, 5               	BANKSEL __KF8_LIBc_channel_
000485   0b9e     INC	0x9e                 	INC __KF8_LIBc_channel_
000486   189e     XOR	R0, 0x9e             	XOR R0,__KF8_LIBc_channel_
000487   7203     JNB	0x3, 2               	JNB PSW,2
000488   039e     CLR	0x9e                 	CLR __KF8_LIBc_channel_
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL _CTCTL
000489   7453     JNB	0x53, 4              	JNB _CTCTL,4
00048a   c48f     JMP	#0x48f               	JMP USE_T3L_COUNT_FLAG
00048b   030e     CLR	0xe                  	CLR _T1L
00048c   030f     CLR	0xf                  	CLR _T1H
00048d   600c     CLR	0xc, 0               	CLR _EIF1,_T1IF
00048e   c490     JMP	#0x490               	JMP START_CT_DO
                                           USE_T3L_COUNT_FLAG:
00048f   0350     CLR	0x50                 	CLR _T3L
                                           START_CT_DO:
000490   6003     CLR	0x3, 0               	CLR _PSW,0
                                           	BANKSEL __KF8_LIBc_channel_
000491   509e     MOV	R0, 0x9e             	MOV R0, __KF8_LIBc_channel_
000492   80f0     ADD	R0, #0xf0            	ADD R0, # low (__KF8_TOUCH_CH_EN+0)
000493   990f     MOV	R1, #0xf             	MOV R1, # high (__KF8_TOUCH_CH_EN+0)
000494   7003     JNB	0x3, 0               	JNB _PSW,0
000495   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
000496   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
000497   99f0     MOV	R1, #0xf0            	MOV R1,#0xF0
000498   6503     CLR	0x3, 5               	BANKSEL _CTCTL
000499   2b53     AND	0x53, R1             	AND _CTCTL,R1 ;
00049a   3153     ORL	0x53, R0             	ORL _CTCTL,R0
00049b   9801     MOV	R0, #0x1             	MOV R0,#0x01
00049c   ff58     DECJZ	R0                 	DECJZ R0
00049d   c49c     JMP	#0x49c               	JMP $-1
00049e   6e53     SET	0x53, 6              	SET _CTCTL,6 ;
00049f   0000     NOP                      	NOP
0004a0   7e53     JB	0x53, 6               	JB _CTCTL,6
0004a1   c49e     JMP	#0x49e               	JMP $-3
                                           START_CT_END_DO:
                                           	BANKSEL _CTCTL
0004a2   7453     JNB	0x53, 4              	JNB _CTCTL,4
0004a3   035f     CLR	0x5f                 	CLR _T1U
0004a4   6f2c     SET	0x2c, 7              	SET _EIE1,7 ;
0004a5   670c     CLR	0xc, 7               	CLR _EIF1,7 ;
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
0004a6   0008     CRET                     	CRET	
                                           ; exit point of __KF8S_Touch_Process_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
                                           ;5 compiler assigned registers:
                                           ;   r0x102A
                                           ;   r0x102B
                                           ;   r0x102C
                                           ;   r0x102D
                                           ;   r0x102E
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8_LIBf_scan_channel_	;Function start
                                           ; 2 exit points
                                           ;	op : INLINEASM
0002d8   6003     CLR	0x3, 0               	CLR PSW,0
0002d9   6503     CLR	0x3, 5               	BANKSEL __KF8_LIBc_channel_
0002da   129e     RLCR	0x9e                	RLCR __KF8_LIBc_channel_
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
0002db   5187     MOV	0x87, R0             	MOV _Addr_Copy_Int_KF8_Lib_S_T_,R0
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_S_T_
0002dc   9801     MOV	R0, #0x1             	MOV R0,#0x01
0002dd   51a5     MOV	0xa5, R0             	MOV __KF8_LIBi_Touch_New_Date_S_T_,R0
0002de   03a6     CLR	0xa6                 	CLR (__KF8_LIBi_Touch_New_Date_S_T_+1)
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBc_channel_
0002df   509e     MOV	R0, 0x9e             	MOV R0,__KF8_LIBc_channel_
0002e0   ff10     INC	R0                   	INC R0
0002e1   c2e6     JMP	#0x2e6               	JMP RLCSel
                                           RLCDeal:
0002e2   6003     CLR	0x3, 0               	CLR PSW,0
0002e3   6503     CLR	0x3, 5               	BANKSEL __KF8_LIBi_Touch_New_Date_S_T_
0002e4   13a5     RLC	0xa5                 	RLC __KF8_LIBi_Touch_New_Date_S_T_
0002e5   13a6     RLC	0xa6                 	RLC (__KF8_LIBi_Touch_New_Date_S_T_+1)
                                           RLCSel:
0002e6   ff58     DECJZ	R0                 	DECJZ R0
0002e7   c2e2     JMP	#0x2e2               	JMP RLCDeal
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
0002e8   5287     MOV	R1, 0x87             	MOV R1,_Addr_Copy_Int_KF8_Lib_S_T_
0002e9   81cf     ADD	R1, #0xcf            	ADD R1,#(__KF8_LIBi_buff_hit_+0)
                                           	;;;;
                                           	BANKSEL __KF8_LIBi_buff_hit_
0002ea   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
0002eb   51a3     MOV	0xa3, R0             	MOV __KF8_Temp_Cur_A_S_T_, R0
                                           	;;;;
0002ec   ff11     INC	R1                   	INC R1
                                           	BANKSEL __KF8_LIBi_buff_hit_
0002ed   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
0002ee   51a4     MOV	0xa4, R0             	MOV (__KF8_Temp_Cur_A_S_T_+1), R0
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
0002ef   5287     MOV	R1, 0x87             	MOV R1,_Addr_Copy_Int_KF8_Lib_S_T_
0002f0   81c3     ADD	R1, #0xc3            	ADD R1,#(__KF8_LIBi_buff_baseline_+0)
                                           	;;;;
                                           	BANKSEL __KF8_LIBi_buff_baseline_
0002f1   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	BANKSEL __KF8_Temp_Cur_B_S_T_
0002f2   51a1     MOV	0xa1, R0             	MOV __KF8_Temp_Cur_B_S_T_, R0
                                           	;;;;
0002f3   ff11     INC	R1                   	INC R1
                                           	BANKSEL __KF8_LIBi_buff_baseline_
0002f4   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	BANKSEL __KF8_Temp_Cur_B_S_T_
0002f5   51a2     MOV	0xa2, R0             	MOV (__KF8_Temp_Cur_B_S_T_+1), R0
                                           	
                                           ;	op : CALL
                                           ;	.line	1766; "../kf8s_touch_g_lib.c"	_KF8_lib_Baihualv_get_();
                                           	PAGESEL	__KF8_lib_Baihualv_get_
0002f6   d4a7     CALL	#0x4a7              	CALL	__KF8_lib_Baihualv_get_
                                           	PAGESEL	$
                                           ;	op : INLINEASM
0002f7   9906     MOV	R1, #0x6             	MOV R1,# high(__KF8_BasicLine_Down_Noise_Threshold_+0)
0002f8   981d     MOV	R0, #0x1d            	MOV R0,# low(__KF8_BasicLine_Down_Noise_Threshold_+0)
                                           	PAGESEL __R2PCHPCL
0002f9   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
0002fa   8080     ADD	R0, #0x80            	ADD R0,#0X80
0002fb   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_bahualvtemportemp_S_T_
0002fc   9980     MOV	R1, #0x80            	MOV R1,#0X80
0002fd   228b     ADD	R1, 0x8b             	ADD R1,__KF8_lib_bahualvtemportemp_S_T_
0002fe   f848     SUB	R0, R1               	SUB R0, R1
0002ff   7803     JB	0x3, 0                	JB PSW,0
000300   c30a     JMP	#0x30a               	JMP lable_count_incover
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_S_T_
000301   50a7     MOV	R0, 0xa7             	MOV R0, __KF8_lib_CH_DW_Change_Dealed_Flag_S_T_
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_S_T_
000302   28a5     AND	R0, 0xa5             	AND R0, __KF8_LIBi_Touch_New_Date_S_T_
000303   7a03     JB	0x3, 2                	JB PSW,2
000304   c30a     JMP	#0x30a               	JMP lable_count_incover
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_S_T_
000305   50a8     MOV	R0, 0xa8             	MOV R0, (__KF8_lib_CH_DW_Change_Dealed_Flag_S_T_+1)
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_S_T_
000306   28a6     AND	R0, 0xa6             	AND R0, (__KF8_LIBi_Touch_New_Date_S_T_+1)
000307   7a03     JB	0x3, 2                	JB PSW,2
000308   c30a     JMP	#0x30a               	JMP lable_count_incover
                                           	;;;;;;;;;
                                           	BANKSEL __KF8_lib_CH_DW_Change_Count_S_T_
000309   0b8c     INC	0x8c                 	INC __KF8_lib_CH_DW_Change_Count_S_T_
                                           lable_count_incover:
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
00030a   529e     MOV	R1, 0x9e             	MOV R1,__KF8_LIBc_channel_
00030b   81b1     ADD	R1, #0xb1            	ADD R1,#(__KF8_LIBi_Date_Change_+0)
                                           	;;;;
                                           	BANKSEL __KF8_LIBi_Date_Change_
00030c   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	BANKSEL __KF8_lib_bahualvtemportemp_S_T_
00030d   528b     MOV	R1, 0x8b             	MOV R1, __KF8_lib_bahualvtemportemp_S_T_
                                           	BANKSEL _change_buf_KF8_Lib_S_T_
00030e   5389     MOV	0x89, R1             	MOV _change_buf_KF8_Lib_S_T_, R1
00030f   3989     SUB	0x89, R0             	SUB _change_buf_KF8_Lib_S_T_, R0
                                           	
                                           ;	op : <
                                           ;signed compare: left < lit(0x0=0), size=1, mask=ff
                                           ;	.line	1832; "../kf8s_touch_g_lib.c"	if(change_buf_KF8_Lib_S_T_<0)
000310   6803     SET	0x3, 0               	SET	PSW, 0
                                           	BANKSEL	_change_buf_KF8_Lib_S_T_
000311   7f89     JB	0x89, 7               	JB	_change_buf_KF8_Lib_S_T_, 7
000312   6003     CLR	0x3, 0               	CLR	PSW, 0
000313   7803     JB	0x3, 0                	JB	PSW, 0
000314   c317     JMP	#0x317               	JMP	_00105_DS_
                                           ;	op : UNARYMINUS
                                           ;	.line	1833; "../kf8s_touch_g_lib.c"	change_buf_KF8_Lib_S_T_=change_buf_KF8_Lib_S_T_*(-1);
                                           	BANKSEL	_change_buf_KF8_Lib_S_T_
000315   0589     CPL	0x89                 	CPL	_change_buf_KF8_Lib_S_T_
                                           	BANKSEL	_change_buf_KF8_Lib_S_T_
000316   0b89     INC	0x89                 	INC	_change_buf_KF8_Lib_S_T_
                                           ;	op : LABEL
                                           ;	op : =
                                           ;gen_assign from CODESPACE
                                           _00105_DS_
                                           ;	.line	1834; "../kf8s_touch_g_lib.c"	if(change_buf_KF8_Lib_S_T_>_KF8_Data_Steady_Threshold_Set_)
000317   9906     MOV	R1, #0x6             	MOV	R1,# high (__KF8_Data_Steady_Threshold_Set_+0)
000318   981e     MOV	R0, #0x1e            	MOV	R0,# low (__KF8_Data_Steady_Threshold_Set_+0)
                                           	PAGESEL	__R2PCL
000319   d612     CALL	#0x612              	CALL	__R2PCL
                                           	PAGESEL	$
00031a   6503     CLR	0x3, 5               	BANKSEL	r0x102A
00031b   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : >
                                           	BANKSEL	r0x102A
00031c   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x102A
00031d   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x102B
00031e   5185     MOV	0x85, R0             	MOV	r0x102B, R0
                                           	BANKSEL	_change_buf_KF8_Lib_S_T_
00031f   0e89     MOVZ	R0, 0x89            	MOVZ	R0, _change_buf_KF8_Lib_S_T_
000320   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x102B
000321   3885     SUB	R0, 0x85             	SUB	R0, r0x102B
                                           ;comparing bytes at offset 0
000322   7003     JNB	0x3, 0               	JNB	PSW, 0
000323   c340     JMP	#0x340               	JMP	_00107_DS_
                                           ;	op : +
                                           ;	.line	1836; "../kf8s_touch_g_lib.c"	_KF8_LIBc_baseline_count_[_KF8_LIBc_channel_]=0;
                                           	BANKSEL	__KF8_LIBc_channel_
000324   509e     MOV	R0, 0x9e             	MOV	R0, __KF8_LIBc_channel_
000325   80bd     ADD	R0, #0xbd            	ADD	R0,# (__KF8_LIBc_baseline_count_ + 0)
                                           	BANKSEL	r0x102A
000326   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : =
000327   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x102A
000328   5286     MOV	R1, 0x86             	MOV	R1, r0x102A
                                           	BANKSEL	__KF8_LIBc_baseline_count_
000329   f741     ST	[R1], R0              	ST	[R1], R0
                                           ;	op : LEFT_OP
                                           ;	.line	1837; "../kf8s_touch_g_lib.c"	_KF8S_Data_Steady_Flag_ &= ~(1<<_KF8_LIBc_channel_);//Ethan 2018-2-1Ìí¼Ó²ÉÑùÖµÎÈ¶¨ÐÔÅÐ¶Ï
00032a   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
                                           	BANKSEL	r0x102A
00032b   5186     MOV	0x86, R0             	MOV	r0x102A, R0
00032c   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x102C
00032d   5180     MOV	0x80, R0             	MOV	r0x102C, R0
                                           	BANKSEL	__KF8_LIBc_channel_
00032e   0e9e     MOVZ	R0, 0x9e            	MOVZ	R0, __KF8_LIBc_channel_
00032f   ff10     INC	R0                   	INC	R0
000330   c335     JMP	#0x335               	JMP	_00125_DS_
                                           _00124_DS_
000331   6003     CLR	0x3, 0               	CLR	PSW, 0
000332   6503     CLR	0x3, 5               	BANKSEL	r0x102A
000333   1386     RLC	0x86                 	RLC	r0x102A
                                           	BANKSEL	r0x102C
000334   1380     RLC	0x80                 	RLC	r0x102C
                                           _00125_DS_
000335   ff58     DECJZ	R0                 	DECJZ	R0
000336   c331     JMP	#0x331               	JMP	_00124_DS_
                                           ;	op : ~
                                           	BANKSEL	r0x102A
000337   0586     CPL	0x86                 	CPL	r0x102A
                                           	BANKSEL	r0x102C
000338   0580     CPL	0x80                 	CPL	r0x102C
                                           ;;108	MOVZ	R0, r0x102A
                                           ;;110	MOVZ	R0, r0x102C
                                           ;	op : BITWISEAND
                                           ;;107	MOVZ	R0, r0x102D
                                           	BANKSEL	r0x102A
000339   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x102A
                                           	BANKSEL	r0x102D
00033a   5184     MOV	0x84, R0             	MOV	r0x102D, R0
                                           	BANKSEL	__KF8S_Data_Steady_Flag_
00033b   299f     AND	0x9f, R0             	AND	__KF8S_Data_Steady_Flag_, R0
                                           ;;109	MOVZ	R0, r0x102E
                                           	BANKSEL	r0x102C
00033c   0e80     MOVZ	R0, 0x80            	MOVZ	R0, r0x102C
                                           	BANKSEL	r0x102E
00033d   5183     MOV	0x83, R0             	MOV	r0x102E, R0
                                           	BANKSEL	__KF8S_Data_Steady_Flag_
00033e   29a0     AND	0xa0, R0             	AND	(__KF8S_Data_Steady_Flag_ + 1), R0
                                           ;	op : GOTO
00033f   c353     JMP	#0x353               	JMP	_00108_DS_
                                           ;	op : LABEL
                                           ;	op : LEFT_OP
                                           _00107_DS_
                                           ;	.line	1841; "../kf8s_touch_g_lib.c"	_KF8S_Data_Steady_Flag_ |= 1<<_KF8_LIBc_channel_;
000340   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
                                           	BANKSEL	r0x102A
000341   5186     MOV	0x86, R0             	MOV	r0x102A, R0
000342   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x102C
000343   5180     MOV	0x80, R0             	MOV	r0x102C, R0
                                           	BANKSEL	__KF8_LIBc_channel_
000344   0e9e     MOVZ	R0, 0x9e            	MOVZ	R0, __KF8_LIBc_channel_
000345   ff10     INC	R0                   	INC	R0
000346   c34b     JMP	#0x34b               	JMP	_00127_DS_
                                           _00126_DS_
000347   6003     CLR	0x3, 0               	CLR	PSW, 0
000348   6503     CLR	0x3, 5               	BANKSEL	r0x102A
000349   1386     RLC	0x86                 	RLC	r0x102A
                                           	BANKSEL	r0x102C
00034a   1380     RLC	0x80                 	RLC	r0x102C
                                           _00127_DS_
00034b   ff58     DECJZ	R0                 	DECJZ	R0
00034c   c347     JMP	#0x347               	JMP	_00126_DS_
                                           ;	op : CAST
                                           ;;104	MOVZ	R0, r0x102A
                                           ;;106	MOVZ	R0, r0x102C
                                           ;	op : |
                                           ;;103	MOVZ	R0, r0x102D
                                           	BANKSEL	r0x102A
00034d   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x102A
                                           	BANKSEL	r0x102D
00034e   5184     MOV	0x84, R0             	MOV	r0x102D, R0
                                           	BANKSEL	__KF8S_Data_Steady_Flag_
00034f   319f     ORL	0x9f, R0             	ORL	__KF8S_Data_Steady_Flag_, R0
                                           ;;105	MOVZ	R0, r0x102E
                                           	BANKSEL	r0x102C
000350   0e80     MOVZ	R0, 0x80            	MOVZ	R0, r0x102C
                                           	BANKSEL	r0x102E
000351   5183     MOV	0x83, R0             	MOV	r0x102E, R0
                                           	BANKSEL	__KF8S_Data_Steady_Flag_
000352   31a0     ORL	0xa0, R0             	ORL	(__KF8S_Data_Steady_Flag_ + 1), R0
                                           ;	op : LABEL
                                           ;	op : +
                                           _00108_DS_
                                           ;	.line	1874; "../kf8s_touch_g_lib.c"	_KF8_LIBi_Date_Change_[_KF8_LIBc_channel_]=_KF8_lib_bahualvtemportemp_S_T_;
                                           	BANKSEL	__KF8_LIBc_channel_
000353   509e     MOV	R0, 0x9e             	MOV	R0, __KF8_LIBc_channel_
000354   80b1     ADD	R0, #0xb1            	ADD	R0,# (__KF8_LIBi_Date_Change_ + 0)
                                           	BANKSEL	r0x102A
000355   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : =
                                           	BANKSEL	__KF8_lib_bahualvtemportemp_S_T_
000356   0e8b     MOVZ	R0, 0x8b            	MOVZ	R0, __KF8_lib_bahualvtemportemp_S_T_
                                           	BANKSEL	r0x102A
000357   5286     MOV	R1, 0x86             	MOV	R1, r0x102A
                                           	BANKSEL	__KF8_LIBi_Date_Change_
000358   f741     ST	[R1], R0              	ST	[R1], R0
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
000359   509e     MOV	R0, 0x9e             	MOV R0, __KF8_LIBc_channel_
00035a   a801     XOR	R0, #0x1             	XOR R0, #0X01
00035b   7a03     JB	0x3, 2                	JB PSW,2
00035c   c36b     JMP	#0x36b               	JMP lable_channbig
                                           	BANKSEL __KF8_LIBi_Date_Change_
00035d   50b1     MOV	R0, 0xb1             	MOV R0, (__KF8_LIBi_Date_Change_+0)
00035e   52b2     MOV	R1, 0xb2             	MOV R1, (__KF8_LIBi_Date_Change_+1)
00035f   8080     ADD	R0, #0x80            	ADD R0,#0X80
000360   8180     ADD	R1, #0x80            	ADD R1,#0X80
000361   f841     SUB	R1, R0               	SUB R1, R0
000362   7803     JB	0x3, 0                	JB PSW,0
000363   c368     JMP	#0x368               	JMP lable_chann1
                                           	BANKSEL __KF8_lib_Finded_MAX_J_S_T_
000364   9801     MOV	R0, #0x1             	MOV R0, #0X01
000365   518d     MOV	0x8d, R0             	MOV __KF8_lib_Finded_MAX_J_S_T_ , R0
                                           	BANKSEL __KF8_lib_Finded_MAX_I_S_T_
000366   038e     CLR	0x8e                 	CLR __KF8_lib_Finded_MAX_I_S_T_
000367   c36b     JMP	#0x36b               	JMP lable_channbig
                                           lable_chann1:
                                           	BANKSEL __KF8_lib_Finded_MAX_I_S_T_
000368   9801     MOV	R0, #0x1             	MOV R0, #0X01
000369   518e     MOV	0x8e, R0             	MOV __KF8_lib_Finded_MAX_I_S_T_ , R0
                                           	BANKSEL __KF8_lib_Finded_MAX_J_S_T_
00036a   038d     CLR	0x8d                 	CLR __KF8_lib_Finded_MAX_J_S_T_
                                           lable_channbig:
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
00036b   9802     MOV	R0, #0x2             	MOV R0, #0X02
00036c   389e     SUB	R0, 0x9e             	SUB R0, __KF8_LIBc_channel_
00036d   7803     JB	0x3, 0                	JB PSW,0
00036e   c389     JMP	#0x389               	JMP lable_channover
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
00036f   529e     MOV	R1, 0x9e             	MOV R1, __KF8_LIBc_channel_
000370   81b1     ADD	R1, #0xb1            	ADD R1, #(__KF8_LIBi_Date_Change_)
                                           	BANKSEL __KF8_LIBi_Date_Change_
000371   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	BANKSEL __KF8_lib_bahualvtemportemp_S_T_
000372   8080     ADD	R0, #0x80            	ADD R0, #0X80
000373   518b     MOV	0x8b, R0             	MOV __KF8_lib_bahualvtemportemp_S_T_, R0
                                           	;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Finded_MAX_J_S_T_
000374   528d     MOV	R1, 0x8d             	MOV R1, __KF8_lib_Finded_MAX_J_S_T_
000375   81b1     ADD	R1, #0xb1            	ADD R1, #(__KF8_LIBi_Date_Change_)
                                           	BANKSEL __KF8_LIBi_Date_Change_
000376   f708     LD	R0, [R1]              	LD R0,[R1]
000377   8080     ADD	R0, #0x80            	ADD R0,#0X80
                                           	BANKSEL __KF8_lib_bahualvtemportemp_S_T_
000378   388b     SUB	R0, 0x8b             	SUB R0, __KF8_lib_bahualvtemportemp_S_T_
000379   7803     JB	0x3, 0                	JB PSW,0
00037a   c389     JMP	#0x389               	JMP lable_channover
                                           	;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Finded_MAX_I_S_T_
00037b   528e     MOV	R1, 0x8e             	MOV R1, __KF8_lib_Finded_MAX_I_S_T_
00037c   81b1     ADD	R1, #0xb1            	ADD R1, #(__KF8_LIBi_Date_Change_)
                                           	BANKSEL __KF8_LIBi_Date_Change_
00037d   f708     LD	R0, [R1]              	LD R0,[R1]
00037e   8080     ADD	R0, #0x80            	ADD R0, #0X80
                                           	BANKSEL __KF8_lib_bahualvtemportemp_S_T_
00037f   388b     SUB	R0, 0x8b             	SUB R0, __KF8_lib_bahualvtemportemp_S_T_
000380   7003     JNB	0x3, 0               	JNB PSW,0
000381   c385     JMP	#0x385               	JMP lable_chann2
                                           	BANKSEL __KF8_LIBc_channel_
000382   509e     MOV	R0, 0x9e             	MOV R0, __KF8_LIBc_channel_
                                           	BANKSEL __KF8_lib_Finded_MAX_J_S_T_
000383   518d     MOV	0x8d, R0             	MOV __KF8_lib_Finded_MAX_J_S_T_,R0
000384   c389     JMP	#0x389               	JMP lable_channover
                                           lable_chann2:
                                           	BANKSEL __KF8_lib_Finded_MAX_I_S_T_
000385   508e     MOV	R0, 0x8e             	MOV R0, __KF8_lib_Finded_MAX_I_S_T_
                                           	BANKSEL __KF8_lib_Finded_MAX_J_S_T_
000386   518d     MOV	0x8d, R0             	MOV __KF8_lib_Finded_MAX_J_S_T_,R0
                                           	BANKSEL __KF8_LIBc_channel_
000387   509e     MOV	R0, 0x9e             	MOV R0, __KF8_LIBc_channel_
                                           	BANKSEL __KF8_lib_Finded_MAX_I_S_T_
000388   518e     MOV	0x8e, R0             	MOV __KF8_lib_Finded_MAX_I_S_T_,R0
                                           lable_channover:
                                           	
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	1999; "../kf8s_touch_g_lib.c"	if(!_KF8_lib_Touch_Bits_._KF8_Touch_Protect_Flag)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
000389   7192     JNB	0x92, 1              	JNB	__KF8_lib_Touch_Bits_, 1
00038a   c412     JMP	#0x412               	JMP	_00116_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
00038b   509e     MOV	R0, 0x9e             	MOV R0, __KF8_LIBc_channel_
00038c   8006     ADD	R0, #0x6             	ADD R0, #low (__KF8_Config_Finger_Threshold)
00038d   9906     MOV	R1, #0x6             	MOV R1, #high (__KF8_Config_Finger_Threshold)
00038e   7003     JNB	0x3, 0               	JNB PSW,0
00038f   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
000390   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
000391   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_bahualvtemportemp_S_T_
000392   518b     MOV	0x8b, R0             	MOV __KF8_lib_bahualvtemportemp_S_T_, R0
000393   9806     MOV	R0, #0x6             	MOV R0, #(6)
                                           	BANKSEL __KF8_lib_bahualvtemportemp_S_T_
000394   398b     SUB	0x8b, R0             	SUB __KF8_lib_bahualvtemportemp_S_T_, R0
                                           	
                                           ;	op : +
                                           ;	.line	2026; "../kf8s_touch_g_lib.c"	if(_KF8_LIBi_Date_Change_[_KF8_LIBc_channel_]<_KF8_lib_bahualvtemportemp_S_T_)
                                           	BANKSEL	__KF8_LIBc_channel_
000395   509e     MOV	R0, 0x9e             	MOV	R0, __KF8_LIBc_channel_
000396   80b1     ADD	R0, #0xb1            	ADD	R0,# (__KF8_LIBi_Date_Change_ + 0)
                                           	BANKSEL	r0x102A
000397   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x102A
000398   5286     MOV	R1, 0x86             	MOV	R1, r0x102A
                                           	BANKSEL	__KF8_LIBi_Date_Change_
000399   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x102D
00039a   5184     MOV	0x84, R0             	MOV	r0x102D, R0
                                           ;	op : <
                                           	BANKSEL	r0x102D
00039b   0e84     MOVZ	R0, 0x84            	MOVZ	R0, r0x102D
00039c   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x102B
00039d   5185     MOV	0x85, R0             	MOV	r0x102B, R0
                                           	BANKSEL	__KF8_lib_bahualvtemportemp_S_T_
00039e   0e8b     MOVZ	R0, 0x8b            	MOVZ	R0, __KF8_lib_bahualvtemportemp_S_T_
00039f   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x102B
0003a0   3885     SUB	R0, 0x85             	SUB	R0, r0x102B
                                           ;comparing bytes at offset 0
0003a1   7003     JNB	0x3, 0               	JNB	PSW, 0
0003a2   c403     JMP	#0x403               	JMP	_00112_DS_
                                           ;	op : +
                                           ;	.line	2029; "../kf8s_touch_g_lib.c"	if(_KF8_LIBc_touch_count_[_KF8_LIBc_channel_]>TCS_AMOUNT) //±»°´ÏÂ±ê¼Ç
                                           	BANKSEL	__KF8_LIBc_channel_
0003a3   509e     MOV	R0, 0x9e             	MOV	R0, __KF8_LIBc_channel_
0003a4   80b7     ADD	R0, #0xb7            	ADD	R0,# (__KF8_LIBc_touch_count_ + 0)
                                           	BANKSEL	r0x102A
0003a5   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x102A
0003a6   5286     MOV	R1, 0x86             	MOV	R1, r0x102A
                                           	BANKSEL	__KF8_LIBc_touch_count_
0003a7   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x102D
0003a8   5184     MOV	0x84, R0             	MOV	r0x102D, R0
                                           ;	op : =
                                           ;gen_assign from CODESPACE
0003a9   9906     MOV	R1, #0x6             	MOV	R1,# high (_TCS_AMOUNT+0)
0003aa   9817     MOV	R0, #0x17            	MOV	R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL	__R2PCL
0003ab   d612     CALL	#0x612              	CALL	__R2PCL
                                           	PAGESEL	$
0003ac   6503     CLR	0x3, 5               	BANKSEL	r0x102A
0003ad   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : >
                                           	BANKSEL	r0x102D
0003ae   0e84     MOVZ	R0, 0x84            	MOVZ	R0, r0x102D
                                           	BANKSEL	r0x102A
0003af   3886     SUB	R0, 0x86             	SUB	R0, r0x102A
                                           ;comparing bytes at offset 0
0003b0   7003     JNB	0x3, 0               	JNB	PSW, 0
0003b1   c412     JMP	#0x412               	JMP	_00116_DS_
                                           ;	op : INLINEASM
0003b2   9906     MOV	R1, #0x6             	MOV R1,# high (_TCS_AMOUNT+0)
0003b3   9817     MOV	R0, #0x17            	MOV R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL
0003b4   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
0003b5   6003     CLR	0x3, 0               	CLR PSW,0
0003b6   ff18     RLC	R0                   	RLC R0
0003b7   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
0003b8   518a     MOV	0x8a, R0             	MOV __KF8_lib_Date_Uchar_Temp_S_T_,R0
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
0003b9   529e     MOV	R1, 0x9e             	MOV R1, __KF8_LIBc_channel_
0003ba   81b7     ADD	R1, #0xb7            	ADD R1, #(__KF8_LIBc_touch_count_)
                                           	BANKSEL __KF8_LIBc_touch_count_
0003bb   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
0003bc   388a     SUB	R0, 0x8a             	SUB R0, __KF8_lib_Date_Uchar_Temp_S_T_
0003bd   7803     JB	0x3, 0                	JB PSW, 0
0003be   c3c3     JMP	#0x3c3               	JMP lable_010101
                                           	BANKSEL __KF8_LIBc_touch_count_
0003bf   f708     LD	R0, [R1]              	LD R0,[R1]
0003c0   ff10     INC	R0                   	INC R0
0003c1   f741     ST	[R1], R0              	ST [R1],R0
0003c2   c402     JMP	#0x402               	JMP lable_020202
                                           lable_010101:
                                           	BANKSEL __KF8_LIBc_touch_count_
0003c3   0208     CLR	R0                   	CLR R0
0003c4   f741     ST	[R1], R0              	ST [R1], R0
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBc_channel_
0003c5   509e     MOV	R0, 0x9e             	MOV R0, __KF8_LIBc_channel_
0003c6   80f0     ADD	R0, #0xf0            	ADD R0, #low (__KF8_TOUCH_CH_EN)
0003c7   990f     MOV	R1, #0xf             	MOV R1, #high (__KF8_TOUCH_CH_EN)
0003c8   7003     JNB	0x3, 0               	JNB PSW,0
0003c9   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
0003ca   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;;;;;;;;
0003cb   6003     CLR	0x3, 0               	CLR PSW,0
0003cc   ff18     RLC	R0                   	RLC R0
0003cd   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
0003ce   518a     MOV	0x8a, R0             	MOV __KF8_lib_Date_Uchar_Temp_S_T_ , R0
                                           	;;;;;;;;;;;;;;;;;;;;
0003cf   80b8     ADD	R0, #0xb8            	ADD R0,#low(__KF8_LIBt_buff_bit_S_T_)
0003d0   9905     MOV	R1, #0x5             	MOV R1,#high(__KF8_LIBt_buff_bit_S_T_)
0003d1   7003     JNB	0x3, 0               	JNB PSW,0
0003d2   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
0003d3   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
0003d4   ff00     CPL	R0                   	CPL R0
0003d5   6503     CLR	0x3, 5               	BANKSEL __KF8_LIBi_channel_flag_
0003d6   29af     AND	0xaf, R0             	AND __KF8_LIBi_channel_flag_, R0
                                           	;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
0003d7   508a     MOV	R0, 0x8a             	MOV R0, __KF8_lib_Date_Uchar_Temp_S_T_
0003d8   ff10     INC	R0                   	INC R0
0003d9   80b8     ADD	R0, #0xb8            	ADD R0,#low(__KF8_LIBt_buff_bit_S_T_)
0003da   9905     MOV	R1, #0x5             	MOV R1,#high(__KF8_LIBt_buff_bit_S_T_)
0003db   7003     JNB	0x3, 0               	JNB PSW,0
0003dc   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
0003dd   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
0003de   ff00     CPL	R0                   	CPL R0
0003df   6503     CLR	0x3, 5               	BANKSEL __KF8_LIBi_channel_flag_
0003e0   29b0     AND	0xb0, R0             	AND (__KF8_LIBi_channel_flag_+1), R0
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	;;;;;;;
0003e1   9800     MOV	R0, #0               	MOV R0, #0X00
                                           	BANKSEL __KF8_lib_Key_Down_Count_S_T_
0003e2   3091     ORL	R0, 0x91             	ORL R0, __KF8_lib_Key_Down_Count_S_T_
0003e3   7a03     JB	0x3, 2                	JB PSW, 2
0003e4   0791     DEC	0x91                 	DEC __KF8_lib_Key_Down_Count_S_T_
                                           	;;;;;;;;;;;;;;;;;
0003e5   9800     MOV	R0, #0               	MOV R0,#0X00
0003e6   3091     ORL	R0, 0x91             	ORL R0, __KF8_lib_Key_Down_Count_S_T_
0003e7   7203     JNB	0x3, 2               	JNB PSW, 2
0003e8   c3f9     JMP	#0x3f9               	JMP lable_030303
                                           	;;;
                                           	BANKSEL __KF8_LIBc_finger_OUT_First_S_T_
0003e9   5090     MOV	R0, 0x90             	MOV R0, __KF8_LIBc_finger_OUT_First_S_T_
                                           	BANKSEL __KF8_LIBc_channel_
0003ea   189e     XOR	R0, 0x9e             	XOR R0, __KF8_LIBc_channel_
0003eb   7a03     JB	0x3, 2                	JB PSW, 2
0003ec   c3fb     JMP	#0x3fb               	JMP lable_050505
                                           	;;;;;;;
                                           	BANKSEL __KF8_LIBc_finger_OUT_Second_S_T_
0003ed   508f     MOV	R0, 0x8f             	MOV R0, __KF8_LIBc_finger_OUT_Second_S_T_
                                           	BANKSEL __KF8_LIBc_finger_OUT_First_S_T_
0003ee   1890     XOR	R0, 0x90             	XOR R0, __KF8_LIBc_finger_OUT_First_S_T_
0003ef   7a03     JB	0x3, 2                	JB PSW, 2
0003f0   c3f6     JMP	#0x3f6               	JMP lable_040404
0003f1   98ff     MOV	R0, #0xff            	MOV R0,#0XFF
0003f2   5190     MOV	0x90, R0             	MOV __KF8_LIBc_finger_OUT_First_S_T_ , R0
0003f3   9800     MOV	R0, #0               	MOV R0,#0X00
                                           	BANKSEL __KF8_lib_Key_Down_Count_S_T_
0003f4   5191     MOV	0x91, R0             	MOV __KF8_lib_Key_Down_Count_S_T_ ,R0
0003f5   c3fb     JMP	#0x3fb               	JMP lable_050505
                                           	;;;;;;;;;
                                           lable_040404:
                                           	BANKSEL __KF8_LIBc_finger_OUT_Second_S_T_
0003f6   508f     MOV	R0, 0x8f             	MOV R0, __KF8_LIBc_finger_OUT_Second_S_T_
                                           	BANKSEL __KF8_LIBc_finger_OUT_First_S_T_
0003f7   5190     MOV	0x90, R0             	MOV __KF8_LIBc_finger_OUT_First_S_T_ ,R0
0003f8   c3fb     JMP	#0x3fb               	JMP lable_050505
                                           lable_030303:
                                           	BANKSEL __KF8_LIBc_finger_OUT_First_S_T_
0003f9   98ff     MOV	R0, #0xff            	MOV R0, #0XFF
0003fa   5190     MOV	0x90, R0             	MOV __KF8_LIBc_finger_OUT_First_S_T_, R0
                                           lable_050505:
                                           	BANKSEL __KF8_LIBc_finger_OUT_Second_S_T_
0003fb   98ff     MOV	R0, #0xff            	MOV R0,#0XFF
0003fc   518f     MOV	0x8f, R0             	MOV __KF8_LIBc_finger_OUT_Second_S_T_,R0
0003fd   9800     MOV	R0, #0               	MOV R0,#0X00
                                           	BANKSEL __KF8_lib_Key_Double_Timer_Protect_S_T_
0003fe   51a9     MOV	0xa9, R0             	MOV __KF8_lib_Key_Double_Timer_Protect_S_T_, R0
0003ff   51aa     MOV	0xaa, R0             	MOV (__KF8_lib_Key_Double_Timer_Protect_S_T_+1), R0
                                           	BANKSEL __KF8_lib_MAX_KEY_Vaule_Time_Count_S_T_
000400   51ab     MOV	0xab, R0             	MOV __KF8_lib_MAX_KEY_Vaule_Time_Count_S_T_, R0
000401   51ac     MOV	0xac, R0             	MOV (__KF8_lib_MAX_KEY_Vaule_Time_Count_S_T_+1), R0
                                           lable_020202:
                                           	
                                           ;	op : GOTO
000402   c412     JMP	#0x412               	JMP	_00116_DS_
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00112_DS_
000403   9906     MOV	R1, #0x6             	MOV R1,# high (_TCS_AMOUNT+0)
000404   9817     MOV	R0, #0x17            	MOV R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL
000405   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
000406   ff10     INC	R0                   	INC R0
000407   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
000408   518a     MOV	0x8a, R0             	MOV __KF8_lib_Date_Uchar_Temp_S_T_,R0
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBc_channel_
000409   529e     MOV	R1, 0x9e             	MOV R1,__KF8_LIBc_channel_
00040a   81b7     ADD	R1, #0xb7            	ADD R1,#(__KF8_LIBc_touch_count_+0)
                                           	BANKSEL __KF8_LIBc_touch_count_
00040b   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
00040c   388a     SUB	R0, 0x8a             	SUB R0,__KF8_lib_Date_Uchar_Temp_S_T_
00040d   7003     JNB	0x3, 0               	JNB PSW,0 ;;
00040e   c412     JMP	#0x412               	JMP label_18_18_18
                                           	BANKSEL __KF8_LIBc_touch_count_
00040f   f708     LD	R0, [R1]              	LD R0,[R1]
000410   ff08     DEC	R0                   	DEC R0
000411   f741     ST	[R1], R0              	ST [R1],R0
                                           label_18_18_18:
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00116_DS_
000412   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
                                           ;7 compiler assigned registers:
                                           ;   r0x102A
                                           ;   r0x102B
                                           ;   r0x102C
                                           ;   r0x102D
                                           ;   r0x102E
                                           ;   r0x102F
                                           ;   r0x1030
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8_LiBf_KEY_Deal_AND_BaseLine_Up	;Function start
                                           ; 2 exit points
                                           ;	op : =
                                           ;	.line	509; "../kf8s_touch_g_lib.c"	_KF8_LIBi_Touch_New_Date_S_T_=0x0001;
000009   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
00000a   6503     CLR	0x3, 5               	BANKSEL	__KF8_LIBi_Touch_New_Date_S_T_
00000b   51a5     MOV	0xa5, R0             	MOV	__KF8_LIBi_Touch_New_Date_S_T_, R0
                                           	BANKSEL	__KF8_LIBi_Touch_New_Date_S_T_
00000c   03a6     CLR	0xa6                 	CLR	(__KF8_LIBi_Touch_New_Date_S_T_ + 1)
                                           ;	op : =
                                           ;	.line	511; "../kf8s_touch_g_lib.c"	for(i_KF8_lib_S_T_=0;i_KF8_lib_S_T_<CHS_AMOUNT;i_KF8_lib_S_T_++)
                                           	BANKSEL	_i_KF8_lib_S_T_
00000d   0388     CLR	0x88                 	CLR	_i_KF8_lib_S_T_
                                           ;	op : LABEL
                                           ;	op : =
                                           ;gen_assign from CODESPACE
                                           _00067_DS_
00000e   9906     MOV	R1, #0x6             	MOV	R1,# high (_CHS_AMOUNT+0)
00000f   9816     MOV	R0, #0x16            	MOV	R0,# low (_CHS_AMOUNT+0)
                                           	PAGESEL	__R2PCL
000010   d612     CALL	#0x612              	CALL	__R2PCL
                                           	PAGESEL	$
000011   6503     CLR	0x3, 5               	BANKSEL	r0x102A
000012   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : <
                                           	BANKSEL	r0x102A
000013   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x102A
                                           	BANKSEL	_i_KF8_lib_S_T_
000014   3888     SUB	R0, 0x88             	SUB	R0, _i_KF8_lib_S_T_
                                           ;comparing bytes at offset 0
000015   7003     JNB	0x3, 0               	JNB	PSW, 0
000016   c27a     JMP	#0x27a               	JMP	_00070_DS_
                                           ;	op : INLINEASM
000017   6003     CLR	0x3, 0               	CLR PSW,0
                                           	BANKSEL _i_KF8_lib_S_T_
000018   1288     RLCR	0x88                	RLCR _i_KF8_lib_S_T_
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
000019   5187     MOV	0x87, R0             	MOV _Addr_Copy_Int_KF8_Lib_S_T_,R0
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL _i_KF8_lib_S_T_
00001a   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
00001b   80f0     ADD	R0, #0xf0            	ADD R0, #low (__KF8_TOUCH_CH_EN)
00001c   990f     MOV	R1, #0xf             	MOV R1, #high (__KF8_TOUCH_CH_EN)
00001d   7003     JNB	0x3, 0               	JNB PSW,0
00001e   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
00001f   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
000020   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
000021   518a     MOV	0x8a, R0             	MOV __KF8_lib_Date_Uchar_Temp_S_T_ ,R0
                                           	;;;;;;;
000022   9820     MOV	R0, #0x20            	MOV R0, #low (__KF8_Inside_Reference_Channel_Declare_)
000023   9906     MOV	R1, #0x6             	MOV R1, #high (__KF8_Inside_Reference_Channel_Declare_)
                                           	PAGESEL __R2PCHPCL
000024   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
000025   188a     XOR	R0, 0x8a             	XOR R0, __KF8_lib_Date_Uchar_Temp_S_T_
000026   7a03     JB	0x3, 2                	JB PSW, 2
000027   c039     JMP	#0x39                	JMP lable_612118
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
000028   981f     MOV	R0, #0x1f            	MOV R0, #low (__KF8_Inside_Reference_Channel_Disturb_Threshold_Set_)
000029   9906     MOV	R1, #0x6             	MOV R1, #high (__KF8_Inside_Reference_Channel_Disturb_Threshold_Set_)
                                           	PAGESEL __R2PCHPCL
00002a   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
00002b   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_bahualvtemportemp_S_T_
00002c   518b     MOV	0x8b, R0             	MOV __KF8_lib_bahualvtemportemp_S_T_ ,R0
                                           	;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _i_KF8_lib_S_T_
00002d   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
00002e   80b1     ADD	R0, #0xb1            	ADD R0, #(__KF8_LIBi_Date_Change_)
                                           	;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBi_Date_Change_
00002f   f701     LD	R1, [R0]              	LD R1, [R0]
000030   f7f9     JB	R1, 7                 	JB R1,7
000031   c034     JMP	#0x34                	JMP lable_6121205
000032   ff01     CPL	R1                   	CPL R1
000033   ff11     INC	R1                   	INC R1
                                           lable_6121205:
                                           	BANKSEL __KF8_lib_bahualvtemportemp_S_T_
000034   3a8b     SUB	R1, 0x8b             	SUB R1,__KF8_lib_bahualvtemportemp_S_T_
000035   7003     JNB	0x3, 0               	JNB PSW ,0 ;;
000036   c039     JMP	#0x39                	JMP lable_612118
                                           lable_6121207:
                                           	BANKSEL __KF8_lib_Touch_Bits_
000037   6992     SET	0x92, 1              	SET __KF8_lib_Touch_Bits_, 1
                                           	BANKSEL __KF8_lib_Wave_Protect_Time_Count_S_T_
000038   0393     CLR	0x93                 	CLR __KF8_lib_Wave_Protect_Time_Count_S_T_
                                           lable_612118:
                                           	
                                           ;	op : +
                                           ;	.line	599; "../kf8s_touch_g_lib.c"	if(_KF8_LIBi_Date_Change_[i_KF8_lib_S_T_]<_KF8_BasicLine_UP_Noise_Threshold_)
000039   6503     CLR	0x3, 5               	BANKSEL	_i_KF8_lib_S_T_
00003a   5088     MOV	R0, 0x88             	MOV	R0, _i_KF8_lib_S_T_
00003b   80b1     ADD	R0, #0xb1            	ADD	R0,# (__KF8_LIBi_Date_Change_ + 0)
                                           	BANKSEL	r0x102A
00003c   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x102A
00003d   5286     MOV	R1, 0x86             	MOV	R1, r0x102A
                                           	BANKSEL	__KF8_LIBi_Date_Change_
00003e   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x102B
00003f   5185     MOV	0x85, R0             	MOV	r0x102B, R0
                                           ;	op : =
                                           ;gen_assign from CODESPACE
000040   9906     MOV	R1, #0x6             	MOV	R1,# high (__KF8_BasicLine_UP_Noise_Threshold_+0)
000041   981c     MOV	R0, #0x1c            	MOV	R0,# low (__KF8_BasicLine_UP_Noise_Threshold_+0)
                                           	PAGESEL	__R2PCL
000042   d612     CALL	#0x612              	CALL	__R2PCL
                                           	PAGESEL	$
000043   6503     CLR	0x3, 5               	BANKSEL	r0x102A
000044   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : <
                                           	BANKSEL	r0x102B
000045   0e85     MOVZ	R0, 0x85            	MOVZ	R0, r0x102B
000046   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x102C
000047   5180     MOV	0x80, R0             	MOV	r0x102C, R0
                                           	BANKSEL	r0x102A
000048   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x102A
000049   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x102C
00004a   3880     SUB	R0, 0x80             	SUB	R0, r0x102C
                                           ;comparing bytes at offset 0
00004b   7003     JNB	0x3, 0               	JNB	PSW, 0
00004c   c070     JMP	#0x70                	JMP	_00031_DS_
                                           ;	op : INLINEASM
                                           Do_Baseline_Up_Deal:
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL _i_KF8_lib_S_T_
00004d   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
00004e   80bd     ADD	R0, #0xbd            	ADD R0,#(__KF8_LIBc_baseline_count_)
                                           	BANKSEL __KF8_LIBc_baseline_count_
00004f   f701     LD	R1, [R0]              	LD R1, [R0]
000050   9864     MOV	R0, #0x64            	MOV R0, #(100)
000051   f941     XOR	R1, R0               	XOR R1, R0
000052   7a03     JB	0x3, 2                	JB PSW ,2
000053   c06f     JMP	#0x6f                	JMP lable_06121629
                                           	;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
000054   5087     MOV	R0, 0x87             	MOV R0, _Addr_Copy_Int_KF8_Lib_S_T_
000055   80cf     ADD	R0, #0xcf            	ADD R0, #(__KF8_LIBi_buff_hit_)
                                           	BANKSEL __KF8_LIBi_buff_hit_
000056   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
000057   5087     MOV	R0, 0x87             	MOV R0, _Addr_Copy_Int_KF8_Lib_S_T_
000058   80c3     ADD	R0, #0xc3            	ADD R0, #(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000059   f748     ST	[R0], R1              	ST [R0], R1
                                           	;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
00005a   5087     MOV	R0, 0x87             	MOV R0, _Addr_Copy_Int_KF8_Lib_S_T_
00005b   80d0     ADD	R0, #0xd0            	ADD R0, #(__KF8_LIBi_buff_hit_+1)
                                           	BANKSEL __KF8_LIBi_buff_hit_
00005c   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
00005d   5087     MOV	R0, 0x87             	MOV R0, _Addr_Copy_Int_KF8_Lib_S_T_
00005e   80c4     ADD	R0, #0xc4            	ADD R0, #(__KF8_LIBi_buff_baseline_+1)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00005f   f748     ST	[R0], R1              	ST [R0], R1
                                           	;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _i_KF8_lib_S_T_
000060   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
000061   80b7     ADD	R0, #0xb7            	ADD R0, #(__KF8_LIBc_touch_count_)
                                           	BANKSEL __KF8_LIBc_touch_count_
000062   f701     LD	R1, [R0]              	LD R1, [R0]
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
000063   538a     MOV	0x8a, R1             	MOV __KF8_lib_Date_Uchar_Temp_S_T_, R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;
000064   9817     MOV	R0, #0x17            	MOV R0, #low(_TCS_AMOUNT)
000065   9906     MOV	R1, #0x6             	MOV R1, #high(_TCS_AMOUNT)
                                           	PAGESEL __R2PCHPCL
000066   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;;;;;;;
000067   388a     SUB	R0, 0x8a             	SUB R0, __KF8_lib_Date_Uchar_Temp_S_T_
000068   7003     JNB	0x3, 0               	JNB PSW, 0
000069   c06f     JMP	#0x6f                	JMP lable_06121629
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;
00006a   6503     CLR	0x3, 5               	BANKSEL _i_KF8_lib_S_T_
00006b   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
00006c   80b7     ADD	R0, #0xb7            	ADD R0, #(__KF8_LIBc_touch_count_)
                                           	BANKSEL __KF8_LIBc_touch_count_
00006d   9900     MOV	R1, #0               	MOV R1, #0X00
00006e   f748     ST	[R0], R1              	ST [R0], R1
                                           lable_06121629:
                                           	
                                           ;	op : GOTO
00006f   c153     JMP	#0x153               	JMP	_00032_DS_
                                           ;	op : LABEL
                                           ;	op : +
                                           _00031_DS_
                                           ;	.line	687; "../kf8s_touch_g_lib.c"	else if(_KF8_LIBi_Date_Change_[i_KF8_lib_S_T_]>_KF8_BasicLine_Down_Noise_Threshold_)
                                           	BANKSEL	_i_KF8_lib_S_T_
000070   5088     MOV	R0, 0x88             	MOV	R0, _i_KF8_lib_S_T_
000071   80b1     ADD	R0, #0xb1            	ADD	R0,# (__KF8_LIBi_Date_Change_ + 0)
                                           	BANKSEL	r0x102A
000072   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x102A
000073   5286     MOV	R1, 0x86             	MOV	R1, r0x102A
                                           	BANKSEL	__KF8_LIBi_Date_Change_
000074   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x102D
000075   5184     MOV	0x84, R0             	MOV	r0x102D, R0
                                           ;	op : =
                                           ;gen_assign from CODESPACE
000076   9906     MOV	R1, #0x6             	MOV	R1,# high (__KF8_BasicLine_Down_Noise_Threshold_+0)
000077   981d     MOV	R0, #0x1d            	MOV	R0,# low (__KF8_BasicLine_Down_Noise_Threshold_+0)
                                           	PAGESEL	__R2PCL
000078   d612     CALL	#0x612              	CALL	__R2PCL
                                           	PAGESEL	$
000079   6503     CLR	0x3, 5               	BANKSEL	r0x102A
00007a   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : >
                                           	BANKSEL	r0x102A
00007b   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x102A
00007c   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x102C
00007d   5180     MOV	0x80, R0             	MOV	r0x102C, R0
                                           	BANKSEL	r0x102D
00007e   0e84     MOVZ	R0, 0x84            	MOVZ	R0, r0x102D
00007f   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x102C
000080   3880     SUB	R0, 0x80             	SUB	R0, r0x102C
                                           ;comparing bytes at offset 0
000081   7003     JNB	0x3, 0               	JNB	PSW, 0
000082   c0e8     JMP	#0xe8                	JMP	_00028_DS_
                                           ;	op : INLINEASM
                                           Do_Baseline_Down_Deal:
                                           	
                                           ;	op : INLINEASM
000083   981b     MOV	R0, #0x1b            	MOV R0, #low(__KF8_Define_Disturb_Channels_Amount_)
000084   9906     MOV	R1, #0x6             	MOV R1, #high(__KF8_Define_Disturb_Channels_Amount_)
                                           	PAGESEL __R2PCHPCL
000085   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;;;;;;;;;;
000086   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_CH_DW_Change_Count_S_T_
000087   388c     SUB	R0, 0x8c             	SUB R0, __KF8_lib_CH_DW_Change_Count_S_T_
000088   7803     JB	0x3, 0                	JB PSW, 0
000089   c08c     JMP	#0x8c                	JMP lable_06151019
                                           	BANKSEL __KF8_lib_Touch_Bits_
00008a   6992     SET	0x92, 1              	SET __KF8_lib_Touch_Bits_, 1
                                           	BANKSEL __KF8_lib_Wave_Protect_Time_Count_S_T_
00008b   0393     CLR	0x93                 	CLR __KF8_lib_Wave_Protect_Time_Count_S_T_
                                           	;;;;;;;;;;;;;;;;;;;;;;;
                                           lable_06151019:
                                           	
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	722; "../kf8s_touch_g_lib.c"	if(_KF8_lib_Touch_Bits_._KF8_Touch_Protect_Flag)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
00008c   7992     JB	0x92, 1               	JB	__KF8_lib_Touch_Bits_, 1
00008d   c0ac     JMP	#0xac                	JMP	_00025_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL _i_KF8_lib_S_T_
00008e   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
00008f   80bd     ADD	R0, #0xbd            	ADD R0,#(__KF8_LIBc_baseline_count_)
                                           	BANKSEL __KF8_LIBc_baseline_count_
000090   f701     LD	R1, [R0]              	LD R1, [R0]
000091   a9ec     XOR	R1, #0xec            	XOR R1, #Low(-20)
000092   7203     JNB	0x3, 2               	JNB PSW, 2
000093   c09b     JMP	#0x9b                	JMP lable_06151032
                                           	;;;;;;;;
000094   9818     MOV	R0, #0x18            	MOV R0,#low(__KF8_Disturb_Protect_Circle_)
000095   9906     MOV	R1, #0x6             	MOV R1,#high(__KF8_Disturb_Protect_Circle_)
                                           	PAGESEL __R2PCHPCL
000096   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;
000097   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_Wave_Protect_Time_Count_S_T_
000098   1893     XOR	R0, 0x93             	XOR R0, __KF8_lib_Wave_Protect_Time_Count_S_T_
000099   7a03     JB	0x3, 2                	JB PSW, 2
00009a   c0ab     JMP	#0xab                	JMP lable_06151055
                                           	;;;;;;;;;;;;;;;;;;;
                                           lable_06151032:
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
00009b   5087     MOV	R0, 0x87             	MOV R0, _Addr_Copy_Int_KF8_Lib_S_T_
00009c   80cf     ADD	R0, #0xcf            	ADD R0, #(__KF8_LIBi_buff_hit_)
                                           	BANKSEL __KF8_LIBi_buff_hit_
00009d   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
00009e   5087     MOV	R0, 0x87             	MOV R0, _Addr_Copy_Int_KF8_Lib_S_T_
00009f   80c3     ADD	R0, #0xc3            	ADD R0, #(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
0000a0   f748     ST	[R0], R1              	ST [R0], R1
                                           	;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
0000a1   5087     MOV	R0, 0x87             	MOV R0, _Addr_Copy_Int_KF8_Lib_S_T_
0000a2   80d0     ADD	R0, #0xd0            	ADD R0, #(__KF8_LIBi_buff_hit_+1)
                                           	BANKSEL __KF8_LIBi_buff_hit_
0000a3   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
0000a4   5087     MOV	R0, 0x87             	MOV R0, _Addr_Copy_Int_KF8_Lib_S_T_
0000a5   80c4     ADD	R0, #0xc4            	ADD R0, #(__KF8_LIBi_buff_baseline_+1)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
0000a6   f748     ST	[R0], R1              	ST [R0], R1
                                           	;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_S_T_
0000a7   50a5     MOV	R0, 0xa5             	MOV R0, __KF8_LIBi_Touch_New_Date_S_T_
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_S_T_
0000a8   31a7     ORL	0xa7, R0             	ORL __KF8_lib_CH_DW_Change_Dealed_Flag_S_T_, R0
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_S_T_
0000a9   50a6     MOV	R0, 0xa6             	MOV R0, (__KF8_LIBi_Touch_New_Date_S_T_ + 1)
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_S_T_
0000aa   31a8     ORL	0xa8, R0             	ORL (__KF8_lib_CH_DW_Change_Dealed_Flag_S_T_ + 1), R0
                                           	;;;;;;;;;;;;;;;;;
                                           lable_06151055:
                                           	
                                           ;	op : GOTO
0000ab   c153     JMP	#0x153               	JMP	_00032_DS_
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00025_DS_
                                           	BANKSEL _i_KF8_lib_S_T_
0000ac   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
0000ad   80bd     ADD	R0, #0xbd            	ADD R0,# (__KF8_LIBc_baseline_count_ + 0)
                                           	BANKSEL __KF8_LIBc_baseline_count_
0000ae   f701     LD	R1, [R0]              	LD R1, [R0]
                                           	BANKSEL __KF8_lib_bahualvtemportemp_S_T_
0000af   538b     MOV	0x8b, R1             	MOV __KF8_lib_bahualvtemportemp_S_T_, R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;
0000b0   9906     MOV	R1, #0x6             	MOV R1,# high (__KF8_BaseLine_Update_Circle_Count_For_Down_+0)
0000b1   981a     MOV	R0, #0x1a            	MOV R0,# low (__KF8_BaseLine_Update_Circle_Count_For_Down_+0)
                                           	PAGESEL __R2PCHPCL
0000b2   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
0000b3   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_bahualvtemportemp_S_T_
0000b4   188b     XOR	R0, 0x8b             	XOR R0, __KF8_lib_bahualvtemportemp_S_T_
0000b5   7a03     JB	0x3, 2                	JB PSW, 2
0000b6   c0e7     JMP	#0xe7                	JMP lable_06160853
                                           	;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _i_KF8_lib_S_T_
0000b7   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
0000b8   80b7     ADD	R0, #0xb7            	ADD R0,# (__KF8_LIBc_touch_count_ + 0)
                                           	BANKSEL __KF8_LIBc_touch_count_
0000b9   f701     LD	R1, [R0]              	LD R1, [R0]
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
0000ba   538a     MOV	0x8a, R1             	MOV __KF8_lib_Date_Uchar_Temp_S_T_, R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;
0000bb   9817     MOV	R0, #0x17            	MOV R0,# low (_TCS_AMOUNT+0)
0000bc   9906     MOV	R1, #0x6             	MOV R1,# high (_TCS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL
0000bd   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
0000be   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
0000bf   388a     SUB	R0, 0x8a             	SUB R0, __KF8_lib_Date_Uchar_Temp_S_T_
0000c0   7003     JNB	0x3, 0               	JNB PSW, 0
0000c1   c0df     JMP	#0xdf                	JMP lable_06151118
                                           	;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Key_Down_Count_S_T_
0000c2   5091     MOV	R0, 0x91             	MOV R0, __KF8_lib_Key_Down_Count_S_T_
0000c3   a802     XOR	R0, #0x2             	XOR R0,# 0x02
0000c4   7a03     JB	0x3, 2                	JB PSW, 2
0000c5   c0d3     JMP	#0xd3                	JMP lable_06151125
                                           	;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
0000c6   5087     MOV	R0, 0x87             	MOV R0, _Addr_Copy_Int_KF8_Lib_S_T_
0000c7   80cf     ADD	R0, #0xcf            	ADD R0, #(__KF8_LIBi_buff_hit_)
                                           	BANKSEL __KF8_LIBi_buff_hit_
0000c8   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
0000c9   5087     MOV	R0, 0x87             	MOV R0, _Addr_Copy_Int_KF8_Lib_S_T_
0000ca   80c3     ADD	R0, #0xc3            	ADD R0, #(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
0000cb   f748     ST	[R0], R1              	ST [R0], R1
                                           	;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
0000cc   5087     MOV	R0, 0x87             	MOV R0, _Addr_Copy_Int_KF8_Lib_S_T_
0000cd   80d0     ADD	R0, #0xd0            	ADD R0, #(__KF8_LIBi_buff_hit_+1)
                                           	BANKSEL __KF8_LIBi_buff_hit_
0000ce   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
0000cf   5087     MOV	R0, 0x87             	MOV R0, _Addr_Copy_Int_KF8_Lib_S_T_
0000d0   80c4     ADD	R0, #0xc4            	ADD R0, #(__KF8_LIBi_buff_baseline_+1)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
0000d1   f748     ST	[R0], R1              	ST [R0], R1
0000d2   c0e3     JMP	#0xe3                	JMP lable_06151133
                                           lable_06151125:
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
0000d3   5087     MOV	R0, 0x87             	MOV R0, _Addr_Copy_Int_KF8_Lib_S_T_
0000d4   80c3     ADD	R0, #0xc3            	ADD R0, #(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
0000d5   f701     LD	R1, [R0]              	LD R1,[R0]
0000d6   81ff     ADD	R1, #0xff            	ADD R1,#0XFF
0000d7   f748     ST	[R0], R1              	ST [R0],R1
0000d8   7003     JNB	0x3, 0               	JNB PSW, 0
0000d9   c0e3     JMP	#0xe3                	JMP lable_06151133
0000da   ff10     INC	R0                   	INC R0
0000db   f701     LD	R1, [R0]              	LD R1,[R0]
0000dc   ff09     DEC	R1                   	DEC R1
0000dd   f748     ST	[R0], R1              	ST [R0],R1
0000de   c0e3     JMP	#0xe3                	JMP lable_06151133
                                           lable_06151118:
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_S_T_
0000df   50a5     MOV	R0, 0xa5             	MOV R0, __KF8_LIBi_Touch_New_Date_S_T_
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_S_T_
0000e0   31a7     ORL	0xa7, R0             	ORL __KF8_lib_CH_DW_Change_Dealed_Flag_S_T_, R0
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_S_T_
0000e1   50a6     MOV	R0, 0xa6             	MOV R0, (__KF8_LIBi_Touch_New_Date_S_T_ + 1)
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_S_T_
0000e2   31a8     ORL	0xa8, R0             	ORL (__KF8_lib_CH_DW_Change_Dealed_Flag_S_T_ + 1), R0
                                           	;;;;;;;;;;;;;;;;;;;;;;;;
                                           lable_06151133:
                                           	BANKSEL _i_KF8_lib_S_T_
0000e3   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
0000e4   80bd     ADD	R0, #0xbd            	ADD R0,# (__KF8_LIBc_baseline_count_ + 0)
                                           	BANKSEL __KF8_LIBc_baseline_count_
0000e5   9900     MOV	R1, #0               	MOV R1,#0X00
0000e6   f748     ST	[R0], R1              	ST [R0], R1
                                           lable_06160853:
                                           	
                                           ;	op : GOTO
0000e7   c153     JMP	#0x153               	JMP	_00032_DS_
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00028_DS_
                                           	BANKSEL __KF8_lib_Touch_Bits_
0000e8   7192     JNB	0x92, 1              	JNB __KF8_lib_Touch_Bits_, 1
0000e9   c0ee     JMP	#0xee                	JMP lable_06151543
                                           	;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_S_T_
0000ea   04a5     CPLR	0xa5                	CPLR __KF8_LIBi_Touch_New_Date_S_T_
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_S_T_
0000eb   29a7     AND	0xa7, R0             	AND __KF8_lib_CH_DW_Change_Dealed_Flag_S_T_, R0
                                           	;;;;;;;;
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_S_T_
0000ec   04a6     CPLR	0xa6                	CPLR (__KF8_LIBi_Touch_New_Date_S_T_+1)
                                           	BANKSEL __KF8_lib_CH_DW_Change_Dealed_Flag_S_T_
0000ed   29a8     AND	0xa8, R0             	AND (__KF8_lib_CH_DW_Change_Dealed_Flag_S_T_ + 1), R0
                                           lable_06151543:
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL _i_KF8_lib_S_T_
0000ee   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
0000ef   80bd     ADD	R0, #0xbd            	ADD R0,# (__KF8_LIBc_baseline_count_ + 0)
                                           	BANKSEL __KF8_LIBc_baseline_count_
0000f0   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_lib_bahualvtemportemp_S_T_
0000f1   538b     MOV	0x8b, R1             	MOV __KF8_lib_bahualvtemportemp_S_T_, R1
                                           	;;;;;;;;;;;;;;;;;
0000f2   981a     MOV	R0, #0x1a            	MOV R0,# low (__KF8_BaseLine_Update_Circle_Count_For_Down_+0)
0000f3   9906     MOV	R1, #0x6             	MOV R1,# high (__KF8_BaseLine_Update_Circle_Count_For_Down_+0)
                                           	PAGESEL __R2PCHPCL
0000f4   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
0000f5   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_bahualvtemportemp_S_T_
0000f6   188b     XOR	R0, 0x8b             	XOR R0, __KF8_lib_bahualvtemportemp_S_T_
0000f7   7203     JNB	0x3, 2               	JNB PSW, 2
0000f8   c100     JMP	#0x100               	JMP lable_06151621
                                           	;;;;;;;;;;;;;;;;;;
0000f9   9906     MOV	R1, #0x6             	MOV R1,# high (__KF8_BaseLine_Update_Circle_Count_For_UP_+0)
0000fa   9819     MOV	R0, #0x19            	MOV R0,# low (__KF8_BaseLine_Update_Circle_Count_For_UP_+0)
                                           	PAGESEL __R2PCHPCL
0000fb   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
0000fc   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_bahualvtemportemp_S_T_
0000fd   188b     XOR	R0, 0x8b             	XOR R0, __KF8_lib_bahualvtemportemp_S_T_
0000fe   7a03     JB	0x3, 2                	JB PSW, 2
0000ff   c153     JMP	#0x153               	JMP lable_06151626
                                           	;;;;;;;;;;;;;;;;;;;;
                                           lable_06151621:
                                           	BANKSEL _i_KF8_lib_S_T_
000100   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
000101   80bd     ADD	R0, #0xbd            	ADD R0,# (__KF8_LIBc_baseline_count_ + 0)
                                           	BANKSEL __KF8_LIBc_baseline_count_
000102   9900     MOV	R1, #0               	MOV R1,#0X00
000103   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
000104   5087     MOV	R0, 0x87             	MOV R0,_Addr_Copy_Int_KF8_Lib_S_T_
000105   80c3     ADD	R0, #0xc3            	ADD R0,#(__KF8_LIBi_buff_baseline_+0)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000106   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
000107   53a3     MOV	0xa3, R1             	MOV __KF8_Temp_Cur_A_S_T_,R1
000108   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000109   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
00010a   53a4     MOV	0xa4, R1             	MOV __KF8_Temp_Cur_A_S_T_+1,R1
                                           	;;;
00010b   9901     MOV	R1, #0x1             	MOV R1,#0x01
                                           _KF8_lib_DW_UP_Basic_IIR_Normal_Get_DS_0001:
00010c   6003     CLR	0x3, 0               	CLR PSW,0
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
00010d   11a4     RRC	0xa4                 	RRC __KF8_Temp_Cur_A_S_T_+1
00010e   11a3     RRC	0xa3                 	RRC __KF8_Temp_Cur_A_S_T_
00010f   6003     CLR	0x3, 0               	CLR PSW,0
000110   ff19     RLC	R1                   	RLC R1
000111   f8c8     MOV	R0, R1               	MOV R0,R1
000112   a808     XOR	R0, #0x8             	XOR R0,#(8)
                                           	PAGESEL _KF8_lib_DW_UP_Basic_IIR_Normal_Get_DS_0001
000113   7a03     JB	0x3, 2                	JB PSW,2
000114   c10c     JMP	#0x10c               	JMP _KF8_lib_DW_UP_Basic_IIR_Normal_Get_DS_0001
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
000115   5087     MOV	R0, 0x87             	MOV R0,_Addr_Copy_Int_KF8_Lib_S_T_
000116   80cf     ADD	R0, #0xcf            	ADD R0,#(__KF8_LIBi_buff_hit_+0)
                                           	BANKSEL __KF8_LIBi_buff_hit_
000117   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_B_S_T_
000118   53a1     MOV	0xa1, R1             	MOV __KF8_Temp_Cur_B_S_T_,R1
000119   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_buff_hit_
00011a   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_B_S_T_
00011b   53a2     MOV	0xa2, R1             	MOV __KF8_Temp_Cur_B_S_T_+1,R1
                                           	;;;
00011c   9901     MOV	R1, #0x1             	MOV R1,#0x01
                                           _KF8_lib_DW_UP_Basic_IIR_Normal_Get_DS_0002:
00011d   6003     CLR	0x3, 0               	CLR PSW,0
                                           	BANKSEL __KF8_Temp_Cur_B_S_T_
00011e   11a2     RRC	0xa2                 	RRC __KF8_Temp_Cur_B_S_T_+1
00011f   11a1     RRC	0xa1                 	RRC __KF8_Temp_Cur_B_S_T_
000120   6003     CLR	0x3, 0               	CLR PSW,0
000121   ff19     RLC	R1                   	RLC R1
000122   f8c8     MOV	R0, R1               	MOV R0,R1
000123   a808     XOR	R0, #0x8             	XOR R0,#(8)
                                           	PAGESEL _KF8_lib_DW_UP_Basic_IIR_Normal_Get_DS_0002
000124   7a03     JB	0x3, 2                	JB PSW,2
000125   c11d     JMP	#0x11d               	JMP _KF8_lib_DW_UP_Basic_IIR_Normal_Get_DS_0002
                                           	;;;
                                           	;;;;
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
000126   52a3     MOV	R1, 0xa3             	MOV R1,__KF8_Temp_Cur_A_S_T_
                                           	BANKSEL __KF8_Temp_Cur_B_S_T_
000127   3ba1     SUB	0xa1, R1             	SUB __KF8_Temp_Cur_B_S_T_,R1
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
000128   52a4     MOV	R1, 0xa4             	MOV R1,__KF8_Temp_Cur_A_S_T_+1
000129   7803     JB	0x3, 0                	JB PSW,0
00012a   ff11     INC	R1                   	INC R1
                                           	BANKSEL __KF8_Temp_Cur_B_S_T_
00012b   3ba2     SUB	0xa2, R1             	SUB __KF8_Temp_Cur_B_S_T_+1,R1
                                           	;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
00012c   5087     MOV	R0, 0x87             	MOV R0,_Addr_Copy_Int_KF8_Lib_S_T_
00012d   80c3     ADD	R0, #0xc3            	ADD R0,#(__KF8_LIBi_buff_baseline_+0)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00012e   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_B_S_T_
00012f   22a1     ADD	R1, 0xa1             	ADD R1, __KF8_Temp_Cur_B_S_T_
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000130   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;
000131   ff10     INC	R0                   	INC R0
000132   f701     LD	R1, [R0]              	LD R1,[R0]
000133   7003     JNB	0x3, 0               	JNB PSW,0
000134   ff11     INC	R1                   	INC R1
                                           	BANKSEL __KF8_Temp_Cur_B_S_T_
000135   22a2     ADD	R1, 0xa2             	ADD R1,__KF8_Temp_Cur_B_S_T_+1
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000136   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _i_KF8_lib_S_T_
000137   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
000138   80b1     ADD	R0, #0xb1            	ADD R0,# (__KF8_LIBi_Date_Change_ + 0)
                                           	BANKSEL __KF8_LIBi_Date_Change_
000139   f701     LD	R1, [R0]              	LD R1, [R0]
00013a   f7b9     JNB	R1, 7                	JNB R1, 7
00013b   c148     JMP	#0x148               	JMP lable_06151740
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
00013c   5087     MOV	R0, 0x87             	MOV R0, _Addr_Copy_Int_KF8_Lib_S_T_
00013d   80c3     ADD	R0, #0xc3            	ADD R0,#(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00013e   f701     LD	R1, [R0]              	LD R1, [R0]
00013f   81ff     ADD	R1, #0xff            	ADD R1, #0XFF
000140   f748     ST	[R0], R1              	ST [R0],R1
000141   7003     JNB	0x3, 0               	JNB PSW,0
000142   c153     JMP	#0x153               	JMP lable_06151626
000143   ff10     INC	R0                   	INC R0
000144   f701     LD	R1, [R0]              	LD R1,[R0]
000145   ff09     DEC	R1                   	DEC R1
000146   f748     ST	[R0], R1              	ST [R0],R1
000147   c153     JMP	#0x153               	JMP lable_06151626
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           lable_06151740:
                                           	BANKSEL _Addr_Copy_Int_KF8_Lib_S_T_
000148   5087     MOV	R0, 0x87             	MOV R0, _Addr_Copy_Int_KF8_Lib_S_T_
000149   80c3     ADD	R0, #0xc3            	ADD R0,#(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00014a   f701     LD	R1, [R0]              	LD R1, [R0]
00014b   8101     ADD	R1, #0x1             	ADD R1,#0X01
00014c   f748     ST	[R0], R1              	ST [R0],R1
00014d   7803     JB	0x3, 0                	JB PSW,0
00014e   c153     JMP	#0x153               	JMP lable_06151626
00014f   ff10     INC	R0                   	INC R0
000150   f701     LD	R1, [R0]              	LD R1,[R0]
000151   ff11     INC	R1                   	INC R1
000152   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;;;;;;;;;;;
                                           lable_06151626:
                                           	
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00032_DS_
000153   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_Touch_Bits_
000154   7992     JB	0x92, 1               	JB __KF8_lib_Touch_Bits_, 1
000155   c165     JMP	#0x165               	JMP lable_06161004
                                           	;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _i_KF8_lib_S_T_
000156   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
000157   80b7     ADD	R0, #0xb7            	ADD R0,#(__KF8_LIBc_touch_count_)
                                           	BANKSEL __KF8_LIBc_touch_count_
000158   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
000159   538a     MOV	0x8a, R1             	MOV __KF8_lib_Date_Uchar_Temp_S_T_,R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;
00015a   9906     MOV	R1, #0x6             	MOV R1,# high (_TCS_AMOUNT+0)
00015b   9817     MOV	R0, #0x17            	MOV R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL
00015c   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;;;;;;;;;;;;;;;
00015d   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
00015e   398a     SUB	0x8a, R0             	SUB __KF8_lib_Date_Uchar_Temp_S_T_,R0
00015f   7003     JNB	0x3, 0               	JNB PSW,0
000160   c165     JMP	#0x165               	JMP lable_06161004
                                           	BANKSEL _i_KF8_lib_S_T_
000161   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
000162   80b7     ADD	R0, #0xb7            	ADD R0,#(__KF8_LIBc_touch_count_)
000163   9900     MOV	R1, #0               	MOV R1,#0X00
                                           	BANKSEL __KF8_LIBc_touch_count_
000164   f748     ST	[R0], R1              	ST [R0],R1
                                           lable_06161004:
                                           	
                                           ;	op : +
                                           ;	.line	1194; "../kf8s_touch_g_lib.c"	if(_KF8_LIBi_Date_Change_[i_KF8_lib_S_T_]>=0)
                                           	BANKSEL	_i_KF8_lib_S_T_
000165   5088     MOV	R0, 0x88             	MOV	R0, _i_KF8_lib_S_T_
000166   80b1     ADD	R0, #0xb1            	ADD	R0,# (__KF8_LIBi_Date_Change_ + 0)
                                           	BANKSEL	r0x102A
000167   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x102A
000168   5286     MOV	R1, 0x86             	MOV	R1, r0x102A
                                           	BANKSEL	__KF8_LIBi_Date_Change_
000169   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x102E
00016a   5183     MOV	0x83, R0             	MOV	r0x102E, R0
                                           ;	op : <
                                           ;signed compare: left < lit(0x0=0), size=1, mask=ff
00016b   6803     SET	0x3, 0               	SET	PSW, 0
                                           	BANKSEL	r0x102E
00016c   7f83     JB	0x83, 7               	JB	r0x102E, 7
00016d   6003     CLR	0x3, 0               	CLR	PSW, 0
00016e   7003     JNB	0x3, 0               	JNB	PSW, 0
00016f   c176     JMP	#0x176               	JMP	_00034_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL _i_KF8_lib_S_T_
000170   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
000171   80bd     ADD	R0, #0xbd            	ADD R0,#(__KF8_LIBc_baseline_count_)
                                           	BANKSEL __KF8_LIBc_baseline_count_
000172   f701     LD	R1, [R0]              	LD R1, [R0]
000173   ff09     DEC	R1                   	DEC R1
000174   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : GOTO
000175   c17b     JMP	#0x17b               	JMP	_00035_DS_
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00034_DS_
                                           	BANKSEL _i_KF8_lib_S_T_
000176   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
000177   80bd     ADD	R0, #0xbd            	ADD R0,#(__KF8_LIBc_baseline_count_)
                                           	BANKSEL __KF8_LIBc_baseline_count_
000178   f701     LD	R1, [R0]              	LD R1, [R0]
000179   ff11     INC	R1                   	INC R1
00017a   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : LABEL
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00035_DS_
                                           ;	.line	1230; "../kf8s_touch_g_lib.c"	if(!_KF8_lib_Touch_Bits_._KF8_Touch_Protect_Flag)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
00017b   7192     JNB	0x92, 1              	JNB	__KF8_lib_Touch_Bits_, 1
00017c   c275     JMP	#0x275               	JMP	_00060_DS_
                                           ;	op : EQ_OP
                                           ;	.line	1232; "../kf8s_touch_g_lib.c"	if(	((i_KF8_lib_S_T_==_KF8_lib_Finded_MAX_I_S_T_)	||	(i_KF8_lib_S_T_==_KF8_lib_Finded_MAX_J_S_T_) )&& _KF8_LIBi_Date_Change_[i_KF8_lib_S_T_]>_KF8_Config_Finger_Threshold[i_KF8_lib_S_T_]	)
                                           	BANKSEL	__KF8_lib_Finded_MAX_I_S_T_
00017d   0e8e     MOVZ	R0, 0x8e            	MOVZ	R0, __KF8_lib_Finded_MAX_I_S_T_
                                           	BANKSEL	_i_KF8_lib_S_T_
00017e   1888     XOR	R0, 0x88             	XOR	R0, _i_KF8_lib_S_T_
00017f   7203     JNB	0x3, 2               	JNB	PSW, 2
000180   c185     JMP	#0x185               	JMP	_00058_DS_
                                           	BANKSEL	__KF8_lib_Finded_MAX_J_S_T_
000181   0e8d     MOVZ	R0, 0x8d            	MOVZ	R0, __KF8_lib_Finded_MAX_J_S_T_
                                           	BANKSEL	_i_KF8_lib_S_T_
000182   1888     XOR	R0, 0x88             	XOR	R0, _i_KF8_lib_S_T_
000183   7a03     JB	0x3, 2                	JB	PSW, 2
000184   c262     JMP	#0x262               	JMP	_00055_DS_
                                           ;	op : LABEL
                                           ;	op : +
                                           _00058_DS_
                                           	BANKSEL	_i_KF8_lib_S_T_
000185   5088     MOV	R0, 0x88             	MOV	R0, _i_KF8_lib_S_T_
000186   80b1     ADD	R0, #0xb1            	ADD	R0,# (__KF8_LIBi_Date_Change_ + 0)
                                           	BANKSEL	r0x102A
000187   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x102A
000188   5286     MOV	R1, 0x86             	MOV	R1, r0x102A
                                           	BANKSEL	__KF8_LIBi_Date_Change_
000189   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x102E
00018a   5183     MOV	0x83, R0             	MOV	r0x102E, R0
                                           ;	op : +
00018b   9806     MOV	R0, #0x6             	MOV	R0,# (__KF8_Config_Finger_Threshold + 0)
                                           	BANKSEL	_i_KF8_lib_S_T_
00018c   2088     ADD	R0, 0x88             	ADD	R0, _i_KF8_lib_S_T_
                                           	BANKSEL	r0x102A
00018d   5186     MOV	0x86, R0             	MOV	r0x102A, R0
00018e   9806     MOV	R0, #0x6             	MOV	R0,# high (__KF8_Config_Finger_Threshold + 0)
                                           	BANKSEL	r0x102D
00018f   5184     MOV	0x84, R0             	MOV	r0x102D, R0
000190   0208     CLR	R0                   	CLR	R0
000191   7003     JNB	0x3, 0               	JNB	PSW, 0
000192   ff10     INC	R0                   	INC	R0
000193   7203     JNB	0x3, 2               	JNB	PSW, 2
000194   c196     JMP	#0x196               	JMP	_00156_DS_
                                           	BANKSEL	r0x102D
000195   2184     ADD	0x84, R0             	ADD	r0x102D, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00156_DS_
                                           	BANKSEL	r0x102D
000196   5284     MOV	R1, 0x84             	MOV	R1, r0x102D
                                           	BANKSEL	r0x102A
000197   5086     MOV	R0, 0x86             	MOV	R0, r0x102A
                                           	PAGESEL	__R2PCL
000198   d612     CALL	#0x612              	CALL	__R2PCL
                                           	PAGESEL	$
000199   6503     CLR	0x3, 5               	BANKSEL	r0x102F
00019a   5182     MOV	0x82, R0             	MOV	r0x102F, R0
                                           ;	op : >
                                           	BANKSEL	r0x102F
00019b   0e82     MOVZ	R0, 0x82            	MOVZ	R0, r0x102F
00019c   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x102C
00019d   5180     MOV	0x80, R0             	MOV	r0x102C, R0
                                           	BANKSEL	r0x102E
00019e   0e83     MOVZ	R0, 0x83            	MOVZ	R0, r0x102E
00019f   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           	BANKSEL	r0x102C
0001a0   3880     SUB	R0, 0x80             	SUB	R0, r0x102C
                                           ;comparing bytes at offset 0
0001a1   7003     JNB	0x3, 0               	JNB	PSW, 0
0001a2   c262     JMP	#0x262               	JMP	_00055_DS_
                                           ;	op : LEFT_OP
                                           ;	.line	1235; "../kf8s_touch_g_lib.c"	if(_KF8S_Data_Steady_Flag_&(1<<i_KF8_lib_S_T_))//Etan2018-2-1;Ö»ÓÐÔÚ²ÉÑùÖµÎÈ¶¨µÄÊ±ºò²ÅÈÏÎªÓÐ°´¼ü´¥·¢
0001a3   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
                                           	BANKSEL	r0x102A
0001a4   5186     MOV	0x86, R0             	MOV	r0x102A, R0
0001a5   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x102D
0001a6   5184     MOV	0x84, R0             	MOV	r0x102D, R0
                                           	BANKSEL	_i_KF8_lib_S_T_
0001a7   0e88     MOVZ	R0, 0x88            	MOVZ	R0, _i_KF8_lib_S_T_
0001a8   ff10     INC	R0                   	INC	R0
0001a9   c1ae     JMP	#0x1ae               	JMP	_00100_DS_
                                           _00099_DS_
0001aa   6003     CLR	0x3, 0               	CLR	PSW, 0
0001ab   6503     CLR	0x3, 5               	BANKSEL	r0x102A
0001ac   1386     RLC	0x86                 	RLC	r0x102A
                                           	BANKSEL	r0x102D
0001ad   1384     RLC	0x84                 	RLC	r0x102D
                                           _00100_DS_
0001ae   ff58     DECJZ	R0                 	DECJZ	R0
0001af   c1aa     JMP	#0x1aa               	JMP	_00099_DS_
                                           ;	op : CAST
                                           ;;100	MOVZ	R0, r0x102A
                                           ;;102	MOVZ	R0, r0x102D
                                           ;	op : BITWISEAND
                                           ;;99	MOVZ	R0, r0x102E
                                           	BANKSEL	r0x102A
0001b0   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x102A
                                           	BANKSEL	r0x102E
0001b1   5183     MOV	0x83, R0             	MOV	r0x102E, R0
                                           	BANKSEL	__KF8S_Data_Steady_Flag_
0001b2   289f     AND	R0, 0x9f             	AND	R0, __KF8S_Data_Steady_Flag_
                                           	BANKSEL	r0x102A
0001b3   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;;101	MOVZ	R0, r0x102F
                                           	BANKSEL	r0x102D
0001b4   0e84     MOVZ	R0, 0x84            	MOVZ	R0, r0x102D
                                           	BANKSEL	r0x102F
0001b5   5182     MOV	0x82, R0             	MOV	r0x102F, R0
                                           	BANKSEL	__KF8S_Data_Steady_Flag_
0001b6   28a0     AND	R0, 0xa0             	AND	R0, (__KF8S_Data_Steady_Flag_ + 1)
                                           	BANKSEL	r0x102D
0001b7   5184     MOV	0x84, R0             	MOV	r0x102D, R0
                                           ;	op : IFX
                                           	BANKSEL	r0x102A
0001b8   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x102A
                                           	BANKSEL	r0x102D
0001b9   3084     ORL	R0, 0x84             	ORL	R0, r0x102D
0001ba   7203     JNB	0x3, 2               	JNB	PSW, 2
0001bb   c1d5     JMP	#0x1d5               	JMP	_00039_DS_
                                           ;	op : +
                                           ;	.line	1238; "../kf8s_touch_g_lib.c"	if(_KF8_LIBc_touch_count_[i_KF8_lib_S_T_]<TCS_AMOUNT)
                                           	BANKSEL	_i_KF8_lib_S_T_
0001bc   5088     MOV	R0, 0x88             	MOV	R0, _i_KF8_lib_S_T_
0001bd   80b7     ADD	R0, #0xb7            	ADD	R0,# (__KF8_LIBc_touch_count_ + 0)
                                           	BANKSEL	r0x102A
0001be   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x102A
0001bf   5286     MOV	R1, 0x86             	MOV	R1, r0x102A
                                           	BANKSEL	__KF8_LIBc_touch_count_
0001c0   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x102E
0001c1   5183     MOV	0x83, R0             	MOV	r0x102E, R0
                                           ;	op : =
                                           ;gen_assign from CODESPACE
0001c2   9906     MOV	R1, #0x6             	MOV	R1,# high (_TCS_AMOUNT+0)
0001c3   9817     MOV	R0, #0x17            	MOV	R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL	__R2PCL
0001c4   d612     CALL	#0x612              	CALL	__R2PCL
                                           	PAGESEL	$
0001c5   6503     CLR	0x3, 5               	BANKSEL	r0x102A
0001c6   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : <
                                           	BANKSEL	r0x102A
0001c7   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x102A
                                           	BANKSEL	r0x102E
0001c8   3883     SUB	R0, 0x83             	SUB	R0, r0x102E
                                           ;comparing bytes at offset 0
0001c9   7003     JNB	0x3, 0               	JNB	PSW, 0
0001ca   c1d5     JMP	#0x1d5               	JMP	_00039_DS_
                                           ;	op : +
                                           ;	.line	1240; "../kf8s_touch_g_lib.c"	_KF8_LIBc_touch_count_[i_KF8_lib_S_T_]++;
                                           	BANKSEL	_i_KF8_lib_S_T_
0001cb   5088     MOV	R0, 0x88             	MOV	R0, _i_KF8_lib_S_T_
0001cc   80b7     ADD	R0, #0xb7            	ADD	R0,# (__KF8_LIBc_touch_count_ + 0)
                                           	BANKSEL	r0x102A
0001cd   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x102A
0001ce   5286     MOV	R1, 0x86             	MOV	R1, r0x102A
                                           	BANKSEL	__KF8_LIBc_touch_count_
0001cf   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x102F
0001d0   5182     MOV	0x82, R0             	MOV	r0x102F, R0
                                           ;	op : +
                                           	BANKSEL	r0x102F
0001d1   0b82     INC	0x82                 	INC	r0x102F
                                           ;	op : =
                                           	BANKSEL	r0x102F
0001d2   0e82     MOVZ	R0, 0x82            	MOVZ	R0, r0x102F
                                           	BANKSEL	r0x102A
0001d3   5286     MOV	R1, 0x86             	MOV	R1, r0x102A
                                           	BANKSEL	__KF8_LIBc_touch_count_
0001d4   f741     ST	[R1], R0              	ST	[R1], R0
                                           ;	op : LABEL
                                           ;	op : =
                                           ;gen_assign from CODESPACE
                                           _00039_DS_
                                           ;	.line	1273; "../kf8s_touch_g_lib.c"	if(_KF8_DoubleKey_Compages_Limitable_Circle_)  // £¡=0µÄÅÐ¶Ï
0001d5   9900     MOV	R1, #0               	MOV	R1,# high (__KF8_DoubleKey_Compages_Limitable_Circle_+0)
0001d6   9802     MOV	R0, #0x2             	MOV	R0,# low (__KF8_DoubleKey_Compages_Limitable_Circle_+0)
                                           	PAGESEL	__R2PCL
0001d7   d612     CALL	#0x612              	CALL	__R2PCL
                                           	PAGESEL	$
0001d8   6503     CLR	0x3, 5               	BANKSEL	r0x102A
0001d9   5186     MOV	0x86, R0             	MOV	r0x102A, R0
0001da   9900     MOV	R1, #0               	MOV	R1,# high (__KF8_DoubleKey_Compages_Limitable_Circle_+1)
0001db   9803     MOV	R0, #0x3             	MOV	R0,# low (__KF8_DoubleKey_Compages_Limitable_Circle_+1)
                                           	PAGESEL	__R2PCL
0001dc   d612     CALL	#0x612              	CALL	__R2PCL
                                           	PAGESEL	$
0001dd   6503     CLR	0x3, 5               	BANKSEL	r0x102E
0001de   5183     MOV	0x83, R0             	MOV	r0x102E, R0
                                           ;	op : IFX
                                           	BANKSEL	r0x102A
0001df   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x102A
                                           	BANKSEL	r0x102E
0001e0   3083     ORL	R0, 0x83             	ORL	R0, r0x102E
0001e1   7203     JNB	0x3, 2               	JNB	PSW, 2
0001e2   c1ff     JMP	#0x1ff               	JMP	_00046_DS_
                                           ;	op : EQ_OP
                                           ;	.line	1275; "../kf8s_touch_g_lib.c"	if(_KF8_lib_Key_Down_Count_S_T_==1&&_KF8_lib_Key_Double_Timer_Protect_S_T_<_KF8_DoubleKey_Compages_Limitable_Circle_)
                                           	BANKSEL	__KF8_lib_Key_Down_Count_S_T_
0001e3   0e91     MOVZ	R0, 0x91            	MOVZ	R0, __KF8_lib_Key_Down_Count_S_T_
0001e4   a801     XOR	R0, #0x1             	XOR	R0,# 0x01
0001e5   7a03     JB	0x3, 2                	JB	PSW, 2
0001e6   c1ff     JMP	#0x1ff               	JMP	_00046_DS_
                                           ;	op : <
                                           	BANKSEL	r0x102E
0001e7   0e83     MOVZ	R0, 0x83            	MOVZ	R0, r0x102E
                                           	BANKSEL	__KF8_lib_Key_Double_Timer_Protect_S_T_
0001e8   38aa     SUB	R0, 0xaa             	SUB	R0, (__KF8_lib_Key_Double_Timer_Protect_S_T_ + 1)
                                           ;comparing bytes at offset 1
0001e9   7a03     JB	0x3, 2                	JB	PSW, 2
0001ea   c1ed     JMP	#0x1ed               	JMP	_00102_DS_
                                           	BANKSEL	r0x102A
0001eb   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x102A
                                           	BANKSEL	__KF8_lib_Key_Double_Timer_Protect_S_T_
0001ec   38a9     SUB	R0, 0xa9             	SUB	R0, __KF8_lib_Key_Double_Timer_Protect_S_T_
                                           _00102_DS_
0001ed   7003     JNB	0x3, 0               	JNB	PSW, 0
0001ee   c1ff     JMP	#0x1ff               	JMP	_00046_DS_
                                           ;	op : +
                                           ;	.line	1277; "../kf8s_touch_g_lib.c"	_KF8_lib_Key_Double_Timer_Protect_S_T_++;
                                           	BANKSEL	__KF8_lib_Key_Double_Timer_Protect_S_T_
0001ef   0ba9     INC	0xa9                 	INC	__KF8_lib_Key_Double_Timer_Protect_S_T_
0001f0   7a03     JB	0x3, 2                	JB	PSW, 2
0001f1   c1f3     JMP	#0x1f3               	JMP	_00157_DS_
                                           	BANKSEL	__KF8_lib_Key_Double_Timer_Protect_S_T_
0001f2   0baa     INC	0xaa                 	INC	(__KF8_lib_Key_Double_Timer_Protect_S_T_ + 1)
                                           ;	op : EQ_OP
                                           _00157_DS_
                                           ;	.line	1278; "../kf8s_touch_g_lib.c"	if(_KF8_lib_Key_Double_Timer_Protect_S_T_==_KF8_DoubleKey_Compages_Limitable_Circle_)
                                           	BANKSEL	r0x102A
0001f3   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x102A
                                           	BANKSEL	__KF8_lib_Key_Double_Timer_Protect_S_T_
0001f4   18a9     XOR	R0, 0xa9             	XOR	R0, __KF8_lib_Key_Double_Timer_Protect_S_T_
0001f5   7a03     JB	0x3, 2                	JB	PSW, 2
0001f6   c1ff     JMP	#0x1ff               	JMP	_00046_DS_
                                           	BANKSEL	r0x102E
0001f7   0e83     MOVZ	R0, 0x83            	MOVZ	R0, r0x102E
                                           	BANKSEL	__KF8_lib_Key_Double_Timer_Protect_S_T_
0001f8   18aa     XOR	R0, 0xaa             	XOR	R0, (__KF8_lib_Key_Double_Timer_Protect_S_T_ + 1)
0001f9   7a03     JB	0x3, 2                	JB	PSW, 2
0001fa   c1ff     JMP	#0x1ff               	JMP	_00046_DS_
                                           ;	op : =
                                           ;	.line	1280; "../kf8s_touch_g_lib.c"	_KF8_lib_Key_Down_Count_S_T_=2;
0001fb   9802     MOV	R0, #0x2             	MOV	R0,# 0x02
                                           	BANKSEL	__KF8_lib_Key_Down_Count_S_T_
0001fc   5191     MOV	0x91, R0             	MOV	__KF8_lib_Key_Down_Count_S_T_, R0
                                           ;	op : =
                                           ;	.line	1281; "../kf8s_touch_g_lib.c"	_KF8_LIBc_finger_OUT_Second_S_T_=_KF8_LIBc_finger_OUT_First_S_T_;
                                           	BANKSEL	__KF8_LIBc_finger_OUT_First_S_T_
0001fd   0e90     MOVZ	R0, 0x90            	MOVZ	R0, __KF8_LIBc_finger_OUT_First_S_T_
                                           	BANKSEL	__KF8_LIBc_finger_OUT_Second_S_T_
0001fe   518f     MOV	0x8f, R0             	MOV	__KF8_LIBc_finger_OUT_Second_S_T_, R0
                                           ;	op : LABEL
                                           ;	op : +
                                           _00046_DS_
                                           ;	.line	1286; "../kf8s_touch_g_lib.c"	if(_KF8_LIBc_touch_count_[i_KF8_lib_S_T_]==TCS_AMOUNT )
                                           	BANKSEL	_i_KF8_lib_S_T_
0001ff   5088     MOV	R0, 0x88             	MOV	R0, _i_KF8_lib_S_T_
000200   80b7     ADD	R0, #0xb7            	ADD	R0,# (__KF8_LIBc_touch_count_ + 0)
                                           	BANKSEL	r0x102A
000201   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x102A
000202   5286     MOV	R1, 0x86             	MOV	R1, r0x102A
                                           	BANKSEL	__KF8_LIBc_touch_count_
000203   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x102F
000204   5182     MOV	0x82, R0             	MOV	r0x102F, R0
                                           ;	op : =
                                           ;gen_assign from CODESPACE
000205   9906     MOV	R1, #0x6             	MOV	R1,# high (_TCS_AMOUNT+0)
000206   9817     MOV	R0, #0x17            	MOV	R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL	__R2PCL
000207   d612     CALL	#0x612              	CALL	__R2PCL
                                           	PAGESEL	$
000208   6503     CLR	0x3, 5               	BANKSEL	r0x102A
000209   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : EQ_OP
                                           	BANKSEL	r0x102A
00020a   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x102A
                                           	BANKSEL	r0x102F
00020b   1882     XOR	R0, 0x82             	XOR	R0, r0x102F
00020c   7a03     JB	0x3, 2                	JB	PSW, 2
00020d   c275     JMP	#0x275               	JMP	_00060_DS_
                                           ;	op : IFX
                                           ;	.line	1291; "../kf8s_touch_g_lib.c"	if(_KF8_LIBi_channel_flag_)
                                           	BANKSEL	__KF8_LIBi_channel_flag_
00020e   0eaf     MOVZ	R0, 0xaf            	MOVZ	R0, __KF8_LIBi_channel_flag_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
00020f   30b0     ORL	R0, 0xb0             	ORL	R0, (__KF8_LIBi_channel_flag_ + 1)
000210   7203     JNB	0x3, 2               	JNB	PSW, 2
000211   c23a     JMP	#0x23a               	JMP	_00048_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_lib_Key_Down_Count_S_T_
000212   5091     MOV	R0, 0x91             	MOV R0, __KF8_lib_Key_Down_Count_S_T_
000213   a801     XOR	R0, #0x1             	XOR R0,# 0x01
000214   7a03     JB	0x3, 2                	JB PSW, 2
000215   c235     JMP	#0x235               	JMP lable_06161201
                                           	;;;;;;;;;;;;;
000216   9802     MOV	R0, #0x2             	MOV R0,# 0x02
                                           	BANKSEL __KF8_lib_Key_Down_Count_S_T_
000217   5191     MOV	0x91, R0             	MOV __KF8_lib_Key_Down_Count_S_T_, R0
                                           	;;;;;;;;;;;;;
                                           	BANKSEL _i_KF8_lib_S_T_
000218   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
                                           	BANKSEL __KF8_LIBc_finger_OUT_Second_S_T_
000219   518f     MOV	0x8f, R0             	MOV __KF8_LIBc_finger_OUT_Second_S_T_, R0
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _i_KF8_lib_S_T_
00021a   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
00021b   80f0     ADD	R0, #0xf0            	ADD R0, #low (__KF8_TOUCH_CH_EN)
00021c   990f     MOV	R1, #0xf             	MOV R1, #high (__KF8_TOUCH_CH_EN)
00021d   7003     JNB	0x3, 0               	JNB PSW,0
00021e   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
00021f   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
000220   6003     CLR	0x3, 0               	CLR PSW,0
000221   ff18     RLC	R0                   	RLC R0
000222   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
000223   518a     MOV	0x8a, R0             	MOV __KF8_lib_Date_Uchar_Temp_S_T_ , R0
                                           	;;;;;;;;;;;;;;;;;;;;
000224   80b8     ADD	R0, #0xb8            	ADD R0,#low(__KF8_LIBt_buff_bit_S_T_)
000225   9905     MOV	R1, #0x5             	MOV R1,#high(__KF8_LIBt_buff_bit_S_T_)
000226   7003     JNB	0x3, 0               	JNB PSW,0
000227   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
000228   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;;;;;;;
000229   6503     CLR	0x3, 5               	BANKSEL __KF8_LIBi_channel_flag_
00022a   31af     ORL	0xaf, R0             	ORL __KF8_LIBi_channel_flag_,R0
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
00022b   508a     MOV	R0, 0x8a             	MOV R0, __KF8_lib_Date_Uchar_Temp_S_T_
00022c   ff10     INC	R0                   	INC R0
00022d   80b8     ADD	R0, #0xb8            	ADD R0,#low(__KF8_LIBt_buff_bit_S_T_)
00022e   9905     MOV	R1, #0x5             	MOV R1,#high(__KF8_LIBt_buff_bit_S_T_)
00022f   7003     JNB	0x3, 0               	JNB PSW,0
000230   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
000231   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;;;;;;;;;;;;
000232   6503     CLR	0x3, 5               	BANKSEL __KF8_LIBi_channel_flag_
000233   31b0     ORL	0xb0, R0             	ORL (__KF8_LIBi_channel_flag_+1), R0
000234   c239     JMP	#0x239               	JMP lable_06161420
                                           	;;;;;;
                                           lable_06161201:
                                           	BANKSEL _i_KF8_lib_S_T_
000235   5088     MOV	R0, 0x88             	MOV R0,_i_KF8_lib_S_T_
000236   80b7     ADD	R0, #0xb7            	ADD R0,#(__KF8_LIBc_touch_count_)
000237   9900     MOV	R1, #0               	MOV R1,#0X00
                                           	BANKSEL __KF8_LIBc_touch_count_
000238   f748     ST	[R0], R1              	ST [R0], R1
                                           lable_06161420:
                                           	
                                           ;	op : GOTO
000239   c25c     JMP	#0x25c               	JMP	_00049_DS_
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00048_DS_
                                           	BANKSEL _i_KF8_lib_S_T_
00023a   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
00023b   80f0     ADD	R0, #0xf0            	ADD R0, #low (__KF8_TOUCH_CH_EN)
00023c   990f     MOV	R1, #0xf             	MOV R1, #high (__KF8_TOUCH_CH_EN)
00023d   7003     JNB	0x3, 0               	JNB PSW,0
00023e   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
00023f   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
000240   6003     CLR	0x3, 0               	CLR PSW,0
000241   ff18     RLC	R0                   	RLC R0
000242   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
000243   518a     MOV	0x8a, R0             	MOV __KF8_lib_Date_Uchar_Temp_S_T_ , R0
                                           	;;;;;;;;;;;;;;;;;;;;
000244   80b8     ADD	R0, #0xb8            	ADD R0,#low(__KF8_LIBt_buff_bit_S_T_)
000245   9905     MOV	R1, #0x5             	MOV R1,#high(__KF8_LIBt_buff_bit_S_T_)
000246   7003     JNB	0x3, 0               	JNB PSW,0
000247   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
000248   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;;;;;;;
000249   6503     CLR	0x3, 5               	BANKSEL __KF8_LIBi_channel_flag_
00024a   51af     MOV	0xaf, R0             	MOV __KF8_LIBi_channel_flag_,R0
                                           	;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
00024b   508a     MOV	R0, 0x8a             	MOV R0, __KF8_lib_Date_Uchar_Temp_S_T_
00024c   ff10     INC	R0                   	INC R0
00024d   80b8     ADD	R0, #0xb8            	ADD R0,#low(__KF8_LIBt_buff_bit_S_T_)
00024e   9905     MOV	R1, #0x5             	MOV R1,#high(__KF8_LIBt_buff_bit_S_T_)
00024f   7003     JNB	0x3, 0               	JNB PSW,0
000250   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL
000251   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;;;;;;;;;;;;
000252   6503     CLR	0x3, 5               	BANKSEL __KF8_LIBi_channel_flag_
000253   51b0     MOV	0xb0, R0             	MOV (__KF8_LIBi_channel_flag_+1), R0
                                           	;;;;;;;;;;;;;;;;;;;;;
000254   9801     MOV	R0, #0x1             	MOV R0,# 0x01
                                           	BANKSEL __KF8_lib_Key_Down_Count_S_T_
000255   5191     MOV	0x91, R0             	MOV __KF8_lib_Key_Down_Count_S_T_, R0
                                           	;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Key_Double_Timer_Protect_S_T_
000256   51a9     MOV	0xa9, R0             	MOV __KF8_lib_Key_Double_Timer_Protect_S_T_, R0
                                           	BANKSEL __KF8_lib_Key_Double_Timer_Protect_S_T_
000257   03aa     CLR	0xaa                 	CLR (__KF8_lib_Key_Double_Timer_Protect_S_T_ + 1)
                                           	;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _i_KF8_lib_S_T_
000258   5088     MOV	R0, 0x88             	MOV R0, _i_KF8_lib_S_T_
                                           	BANKSEL __KF8_LIBc_finger_OUT_First_S_T_
000259   5190     MOV	0x90, R0             	MOV __KF8_LIBc_finger_OUT_First_S_T_, R0
                                           	;;;;;;;;;;;;;;;
00025a   98ff     MOV	R0, #0xff            	MOV R0,# 0xff
                                           	BANKSEL __KF8_LIBc_finger_OUT_Second_S_T_
00025b   518f     MOV	0x8f, R0             	MOV __KF8_LIBc_finger_OUT_Second_S_T_, R0
                                           	
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00049_DS_
                                           	BANKSEL _i_KF8_lib_S_T_
00025c   5088     MOV	R0, 0x88             	MOV R0,_i_KF8_lib_S_T_
00025d   80b7     ADD	R0, #0xb7            	ADD R0,#(__KF8_LIBc_touch_count_)
                                           	BANKSEL __KF8_LIBc_touch_count_
00025e   f701     LD	R1, [R0]              	LD R1,[R0]
00025f   ff11     INC	R1                   	INC R1
000260   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : GOTO
000261   c275     JMP	#0x275               	JMP	_00060_DS_
                                           ;	op : LABEL
                                           ;	op : +
                                           _00055_DS_
                                           ;	.line	1465; "../kf8s_touch_g_lib.c"	else if(_KF8_LIBc_touch_count_[i_KF8_lib_S_T_]<TCS_AMOUNT)
                                           	BANKSEL	_i_KF8_lib_S_T_
000262   5088     MOV	R0, 0x88             	MOV	R0, _i_KF8_lib_S_T_
000263   80b7     ADD	R0, #0xb7            	ADD	R0,# (__KF8_LIBc_touch_count_ + 0)
                                           	BANKSEL	r0x102A
000264   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x102A
000265   5286     MOV	R1, 0x86             	MOV	R1, r0x102A
                                           	BANKSEL	__KF8_LIBc_touch_count_
000266   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x1030
000267   5181     MOV	0x81, R0             	MOV	r0x1030, R0
                                           ;	op : =
                                           ;gen_assign from CODESPACE
000268   9906     MOV	R1, #0x6             	MOV	R1,# high (_TCS_AMOUNT+0)
000269   9817     MOV	R0, #0x17            	MOV	R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL	__R2PCL
00026a   d612     CALL	#0x612              	CALL	__R2PCL
                                           	PAGESEL	$
00026b   6503     CLR	0x3, 5               	BANKSEL	r0x102A
00026c   5186     MOV	0x86, R0             	MOV	r0x102A, R0
                                           ;	op : <
                                           	BANKSEL	r0x102A
00026d   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x102A
                                           	BANKSEL	r0x1030
00026e   3881     SUB	R0, 0x81             	SUB	R0, r0x1030
                                           ;comparing bytes at offset 0
00026f   7003     JNB	0x3, 0               	JNB	PSW, 0
000270   c275     JMP	#0x275               	JMP	_00060_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL _i_KF8_lib_S_T_
000271   5088     MOV	R0, 0x88             	MOV R0,_i_KF8_lib_S_T_
000272   80b7     ADD	R0, #0xb7            	ADD R0,#(__KF8_LIBc_touch_count_)
                                           	BANKSEL __KF8_LIBc_touch_count_
000273   9900     MOV	R1, #0               	MOV R1,#0X00
000274   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00060_DS_
000275   6003     CLR	0x3, 0               	CLR PSW, 0
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_S_T_
000276   13a5     RLC	0xa5                 	RLC __KF8_LIBi_Touch_New_Date_S_T_
000277   13a6     RLC	0xa6                 	RLC (__KF8_LIBi_Touch_New_Date_S_T_ + 1)
                                           	
                                           ;	op : +
                                           ;	.line	511; "../kf8s_touch_g_lib.c"	for(i_KF8_lib_S_T_=0;i_KF8_lib_S_T_<CHS_AMOUNT;i_KF8_lib_S_T_++)
                                           	BANKSEL	_i_KF8_lib_S_T_
000278   0b88     INC	0x88                 	INC	_i_KF8_lib_S_T_
                                           ;	op : GOTO
000279   c00e     JMP	#0xe                 	JMP	_00067_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00070_DS_
                                           ;	.line	1497; "../kf8s_touch_g_lib.c"	_KF8_lib_CH_DW_Change_Count_S_T_=0;
                                           	BANKSEL	__KF8_lib_CH_DW_Change_Count_S_T_
00027a   038c     CLR	0x8c                 	CLR	__KF8_lib_CH_DW_Change_Count_S_T_
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	1499; "../kf8s_touch_g_lib.c"	if(_KF8_lib_Touch_Bits_._KF8_Touch_Protect_Flag)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
00027b   7992     JB	0x92, 1               	JB	__KF8_lib_Touch_Bits_, 1
00027c   c287     JMP	#0x287               	JMP	_00062_DS_
                                           ;	op : INLINEASM
00027d   9818     MOV	R0, #0x18            	MOV R0,#low(__KF8_Disturb_Protect_Circle_)
00027e   9906     MOV	R1, #0x6             	MOV R1,#high(__KF8_Disturb_Protect_Circle_)
                                           	PAGESEL __R2PCHPCL
00027f   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;
000280   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_Wave_Protect_Time_Count_S_T_
000281   0b93     INC	0x93                 	INC __KF8_lib_Wave_Protect_Time_Count_S_T_
000282   5293     MOV	R1, 0x93             	MOV R1,__KF8_lib_Wave_Protect_Time_Count_S_T_
                                           	;;;;;;;;;
000283   f841     SUB	R1, R0               	SUB R1,R0
000284   7003     JNB	0x3, 0               	JNB PSW, 0
000285   c287     JMP	#0x287               	JMP lable_06161507
                                           	BANKSEL __KF8_lib_Touch_Bits_
000286   6192     CLR	0x92, 1              	CLR __KF8_lib_Touch_Bits_, 1
                                           lable_06161507:
                                           	
                                           ;	op : LABEL
                                           ;	op : =
                                           ;gen_assign from CODESPACE
                                           _00062_DS_
                                           ;	.line	1530; "../kf8s_touch_g_lib.c"	if(_KF8_Key_Max_Pressed_Limitable_Circle_)
000287   990f     MOV	R1, #0xf             	MOV	R1,# high (__KF8_Key_Max_Pressed_Limitable_Circle_+0)
000288   98f6     MOV	R0, #0xf6            	MOV	R0,# low (__KF8_Key_Max_Pressed_Limitable_Circle_+0)
                                           	PAGESEL	__R2PCL
000289   d612     CALL	#0x612              	CALL	__R2PCL
                                           	PAGESEL	$
00028a   6503     CLR	0x3, 5               	BANKSEL	r0x102A
00028b   5186     MOV	0x86, R0             	MOV	r0x102A, R0
00028c   990f     MOV	R1, #0xf             	MOV	R1,# high (__KF8_Key_Max_Pressed_Limitable_Circle_+1)
00028d   98f7     MOV	R0, #0xf7            	MOV	R0,# low (__KF8_Key_Max_Pressed_Limitable_Circle_+1)
                                           	PAGESEL	__R2PCL
00028e   d612     CALL	#0x612              	CALL	__R2PCL
                                           	PAGESEL	$
00028f   6503     CLR	0x3, 5               	BANKSEL	r0x1030
000290   5181     MOV	0x81, R0             	MOV	r0x1030, R0
                                           ;	op : IFX
                                           	BANKSEL	r0x102A
000291   0e86     MOVZ	R0, 0x86            	MOVZ	R0, r0x102A
                                           	BANKSEL	r0x1030
000292   3081     ORL	R0, 0x81             	ORL	R0, r0x1030
000293   7203     JNB	0x3, 2               	JNB	PSW, 2
000294   c2d7     JMP	#0x2d7               	JMP	_00071_DS_
                                           ;	op : IFX
                                           ;	.line	1532; "../kf8s_touch_g_lib.c"	if(_KF8_LIBi_channel_flag_)
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000295   0eaf     MOVZ	R0, 0xaf            	MOVZ	R0, __KF8_LIBi_channel_flag_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000296   30b0     ORL	R0, 0xb0             	ORL	R0, (__KF8_LIBi_channel_flag_ + 1)
000297   7203     JNB	0x3, 2               	JNB	PSW, 2
000298   c2d7     JMP	#0x2d7               	JMP	_00071_DS_
                                           ;	op : +
                                           ;	.line	1534; "../kf8s_touch_g_lib.c"	_KF8_lib_MAX_KEY_Vaule_Time_Count_S_T_++;
                                           	BANKSEL	__KF8_lib_MAX_KEY_Vaule_Time_Count_S_T_
000299   0bab     INC	0xab                 	INC	__KF8_lib_MAX_KEY_Vaule_Time_Count_S_T_
00029a   7a03     JB	0x3, 2                	JB	PSW, 2
00029b   c29d     JMP	#0x29d               	JMP	_00158_DS_
                                           	BANKSEL	__KF8_lib_MAX_KEY_Vaule_Time_Count_S_T_
00029c   0bac     INC	0xac                 	INC	(__KF8_lib_MAX_KEY_Vaule_Time_Count_S_T_ + 1)
                                           ;	op : INLINEASM
                                           _00158_DS_
00029d   98f6     MOV	R0, #0xf6            	MOV R0,#low(__KF8_Key_Max_Pressed_Limitable_Circle_)
00029e   990f     MOV	R1, #0xf             	MOV R1,#high(__KF8_Key_Max_Pressed_Limitable_Circle_)
                                           	PAGESEL __R2PCHPCL
00029f   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;;;;;
0002a0   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_MAX_KEY_Vaule_Time_Count_S_T_
0002a1   18ab     XOR	R0, 0xab             	XOR R0,__KF8_lib_MAX_KEY_Vaule_Time_Count_S_T_
0002a2   7a03     JB	0x3, 2                	JB PSW,2
0002a3   c2d7     JMP	#0x2d7               	JMP lable_06161527
                                           	;;;;;;;;;;;;;;;;
0002a4   98f7     MOV	R0, #0xf7            	MOV R0,#low(__KF8_Key_Max_Pressed_Limitable_Circle_+1)
0002a5   990f     MOV	R1, #0xf             	MOV R1,#high(__KF8_Key_Max_Pressed_Limitable_Circle_+1)
                                           	PAGESEL __R2PCHPCL
0002a6   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
                                           	;;;;;;;;;;;;;;;;
0002a7   6503     CLR	0x3, 5               	BANKSEL __KF8_lib_MAX_KEY_Vaule_Time_Count_S_T_
0002a8   18ac     XOR	R0, 0xac             	XOR R0,(__KF8_lib_MAX_KEY_Vaule_Time_Count_S_T_+1)
0002a9   7a03     JB	0x3, 2                	JB PSW ,2
0002aa   c2d7     JMP	#0x2d7               	JMP lable_06161527
                                           	;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBi_channel_flag_
0002ab   03af     CLR	0xaf                 	CLR __KF8_LIBi_channel_flag_
                                           	BANKSEL __KF8_LIBi_channel_flag_
0002ac   03b0     CLR	0xb0                 	CLR (__KF8_LIBi_channel_flag_ + 1)
                                           	;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Key_Down_Count_S_T_
0002ad   5091     MOV	R0, 0x91             	MOV R0, __KF8_lib_Key_Down_Count_S_T_
0002ae   a802     XOR	R0, #0x2             	XOR R0,# 0x02
0002af   7a03     JB	0x3, 2                	JB PSW, 2
0002b0   c2c0     JMP	#0x2c0               	JMP lable_06161530
                                           	;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBc_finger_OUT_Second_S_T_
0002b1   508f     MOV	R0, 0x8f             	MOV R0,__KF8_LIBc_finger_OUT_Second_S_T_
0002b2   6003     CLR	0x3, 0               	CLR PSW,0
0002b3   ff18     RLC	R0                   	RLC R0
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
0002b4   518a     MOV	0x8a, R0             	MOV __KF8_lib_Date_Uchar_Temp_S_T_, R0
0002b5   80cf     ADD	R0, #0xcf            	ADD R0, #(__KF8_LIBi_buff_hit_)
                                           	BANKSEL __KF8_LIBi_buff_hit_
0002b6   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
0002b7   508a     MOV	R0, 0x8a             	MOV R0,__KF8_lib_Date_Uchar_Temp_S_T_
0002b8   80c3     ADD	R0, #0xc3            	ADD R0,#(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
0002b9   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
0002ba   508a     MOV	R0, 0x8a             	MOV R0,__KF8_lib_Date_Uchar_Temp_S_T_
0002bb   80d0     ADD	R0, #0xd0            	ADD R0,#(__KF8_LIBi_buff_hit_+1)
                                           	BANKSEL __KF8_LIBi_buff_hit_
0002bc   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
0002bd   508a     MOV	R0, 0x8a             	MOV R0,__KF8_lib_Date_Uchar_Temp_S_T_
0002be   80c4     ADD	R0, #0xc4            	ADD R0,#(__KF8_LIBi_buff_baseline_+1)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
0002bf   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           lable_06161530:
                                           	BANKSEL __KF8_LIBc_finger_OUT_First_S_T_
0002c0   5090     MOV	R0, 0x90             	MOV R0,__KF8_LIBc_finger_OUT_First_S_T_
0002c1   6003     CLR	0x3, 0               	CLR PSW,0
0002c2   ff18     RLC	R0                   	RLC R0
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
0002c3   518a     MOV	0x8a, R0             	MOV __KF8_lib_Date_Uchar_Temp_S_T_, R0
0002c4   80cf     ADD	R0, #0xcf            	ADD R0, #(__KF8_LIBi_buff_hit_)
                                           	BANKSEL __KF8_LIBi_buff_hit_
0002c5   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
0002c6   508a     MOV	R0, 0x8a             	MOV R0,__KF8_lib_Date_Uchar_Temp_S_T_
0002c7   80c3     ADD	R0, #0xc3            	ADD R0,#(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
0002c8   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
0002c9   508a     MOV	R0, 0x8a             	MOV R0,__KF8_lib_Date_Uchar_Temp_S_T_
0002ca   80d0     ADD	R0, #0xd0            	ADD R0,#(__KF8_LIBi_buff_hit_+1)
                                           	BANKSEL __KF8_LIBi_buff_hit_
0002cb   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
0002cc   508a     MOV	R0, 0x8a             	MOV R0,__KF8_lib_Date_Uchar_Temp_S_T_
0002cd   80c4     ADD	R0, #0xc4            	ADD R0,#(__KF8_LIBi_buff_baseline_+1)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
0002ce   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Key_Down_Count_S_T_
0002cf   0391     CLR	0x91                 	CLR __KF8_lib_Key_Down_Count_S_T_
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;
0002d0   98ff     MOV	R0, #0xff            	MOV R0,# 0xff
                                           	BANKSEL __KF8_LIBc_finger_OUT_First_S_T_
0002d1   5190     MOV	0x90, R0             	MOV __KF8_LIBc_finger_OUT_First_S_T_, R0
                                           	;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBc_finger_OUT_Second_S_T_
0002d2   518f     MOV	0x8f, R0             	MOV __KF8_LIBc_finger_OUT_Second_S_T_, R0
                                           	;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Key_Double_Timer_Protect_S_T_
0002d3   03a9     CLR	0xa9                 	CLR __KF8_lib_Key_Double_Timer_Protect_S_T_
                                           	BANKSEL __KF8_lib_Key_Double_Timer_Protect_S_T_
0002d4   03aa     CLR	0xaa                 	CLR (__KF8_lib_Key_Double_Timer_Protect_S_T_ + 1)
                                           	;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_MAX_KEY_Vaule_Time_Count_S_T_
0002d5   03ab     CLR	0xab                 	CLR __KF8_lib_MAX_KEY_Vaule_Time_Count_S_T_
                                           	BANKSEL __KF8_lib_MAX_KEY_Vaule_Time_Count_S_T_
0002d6   03ac     CLR	0xac                 	CLR (__KF8_lib_MAX_KEY_Vaule_Time_Count_S_T_ + 1)
                                           lable_06161527:
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00071_DS_
0002d7   0008     CRET                     	CRET	
                                           ; exit point of __KF8_LiBf_KEY_Deal_AND_BaseLine_Up
                                           
                                           
                                           
                                           func.__KF8S_Init_Touch_General_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8S_Init_Touch_General_	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8S_Init_Touch_General_	;Function start
                                           ; 2 exit points
                                           ;	op : =
                                           ;	.line	379; "../kf8s_touch_g_lib.c"	_KF8_lib_Date_Uchar_Temp_S_T_=0; // ¿ª»ú·ÅÆúµÄnÈ¦¼ÆÊý±£Ö¤Îª0¿ªÊ¼
000524   6503     CLR	0x3, 5               	BANKSEL	__KF8_lib_Date_Uchar_Temp_S_T_
000525   038a     CLR	0x8a                 	CLR	__KF8_lib_Date_Uchar_Temp_S_T_
                                           ;	op : =
                                           ;	.line	381; "../kf8s_touch_g_lib.c"	_KF8_lib_Touch_Bits_._KF8_Touch_Work_Flag=0; //³õÊ¼»¯
                                           	BANKSEL	__KF8_lib_Touch_Bits_
000526   6092     CLR	0x92, 0              	CLR	__KF8_lib_Touch_Bits_, 0
                                           ;	op : =
                                           ;	.line	382; "../kf8s_touch_g_lib.c"	_KF8_lib_Touch_Bits_._KF8_Touch_Protect_Flag=0;//³õÊ¼»¯
                                           	BANKSEL	__KF8_lib_Touch_Bits_
000527   6192     CLR	0x92, 1              	CLR	__KF8_lib_Touch_Bits_, 1
                                           ;	op : =
                                           ;	.line	395; "../kf8s_touch_g_lib.c"	_KF8_lib_CH_DW_Change_Dealed_Flag_S_T_=0;
                                           	BANKSEL	__KF8_lib_CH_DW_Change_Dealed_Flag_S_T_
000528   03a7     CLR	0xa7                 	CLR	__KF8_lib_CH_DW_Change_Dealed_Flag_S_T_
                                           	BANKSEL	__KF8_lib_CH_DW_Change_Dealed_Flag_S_T_
000529   03a8     CLR	0xa8                 	CLR	(__KF8_lib_CH_DW_Change_Dealed_Flag_S_T_ + 1)
                                           ;	op : INLINEASM
                                           	; 431 "../kf8s_touch_g_lib.c"
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBc_channel_
00052a   039e     CLR	0x9e                 	CLR __KF8_LIBc_channel_
                                           	;;;;;;;;;;;;
                                           	BANKSEL __KF8_LIBi_channel_flag_
00052b   03af     CLR	0xaf                 	CLR __KF8_LIBi_channel_flag_
00052c   03b0     CLR	0xb0                 	CLR __KF8_LIBi_channel_flag_+1
                                           	;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
00052d   038a     CLR	0x8a                 	CLR __KF8_lib_Date_Uchar_Temp_S_T_
                                           	;;;;;;;;;;;;;;
                                           	
                                           ;	op : =
                                           ;	.line	424; "../kf8s_touch_g_lib.c"	//BANKSEL __KF8_LIBi_buff_hit_
00052e   6f2c     SET	0x2c, 7              	SET	_EIE1_bits, 7
                                           ;	op : =
00052f   670c     CLR	0xc, 7               	CLR	_EIF1_bits, 7
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	426; "../kf8s_touch_g_lib.c"	//INC   R1
                                           	BANKSEL	__KF8_lib_Touch_Bits_
000530   7e92     JB	0x92, 6               	JB	__KF8_lib_Touch_Bits_, 6
000531   c536     JMP	#0x536               	JMP	_00019_DS_
                                           ;	op : =
                                           ;	.line	428; "../kf8s_touch_g_lib.c"	//BANKSEL __KF8_lib_Date_Uchar_Temp_S_T_
000532   9890     MOV	R0, #0x90            	MOV	R0,# 0x90
000533   5153     MOV	0x53, R0             	MOV	_CTCTL, R0
                                           ;	op : =
                                           ;	.line	429; "../kf8s_touch_g_lib.c"	//DECJZ __KF8_lib_Date_Uchar_Temp_S_T_
000534   0350     CLR	0x50                 	CLR	_T3L
                                           ;	op : GOTO
000535   c53e     JMP	#0x53e               	JMP	_00020_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00019_DS_
                                           ;	.line	433; "../kf8s_touch_g_lib.c"	CLR __KF8_LIBc_channel_
000536   682c     SET	0x2c, 0              	SET	_EIE1_bits, 0
                                           ;	op : =
000537   600c     CLR	0xc, 0               	CLR	_EIF1_bits, 0
                                           ;	op : =
                                           ;	.line	434; "../kf8s_touch_g_lib.c"	;;;;;;;;;;;;
000538   030f     CLR	0xf                  	CLR	_T1H
                                           ;	op : =
000539   030e     CLR	0xe                  	CLR	_T1L
                                           ;	op : =
00053a   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
00053b   5110     MOV	0x10, R0             	MOV	_T1CTL, R0
                                           ;	op : =
                                           ;	.line	435; "../kf8s_touch_g_lib.c"	BANKSEL __KF8_LIBi_channel_flag_
00053c   9880     MOV	R0, #0x80            	MOV	R0,# 0x80
00053d   5153     MOV	0x53, R0             	MOV	_CTCTL, R0
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00020_DS_
00053e   98f0     MOV	R0, #0xf0            	MOV R0, # low (__KF8_TOUCH_CH_EN+0)
00053f   990f     MOV	R1, #0xf             	MOV R1, # high (__KF8_TOUCH_CH_EN+0)
                                           	PAGESEL __R2PCHPCL
000540   d60f     CALL	#0x60f              	CALL __R2PCHPCL
                                           	PAGESEL $
000541   6503     CLR	0x3, 5               	BANKSEL _CTCTL
000542   3153     ORL	0x53, R0             	ORL _CTCTL,R0
000543   9802     MOV	R0, #0x2             	MOV R0,#0x02
000544   ff58     DECJZ	R0                 	DECJZ R0
000545   c544     JMP	#0x544               	JMP $-1
                                           Start_First_CT:
                                           	BANKSEL _CTCTL
000546   6e53     SET	0x53, 6              	SET _CTCTL,6 ;
000547   0000     NOP                      	NOP
000548   7e53     JB	0x53, 6               	JB _CTCTL,6
000549   c546     JMP	#0x546               	JMP $-3
00054a   7453     JNB	0x53, 4              	JNB _CTCTL,4
00054b   035f     CLR	0x5f                 	CLR _T1U ;
                                           	
                                           ;	op : =
                                           ;	.line	466; "../kf8s_touch_g_lib.c"	MOV R0, # low  (__KF8_TOUCH_CH_EN+0)
00054c   6e0b     SET	0xb, 6               	SET	_INTCTL_bits, 6
                                           ;	op : =
                                           ;	.line	467; "../kf8s_touch_g_lib.c"	MOV R1, # high (__KF8_TOUCH_CH_EN+0)
00054d   6f0b     SET	0xb, 7               	SET	_INTCTL_bits, 7
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
00054e   0008     CRET                     	CRET	
                                           ; exit point of __KF8S_Init_Touch_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
0004a7   6503     CLR	0x3, 5               	BANKSEL __KF8_Temp_Cur_B_S_T_
0004a8   50a1     MOV	R0, 0xa1             	MOV R0,__KF8_Temp_Cur_B_S_T_
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
0004a9   39a3     SUB	0xa3, R0             	SUB __KF8_Temp_Cur_A_S_T_,R0
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_Temp_Cur_B_S_T_
0004aa   52a2     MOV	R1, 0xa2             	MOV R1,(__KF8_Temp_Cur_B_S_T_+1)
0004ab   7803     JB	0x3, 0                	JB PSW,0
0004ac   ff11     INC	R1                   	INC R1
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
0004ad   3ba4     SUB	0xa4, R1             	SUB (__KF8_Temp_Cur_A_S_T_+1),R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
0004ae   7803     JB	0x3, 0                	JB PSW,0
0004af   c4b1     JMP	#0x4b1               	JMP label_3_3_3
0004b0   c4b8     JMP	#0x4b8               	JMP label_4_4_4
                                           label_3_3_3:
                                           	;;
                                           	BANKSEL __KF8_lib_Touch_Bits_
0004b1   6492     CLR	0x92, 4              	CLR __KF8_lib_Touch_Bits_, 4
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
0004b2   05a3     CPL	0xa3                 	CPL __KF8_Temp_Cur_A_S_T_
                                           	BANKSEL (__KF8_Temp_Cur_A_S_T_+1)
0004b3   05a4     CPL	0xa4                 	CPL (__KF8_Temp_Cur_A_S_T_+1)
0004b4   0ba3     INC	0xa3                 	INC __KF8_Temp_Cur_A_S_T_
0004b5   7203     JNB	0x3, 2               	JNB PSW,2
0004b6   0ba4     INC	0xa4                 	INC (__KF8_Temp_Cur_A_S_T_+1)
0004b7   c4b9     JMP	#0x4b9               	JMP label_5_5_5
                                           label_4_4_4:
                                           	;;
                                           	BANKSEL __KF8_lib_Touch_Bits_
0004b8   6c92     SET	0x92, 4              	SET __KF8_lib_Touch_Bits_, 4
                                           label_5_5_5:
                                           	
                                           ;	op : INLINEASM
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
0004b9   50a4     MOV	R0, 0xa4             	MOV R0, (__KF8_Temp_Cur_A_S_T_ + 1)
0004ba   88fc     AND	R0, #0xfc            	AND R0,# 0xfc
0004bb   7a03     JB	0x3, 2                	JB PSW, 2
0004bc   c4d3     JMP	#0x4d3               	JMP label_6_6_6
                                           	;;;;;;;;;;;;;;;;;;;;;;Ð¡ÓÚ;;;;;;;;;;;;;;;;;;;;;;;;
0004bd   9806     MOV	R0, #0x6             	MOV R0,# 0x06
0004be   ff10     INC	R0                   	INC R0
0004bf   c4c3     JMP	#0x4c3               	JMP label_7_7_7
                                           label_8_8_8:
0004c0   6003     CLR	0x3, 0               	CLR PSW, 0
0004c1   13a3     RLC	0xa3                 	RLC __KF8_Temp_Cur_A_S_T_
0004c2   13a4     RLC	0xa4                 	RLC (__KF8_Temp_Cur_A_S_T_ + 1)
                                           label_7_7_7:
0004c3   ff58     DECJZ	R0                 	DECJZ R0
0004c4   c4c0     JMP	#0x4c0               	JMP label_8_8_8
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
0004c5   9808     MOV	R0, #0x8             	MOV R0,# 0x08
                                           	BANKSEL __KF8_Temp_Cur_B_S_T_
0004c6   21a1     ADD	0xa1, R0             	ADD __KF8_Temp_Cur_B_S_T_, R0
                                           	PAGESEL label_9_9_9
0004c7   7803     JB	0x3, 0                	JB PSW, 0
0004c8   c4ca     JMP	#0x4ca               	JMP label_9_9_9
0004c9   0ba2     INC	0xa2                 	INC (__KF8_Temp_Cur_B_S_T_ + 1)
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           label_9_9_9:
0004ca   9804     MOV	R0, #0x4             	MOV R0,# 0x04
0004cb   ff10     INC	R0                   	INC R0
0004cc   c4d0     JMP	#0x4d0               	JMP label_10_10_10
                                           label_11_11_11:
0004cd   6003     CLR	0x3, 0               	CLR PSW, 0
0004ce   11a2     RRC	0xa2                 	RRC (__KF8_Temp_Cur_B_S_T_ + 1)
0004cf   11a1     RRC	0xa1                 	RRC __KF8_Temp_Cur_B_S_T_
                                           label_10_10_10:
0004d0   ff58     DECJZ	R0                 	DECJZ R0
0004d1   c4cd     JMP	#0x4cd               	JMP label_11_11_11
0004d2   c4e1     JMP	#0x4e1               	JMP label_13_13_13
                                           	;;;;;;;;;;;;;;;;;;;;;;´óÓÚµÈÓÚ;;;;;;;;;;;;;;;;;;;;;;;;
                                           label_6_6_6:
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
0004d3   6003     CLR	0x3, 0               	CLR PSW, 0
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
0004d4   13a3     RLC	0xa3                 	RLC __KF8_Temp_Cur_A_S_T_
0004d5   13a4     RLC	0xa4                 	RLC (__KF8_Temp_Cur_A_S_T_ + 1)
0004d6   6003     CLR	0x3, 0               	CLR PSW, 0
0004d7   13a3     RLC	0xa3                 	RLC __KF8_Temp_Cur_A_S_T_
0004d8   13a4     RLC	0xa4                 	RLC (__KF8_Temp_Cur_A_S_T_ + 1)
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
0004d9   9880     MOV	R0, #0x80            	MOV R0,# 0x80
                                           	BANKSEL __KF8_Temp_Cur_B_S_T_
0004da   21a1     ADD	0xa1, R0             	ADD __KF8_Temp_Cur_B_S_T_, R0
0004db   7803     JB	0x3, 0                	JB PSW, 0
0004dc   c4de     JMP	#0x4de               	JMP label_12_12_12
0004dd   0ba2     INC	0xa2                 	INC (__KF8_Temp_Cur_B_S_T_ + 1)
                                           label_12_12_12:
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
0004de   50a2     MOV	R0, 0xa2             	MOV R0, (__KF8_Temp_Cur_B_S_T_ + 1)
0004df   51a1     MOV	0xa1, R0             	MOV __KF8_Temp_Cur_B_S_T_, R0
0004e0   03a2     CLR	0xa2                 	CLR (__KF8_Temp_Cur_B_S_T_ + 1)
                                           label_13_13_13:
                                           	
                                           ;	op : =
                                           ;	.line	313; "../kf8s_touch_g_lib.c"	_KF8_lib_bahualvtemportemp_S_T_=0;
                                           	BANKSEL	__KF8_lib_bahualvtemportemp_S_T_
0004e1   038b     CLR	0x8b                 	CLR	__KF8_lib_bahualvtemportemp_S_T_
                                           ;	op : INLINEASM
                                           label_17_17_17:
                                           	BANKSEL __KF8_Temp_Cur_B_S_T_
0004e2   50a1     MOV	R0, 0xa1             	MOV R0,__KF8_Temp_Cur_B_S_T_
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
0004e3   39a3     SUB	0xa3, R0             	SUB __KF8_Temp_Cur_A_S_T_,R0
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_Temp_Cur_B_S_T_
0004e4   52a2     MOV	R1, 0xa2             	MOV R1,(__KF8_Temp_Cur_B_S_T_+1)
0004e5   7803     JB	0x3, 0                	JB PSW,0
0004e6   ff11     INC	R1                   	INC R1
                                           	BANKSEL __KF8_Temp_Cur_A_S_T_
0004e7   3ba4     SUB	0xa4, R1             	SUB (__KF8_Temp_Cur_A_S_T_+1),R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
0004e8   7803     JB	0x3, 0                	JB PSW,0
0004e9   c4eb     JMP	#0x4eb               	JMP label_15_15_15
0004ea   c4ec     JMP	#0x4ec               	JMP label_14_14_14
                                           label_15_15_15:
                                           	;;
0004eb   c4f2     JMP	#0x4f2               	JMP label_16_16_16
                                           label_14_14_14:
                                           	;;
                                           	BANKSEL __KF8_lib_bahualvtemportemp_S_T_
0004ec   0b8b     INC	0x8b                 	INC __KF8_lib_bahualvtemportemp_S_T_
0004ed   508b     MOV	R0, 0x8b             	MOV R0,__KF8_lib_bahualvtemportemp_S_T_
0004ee   a07e     SUB	R0, #0x7e            	SUB R0,#(126)
0004ef   7803     JB	0x3, 0                	JB PSW,0
0004f0   c4f2     JMP	#0x4f2               	JMP label_16_16_16 ;
0004f1   c4e2     JMP	#0x4e2               	JMP label_17_17_17 ;
                                           label_16_16_16:
                                           	
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	355; "../kf8s_touch_g_lib.c"	if(_KF8_lib_Touch_Bits_._KF8_Touch_Flag_Flag1)
                                           	BANKSEL	__KF8_lib_Touch_Bits_
0004f2   7c92     JB	0x92, 4               	JB	__KF8_lib_Touch_Bits_, 4
0004f3   c4f6     JMP	#0x4f6               	JMP	_00015_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_lib_bahualvtemportemp_S_T_
0004f4   058b     CPL	0x8b                 	CPL __KF8_lib_bahualvtemportemp_S_T_
0004f5   0b8b     INC	0x8b                 	INC __KF8_lib_bahualvtemportemp_S_T_
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00015_DS_
0004f6   0008     CRET                     	CRET	
                                           ; exit point of __KF8_lib_Baihualv_get_
                                           
                                           
                                           
                                           func.__KF8S_Lib_Set_General_Parameter	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8S_Lib_Set_General_Parameter	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;1 compiler assigned register :
                                           ;   r0x1031
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8S_Lib_Set_General_Parameter	;Function start
                                           ; 2 exit points
                                           ;	op : RECEIVE
                                           ;	.line	150; "../kf8s_touch_g_lib.c"	void _KF8S_Lib_Set_General_Parameter(unsigned char parameterin)
                                           	BANKSEL	r0x1031
                                           	MOV	r0x1031, R0
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/2)
                                           ;unsigned compare: left >= lit(0x3=3), size=1
                                           ;	.line	152; "../kf8s_touch_g_lib.c"	switch(parameterin)
                                           	MOV	R0,# 0x03
                                           	BANKSEL	r0x1031
                                           	SUB	R0, r0x1031
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00008_DS_
                                           ;	op : JUMPTABLE
                                           	MOV	R0,#high _00012_DS_
                                           	MOV	PCH, R0
                                           	MOV	R0,#_00012_DS_
                                           	BANKSEL	r0x1031
                                           	ADD	R0, r0x1031
                                           	JNB	PSW, 0
                                           	INC	PCH
                                           	MOV	PCL, R0
                                           _00012_DS_
                                           	JMP	_00003_DS_
                                           	JMP	_00004_DS_
                                           	JMP	_00005_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00003_DS_
                                           ;	.line	156; "../kf8s_touch_g_lib.c"	_KF8_lib_Touch_Bits_._KF8_Touch_Work_USE_PWM=0;
                                           	BANKSEL	__KF8_lib_Touch_Bits_
                                           	CLR	__KF8_lib_Touch_Bits_, 6
                                           ;	op : =
                                           ;	.line	157; "../kf8s_touch_g_lib.c"	_KF8_lib_Touch_Bits_._KF8_Touch_Work_PWM_IS_16bit=0;
                                           	BANKSEL	__KF8_lib_Touch_Bits_
                                           	CLR	__KF8_lib_Touch_Bits_, 7
                                           ;	op : GOTO
                                           ;	.line	158; "../kf8s_touch_g_lib.c"	}break;
                                           	JMP	_00008_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00004_DS_
                                           ;	.line	161; "../kf8s_touch_g_lib.c"	_KF8_lib_Touch_Bits_._KF8_Touch_Work_USE_PWM=1;
                                           	BANKSEL	__KF8_lib_Touch_Bits_
                                           	SET	__KF8_lib_Touch_Bits_, 6
                                           ;	op : =
                                           ;	.line	162; "../kf8s_touch_g_lib.c"	_KF8_lib_Touch_Bits_._KF8_Touch_Work_PWM_IS_16bit=0;
                                           	BANKSEL	__KF8_lib_Touch_Bits_
                                           	CLR	__KF8_lib_Touch_Bits_, 7
                                           ;	op : GOTO
                                           ;	.line	163; "../kf8s_touch_g_lib.c"	}break;
                                           	JMP	_00008_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00005_DS_
                                           ;	.line	166; "../kf8s_touch_g_lib.c"	_KF8_lib_Touch_Bits_._KF8_Touch_Work_USE_PWM=1;
                                           	BANKSEL	__KF8_lib_Touch_Bits_
                                           	SET	__KF8_lib_Touch_Bits_, 6
                                           ;	op : =
                                           ;	.line	167; "../kf8s_touch_g_lib.c"	_KF8_lib_Touch_Bits_._KF8_Touch_Work_PWM_IS_16bit=1;
                                           	BANKSEL	__KF8_lib_Touch_Bits_
                                           	SET	__KF8_lib_Touch_Bits_, 7
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00008_DS_
                                           ;	.line	173; "../kf8s_touch_g_lib.c"	}
                                           	CRET	
                                           ; exit point of __KF8S_Lib_Set_General_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
00060f   530a     MOV	0xa, R1              	MOV PCH,R1
000610   5102     MOV	0x2, R0              	MOV PCL,R0
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
000611   0008     CRET                     	CRET	
                                           ; exit point of __R2PCHPCL
                                           
                                           
                                           ;	code size estimation:
                                           ;	  469+  217 =   686 instructions ( 1806 byte)
                                           
                                           
                                           	.end
                                           .config
002007   04c0     CPLR	0xc0               
002008   ffff     NOPZ                    
                                           fun.__R2PCL
000612   530a     MOV	0xa, R1             
000613   5102     MOV	0x2, R0             
                                           func.__gsinit_startup
000614   d5fa     CALL	#0x5fa             
000615   0008     CRET                    
                                           .code
0005e9   dfff     CALL	#0xfff             
0005ea   5130     MOV	0x30, R0            
0005eb   ffff     NOPZ                    
0005ec   ffff     NOPZ                    
0005ed   dffe     CALL	#0xffe             
0005ee   5137     MOV	0x37, R0            
0005ef   ffff     NOPZ                    
0005f0   ffff     NOPZ                    
0005f1   dffd     CALL	#0xffd             
0005f2   511c     MOV	0x1c, R0            
0005f3   ffff     NOPZ                    
0005f4   ffff     NOPZ                    
0005f5   dffc     CALL	#0xffc             
0005f6   515e     MOV	0x5e, R0            
0005f7   ffff     NOPZ                    
0005f8   ffff     NOPZ                    
0005f9   0008     CRET                    
                                           .cinit
0005fa   6503     CLR	0x3, 5              
0005fb   9880     MOV	R0, #0x80           
0005fc   9968     MOV	R1, #0x68           
0005fd   0000     NOP                     
0005fe   d600     CALL	#0x600             
0005ff   0008     CRET                    
000600   020a     CLR	R2                  
000601   f750     ST	[R0], R2             
000602   ff10     INC	R0                  
000603   ff59     DECJZ	R1                
000604   c601     JMP	#0x601              
000605   0008     CRET                    
