gplink-1.1.0
Copyright (c) 1998-2005 gputils project
Listing File Generated: 4-28-2016  16:18:34
 
 
Address  Value    Disassembly              Source
-------  -----    -----------              ------
                                           ;--------------------------------------------------------
                                           ; File Created by ChiponCC : aolisn inc.
                                           ; Version 3.0.4#6752 (Mar  1 2016 15:13:08) (MSVC)
                                           ; This file was generated Thu Apr 28 16:16:56 2016
                                           ;--------------------------------------------------------
                                           ; 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 (Mar  1 2016 15:13:08) (MSVC)
                                           ; This file was generated Thu Apr 28 16:16:56 2016
                                           ;--------------------------------------------------------
                                           ; 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
0003bc   990f     MOV	R1, #0xf             	MOV R1,#High(__KF8_TOUCH_CH_EN+0)
0003bd   9800     MOV	R0, #0               	MOV R0,#(0)
0003be   80f0     ADD	R0, #0xf0            	ADD R0,#Low(__KF8_TOUCH_CH_EN+0)
0003bf   7003     JNB	0x3, 0               	JNB PSW,0
0003c0   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCL
0003c1   d603     CALL	#0x603              	CALL __R2PCL
                                           	PAGESEL $
0003c2   8080     ADD	R0, #0x80            	ADD R0,#(_TOUCH_CH_TRS_EN+0)
0003c3   9901     MOV	R1, #0x1             	MOV R1,#0x01
0003c4   6503     CLR	0x3, 5               	BANKSEL _TOUCH_CH_TRS_EN
0003c5   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
0003c6   50db     MOV	R0, 0xdb             	MOV R0,__KF8_LIBc_channel_
0003c7   80f0     ADD	R0, #0xf0            	ADD R0,#Low(__KF8_TOUCH_CH_EN+0)
0003c8   990f     MOV	R1, #0xf             	MOV R1,#High(__KF8_TOUCH_CH_EN+0)
0003c9   7003     JNB	0x3, 0               	JNB PSW,0
0003ca   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCL
0003cb   d603     CALL	#0x603              	CALL __R2PCL
                                           	PAGESEL $
0003cc   8080     ADD	R0, #0x80            	ADD R0,#(_TOUCH_CH_TRS_EN+0)
0003cd   6503     CLR	0x3, 5               	BANKSEL _TOUCH_CH_TRS_EN
0003ce   f701     LD	R1, [R0]              	LD R1,[R0]
0003cf   a900     XOR	R1, #0               	XOR R1,#0x00
0003d0   7203     JNB	0x3, 2               	JNB PSW,2
0003d1   c4b3     JMP	#0x4b3               	JMP Label_x_y_z_a
                                           	
                                           ;	op : =
                                           ;	.line	64; "../debug_touch.c"	CLK_SET_IN;
0003d2   6925     SET	0x25, 1              	SET	_TR0_bits, 1
                                           ;	op : =
                                           ;	.line	65; "../debug_touch.c"	DAT_SET_IN;
0003d3   6825     SET	0x25, 0              	SET	_TR0_bits, 0
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	66; "../debug_touch.c"	Touch_Delay1;
0003d4   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
                                           	BANKSEL	STK00
0003d5   519c     MOV	0x9c, R0             	MOV	STK00, R0
0003d6   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
0003d7   d6ce     CALL	#0x6ce              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	70; "../debug_touch.c"	if(CLK_GET_STATE)
0003d8   7905     JB	0x5, 1                	JB	_P0_bits, 1
0003d9   c3e2     JMP	#0x3e2               	JMP	_00007_DS_
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	72; "../debug_touch.c"	Touch_Delay1;
0003da   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
0003db   6503     CLR	0x3, 5               	BANKSEL	STK00
0003dc   519c     MOV	0x9c, R0             	MOV	STK00, R0
0003dd   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
0003de   d6ce     CALL	#0x6ce              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	73; "../debug_touch.c"	if(!CLK_GET_STATE)
0003df   7105     JNB	0x5, 1               	JNB	_P0_bits, 1
0003e0   c3e6     JMP	#0x3e6               	JMP	_00008_DS_
                                           ;	op : RETURN
                                           ;	.line	74; "../debug_touch.c"	return;
0003e1   c4b3     JMP	#0x4b3               	JMP	_00045_DS_
                                           ;	op : LABEL
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00007_DS_
                                           ;	.line	76; "../debug_touch.c"	else if(!CLK_GET_STATE)
0003e2   7105     JNB	0x5, 1               	JNB	_P0_bits, 1
0003e3   c3e5     JMP	#0x3e5               	JMP	_00004_DS_
                                           ;	op : RETURN
                                           ;	.line	78; "../debug_touch.c"	return;
0003e4   c4b3     JMP	#0x4b3               	JMP	_00045_DS_
                                           ;	op : LABEL
                                           ;	op : RETURN
                                           _00004_DS_
                                           ;	.line	81; "../debug_touch.c"	return;
0003e5   c4b3     JMP	#0x4b3               	JMP	_00045_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00008_DS_
                                           ;	.line	83; "../debug_touch.c"	CLK_SET_OUT;
0003e6   6125     CLR	0x25, 1              	CLR	_TR0_bits, 1
                                           ;	op : =
                                           ;	.line	85; "../debug_touch.c"	CLK_SET_LOW;
0003e7   6105     CLR	0x5, 1               	CLR	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	86; "../debug_touch.c"	Touch_Delay1;
0003e8   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
0003e9   6503     CLR	0x3, 5               	BANKSEL	STK00
0003ea   519c     MOV	0x9c, R0             	MOV	STK00, R0
0003eb   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
0003ec   d6ce     CALL	#0x6ce              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	88; "../debug_touch.c"	CLK_SET_HIGH;		//ÉÏÉýÑØ
0003ed   6905     SET	0x5, 1               	SET	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	90; "../debug_touch.c"	Touch_Delay1;
0003ee   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
0003ef   6503     CLR	0x3, 5               	BANKSEL	STK00
0003f0   519c     MOV	0x9c, R0             	MOV	STK00, R0
0003f1   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
0003f2   d6ce     CALL	#0x6ce              	CALL	_delay_us
                                           ;	.line	92; "../debug_touch.c"	if(!DAT_GET_STATE)
                                           	PAGESEL	$
                                           ;	.line	94; "../debug_touch.c"	return;
0003f3   7805     JB	0x5, 0                	JB	_P0_bits, 0
                                           ;	.line	97; "../debug_touch.c"	CLK_SET_LOW;			//ÏÂ½µÑØ
0003f4   c4b3     JMP	#0x4b3               	JMP	_00045_DS_
0003f5   6105     CLR	0x5, 1               	CLR	_P0_bits, 1
                                           ;	.line	101; "../debug_touch.c"	Touch_Delay1;
0003f6   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
0003f7   6503     CLR	0x3, 5               	BANKSEL	STK00
0003f8   519c     MOV	0x9c, R0             	MOV	STK00, R0
0003f9   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
0003fa   d6ce     CALL	#0x6ce              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	102; "../debug_touch.c"	DAT_SET_OUT;
0003fb   6025     CLR	0x25, 0              	CLR	_TR0_bits, 0
                                           ;	op : =
                                           ;	.line	104; "../debug_touch.c"	j=5;
0003fc   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
0003fd   6503     CLR	0x3, 5               	BANKSEL	r0x1008
0003fe   51d9     MOV	0xd9, R0             	MOV	r0x1008, R0
                                           ;	op : =
                                           ;	.line	106; "../debug_touch.c"	for(step=0;step<5;step++)
                                           	BANKSEL	r0x1009
0003ff   03da     CLR	0xda                 	CLR	r0x1009
                                           ;	op : LABEL
                                           ;	op : <
                                           ;unsigned compare: left < lit(0x5=5), size=1
                                           _00037_DS_
000400   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
                                           	BANKSEL	r0x1009
000401   38da     SUB	R0, 0xda             	SUB	R0, r0x1009
                                           ;comparing bytes at offset 0
000402   7003     JNB	0x3, 0               	JNB	PSW, 0
000403   c460     JMP	#0x460               	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)
000404   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
                                           	BANKSEL	r0x1009
000405   38da     SUB	R0, 0xda             	SUB	R0, r0x1009
                                           ;comparing bytes at offset 0
000406   7003     JNB	0x3, 0               	JNB	PSW, 0
000407   c43f     JMP	#0x43f               	JMP	_00016_DS_
                                           ;	op : JUMPTABLE
000408   9804     MOV	R0, #0x4             	MOV	R0,#high _00067_DS_
000409   510a     MOV	0xa, R0              	MOV	PCH, R0
00040a   980f     MOV	R0, #0xf             	MOV	R0,#_00067_DS_
                                           	BANKSEL	r0x1009
00040b   20da     ADD	R0, 0xda             	ADD	R0, r0x1009
00040c   7003     JNB	0x3, 0               	JNB	PSW, 0
00040d   0b0a     INC	0xa                  	INC	PCH
00040e   5102     MOV	0x2, R0              	MOV	PCL, R0
                                           _00067_DS_
00040f   c414     JMP	#0x414               	JMP	_00011_DS_
000410   c420     JMP	#0x420               	JMP	_00012_DS_
000411   c428     JMP	#0x428               	JMP	_00013_DS_
000412   c430     JMP	#0x430               	JMP	_00014_DS_
000413   c438     JMP	#0x438               	JMP	_00015_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00011_DS_
                                           ;	.line	113; "../debug_touch.c"	j=5;
000414   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
                                           	BANKSEL	r0x1008
000415   51d9     MOV	0xd9, R0             	MOV	r0x1008, R0
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
000416   50db     MOV	R0, 0xdb             	MOV R0, __KF8_LIBc_channel_
000417   80f0     ADD	R0, #0xf0            	ADD R0,#Low(__KF8_TOUCH_CH_EN+0)
000418   990f     MOV	R1, #0xf             	MOV R1,#High(__KF8_TOUCH_CH_EN+0)
000419   7003     JNB	0x3, 0               	JNB PSW,0
00041a   ff11     INC	R1                   	INC R1
00041b   530a     MOV	0xa, R1              	MOV PCH,R1
                                           	PAGESEL __R2PCL
00041c   d603     CALL	#0x603              	CALL __R2PCL
                                           	PAGESEL $
00041d   6503     CLR	0x3, 5               	BANKSEL _T_buf
00041e   51d7     MOV	0xd7, R0             	MOV _T_buf,R0
                                           	
                                           ;	op : GOTO
                                           ;	.line	132; "../debug_touch.c"	}break;
00041f   c43f     JMP	#0x43f               	JMP	_00016_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00012_DS_
                                           ;	.line	136; "../debug_touch.c"	j=8;
000420   9808     MOV	R0, #0x8             	MOV	R0,# 0x08
                                           	BANKSEL	r0x1008
000421   51d9     MOV	0xd9, R0             	MOV	r0x1008, R0
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
000422   6003     CLR	0x3, 0               	CLR PSW,0
000423   12db     RLCR	0xdb                	RLCR __KF8_LIBc_channel_
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000424   80a9     ADD	R0, #0xa9            	ADD R0,#(__KF8_LIBi_buff_baseline_+0)
000425   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL _T_buf
000426   53d7     MOV	0xd7, R1             	MOV _T_buf,R1
                                           	
                                           ;	op : GOTO
                                           ;	.line	151; "../debug_touch.c"	}break;
000427   c43f     JMP	#0x43f               	JMP	_00016_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00013_DS_
                                           ;	.line	155; "../debug_touch.c"	j=8;
000428   9808     MOV	R0, #0x8             	MOV	R0,# 0x08
                                           	BANKSEL	r0x1008
000429   51d9     MOV	0xd9, R0             	MOV	r0x1008, R0
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
00042a   6003     CLR	0x3, 0               	CLR PSW,0
00042b   12db     RLCR	0xdb                	RLCR __KF8_LIBc_channel_
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00042c   80aa     ADD	R0, #0xaa            	ADD R0,#(__KF8_LIBi_buff_baseline_+1)
00042d   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL _T_buf
00042e   53d7     MOV	0xd7, R1             	MOV _T_buf,R1
                                           	
                                           ;	op : GOTO
                                           ;	.line	172; "../debug_touch.c"	}break;
00042f   c43f     JMP	#0x43f               	JMP	_00016_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00014_DS_
                                           ;	.line	176; "../debug_touch.c"	j=8;
000430   9808     MOV	R0, #0x8             	MOV	R0,# 0x08
                                           	BANKSEL	r0x1008
000431   51d9     MOV	0xd9, R0             	MOV	r0x1008, R0
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
000432   6003     CLR	0x3, 0               	CLR PSW,0
000433   12db     RLCR	0xdb                	RLCR __KF8_LIBc_channel_
                                           	BANKSEL __KF8_LIBi_buff_hit_
000434   809d     ADD	R0, #0x9d            	ADD R0,#(__KF8_LIBi_buff_hit_+0)
000435   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL _T_buf
000436   53d7     MOV	0xd7, R1             	MOV _T_buf,R1
                                           	
                                           ;	op : GOTO
                                           ;	.line	192; "../debug_touch.c"	}break;
000437   c43f     JMP	#0x43f               	JMP	_00016_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00015_DS_
                                           ;	.line	196; "../debug_touch.c"	j=8;
000438   9808     MOV	R0, #0x8             	MOV	R0,# 0x08
                                           	BANKSEL	r0x1008
000439   51d9     MOV	0xd9, R0             	MOV	r0x1008, R0
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
00043a   6003     CLR	0x3, 0               	CLR PSW,0
00043b   12db     RLCR	0xdb                	RLCR __KF8_LIBc_channel_
                                           	BANKSEL __KF8_LIBi_buff_hit_
00043c   809e     ADD	R0, #0x9e            	ADD R0,#(__KF8_LIBi_buff_hit_+1)
00043d   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL _T_buf
00043e   53d7     MOV	0xd7, R1             	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
00043f   03d8     CLR	0xd8                 	CLR	_i_T_D
                                           ;	op : LABEL
                                           ;	op : <
                                           _00033_DS_
                                           	BANKSEL	r0x1008
000440   0ed9     MOVZ	R0, 0xd9            	MOVZ	R0, r0x1008
                                           	BANKSEL	_i_T_D
000441   38d8     SUB	R0, 0xd8             	SUB	R0, _i_T_D
                                           ;comparing bytes at offset 0
000442   7003     JNB	0x3, 0               	JNB	PSW, 0
000443   c459     JMP	#0x459               	JMP	_00036_DS_
                                           ;	op : BITWISEAND
                                           ;	.line	216; "../debug_touch.c"	if(T_buf&0x01)
                                           	BANKSEL	_T_buf
000444   78d7     JB	0xd7, 0               	JB	_T_buf, 0
000445   c448     JMP	#0x448               	JMP	_00018_DS_
                                           ;	op : =
                                           ;	.line	217; "../debug_touch.c"	DAT_SET_HIGH;
000446   6805     SET	0x5, 0               	SET	_P0_bits, 0
                                           ;	op : GOTO
000447   c449     JMP	#0x449               	JMP	_00019_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00018_DS_
                                           ;	.line	219; "../debug_touch.c"	DAT_SET_LOW;
000448   6005     CLR	0x5, 0               	CLR	_P0_bits, 0
                                           ;	op : LABEL
                                           ;	op : =
                                           _00019_DS_
                                           ;	.line	221; "../debug_touch.c"	CLK_SET_HIGH;
000449   6905     SET	0x5, 1               	SET	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	222; "../debug_touch.c"	Touch_Delay1;
00044a   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
                                           	BANKSEL	STK00
00044b   519c     MOV	0x9c, R0             	MOV	STK00, R0
00044c   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
00044d   d6ce     CALL	#0x6ce              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	224; "../debug_touch.c"	CLK_SET_LOW;
00044e   6105     CLR	0x5, 1               	CLR	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	225; "../debug_touch.c"	Touch_Delay1;
00044f   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
000450   6503     CLR	0x3, 5               	BANKSEL	STK00
000451   519c     MOV	0x9c, R0             	MOV	STK00, R0
000452   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
000453   d6ce     CALL	#0x6ce              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : RIGHT_OP
                                           ;	.line	227; "../debug_touch.c"	T_buf=T_buf>>1;
000454   6003     CLR	0x3, 0               	CLR	PSW, 0
000455   6503     CLR	0x3, 5               	BANKSEL	_T_buf
000456   11d7     RRC	0xd7                 	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
000457   0bd8     INC	0xd8                 	INC	_i_T_D
                                           ;	op : GOTO
000458   c440     JMP	#0x440               	JMP	_00033_DS_
                                           ;	op : LABEL
                                           ;	op : SEND
                                           ;	op : CALL
                                           _00036_DS_
                                           ;	.line	230; "../debug_touch.c"	Touch_Delay2;
000459   986e     MOV	R0, #0x6e            	MOV	R0,# 0x6e
                                           	BANKSEL	STK00
00045a   519c     MOV	0x9c, R0             	MOV	STK00, R0
00045b   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
00045c   d6ce     CALL	#0x6ce              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : +
                                           ;	.line	106; "../debug_touch.c"	for(step=0;step<5;step++)
00045d   6503     CLR	0x3, 5               	BANKSEL	r0x1009
00045e   0bda     INC	0xda                 	INC	r0x1009
                                           ;	op : GOTO
00045f   c400     JMP	#0x400               	JMP	_00037_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00040_DS_
                                           ;	.line	234; "../debug_touch.c"	DAT_SET_IN;
000460   6825     SET	0x25, 0              	SET	_TR0_bits, 0
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	235; "../debug_touch.c"	Touch_Delay2;	//±à³ÌÆ÷ÅÐ¶ÏÐèÒªÊ±¼ä
000461   986e     MOV	R0, #0x6e            	MOV	R0,# 0x6e
                                           	BANKSEL	STK00
000462   519c     MOV	0x9c, R0             	MOV	STK00, R0
000463   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
000464   d6ce     CALL	#0x6ce              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	237; "../debug_touch.c"	CLK_SET_HIGH;
000465   6905     SET	0x5, 1               	SET	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	238; "../debug_touch.c"	Touch_Delay1;
000466   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
000467   6503     CLR	0x3, 5               	BANKSEL	STK00
000468   519c     MOV	0x9c, R0             	MOV	STK00, R0
000469   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
00046a   d6ce     CALL	#0x6ce              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	239; "../debug_touch.c"	Touch_Delay1;
00046b   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
00046c   6503     CLR	0x3, 5               	BANKSEL	STK00
00046d   519c     MOV	0x9c, R0             	MOV	STK00, R0
00046e   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
00046f   d6ce     CALL	#0x6ce              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	240; "../debug_touch.c"	Touch_Delay1;
000470   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
000471   6503     CLR	0x3, 5               	BANKSEL	STK00
000472   519c     MOV	0x9c, R0             	MOV	STK00, R0
000473   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
000474   d6ce     CALL	#0x6ce              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	243; "../debug_touch.c"	if(DAT_GET_STATE)
000475   7805     JB	0x5, 0                	JB	_P0_bits, 0
000476   c4ab     JMP	#0x4ab               	JMP	_00031_DS_
                                           ;	op : =
                                           ;	.line	245; "../debug_touch.c"	CLK_SET_LOW;
000477   6105     CLR	0x5, 1               	CLR	_P0_bits, 1
                                           ;	op : =
                                           ;	.line	246; "../debug_touch.c"	T_buf=0;
000478   6503     CLR	0x3, 5               	BANKSEL	_T_buf
000479   03d7     CLR	0xd7                 	CLR	_T_buf
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	247; "../debug_touch.c"	Touch_Delay1;
00047a   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
                                           	BANKSEL	STK00
00047b   519c     MOV	0x9c, R0             	MOV	STK00, R0
00047c   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
00047d   d6ce     CALL	#0x6ce              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	248; "../debug_touch.c"	for(i_T_D=0;i_T_D<6;i_T_D++)
00047e   6503     CLR	0x3, 5               	BANKSEL	_i_T_D
00047f   03d8     CLR	0xd8                 	CLR	_i_T_D
                                           ;	op : LABEL
                                           ;	op : <
                                           ;unsigned compare: left < lit(0x6=6), size=1
                                           _00041_DS_
000480   9806     MOV	R0, #0x6             	MOV	R0,# 0x06
                                           	BANKSEL	_i_T_D
000481   38d8     SUB	R0, 0xd8             	SUB	R0, _i_T_D
                                           ;comparing bytes at offset 0
000482   7003     JNB	0x3, 0               	JNB	PSW, 0
000483   c4b1     JMP	#0x4b1               	JMP	_00032_DS_
                                           ;	op : =
                                           ;	.line	250; "../debug_touch.c"	CLK_SET_HIGH;
000484   6905     SET	0x5, 1               	SET	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	251; "../debug_touch.c"	Touch_Delay1;
000485   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
                                           	BANKSEL	STK00
000486   519c     MOV	0x9c, R0             	MOV	STK00, R0
000487   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
000488   d6ce     CALL	#0x6ce              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : EQ_OP
                                           ;	.line	253; "../debug_touch.c"	if(i_T_D!=5)
000489   6503     CLR	0x3, 5               	BANKSEL	_i_T_D
00048a   0ed8     MOVZ	R0, 0xd8            	MOVZ	R0, _i_T_D
                                           ;	.line	255; "../debug_touch.c"	T_buf=T_buf>>1;
00048b   a805     XOR	R0, #0x5             	XOR	R0,# 0x05
00048c   7203     JNB	0x3, 2               	JNB	PSW, 2
00048d   c494     JMP	#0x494               	JMP	_00028_DS_
00048e   6003     CLR	0x3, 0               	CLR	PSW, 0
                                           	BANKSEL	_T_buf
00048f   11d7     RRC	0xd7                 	RRC	_T_buf
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	256; "../debug_touch.c"	if(DAT_GET_STATE)
000490   7805     JB	0x5, 0                	JB	_P0_bits, 0
000491   c4a3     JMP	#0x4a3               	JMP	_00029_DS_
                                           ;	op : |
                                           ;	.line	257; "../debug_touch.c"	T_buf=T_buf|0x10;
                                           	BANKSEL	_T_buf
000492   6cd7     SET	0xd7, 4              	SET	_T_buf, 4
                                           ;	op : GOTO
000493   c4a3     JMP	#0x4a3               	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)   //´«Êä´íÎóµÄ£¬·ÀÏÂ·ÇÓ°ÏìÆäËûÊý¾Ý
000494   9810     MOV	R0, #0x10            	MOV	R0,# 0x10
                                           	BANKSEL	_T_buf
000495   38d7     SUB	R0, 0xd7             	SUB	R0, _T_buf
                                           ;comparing bytes at offset 0
000496   7003     JNB	0x3, 0               	JNB	PSW, 0
000497   c4a3     JMP	#0x4a3               	JMP	_00029_DS_
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	263; "../debug_touch.c"	if(DAT_GET_STATE)
000498   7805     JB	0x5, 0                	JB	_P0_bits, 0
000499   c49f     JMP	#0x49f               	JMP	_00023_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL _T_buf
00049a   50d7     MOV	R0, 0xd7             	MOV R0,_T_buf
00049b   8080     ADD	R0, #0x80            	ADD R0,#(_TOUCH_CH_TRS_EN+0)
00049c   9901     MOV	R1, #0x1             	MOV R1,#0x01
                                           	BANKSEL _TOUCH_CH_TRS_EN
00049d   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : GOTO
00049e   c4a3     JMP	#0x4a3               	JMP	_00029_DS_
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00023_DS_
                                           	BANKSEL _T_buf
00049f   50d7     MOV	R0, 0xd7             	MOV R0,_T_buf
0004a0   8080     ADD	R0, #0x80            	ADD R0,#(_TOUCH_CH_TRS_EN+0)
0004a1   9900     MOV	R1, #0               	MOV R1,#0x00
                                           	BANKSEL _TOUCH_CH_TRS_EN
0004a2   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : LABEL
                                           ;	op : =
                                           _00029_DS_
                                           ;	.line	289; "../debug_touch.c"	CLK_SET_LOW;
0004a3   6105     CLR	0x5, 1               	CLR	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	290; "../debug_touch.c"	Touch_Delay1;
0004a4   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
                                           	BANKSEL	STK00
0004a5   519c     MOV	0x9c, R0             	MOV	STK00, R0
0004a6   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
0004a7   d6ce     CALL	#0x6ce              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : +
                                           ;	.line	248; "../debug_touch.c"	for(i_T_D=0;i_T_D<6;i_T_D++)
0004a8   6503     CLR	0x3, 5               	BANKSEL	_i_T_D
0004a9   0bd8     INC	0xd8                 	INC	_i_T_D
                                           ;	op : GOTO
0004aa   c480     JMP	#0x480               	JMP	_00041_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00031_DS_
                                           ;	.line	295; "../debug_touch.c"	CLK_SET_LOW;
0004ab   6105     CLR	0x5, 1               	CLR	_P0_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	296; "../debug_touch.c"	Touch_Delay1;
0004ac   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
0004ad   6503     CLR	0x3, 5               	BANKSEL	STK00
0004ae   519c     MOV	0x9c, R0             	MOV	STK00, R0
0004af   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
0004b0   d6ce     CALL	#0x6ce              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : LABEL
                                           ;	op : =
                                           _00032_DS_
                                           ;	.line	299; "../debug_touch.c"	CLK_SET_IN;
0004b1   6925     SET	0x25, 1              	SET	_TR0_bits, 1
                                           ;	op : =
                                           ;	.line	300; "../debug_touch.c"	DAT_SET_IN;
0004b2   6825     SET	0x25, 0              	SET	_TR0_bits, 0
                                           ;	op : INLINEASM
                                           Label_x_y_z_a:
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00045_DS_
0004b3   0008     CRET                     	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 (Mar  1 2016 15:13:08) (MSVC)
                                           ; This file was generated Thu Apr 28 16:16:56 2016
                                           ;--------------------------------------------------------
                                           ; 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;           //16M
00063b   9860     MOV	R0, #0x60            	MOV	R0,# 0x60
00063c   512f     MOV	0x2f, R0             	MOV	_OSCCTL, R0
                                           ;	op : =
                                           ;	.line	21; "../init_mcu.c"	TR0 = 0XFF;              //1111 1111		P07,P06´¥ÃþÍ¨µÀ0,1   ÉèÖÃIO¿ÚÎªÊäÈë
00063d   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
00063e   5125     MOV	0x25, R0             	MOV	_TR0, R0
                                           ;	op : =
                                           ;	.line	22; "../init_mcu.c"	TR1 = 0XFF;              //1111 1111		P16,P17´¥ÃþÍ¨µÀ2,3  ÉèÖÃIO¿ÚÎªÊäÈë
00063f   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
000640   5127     MOV	0x27, R0             	MOV	_TR1, R0
                                           ;	op : =
                                           ;	.line	23; "../init_mcu.c"	TR2 = 0X3F;              //0111 1111		P20,P21´¥ÃþÍ¨µÀ4,5  ÉèÖÃIO¿ÚÎªÊäÈë
000641   983f     MOV	R0, #0x3f            	MOV	R0,# 0x3f
000642   5126     MOV	0x26, R0             	MOV	_TR2, R0
                                           ;	op : =
                                           ;	.line	24; "../init_mcu.c"	TR3 = 0X06;				 //0000 0110                   ¡¶P32ÉèÖÃ³ÉÊäÈë¿Ú¡·
000643   9806     MOV	R0, #0x6             	MOV	R0,# 0x06
000644   5128     MOV	0x28, R0             	MOV	_TR3, R0
                                           ;	op : =
                                           ;	.line	25; "../init_mcu.c"	TR4 = 0XFF;				 //1111 1111
000645   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
000646   5129     MOV	0x29, R0             	MOV	_TR4, R0
                                           ;	op : =
                                           ;	.line	27; "../init_mcu.c"	P0 = 0X00;               //0000 0000
000647   0305     CLR	0x5                  	CLR	_P0
                                           ;	op : =
                                           ;	.line	28; "../init_mcu.c"	P1 = 0X00;               //0000 0000
000648   0307     CLR	0x7                  	CLR	_P1
                                           ;	op : =
                                           ;	.line	29; "../init_mcu.c"	P2 = 0x00;               //0000 0000
000649   0306     CLR	0x6                  	CLR	_P2
                                           ;	op : =
                                           ;	.line	30; "../init_mcu.c"	P3 = 0XFD;				 //1111 1101		Ï¨ÃðËùÓÐLEDµÆ
00064a   98fd     MOV	R0, #0xfd            	MOV	R0,# 0xfd
00064b   5108     MOV	0x8, R0              	MOV	_P3, R0
                                           ;	op : =
                                           ;	.line	31; "../init_mcu.c"	P4 = 0X00;
00064c   0309     CLR	0x9                  	CLR	_P4
                                           ;	op : |
                                           ;	.line	34; "../init_mcu.c"	ANSEL |= 1<<6;			 //Íâ¹ÒµçÈÝ½ÅÉèÖÃÎªÄ£Äâ¿Ú
00064d   6e31     SET	0x31, 6              	SET	_ANSEL, 6
                                           ;	op : =
                                           ;	.line	37; "../init_mcu.c"	T1CTL = 0X00;    		 //1£º1·ÖÆµ£¬²»¿ªÆô¼ÆÊýÆ÷T1
00064e   0310     CLR	0x10                 	CLR	_T1CTL
                                           ;	op : =
                                           ;	.line	38; "../init_mcu.c"	T1L = 0;
00064f   030e     CLR	0xe                  	CLR	_T1L
                                           ;	op : =
                                           ;	.line	39; "../init_mcu.c"	T1H = 0;
000650   030f     CLR	0xf                  	CLR	_T1H
                                           ;	op : =
                                           ;	.line	40; "../init_mcu.c"	T1IF = 0;
000651   600c     CLR	0xc, 0               	CLR	_EIF1_bits, 0
                                           ;	op : =
                                           ;	.line	41; "../init_mcu.c"	AIE = 0;
000652   670b     CLR	0xb, 7               	CLR	_INTCTL_bits, 7
                                           ;	op : =
                                           ;	.line	45; "../init_mcu.c"	TSCTL=0x22; // È«Ë«¹¤ £¬8Î» ·¢ËÍÊ¹ÄÜ£¬µÍËÙÄ£Ê½£¬·¢ËÍ»º´æ¿Õ,µÍËÙµÄ
000653   9822     MOV	R0, #0x22            	MOV	R0,# 0x22
000654   5178     MOV	0x78, R0             	MOV	_TSCTL, R0
                                           ;	op : =
                                           ;	.line	46; "../init_mcu.c"	RSCTL=0xB0;// ´®¿ÚÊ¹ÄÜ£¬ÎÞ´íÎó£¬8Î»ÎÞµØÖ·¸ÅÄî£¬Ê¹ÄÜ£¬µ¥×Ö½Ú½ÓÊÕ
000655   98b0     MOV	R0, #0xb0            	MOV	R0,# 0xb0
000656   5158     MOV	0x58, R0             	MOV	_RSCTL, R0
                                           ;	op : =
                                           ;	.line	47; "../init_mcu.c"	BRCTL=0x48; //16Î»²¨ÌØÂÊ·¢ËÍÆ÷
000657   9848     MOV	R0, #0x48            	MOV	R0,# 0x48
000658   5177     MOV	0x77, R0             	MOV	_BRCTL, R0
                                           ;	op : =
                                           ;	.line	48; "../init_mcu.c"	EUBRGL=0x19; 		//     0x33  9600     0x19  19.2    0x3F  10417
000659   9819     MOV	R0, #0x19            	MOV	R0,# 0x19
00065a   5179     MOV	0x79, R0             	MOV	_EUBRGL, R0
                                           ;	op : =
                                           ;	.line	49; "../init_mcu.c"	TXIE=0;
00065b   642d     CLR	0x2d, 4              	CLR	_EIE2_bits, 4
                                           ;	op : =
                                           ;	.line	50; "../init_mcu.c"	TXIF=0;
00065c   640d     CLR	0xd, 4               	CLR	_EIF2_bits, 4
                                           ;	op : =
                                           ;	.line	51; "../init_mcu.c"	RXIF=0;
00065d   650d     CLR	0xd, 5               	CLR	_EIF2_bits, 5
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
00065e   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 (Mar  1 2016 15:13:08) (MSVC)
                                           ; This file was generated Thu Apr 28 16:18:34 2016
                                           ;--------------------------------------------------------
                                           ; 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
0006ee   b006     RRET	R0, #0x6            	RRET R0, #0x06
                                           
                                           
                                           ID_kf8s_touch_g_1	.code
                                           _TCS_AMOUNT
0006ef   b005     RRET	R0, #0x5            	RRET R0, #0x05
                                           
                                           
                                           ID_kf8s_touch_g_2	.code
                                           __KF8_Disturb_Protect_Circle_
0006f0   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_
0006f1   b040     RRET	R0, #0x40           	RRET R0, #0x40
                                           
                                           
                                           ID_kf8s_touch_g_6	.code
                                           __KF8_BaseLine_Update_Circle_Count_For_Down_
0006f2   b0c0     RRET	R0, #0xc0           	RRET R0, #0xc0
                                           
                                           
                                           ID_kf8s_touch_g_7	.code
                                           __KF8_Define_Disturb_Channels_Amount_
0006f3   b003     RRET	R0, #0x3            	RRET R0, #0x03
                                           
                                           
                                           ID_kf8s_touch_g_8	.code
                                           __KF8_BasicLine_UP_Noise_Threshold_
0006f4   b0dd     RRET	R0, #0xdd           	RRET R0, #0xdd
                                           
                                           
                                           ID_kf8s_touch_g_9	.code
                                           __KF8_BasicLine_Down_Noise_Threshold_
0006f5   b023     RRET	R0, #0x23           	RRET R0, #0x23
                                           
                                           
                                           ID_kf8s_touch_g_10	.code
                                           __KF8_Data_Steady_Threshold_Set_
0006f6   b014     RRET	R0, #0x14           	RRET R0, #0x14
                                           
                                           
                                           ID_kf8s_touch_g_11	.code
                                           __KF8_Inside_Reference_Channel_Disturb_Threshold_Set_
0006f7   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_
0006f8   b014     RRET	R0, #0x14           	RRET R0, #0x14
                                           
                                           
                                           ID_kf8s_touch_g_14	.code
                                           __KF8_Config_Finger_Threshold
0006e0   b032     RRET	R0, #0x32           	RRET R0, #0x32
0006e1   b032     RRET	R0, #0x32           	RRET R0, #0x32
0006e2   b032     RRET	R0, #0x32           	RRET R0, #0x32
0006e3   b032     RRET	R0, #0x32           	RRET R0, #0x32
0006e4   b032     RRET	R0, #0x32           	RRET R0, #0x32
0006e5   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 (Mar  1 2016 15:13:08) (MSVC)
                                           ; This file was generated Thu Apr 28 16:16:56 2016
                                           ;--------------------------------------------------------
                                           ; 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	__sdcc_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   c6e6     JMP	#0x6e6               	JMP		init_imp
                                           
                                           	.global	init_imp
                                           INIT_IMP	.code
                                           init_imp
                                           	PAGESEL	_startup
0006e6   d605     CALL	#0x605              	CALL	_startup
                                           	PAGESEL	__sdcc_gsinit_startup
0006e7   d6ec     CALL	#0x6ec              	CALL	__sdcc_gsinit_startup
                                           	PAGESEL	_main
0006e8   c598     JMP	#0x598               	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	__sdcc_interrupt
000008   c6bc     JMP	#0x6bc               	JMP		__sdcc_interrupt
                                           
                                           
                                           
                                           func._INT_FUN	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = I
                                           ;***
                                           ;entry:  _INT_FUN	;Function start
                                           ; 0 exit points
                                           ;functions called:
                                           ;   _TOUCH_DEBUG_TRS_DEAL
                                           ;   __KF8S_Touch_Process_General_
                                           ;   _TOUCH_DEBUG_TRS_DEAL
                                           ;   __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
                                           __sdcc_interrupt
                                           ;	.line	153; "../main.c"	if(T1IF||CTIF)
0006bc   700c     JNB	0xc, 0               	JNB	_EIF1_bits, 0
0006bd   c6c0     JMP	#0x6c0               	JMP	_00047_DS_
                                           ;	op : GET_VALUE_AT_ADDRESS
0006be   7f0c     JB	0xc, 7                	JB	_EIF1_bits, 7
0006bf   c6c9     JMP	#0x6c9               	JMP	_00050_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00047_DS_
                                           ;	.line	155; "../main.c"	T1IF=0;
0006c0   600c     CLR	0xc, 0               	CLR	_EIF1_bits, 0
                                           ;	op : =
                                           ;	.line	156; "../main.c"	CTIF=0;
0006c1   670c     CLR	0xc, 7               	CLR	_EIF1_bits, 7
                                           ;	op : =
                                           ;	.line	157; "../main.c"	Touch_Watch=0;
0006c2   6503     CLR	0x3, 5               	BANKSEL	_Touch_Watch
0006c3   03c9     CLR	0xc9                 	CLR	_Touch_Watch
                                           	BANKSEL	_Touch_Watch
0006c4   03ca     CLR	0xca                 	CLR	(_Touch_Watch + 1)
                                           ;	op : =
                                           ;	.line	158; "../main.c"	flag = 1;
0006c5   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
                                           	BANKSEL	_flag
0006c6   51dc     MOV	0xdc, R0             	MOV	_flag, R0
                                           ;	op : CALL
                                           ;	.line	160; "../main.c"	TOUCH_DEBUG_TRS_DEAL();		// µ÷ÊÔÇúÏßÊä³ö
                                           	PAGESEL	_TOUCH_DEBUG_TRS_DEAL
0006c7   d3bc     CALL	#0x3bc              	CALL	_TOUCH_DEBUG_TRS_DEAL
                                           	PAGESEL	$
                                           ;	op : CALL
                                           ;	.line	161; "../main.c"	_KF8S_Touch_Process_General_(); //¸üÐÂ°´¼ü±êÖ¾
                                           	PAGESEL	__KF8S_Touch_Process_General_
0006c8   d4b4     CALL	#0x4b4              	CALL	__KF8S_Touch_Process_General_
                                           	PAGESEL	$
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00050_DS_
0006c9   f8d1     MOV	R1, R2               	MOV	R1, R2
0006ca   5b0a     MOV	0xa, R5              	MOV	PCH, R5
0006cb   5903     MOV	0x3, R4              	MOV	PSW, R4
0006cc   f8d8     MOV	R0, R3               	MOV	R0, R3
0006cd   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
000598   d63b     CALL	#0x63b              	CALL	_init_mcu
                                           	PAGESEL	$
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	176; "../main.c"	delay_ms(500);					//ÑÓÊ±Ò»»á£¬·ÀÖ¹ÉÏµçÎó´¥·¢´¥ÃþÍ¨µÀ
000599   98f4     MOV	R0, #0xf4            	MOV	R0,# 0xf4
00059a   6503     CLR	0x3, 5               	BANKSEL	STK00
00059b   519c     MOV	0x9c, R0             	MOV	STK00, R0
00059c   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
                                           	PAGESEL	_delay_ms
00059d   d616     CALL	#0x616              	CALL	_delay_ms
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	177; "../main.c"	CMCTL1 = 0x50;    //ÉèÖÃ´¥Ãþ·ÖÆµºÍ»ù×¼µçÑ¹
00059e   9850     MOV	R0, #0x50            	MOV	R0,# 0x50
00059f   511a     MOV	0x1a, R0             	MOV	_CMCTL1, R0
                                           ;	op : INLINEASM
0005a0   0064     CWDT                     	CWDT 
                                           ;	op : CALL
                                           ;	.line	181; "../main.c"	_KF8S_Init_Touch_General_();		//µ÷ÓÃµçÈÝ´¥Ãþ¿âº¯ÊýµÄ³õÊ¼»¯
                                           	PAGESEL	__KF8S_Init_Touch_General_
0005a1   d5c5     CALL	#0x5c5              	CALL	__KF8S_Init_Touch_General_
                                           	PAGESEL	$
                                           ;	op : INLINEASM
0005a2   0064     CWDT                     	CWDT 
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00056_DS_
0005a3   0064     CWDT                     	CWDT 
                                           ;	op : CALL
                                           ;	.line	188; "../main.c"	display();					//ÏÔÊ¾LEDµÆ
                                           	PAGESEL	_display
0005a4   d65f     CALL	#0x65f              	CALL	_display
                                           	PAGESEL	$
                                           ;	op : +
                                           ;	.line	200; "../main.c"	Touch_Watch++;
0005a5   6503     CLR	0x3, 5               	BANKSEL	_Touch_Watch
0005a6   0bc9     INC	0xc9                 	INC	_Touch_Watch
0005a7   7a03     JB	0x3, 2                	JB	PSW, 2
0005a8   c5aa     JMP	#0x5aa               	JMP	_00063_DS_
                                           	BANKSEL	_Touch_Watch
0005a9   0bca     INC	0xca                 	INC	(_Touch_Watch + 1)
                                           ;	op : CAST
                                           _00063_DS_
                                           ;	.line	201; "../main.c"	if(Touch_Watch>50000)
                                           	BANKSEL	_Touch_Watch
0005aa   0ec9     MOVZ	R0, 0xc9            	MOVZ	R0, _Touch_Watch
                                           	BANKSEL	r0x100B
0005ab   51e7     MOV	0xe7, R0             	MOV	r0x100B, R0
                                           	BANKSEL	_Touch_Watch
0005ac   0eca     MOVZ	R0, 0xca            	MOVZ	R0, (_Touch_Watch + 1)
                                           	BANKSEL	r0x100C
0005ad   51e8     MOV	0xe8, R0             	MOV	r0x100C, R0
                                           	BANKSEL	r0x100D
0005ae   03e9     CLR	0xe9                 	CLR	r0x100D
                                           ;;1	CLR	r0x100E
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/2)
                                           ;signed compare: left >= lit(0xC351=50001), size=4, mask=ffffffff
0005af   9800     MOV	R0, #0               	MOV	R0,# 0x00
0005b0   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
0005b1   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           ;comparing bytes at offset 3
0005b2   7a03     JB	0x3, 2                	JB	PSW, 2
0005b3   c5be     JMP	#0x5be               	JMP	_00062_DS_
0005b4   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x100D
0005b5   38e9     SUB	R0, 0xe9             	SUB	R0, r0x100D
0005b6   7a03     JB	0x3, 2                	JB	PSW, 2
0005b7   c5be     JMP	#0x5be               	JMP	_00062_DS_
0005b8   98c3     MOV	R0, #0xc3            	MOV	R0,# 0xc3
                                           	BANKSEL	r0x100C
0005b9   38e8     SUB	R0, 0xe8             	SUB	R0, r0x100C
0005ba   7a03     JB	0x3, 2                	JB	PSW, 2
0005bb   c5be     JMP	#0x5be               	JMP	_00062_DS_
0005bc   9851     MOV	R0, #0x51            	MOV	R0,# 0x51
                                           	BANKSEL	r0x100B
0005bd   38e7     SUB	R0, 0xe7             	SUB	R0, r0x100B
                                           _00062_DS_
0005be   7803     JB	0x3, 0                	JB	PSW, 0
0005bf   c5a3     JMP	#0x5a3               	JMP	_00056_DS_
                                           ;	op : =
                                           ;	.line	203; "../main.c"	Touch_Watch=0;
                                           	BANKSEL	_Touch_Watch
0005c0   03c9     CLR	0xc9                 	CLR	_Touch_Watch
                                           	BANKSEL	_Touch_Watch
0005c1   03ca     CLR	0xca                 	CLR	(_Touch_Watch + 1)
                                           ;	op : CALL
                                           ;	.line	204; "../main.c"	_KF8S_Init_Touch_General_();
                                           	PAGESEL	__KF8S_Init_Touch_General_
0005c2   d5c5     CALL	#0x5c5              	CALL	__KF8S_Init_Touch_General_
                                           	PAGESEL	$
                                           ;	op : GOTO
0005c3   c5a3     JMP	#0x5a3               	JMP	_00056_DS_
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
0005c4   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)
0006ce   6503     CLR	0x3, 5               	BANKSEL	r0x100F
0006cf   51e4     MOV	0xe4, R0             	MOV	r0x100F, R0
                                           	BANKSEL	STK00
0006d0   0e9c     MOVZ	R0, 0x9c            	MOVZ	R0, STK00
                                           	BANKSEL	r0x1010
0006d1   51e3     MOV	0xe3, R0             	MOV	r0x1010, R0
                                           ;	op : =
                                           ;	op : LABEL
                                           ;	op : =
                                           _00040_DS_
                                           ;	.line	116; "../main.c"	while(us_data--);
                                           	BANKSEL	r0x1010
0006d2   0ee3     MOVZ	R0, 0xe3            	MOVZ	R0, r0x1010
                                           	BANKSEL	r0x1011
0006d3   51e5     MOV	0xe5, R0             	MOV	r0x1011, R0
                                           	BANKSEL	r0x100F
0006d4   0ee4     MOVZ	R0, 0xe4            	MOVZ	R0, r0x100F
                                           	BANKSEL	r0x1012
0006d5   51e6     MOV	0xe6, R0             	MOV	r0x1012, R0
                                           ;	op : -
0006d6   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
                                           	BANKSEL	r0x1010
0006d7   21e3     ADD	0xe3, R0             	ADD	r0x1010, R0
0006d8   7003     JNB	0x3, 0               	JNB	PSW, 0
0006d9   c6db     JMP	#0x6db               	JMP	_00064_DS_
                                           	BANKSEL	r0x100F
0006da   07e4     DEC	0xe4                 	DEC	r0x100F
                                           ;	op : IFX
                                           _00064_DS_
                                           	BANKSEL	r0x1011
0006db   0ee5     MOVZ	R0, 0xe5            	MOVZ	R0, r0x1011
                                           	BANKSEL	r0x1012
0006dc   30e6     ORL	R0, 0xe6             	ORL	R0, r0x1012
0006dd   7a03     JB	0x3, 2                	JB	PSW, 2
0006de   c6d2     JMP	#0x6d2               	JMP	_00040_DS_
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
0006df   0008     CRET                     	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)
000616   6503     CLR	0x3, 5               	BANKSEL	r0x1005
000617   51de     MOV	0xde, R0             	MOV	r0x1005, R0
                                           	BANKSEL	STK00
000618   0e9c     MOVZ	R0, 0x9c            	MOVZ	R0, STK00
                                           	BANKSEL	r0x1006
000619   51dd     MOV	0xdd, R0             	MOV	r0x1006, R0
                                           ;	op : =
                                           ;	op : LABEL
                                           ;	op : =
                                           _00030_DS_
                                           ;	.line	97; "../main.c"	while(ms_data--)
                                           	BANKSEL	r0x1006
00061a   0edd     MOVZ	R0, 0xdd            	MOVZ	R0, r0x1006
                                           	BANKSEL	r0x1007
00061b   51df     MOV	0xdf, R0             	MOV	r0x1007, R0
                                           	BANKSEL	r0x1005
00061c   0ede     MOVZ	R0, 0xde            	MOVZ	R0, r0x1005
                                           	BANKSEL	r0x1008
00061d   51e0     MOV	0xe0, R0             	MOV	r0x1008, R0
                                           ;	op : -
00061e   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
                                           	BANKSEL	r0x1006
00061f   21dd     ADD	0xdd, R0             	ADD	r0x1006, R0
000620   7003     JNB	0x3, 0               	JNB	PSW, 0
000621   c623     JMP	#0x623               	JMP	_00065_DS_
                                           	BANKSEL	r0x1005
000622   07de     DEC	0xde                 	DEC	r0x1005
                                           ;	op : IFX
                                           _00065_DS_
                                           	BANKSEL	r0x1007
000623   0edf     MOVZ	R0, 0xdf            	MOVZ	R0, r0x1007
                                           	BANKSEL	r0x1008
000624   30e0     ORL	R0, 0xe0             	ORL	R0, r0x1008
000625   7203     JNB	0x3, 2               	JNB	PSW, 2
000626   c63a     JMP	#0x63a               	JMP	_00033_DS_
                                           ;	op : INLINEASM
000627   0064     CWDT                     	CWDT 
                                           ;	op : =
                                           ;	.line	101; "../main.c"	while(j--)
000628   98c8     MOV	R0, #0xc8            	MOV	R0,# 0xc8
                                           	BANKSEL	r0x1007
000629   51df     MOV	0xdf, R0             	MOV	r0x1007, R0
                                           	BANKSEL	r0x1008
00062a   03e0     CLR	0xe0                 	CLR	r0x1008
                                           ;	op : LABEL
                                           ;	op : =
                                           _00027_DS_
                                           	BANKSEL	r0x1007
00062b   0edf     MOVZ	R0, 0xdf            	MOVZ	R0, r0x1007
                                           	BANKSEL	r0x1009
00062c   51e1     MOV	0xe1, R0             	MOV	r0x1009, R0
                                           	BANKSEL	r0x1008
00062d   0ee0     MOVZ	R0, 0xe0            	MOVZ	R0, r0x1008
                                           	BANKSEL	r0x100A
00062e   51e2     MOV	0xe2, R0             	MOV	r0x100A, R0
                                           ;	op : -
00062f   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
                                           	BANKSEL	r0x1007
000630   21df     ADD	0xdf, R0             	ADD	r0x1007, R0
000631   7003     JNB	0x3, 0               	JNB	PSW, 0
000632   c634     JMP	#0x634               	JMP	_00066_DS_
                                           	BANKSEL	r0x1008
000633   07e0     DEC	0xe0                 	DEC	r0x1008
                                           ;	op : IFX
                                           _00066_DS_
                                           	BANKSEL	r0x1009
000634   0ee1     MOVZ	R0, 0xe1            	MOVZ	R0, r0x1009
                                           	BANKSEL	r0x100A
000635   30e2     ORL	R0, 0xe2             	ORL	R0, r0x100A
000636   7203     JNB	0x3, 2               	JNB	PSW, 2
000637   c61a     JMP	#0x61a               	JMP	_00030_DS_
                                           ;	op : INLINEASM
000638   0064     CWDT                     	CWDT 
                                           ;	op : GOTO
000639   c62b     JMP	#0x62b               	JMP	_00027_DS_
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00033_DS_
00063a   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
00065f   6503     CLR	0x3, 5               	BANKSEL	__KF8_LIBi_channel_flag_
000660   78c7     JB	0xc7, 0               	JB	__KF8_LIBi_channel_flag_, 0
000661   c664     JMP	#0x664               	JMP	_00002_DS_
                                           ;	op : =
                                           ;	.line	34; "../main.c"	LED1=1;
000662   6f08     SET	0x8, 7               	SET	_P3_bits, 7
                                           ;	op : GOTO
000663   c665     JMP	#0x665               	JMP	_00003_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00002_DS_
                                           ;	.line	38; "../main.c"	LED1=0;
000664   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_
000665   79c7     JB	0xc7, 1               	JB	__KF8_LIBi_channel_flag_, 1
000666   c669     JMP	#0x669               	JMP	_00005_DS_
                                           ;	op : =
                                           ;	.line	43; "../main.c"	LED2=1;
000667   6e08     SET	0x8, 6               	SET	_P3_bits, 6
                                           ;	op : GOTO
000668   c66a     JMP	#0x66a               	JMP	_00006_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00005_DS_
                                           ;	.line	47; "../main.c"	LED2=0;
000669   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_
00066a   7ac7     JB	0xc7, 2               	JB	__KF8_LIBi_channel_flag_, 2
00066b   c66e     JMP	#0x66e               	JMP	_00008_DS_
                                           ;	op : =
                                           ;	.line	52; "../main.c"	LED3=1;
00066c   6d08     SET	0x8, 5               	SET	_P3_bits, 5
                                           ;	op : GOTO
00066d   c66f     JMP	#0x66f               	JMP	_00009_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00008_DS_
                                           ;	.line	56; "../main.c"	LED3=0;
00066e   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_
00066f   7bc7     JB	0xc7, 3               	JB	__KF8_LIBi_channel_flag_, 3
000670   c673     JMP	#0x673               	JMP	_00011_DS_
                                           ;	op : =
                                           ;	.line	61; "../main.c"	LED4=1;
000671   6c08     SET	0x8, 4               	SET	_P3_bits, 4
                                           ;	op : GOTO
000672   c674     JMP	#0x674               	JMP	_00012_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00011_DS_
                                           ;	.line	65; "../main.c"	LED4=0;
000673   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_
000674   7cc7     JB	0xc7, 4               	JB	__KF8_LIBi_channel_flag_, 4
000675   c678     JMP	#0x678               	JMP	_00014_DS_
                                           ;	op : =
                                           ;	.line	70; "../main.c"	LED5=1;
000676   6b08     SET	0x8, 3               	SET	_P3_bits, 3
                                           ;	op : GOTO
000677   c679     JMP	#0x679               	JMP	_00015_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00014_DS_
                                           ;	.line	74; "../main.c"	LED5=0;
000678   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_
000679   7dc7     JB	0xc7, 5               	JB	__KF8_LIBi_channel_flag_, 5
00067a   c67d     JMP	#0x67d               	JMP	_00017_DS_
                                           ;	op : =
                                           ;	.line	79; "../main.c"	LED6=1;
00067b   6808     SET	0x8, 0               	SET	_P3_bits, 0
                                           ;	op : GOTO
00067c   c67e     JMP	#0x67e               	JMP	_00019_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00017_DS_
                                           ;	.line	83; "../main.c"	LED6=0;
00067d   6008     CLR	0x8, 0               	CLR	_P3_bits, 0
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00019_DS_
00067e   0008     CRET                     	CRET	
                                           ; exit point of _display
                                           
                                           
                                           ;	code size estimation:
                                           ;	  153+   54 =   207 instructions (  522 byte)
                                           
                                           
                                           	.end
                                           
                                           ;************************************************************ 
                                           ;       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
002007   04c0     CPLR	0xc0               
002008   ffff     NOPZ                    
                                           .code
0005ef   a800     XOR	R0, #0              
0005f0   7203     JNB	0x3, 2              
0005f1   c5f6     JMP	#0x5f6              
0005f2   a880     XOR	R0, #0x80           
0005f3   7203     JNB	0x3, 2              
0005f4   c5fe     JMP	#0x5fe              
0005f5   c602     JMP	#0x602              
0005f6   6503     CLR	0x3, 5              
0005f7   529b     MOV	R1, 0x9b            
0005f8   509c     MOV	R0, 0x9c            
0005f9   5196     MOV	0x96, R0            
0005fa   7096     JNB	0x96, 0             
0005fb   6d03     SET	0x3, 5              
0005fc   f708     LD	R0, [R1]             
0005fd   c602     JMP	#0x602              
0005fe   6503     CLR	0x3, 5              
0005ff   529c     MOV	R1, 0x9c            
000600   509b     MOV	R0, 0x9b            
000601   d603     CALL	#0x603             
000602   0008     CRET                    
000603   530a     MOV	0xa, R1             
000604   5102     MOV	0x2, R0             
000605   dfff     CALL	#0xfff             
000606   5130     MOV	0x30, R0            
000607   ffff     NOPZ                    
000608   ffff     NOPZ                    
000609   dffe     CALL	#0xffe             
00060a   5137     MOV	0x37, R0            
00060b   ffff     NOPZ                    
00060c   ffff     NOPZ                    
00060d   dffd     CALL	#0xffd             
00060e   511c     MOV	0x1c, R0            
00060f   ffff     NOPZ                    
000610   ffff     NOPZ                    
000611   dffc     CALL	#0xffc             
000612   515e     MOV	0x5e, R0            
000613   ffff     NOPZ                    
000614   ffff     NOPZ                    
000615   0008     CRET                    
                                           func.__sdcc_gsinit_startup
0006ec   d69f     CALL	#0x69f             
0006ed   0008     CRET                    
                                           ID_kf8s_touch_g_lib_1
00067f   b001     RRET	R0, #0x1           
000680   b000     RRET	R0, #0             
000681   b002     RRET	R0, #0x2           
000682   b000     RRET	R0, #0             
000683   b004     RRET	R0, #0x4           
000684   b000     RRET	R0, #0             
000685   b008     RRET	R0, #0x8           
000686   b000     RRET	R0, #0             
000687   b010     RRET	R0, #0x10          
000688   b000     RRET	R0, #0             
000689   b020     RRET	R0, #0x20          
00068a   b000     RRET	R0, #0             
00068b   b040     RRET	R0, #0x40          
00068c   b000     RRET	R0, #0             
00068d   b080     RRET	R0, #0x80          
00068e   b000     RRET	R0, #0             
00068f   b000     RRET	R0, #0             
000690   b001     RRET	R0, #0x1           
000691   b000     RRET	R0, #0             
000692   b002     RRET	R0, #0x2           
000693   b000     RRET	R0, #0             
000694   b004     RRET	R0, #0x4           
000695   b000     RRET	R0, #0             
000696   b008     RRET	R0, #0x8           
000697   b000     RRET	R0, #0             
000698   b010     RRET	R0, #0x10          
000699   b000     RRET	R0, #0             
00069a   b020     RRET	R0, #0x20          
00069b   b000     RRET	R0, #0             
00069c   b040     RRET	R0, #0x40          
00069d   b000     RRET	R0, #0             
00069e   b080     RRET	R0, #0x80          
                                           func.__KF8S_Touch_Process_General_
0004b4   6003     CLR	0x3, 0              
0004b5   6503     CLR	0x3, 5              
0004b6   12db     RLCR	0xdb               
0004b7   51f5     MOV	0xf5, R0            
0004b8   7c53     JB	0x53, 4              
0004b9   c4c1     JMP	#0x4c1              
0004ba   525f     MOV	R1, 0x5f            
0004bb   77eb     JNB	0xeb, 7             
0004bc   c4bf     JMP	#0x4bf              
0004bd   6003     CLR	0x3, 0              
0004be   ff21     RRC	R1                  
0004bf   5050     MOV	R0, 0x50            
0004c0   c4c3     JMP	#0x4c3              
0004c1   520f     MOV	R1, 0xf             
0004c2   500e     MOV	R0, 0xe             
0004c3   53d2     MOV	0xd2, R1            
0004c4   51d1     MOV	0xd1, R0            
0004c5   9802     MOV	R0, #0x2            
0004c6   21d1     ADD	0xd1, R0            
0004c7   7003     JNB	0x3, 0              
0004c8   0bd2     INC	0xd2                
0004c9   9802     MOV	R0, #0x2            
0004ca   ff10     INC	R0                  
0004cb   c4cf     JMP	#0x4cf              
0004cc   6003     CLR	0x3, 0              
0004cd   11d2     RRC	0xd2                
0004ce   11d1     RRC	0xd1                
0004cf   ff58     DECJZ	R0                
0004d0   c4cc     JMP	#0x4cc              
0004d1   50f5     MOV	R0, 0xf5            
0004d2   809d     ADD	R0, #0x9d           
0004d3   f701     LD	R1, [R0]             
0004d4   53d3     MOV	0xd3, R1            
0004d5   ff10     INC	R0                  
0004d6   f701     LD	R1, [R0]             
0004d7   53d4     MOV	0xd4, R1            
0004d8   50d3     MOV	R0, 0xd3            
0004d9   51d5     MOV	0xd5, R0            
0004da   53d6     MOV	0xd6, R1            
0004db   9802     MOV	R0, #0x2            
0004dc   21d5     ADD	0xd5, R0            
0004dd   7003     JNB	0x3, 0              
0004de   0bd6     INC	0xd6                
0004df   9802     MOV	R0, #0x2            
0004e0   ff10     INC	R0                  
0004e1   c4e5     JMP	#0x4e5              
0004e2   6003     CLR	0x3, 0              
0004e3   11d6     RRC	0xd6                
0004e4   11d5     RRC	0xd5                
0004e5   ff58     DECJZ	R0                
0004e6   c4e2     JMP	#0x4e2              
0004e7   50d5     MOV	R0, 0xd5            
0004e8   52d6     MOV	R1, 0xd6            
0004e9   39d3     SUB	0xd3, R0            
0004ea   7803     JB	0x3, 0               
0004eb   07d4     DEC	0xd4                
0004ec   3bd4     SUB	0xd4, R1            
0004ed   52d2     MOV	R1, 0xd2            
0004ee   50d1     MOV	R0, 0xd1            
0004ef   21d3     ADD	0xd3, R0            
0004f0   7003     JNB	0x3, 0              
0004f1   ff11     INC	R1                  
0004f2   23d4     ADD	0xd4, R1            
0004f3   52d3     MOV	R1, 0xd3            
0004f4   50f5     MOV	R0, 0xf5            
0004f5   809d     ADD	R0, #0x9d           
0004f6   f748     ST	[R0], R1             
0004f7   52d4     MOV	R1, 0xd4            
0004f8   ff10     INC	R0                  
0004f9   f748     ST	[R0], R1             
0004fa   70eb     JNB	0xeb, 0             
0004fb   c51b     JMP	#0x51b              
0004fc   50f5     MOV	R0, 0xf5            
0004fd   809d     ADD	R0, #0x9d           
0004fe   f701     LD	R1, [R0]             
0004ff   50f5     MOV	R0, 0xf5            
000500   80a9     ADD	R0, #0xa9           
000501   f748     ST	[R0], R1             
000502   50f5     MOV	R0, 0xf5            
000503   809e     ADD	R0, #0x9e           
000504   f701     LD	R1, [R0]             
000505   50f5     MOV	R0, 0xf5            
000506   80aa     ADD	R0, #0xaa           
000507   f748     ST	[R0], R1             
000508   50db     MOV	R0, 0xdb            
000509   80bb     ADD	R0, #0xbb           
00050a   9900     MOV	R1, #0              
00050b   f748     ST	[R0], R1             
00050c   50db     MOV	R0, 0xdb            
00050d   80b5     ADD	R0, #0xb5           
00050e   9900     MOV	R1, #0              
00050f   f748     ST	[R0], R1             
000510   9800     MOV	R0, #0              
000511   30db     ORL	R0, 0xdb            
000512   7a03     JB	0x3, 2               
000513   c522     JMP	#0x522              
000514   0bf3     INC	0xf3                
000515   9824     MOV	R0, #0x24           
000516   38f3     SUB	R0, 0xf3            
000517   7803     JB	0x3, 0               
000518   c51a     JMP	#0x51a              
000519   68eb     SET	0xeb, 0             
00051a   c522     JMP	#0x522              
00051b   d2b5     CALL	#0x2b5             
00051c   9800     MOV	R0, #0              
00051d   6503     CLR	0x3, 5              
00051e   30db     ORL	R0, 0xdb            
00051f   7a03     JB	0x3, 2               
000520   c522     JMP	#0x522              
000521   d009     CALL	#0x9               
000522   9906     MOV	R1, #0x6            
000523   98ee     MOV	R0, #0xee           
000524   d6e9     CALL	#0x6e9             
000525   6503     CLR	0x3, 5              
000526   0bdb     INC	0xdb                
000527   18db     XOR	R0, 0xdb            
000528   7203     JNB	0x3, 2              
000529   03db     CLR	0xdb                
00052a   7453     JNB	0x53, 4             
00052b   c530     JMP	#0x530              
00052c   030e     CLR	0xe                 
00052d   030f     CLR	0xf                 
00052e   0300     CLR	0                   
00052f   c531     JMP	#0x531              
000530   0350     CLR	0x50                
000531   6003     CLR	0x3, 0              
000532   50db     MOV	R0, 0xdb            
000533   80f0     ADD	R0, #0xf0           
000534   990f     MOV	R1, #0xf            
000535   7003     JNB	0x3, 0              
000536   ff11     INC	R1                  
000537   d6e9     CALL	#0x6e9             
000538   99f0     MOV	R1, #0xf0           
000539   6503     CLR	0x3, 5              
00053a   2b53     AND	0x53, R1            
00053b   3153     ORL	0x53, R0            
00053c   9801     MOV	R0, #0x1            
00053d   ff58     DECJZ	R0                
00053e   c53d     JMP	#0x53d              
00053f   6e53     SET	0x53, 6             
000540   0000     NOP                     
000541   7e53     JB	0x53, 6              
000542   c53f     JMP	#0x53f              
000543   7453     JNB	0x53, 4             
000544   035f     CLR	0x5f                
000545   6f2c     SET	0x2c, 7             
000546   670c     CLR	0xc, 7              
000547   0008     CRET                    
                                           func.__KF8_LIBf_scan_channel_
0002b5   6003     CLR	0x3, 0              
0002b6   6503     CLR	0x3, 5              
0002b7   12db     RLCR	0xdb               
0002b8   51f5     MOV	0xf5, R0            
0002b9   9801     MOV	R0, #0x1            
0002ba   51d1     MOV	0xd1, R0            
0002bb   03d2     CLR	0xd2                
0002bc   50db     MOV	R0, 0xdb            
0002bd   ff10     INC	R0                  
0002be   c2c3     JMP	#0x2c3              
0002bf   6003     CLR	0x3, 0              
0002c0   6503     CLR	0x3, 5              
0002c1   13d1     RLC	0xd1                
0002c2   13d2     RLC	0xd2                
0002c3   ff58     DECJZ	R0                
0002c4   c2bf     JMP	#0x2bf              
0002c5   52f5     MOV	R1, 0xf5            
0002c6   819d     ADD	R1, #0x9d           
0002c7   f708     LD	R0, [R1]             
0002c8   51d3     MOV	0xd3, R0            
0002c9   ff11     INC	R1                  
0002ca   f708     LD	R0, [R1]             
0002cb   51d4     MOV	0xd4, R0            
0002cc   52f5     MOV	R1, 0xf5            
0002cd   81a9     ADD	R1, #0xa9           
0002ce   f708     LD	R0, [R1]             
0002cf   51d5     MOV	0xd5, R0            
0002d0   ff11     INC	R1                  
0002d1   f708     LD	R0, [R1]             
0002d2   51d6     MOV	0xd6, R0            
0002d3   d548     CALL	#0x548             
0002d4   9906     MOV	R1, #0x6            
0002d5   98f5     MOV	R0, #0xf5           
0002d6   d6e9     CALL	#0x6e9             
0002d7   8080     ADD	R0, #0x80           
0002d8   6503     CLR	0x3, 5              
0002d9   9980     MOV	R1, #0x80           
0002da   22f2     ADD	R1, 0xf2            
0002db   f848     SUB	R0, R1              
0002dc   7803     JB	0x3, 0               
0002dd   c2e7     JMP	#0x2e7              
0002de   50cf     MOV	R0, 0xcf            
0002df   28d1     AND	R0, 0xd1            
0002e0   7a03     JB	0x3, 2               
0002e1   c2e7     JMP	#0x2e7              
0002e2   50d0     MOV	R0, 0xd0            
0002e3   28d2     AND	R0, 0xd2            
0002e4   7a03     JB	0x3, 2               
0002e5   c2e7     JMP	#0x2e7              
0002e6   0bf1     INC	0xf1                
0002e7   52db     MOV	R1, 0xdb            
0002e8   81c1     ADD	R1, #0xc1           
0002e9   f708     LD	R0, [R1]             
0002ea   52f2     MOV	R1, 0xf2            
0002eb   53f4     MOV	0xf4, R1            
0002ec   39f4     SUB	0xf4, R0            
0002ed   7ff4     JB	0xf4, 7              
0002ee   c2f1     JMP	#0x2f1              
0002ef   05f4     CPL	0xf4                
0002f0   0bf4     INC	0xf4                
0002f1   9906     MOV	R1, #0x6            
0002f2   98f6     MOV	R0, #0xf6           
0002f3   d6e9     CALL	#0x6e9             
0002f4   6503     CLR	0x3, 5              
0002f5   38f4     SUB	R0, 0xf4            
0002f6   7803     JB	0x3, 0               
0002f7   c2fc     JMP	#0x2fc              
0002f8   50db     MOV	R0, 0xdb            
0002f9   80b5     ADD	R0, #0xb5           
0002fa   9900     MOV	R1, #0              
0002fb   f748     ST	[R0], R1             
0002fc   50db     MOV	R0, 0xdb            
0002fd   80c1     ADD	R0, #0xc1           
0002fe   51f6     MOV	0xf6, R0            
0002ff   0ef2     MOVZ	R0, 0xf2           
000300   52f6     MOV	R1, 0xf6            
000301   f741     ST	[R1], R0             
000302   50db     MOV	R0, 0xdb            
000303   a801     XOR	R0, #0x1            
000304   7a03     JB	0x3, 2               
000305   c314     JMP	#0x314              
000306   50c1     MOV	R0, 0xc1            
000307   52c2     MOV	R1, 0xc2            
000308   8080     ADD	R0, #0x80           
000309   8180     ADD	R1, #0x80           
00030a   f841     SUB	R1, R0              
00030b   7803     JB	0x3, 0               
00030c   c311     JMP	#0x311              
00030d   9801     MOV	R0, #0x1            
00030e   51f0     MOV	0xf0, R0            
00030f   03ef     CLR	0xef                
000310   c314     JMP	#0x314              
000311   9801     MOV	R0, #0x1            
000312   51ef     MOV	0xef, R0            
000313   03f0     CLR	0xf0                
000314   9802     MOV	R0, #0x2            
000315   38db     SUB	R0, 0xdb            
000316   7803     JB	0x3, 0               
000317   c332     JMP	#0x332              
000318   52db     MOV	R1, 0xdb            
000319   81c1     ADD	R1, #0xc1           
00031a   f708     LD	R0, [R1]             
00031b   8080     ADD	R0, #0x80           
00031c   51f2     MOV	0xf2, R0            
00031d   52f0     MOV	R1, 0xf0            
00031e   81c1     ADD	R1, #0xc1           
00031f   f708     LD	R0, [R1]             
000320   8080     ADD	R0, #0x80           
000321   38f2     SUB	R0, 0xf2            
000322   7803     JB	0x3, 0               
000323   c332     JMP	#0x332              
000324   52ef     MOV	R1, 0xef            
000325   81c1     ADD	R1, #0xc1           
000326   f708     LD	R0, [R1]             
000327   8080     ADD	R0, #0x80           
000328   38f2     SUB	R0, 0xf2            
000329   7003     JNB	0x3, 0              
00032a   c32e     JMP	#0x32e              
00032b   50db     MOV	R0, 0xdb            
00032c   51f0     MOV	0xf0, R0            
00032d   c332     JMP	#0x332              
00032e   50ef     MOV	R0, 0xef            
00032f   51f0     MOV	0xf0, R0            
000330   50db     MOV	R0, 0xdb            
000331   51ef     MOV	0xef, R0            
000332   71eb     JNB	0xeb, 1             
000333   c3bb     JMP	#0x3bb              
000334   50db     MOV	R0, 0xdb            
000335   80e0     ADD	R0, #0xe0           
000336   9906     MOV	R1, #0x6            
000337   7003     JNB	0x3, 0              
000338   ff11     INC	R1                  
000339   d6e9     CALL	#0x6e9             
00033a   6503     CLR	0x3, 5              
00033b   51f2     MOV	0xf2, R0            
00033c   9806     MOV	R0, #0x6            
00033d   39f2     SUB	0xf2, R0            
00033e   50db     MOV	R0, 0xdb            
00033f   80c1     ADD	R0, #0xc1           
000340   51f6     MOV	0xf6, R0            
000341   52f6     MOV	R1, 0xf6            
000342   f708     LD	R0, [R1]             
000343   51f7     MOV	0xf7, R0            
000344   0ef7     MOVZ	R0, 0xf7           
000345   8080     ADD	R0, #0x80           
000346   51fb     MOV	0xfb, R0            
000347   0ef2     MOVZ	R0, 0xf2           
000348   8080     ADD	R0, #0x80           
000349   38fb     SUB	R0, 0xfb            
00034a   7003     JNB	0x3, 0              
00034b   c3ac     JMP	#0x3ac              
00034c   50db     MOV	R0, 0xdb            
00034d   80bb     ADD	R0, #0xbb           
00034e   51f6     MOV	0xf6, R0            
00034f   52f6     MOV	R1, 0xf6            
000350   f708     LD	R0, [R1]             
000351   51f7     MOV	0xf7, R0            
000352   9906     MOV	R1, #0x6            
000353   98ef     MOV	R0, #0xef           
000354   d603     CALL	#0x603             
000355   6503     CLR	0x3, 5              
000356   51f6     MOV	0xf6, R0            
000357   0ef7     MOVZ	R0, 0xf7           
000358   38f6     SUB	R0, 0xf6            
000359   7003     JNB	0x3, 0              
00035a   c3bb     JMP	#0x3bb              
00035b   9906     MOV	R1, #0x6            
00035c   98ef     MOV	R0, #0xef           
00035d   d6e9     CALL	#0x6e9             
00035e   6003     CLR	0x3, 0              
00035f   ff18     RLC	R0                  
000360   6503     CLR	0x3, 5              
000361   51f3     MOV	0xf3, R0            
000362   52db     MOV	R1, 0xdb            
000363   81bb     ADD	R1, #0xbb           
000364   f708     LD	R0, [R1]             
000365   38f3     SUB	R0, 0xf3            
000366   7803     JB	0x3, 0               
000367   c36c     JMP	#0x36c              
000368   f708     LD	R0, [R1]             
000369   ff10     INC	R0                  
00036a   f741     ST	[R1], R0             
00036b   c3ab     JMP	#0x3ab              
00036c   0208     CLR	R0                  
00036d   f741     ST	[R1], R0             
00036e   50db     MOV	R0, 0xdb            
00036f   80f0     ADD	R0, #0xf0           
000370   990f     MOV	R1, #0xf            
000371   7003     JNB	0x3, 0              
000372   ff11     INC	R1                  
000373   d6e9     CALL	#0x6e9             
000374   6003     CLR	0x3, 0              
000375   ff18     RLC	R0                  
000376   6503     CLR	0x3, 5              
000377   51f3     MOV	0xf3, R0            
000378   807f     ADD	R0, #0x7f           
000379   9906     MOV	R1, #0x6            
00037a   7003     JNB	0x3, 0              
00037b   ff11     INC	R1                  
00037c   d6e9     CALL	#0x6e9             
00037d   ff00     CPL	R0                  
00037e   6503     CLR	0x3, 5              
00037f   29c7     AND	0xc7, R0            
000380   50f3     MOV	R0, 0xf3            
000381   ff10     INC	R0                  
000382   807f     ADD	R0, #0x7f           
000383   9906     MOV	R1, #0x6            
000384   7003     JNB	0x3, 0              
000385   ff11     INC	R1                  
000386   d6e9     CALL	#0x6e9             
000387   ff00     CPL	R0                  
000388   6503     CLR	0x3, 5              
000389   29c8     AND	0xc8, R0            
00038a   9800     MOV	R0, #0              
00038b   30ec     ORL	R0, 0xec            
00038c   7a03     JB	0x3, 2               
00038d   07ec     DEC	0xec                
00038e   9800     MOV	R0, #0              
00038f   30ec     ORL	R0, 0xec            
000390   7203     JNB	0x3, 2              
000391   c3a2     JMP	#0x3a2              
000392   50ed     MOV	R0, 0xed            
000393   18db     XOR	R0, 0xdb            
000394   7a03     JB	0x3, 2               
000395   c3a4     JMP	#0x3a4              
000396   50ee     MOV	R0, 0xee            
000397   18ed     XOR	R0, 0xed            
000398   7a03     JB	0x3, 2               
000399   c39f     JMP	#0x39f              
00039a   98ff     MOV	R0, #0xff           
00039b   51ed     MOV	0xed, R0            
00039c   9800     MOV	R0, #0              
00039d   51ec     MOV	0xec, R0            
00039e   c3a4     JMP	#0x3a4              
00039f   50ee     MOV	R0, 0xee            
0003a0   51ed     MOV	0xed, R0            
0003a1   c3a4     JMP	#0x3a4              
0003a2   98ff     MOV	R0, #0xff           
0003a3   51ed     MOV	0xed, R0            
0003a4   98ff     MOV	R0, #0xff           
0003a5   51ee     MOV	0xee, R0            
0003a6   9800     MOV	R0, #0              
0003a7   51cd     MOV	0xcd, R0            
0003a8   51ce     MOV	0xce, R0            
0003a9   51cb     MOV	0xcb, R0            
0003aa   51cc     MOV	0xcc, R0            
0003ab   c3bb     JMP	#0x3bb              
0003ac   9906     MOV	R1, #0x6            
0003ad   98ef     MOV	R0, #0xef           
0003ae   d6e9     CALL	#0x6e9             
0003af   ff10     INC	R0                  
0003b0   6503     CLR	0x3, 5              
0003b1   51f3     MOV	0xf3, R0            
0003b2   52db     MOV	R1, 0xdb            
0003b3   81bb     ADD	R1, #0xbb           
0003b4   f708     LD	R0, [R1]             
0003b5   38f3     SUB	R0, 0xf3            
0003b6   7003     JNB	0x3, 0              
0003b7   c3bb     JMP	#0x3bb              
0003b8   f708     LD	R0, [R1]             
0003b9   ff08     DEC	R0                  
0003ba   f741     ST	[R1], R0             
0003bb   0008     CRET                    
                                           func.__KF8_LiBf_KEY_Deal_AND_BaseLine_Up
000009   9801     MOV	R0, #0x1            
00000a   6503     CLR	0x3, 5              
00000b   51d1     MOV	0xd1, R0            
00000c   03d2     CLR	0xd2                
00000d   03fc     CLR	0xfc                
00000e   9906     MOV	R1, #0x6            
00000f   98ee     MOV	R0, #0xee           
000010   d603     CALL	#0x603             
000011   6503     CLR	0x3, 5              
000012   51f6     MOV	0xf6, R0            
000013   0ef6     MOVZ	R0, 0xf6           
000014   38fc     SUB	R0, 0xfc            
000015   7003     JNB	0x3, 0              
000016   c257     JMP	#0x257              
000017   6003     CLR	0x3, 0              
000018   12fc     RLCR	0xfc               
000019   51f5     MOV	0xf5, R0            
00001a   50fc     MOV	R0, 0xfc            
00001b   80f0     ADD	R0, #0xf0           
00001c   990f     MOV	R1, #0xf            
00001d   7003     JNB	0x3, 0              
00001e   ff11     INC	R1                  
00001f   d6e9     CALL	#0x6e9             
000020   6503     CLR	0x3, 5              
000021   51f3     MOV	0xf3, R0            
000022   98f8     MOV	R0, #0xf8           
000023   9906     MOV	R1, #0x6            
000024   d6e9     CALL	#0x6e9             
000025   18f3     XOR	R0, 0xf3            
000026   7a03     JB	0x3, 2               
000027   c039     JMP	#0x39               
000028   98f7     MOV	R0, #0xf7           
000029   9906     MOV	R1, #0x6            
00002a   d6e9     CALL	#0x6e9             
00002b   6503     CLR	0x3, 5              
00002c   51f2     MOV	0xf2, R0            
00002d   50fc     MOV	R0, 0xfc            
00002e   80c1     ADD	R0, #0xc1           
00002f   f701     LD	R1, [R0]             
000030   f7f9     JB	R1, 7                
000031   c034     JMP	#0x34               
000032   ff01     CPL	R1                  
000033   ff11     INC	R1                  
000034   3af2     SUB	R1, 0xf2            
000035   7003     JNB	0x3, 0              
000036   c039     JMP	#0x39               
000037   69eb     SET	0xeb, 1             
000038   03ea     CLR	0xea                
000039   6503     CLR	0x3, 5              
00003a   50fc     MOV	R0, 0xfc            
00003b   80c1     ADD	R0, #0xc1           
00003c   51f6     MOV	0xf6, R0            
00003d   52f6     MOV	R1, 0xf6            
00003e   f708     LD	R0, [R1]             
00003f   51f7     MOV	0xf7, R0            
000040   9906     MOV	R1, #0x6            
000041   98f4     MOV	R0, #0xf4           
000042   d603     CALL	#0x603             
000043   6503     CLR	0x3, 5              
000044   51f6     MOV	0xf6, R0            
000045   0ef7     MOVZ	R0, 0xf7           
000046   8080     ADD	R0, #0x80           
000047   51fb     MOV	0xfb, R0            
000048   0ef6     MOVZ	R0, 0xf6           
000049   8080     ADD	R0, #0x80           
00004a   38fb     SUB	R0, 0xfb            
00004b   7003     JNB	0x3, 0              
00004c   c070     JMP	#0x70               
00004d   50fc     MOV	R0, 0xfc            
00004e   80b5     ADD	R0, #0xb5           
00004f   f701     LD	R1, [R0]             
000050   9864     MOV	R0, #0x64           
000051   f941     XOR	R1, R0              
000052   7a03     JB	0x3, 2               
000053   c06f     JMP	#0x6f               
000054   50f5     MOV	R0, 0xf5            
000055   809d     ADD	R0, #0x9d           
000056   f701     LD	R1, [R0]             
000057   50f5     MOV	R0, 0xf5            
000058   80a9     ADD	R0, #0xa9           
000059   f748     ST	[R0], R1             
00005a   50f5     MOV	R0, 0xf5            
00005b   809e     ADD	R0, #0x9e           
00005c   f701     LD	R1, [R0]             
00005d   50f5     MOV	R0, 0xf5            
00005e   80aa     ADD	R0, #0xaa           
00005f   f748     ST	[R0], R1             
000060   50fc     MOV	R0, 0xfc            
000061   80bb     ADD	R0, #0xbb           
000062   f701     LD	R1, [R0]             
000063   53f3     MOV	0xf3, R1            
000064   98ef     MOV	R0, #0xef           
000065   9906     MOV	R1, #0x6            
000066   d6e9     CALL	#0x6e9             
000067   38f3     SUB	R0, 0xf3            
000068   7003     JNB	0x3, 0              
000069   c06f     JMP	#0x6f               
00006a   6503     CLR	0x3, 5              
00006b   50fc     MOV	R0, 0xfc            
00006c   80bb     ADD	R0, #0xbb           
00006d   9900     MOV	R1, #0              
00006e   f748     ST	[R0], R1             
00006f   c153     JMP	#0x153              
000070   50fc     MOV	R0, 0xfc            
000071   80c1     ADD	R0, #0xc1           
000072   51f6     MOV	0xf6, R0            
000073   52f6     MOV	R1, 0xf6            
000074   f708     LD	R0, [R1]             
000075   51f8     MOV	0xf8, R0            
000076   9906     MOV	R1, #0x6            
000077   98f5     MOV	R0, #0xf5           
000078   d603     CALL	#0x603             
000079   6503     CLR	0x3, 5              
00007a   51f6     MOV	0xf6, R0            
00007b   0ef6     MOVZ	R0, 0xf6           
00007c   8080     ADD	R0, #0x80           
00007d   51fb     MOV	0xfb, R0            
00007e   0ef8     MOVZ	R0, 0xf8           
00007f   8080     ADD	R0, #0x80           
000080   38fb     SUB	R0, 0xfb            
000081   7003     JNB	0x3, 0              
000082   c0e8     JMP	#0xe8               
000083   98f3     MOV	R0, #0xf3           
000084   9906     MOV	R1, #0x6            
000085   d6e9     CALL	#0x6e9             
000086   6503     CLR	0x3, 5              
000087   38f1     SUB	R0, 0xf1            
000088   7803     JB	0x3, 0               
000089   c08c     JMP	#0x8c               
00008a   69eb     SET	0xeb, 1             
00008b   03ea     CLR	0xea                
00008c   79eb     JB	0xeb, 1              
00008d   c0ac     JMP	#0xac               
00008e   50fc     MOV	R0, 0xfc            
00008f   80b5     ADD	R0, #0xb5           
000090   f701     LD	R1, [R0]             
000091   a9ec     XOR	R1, #0xec           
000092   7203     JNB	0x3, 2              
000093   c09b     JMP	#0x9b               
000094   98f0     MOV	R0, #0xf0           
000095   9906     MOV	R1, #0x6            
000096   d6e9     CALL	#0x6e9             
000097   6503     CLR	0x3, 5              
000098   18ea     XOR	R0, 0xea            
000099   7a03     JB	0x3, 2               
00009a   c0ab     JMP	#0xab               
00009b   50f5     MOV	R0, 0xf5            
00009c   809d     ADD	R0, #0x9d           
00009d   f701     LD	R1, [R0]             
00009e   50f5     MOV	R0, 0xf5            
00009f   80a9     ADD	R0, #0xa9           
0000a0   f748     ST	[R0], R1             
0000a1   50f5     MOV	R0, 0xf5            
0000a2   809e     ADD	R0, #0x9e           
0000a3   f701     LD	R1, [R0]             
0000a4   50f5     MOV	R0, 0xf5            
0000a5   80aa     ADD	R0, #0xaa           
0000a6   f748     ST	[R0], R1             
0000a7   50d1     MOV	R0, 0xd1            
0000a8   31cf     ORL	0xcf, R0            
0000a9   50d2     MOV	R0, 0xd2            
0000aa   31d0     ORL	0xd0, R0            
0000ab   c153     JMP	#0x153              
0000ac   50fc     MOV	R0, 0xfc            
0000ad   80b5     ADD	R0, #0xb5           
0000ae   f701     LD	R1, [R0]             
0000af   53f2     MOV	0xf2, R1            
0000b0   9906     MOV	R1, #0x6            
0000b1   98f2     MOV	R0, #0xf2           
0000b2   d6e9     CALL	#0x6e9             
0000b3   6503     CLR	0x3, 5              
0000b4   18f2     XOR	R0, 0xf2            
0000b5   7a03     JB	0x3, 2               
0000b6   c0e7     JMP	#0xe7               
0000b7   50fc     MOV	R0, 0xfc            
0000b8   80bb     ADD	R0, #0xbb           
0000b9   f701     LD	R1, [R0]             
0000ba   53f3     MOV	0xf3, R1            
0000bb   98ef     MOV	R0, #0xef           
0000bc   9906     MOV	R1, #0x6            
0000bd   d6e9     CALL	#0x6e9             
0000be   6503     CLR	0x3, 5              
0000bf   38f3     SUB	R0, 0xf3            
0000c0   7003     JNB	0x3, 0              
0000c1   c0df     JMP	#0xdf               
0000c2   50ec     MOV	R0, 0xec            
0000c3   a802     XOR	R0, #0x2            
0000c4   7a03     JB	0x3, 2               
0000c5   c0d3     JMP	#0xd3               
0000c6   50f5     MOV	R0, 0xf5            
0000c7   809d     ADD	R0, #0x9d           
0000c8   f701     LD	R1, [R0]             
0000c9   50f5     MOV	R0, 0xf5            
0000ca   80a9     ADD	R0, #0xa9           
0000cb   f748     ST	[R0], R1             
0000cc   50f5     MOV	R0, 0xf5            
0000cd   809e     ADD	R0, #0x9e           
0000ce   f701     LD	R1, [R0]             
0000cf   50f5     MOV	R0, 0xf5            
0000d0   80aa     ADD	R0, #0xaa           
0000d1   f748     ST	[R0], R1             
0000d2   c0e3     JMP	#0xe3               
0000d3   50f5     MOV	R0, 0xf5            
0000d4   80a9     ADD	R0, #0xa9           
0000d5   f701     LD	R1, [R0]             
0000d6   81ff     ADD	R1, #0xff           
0000d7   f748     ST	[R0], R1             
0000d8   7003     JNB	0x3, 0              
0000d9   c0e3     JMP	#0xe3               
0000da   ff10     INC	R0                  
0000db   f701     LD	R1, [R0]             
0000dc   ff09     DEC	R1                  
0000dd   f748     ST	[R0], R1             
0000de   c0e3     JMP	#0xe3               
0000df   50d1     MOV	R0, 0xd1            
0000e0   31cf     ORL	0xcf, R0            
0000e1   50d2     MOV	R0, 0xd2            
0000e2   31d0     ORL	0xd0, R0            
0000e3   50fc     MOV	R0, 0xfc            
0000e4   80b5     ADD	R0, #0xb5           
0000e5   9900     MOV	R1, #0              
0000e6   f748     ST	[R0], R1             
0000e7   c153     JMP	#0x153              
0000e8   71eb     JNB	0xeb, 1             
0000e9   c0ee     JMP	#0xee               
0000ea   04d1     CPLR	0xd1               
0000eb   29cf     AND	0xcf, R0            
0000ec   04d2     CPLR	0xd2               
0000ed   29d0     AND	0xd0, R0            
0000ee   50fc     MOV	R0, 0xfc            
0000ef   80b5     ADD	R0, #0xb5           
0000f0   f701     LD	R1, [R0]             
0000f1   53f2     MOV	0xf2, R1            
0000f2   98f2     MOV	R0, #0xf2           
0000f3   9906     MOV	R1, #0x6            
0000f4   d6e9     CALL	#0x6e9             
0000f5   6503     CLR	0x3, 5              
0000f6   18f2     XOR	R0, 0xf2            
0000f7   7203     JNB	0x3, 2              
0000f8   c100     JMP	#0x100              
0000f9   9906     MOV	R1, #0x6            
0000fa   98f1     MOV	R0, #0xf1           
0000fb   d6e9     CALL	#0x6e9             
0000fc   6503     CLR	0x3, 5              
0000fd   18f2     XOR	R0, 0xf2            
0000fe   7a03     JB	0x3, 2               
0000ff   c153     JMP	#0x153              
000100   50fc     MOV	R0, 0xfc            
000101   80b5     ADD	R0, #0xb5           
000102   9900     MOV	R1, #0              
000103   f748     ST	[R0], R1             
000104   50f5     MOV	R0, 0xf5            
000105   80a9     ADD	R0, #0xa9           
000106   f701     LD	R1, [R0]             
000107   53d3     MOV	0xd3, R1            
000108   ff10     INC	R0                  
000109   f701     LD	R1, [R0]             
00010a   53d4     MOV	0xd4, R1            
00010b   9901     MOV	R1, #0x1            
00010c   6003     CLR	0x3, 0              
00010d   11d4     RRC	0xd4                
00010e   11d3     RRC	0xd3                
00010f   6003     CLR	0x3, 0              
000110   ff19     RLC	R1                  
000111   f8c8     MOV	R0, R1              
000112   a808     XOR	R0, #0x8            
000113   7a03     JB	0x3, 2               
000114   c10c     JMP	#0x10c              
000115   50f5     MOV	R0, 0xf5            
000116   809d     ADD	R0, #0x9d           
000117   f701     LD	R1, [R0]             
000118   53d5     MOV	0xd5, R1            
000119   ff10     INC	R0                  
00011a   f701     LD	R1, [R0]             
00011b   53d6     MOV	0xd6, R1            
00011c   9901     MOV	R1, #0x1            
00011d   6003     CLR	0x3, 0              
00011e   11d6     RRC	0xd6                
00011f   11d5     RRC	0xd5                
000120   6003     CLR	0x3, 0              
000121   ff19     RLC	R1                  
000122   f8c8     MOV	R0, R1              
000123   a808     XOR	R0, #0x8            
000124   7a03     JB	0x3, 2               
000125   c11d     JMP	#0x11d              
000126   52d3     MOV	R1, 0xd3            
000127   3bd5     SUB	0xd5, R1            
000128   52d4     MOV	R1, 0xd4            
000129   7803     JB	0x3, 0               
00012a   ff11     INC	R1                  
00012b   3bd6     SUB	0xd6, R1            
00012c   50f5     MOV	R0, 0xf5            
00012d   80a9     ADD	R0, #0xa9           
00012e   f701     LD	R1, [R0]             
00012f   22d5     ADD	R1, 0xd5            
000130   f748     ST	[R0], R1             
000131   ff10     INC	R0                  
000132   f701     LD	R1, [R0]             
000133   7003     JNB	0x3, 0              
000134   ff11     INC	R1                  
000135   22d6     ADD	R1, 0xd6            
000136   f748     ST	[R0], R1             
000137   50fc     MOV	R0, 0xfc            
000138   80c1     ADD	R0, #0xc1           
000139   f701     LD	R1, [R0]             
00013a   f7b9     JNB	R1, 7               
00013b   c148     JMP	#0x148              
00013c   50f5     MOV	R0, 0xf5            
00013d   80a9     ADD	R0, #0xa9           
00013e   f701     LD	R1, [R0]             
00013f   81ff     ADD	R1, #0xff           
000140   f748     ST	[R0], R1             
000141   7003     JNB	0x3, 0              
000142   c153     JMP	#0x153              
000143   ff10     INC	R0                  
000144   f701     LD	R1, [R0]             
000145   ff09     DEC	R1                  
000146   f748     ST	[R0], R1             
000147   c153     JMP	#0x153              
000148   50f5     MOV	R0, 0xf5            
000149   80a9     ADD	R0, #0xa9           
00014a   f701     LD	R1, [R0]             
00014b   8101     ADD	R1, #0x1            
00014c   f748     ST	[R0], R1             
00014d   7803     JB	0x3, 0               
00014e   c153     JMP	#0x153              
00014f   ff10     INC	R0                  
000150   f701     LD	R1, [R0]             
000151   ff11     INC	R1                  
000152   f748     ST	[R0], R1             
000153   6503     CLR	0x3, 5              
000154   79eb     JB	0xeb, 1              
000155   c165     JMP	#0x165              
000156   50fc     MOV	R0, 0xfc            
000157   80bb     ADD	R0, #0xbb           
000158   f701     LD	R1, [R0]             
000159   53f3     MOV	0xf3, R1            
00015a   9906     MOV	R1, #0x6            
00015b   98ef     MOV	R0, #0xef           
00015c   d6e9     CALL	#0x6e9             
00015d   6503     CLR	0x3, 5              
00015e   39f3     SUB	0xf3, R0            
00015f   7003     JNB	0x3, 0              
000160   c165     JMP	#0x165              
000161   50fc     MOV	R0, 0xfc            
000162   80bb     ADD	R0, #0xbb           
000163   9900     MOV	R1, #0              
000164   f748     ST	[R0], R1             
000165   50fc     MOV	R0, 0xfc            
000166   80c1     ADD	R0, #0xc1           
000167   51f6     MOV	0xf6, R0            
000168   52f6     MOV	R1, 0xf6            
000169   f708     LD	R0, [R1]             
00016a   51f9     MOV	0xf9, R0            
00016b   6803     SET	0x3, 0              
00016c   7ff9     JB	0xf9, 7              
00016d   6003     CLR	0x3, 0              
00016e   7003     JNB	0x3, 0              
00016f   c176     JMP	#0x176              
000170   50fc     MOV	R0, 0xfc            
000171   80b5     ADD	R0, #0xb5           
000172   f701     LD	R1, [R0]             
000173   ff09     DEC	R1                  
000174   f748     ST	[R0], R1             
000175   c17b     JMP	#0x17b              
000176   50fc     MOV	R0, 0xfc            
000177   80b5     ADD	R0, #0xb5           
000178   f701     LD	R1, [R0]             
000179   ff11     INC	R1                  
00017a   f748     ST	[R0], R1             
00017b   71eb     JNB	0xeb, 1             
00017c   c252     JMP	#0x252              
00017d   0eef     MOVZ	R0, 0xef           
00017e   18fc     XOR	R0, 0xfc            
00017f   7203     JNB	0x3, 2              
000180   c185     JMP	#0x185              
000181   0ef0     MOVZ	R0, 0xf0           
000182   18fc     XOR	R0, 0xfc            
000183   7a03     JB	0x3, 2               
000184   c23f     JMP	#0x23f              
000185   50fc     MOV	R0, 0xfc            
000186   80c1     ADD	R0, #0xc1           
000187   51f6     MOV	0xf6, R0            
000188   52f6     MOV	R1, 0xf6            
000189   f708     LD	R0, [R1]             
00018a   51f9     MOV	0xf9, R0            
00018b   98e0     MOV	R0, #0xe0           
00018c   20fc     ADD	R0, 0xfc            
00018d   51f6     MOV	0xf6, R0            
00018e   9806     MOV	R0, #0x6            
00018f   51f8     MOV	0xf8, R0            
000190   0208     CLR	R0                  
000191   7003     JNB	0x3, 0              
000192   ff10     INC	R0                  
000193   7203     JNB	0x3, 2              
000194   c196     JMP	#0x196              
000195   21f8     ADD	0xf8, R0            
000196   52f8     MOV	R1, 0xf8            
000197   50f6     MOV	R0, 0xf6            
000198   d603     CALL	#0x603             
000199   6503     CLR	0x3, 5              
00019a   51fa     MOV	0xfa, R0            
00019b   0efa     MOVZ	R0, 0xfa           
00019c   8080     ADD	R0, #0x80           
00019d   51fb     MOV	0xfb, R0            
00019e   0ef9     MOVZ	R0, 0xf9           
00019f   8080     ADD	R0, #0x80           
0001a0   38fb     SUB	R0, 0xfb            
0001a1   7003     JNB	0x3, 0              
0001a2   c23f     JMP	#0x23f              
0001a3   50fc     MOV	R0, 0xfc            
0001a4   80bb     ADD	R0, #0xbb           
0001a5   f701     LD	R1, [R0]             
0001a6   53f3     MOV	0xf3, R1            
0001a7   9906     MOV	R1, #0x6            
0001a8   98ef     MOV	R0, #0xef           
0001a9   d6e9     CALL	#0x6e9             
0001aa   6503     CLR	0x3, 5              
0001ab   38f3     SUB	R0, 0xf3            
0001ac   7003     JNB	0x3, 0              
0001ad   c1b2     JMP	#0x1b2              
0001ae   0af3     INCR	0xf3               
0001af   52fc     MOV	R1, 0xfc            
0001b0   81bb     ADD	R1, #0xbb           
0001b1   f741     ST	[R1], R0             
0001b2   9900     MOV	R1, #0              
0001b3   9802     MOV	R0, #0x2            
0001b4   d603     CALL	#0x603             
0001b5   6503     CLR	0x3, 5              
0001b6   51f6     MOV	0xf6, R0            
0001b7   9900     MOV	R1, #0              
0001b8   9803     MOV	R0, #0x3            
0001b9   d603     CALL	#0x603             
0001ba   6503     CLR	0x3, 5              
0001bb   51f8     MOV	0xf8, R0            
0001bc   0ef6     MOVZ	R0, 0xf6           
0001bd   30f8     ORL	R0, 0xf8            
0001be   7203     JNB	0x3, 2              
0001bf   c1dc     JMP	#0x1dc              
0001c0   0eec     MOVZ	R0, 0xec           
0001c1   a801     XOR	R0, #0x1            
0001c2   7a03     JB	0x3, 2               
0001c3   c1dc     JMP	#0x1dc              
0001c4   0ef8     MOVZ	R0, 0xf8           
0001c5   38ce     SUB	R0, 0xce            
0001c6   7a03     JB	0x3, 2               
0001c7   c1ca     JMP	#0x1ca              
0001c8   0ef6     MOVZ	R0, 0xf6           
0001c9   38cd     SUB	R0, 0xcd            
0001ca   7003     JNB	0x3, 0              
0001cb   c1dc     JMP	#0x1dc              
0001cc   0bcd     INC	0xcd                
0001cd   7a03     JB	0x3, 2               
0001ce   c1d0     JMP	#0x1d0              
0001cf   0bce     INC	0xce                
0001d0   0ef6     MOVZ	R0, 0xf6           
0001d1   18cd     XOR	R0, 0xcd            
0001d2   7a03     JB	0x3, 2               
0001d3   c1dc     JMP	#0x1dc              
0001d4   0ef8     MOVZ	R0, 0xf8           
0001d5   18ce     XOR	R0, 0xce            
0001d6   7a03     JB	0x3, 2               
0001d7   c1dc     JMP	#0x1dc              
0001d8   9802     MOV	R0, #0x2            
0001d9   51ec     MOV	0xec, R0            
0001da   0eed     MOVZ	R0, 0xed           
0001db   51ee     MOV	0xee, R0            
0001dc   50fc     MOV	R0, 0xfc            
0001dd   80bb     ADD	R0, #0xbb           
0001de   51f6     MOV	0xf6, R0            
0001df   52f6     MOV	R1, 0xf6            
0001e0   f708     LD	R0, [R1]             
0001e1   51f9     MOV	0xf9, R0            
0001e2   9906     MOV	R1, #0x6            
0001e3   98ef     MOV	R0, #0xef           
0001e4   d603     CALL	#0x603             
0001e5   6503     CLR	0x3, 5              
0001e6   51f6     MOV	0xf6, R0            
0001e7   0ef6     MOVZ	R0, 0xf6           
0001e8   18f9     XOR	R0, 0xf9            
0001e9   7a03     JB	0x3, 2               
0001ea   c252     JMP	#0x252              
0001eb   0ec7     MOVZ	R0, 0xc7           
0001ec   30c8     ORL	R0, 0xc8            
0001ed   7203     JNB	0x3, 2              
0001ee   c217     JMP	#0x217              
0001ef   50ec     MOV	R0, 0xec            
0001f0   a801     XOR	R0, #0x1            
0001f1   7a03     JB	0x3, 2               
0001f2   c212     JMP	#0x212              
0001f3   9802     MOV	R0, #0x2            
0001f4   51ec     MOV	0xec, R0            
0001f5   50fc     MOV	R0, 0xfc            
0001f6   51ee     MOV	0xee, R0            
0001f7   50fc     MOV	R0, 0xfc            
0001f8   80f0     ADD	R0, #0xf0           
0001f9   990f     MOV	R1, #0xf            
0001fa   7003     JNB	0x3, 0              
0001fb   ff11     INC	R1                  
0001fc   d6e9     CALL	#0x6e9             
0001fd   6003     CLR	0x3, 0              
0001fe   ff18     RLC	R0                  
0001ff   6503     CLR	0x3, 5              
000200   51f3     MOV	0xf3, R0            
000201   807f     ADD	R0, #0x7f           
000202   9906     MOV	R1, #0x6            
000203   7003     JNB	0x3, 0              
000204   ff11     INC	R1                  
000205   d6e9     CALL	#0x6e9             
000206   6503     CLR	0x3, 5              
000207   31c7     ORL	0xc7, R0            
000208   50f3     MOV	R0, 0xf3            
000209   ff10     INC	R0                  
00020a   807f     ADD	R0, #0x7f           
00020b   9906     MOV	R1, #0x6            
00020c   7003     JNB	0x3, 0              
00020d   ff11     INC	R1                  
00020e   d6e9     CALL	#0x6e9             
00020f   6503     CLR	0x3, 5              
000210   31c8     ORL	0xc8, R0            
000211   c216     JMP	#0x216              
000212   50fc     MOV	R0, 0xfc            
000213   80bb     ADD	R0, #0xbb           
000214   9900     MOV	R1, #0              
000215   f748     ST	[R0], R1             
000216   c239     JMP	#0x239              
000217   50fc     MOV	R0, 0xfc            
000218   80f0     ADD	R0, #0xf0           
000219   990f     MOV	R1, #0xf            
00021a   7003     JNB	0x3, 0              
00021b   ff11     INC	R1                  
00021c   d6e9     CALL	#0x6e9             
00021d   6003     CLR	0x3, 0              
00021e   ff18     RLC	R0                  
00021f   6503     CLR	0x3, 5              
000220   51f3     MOV	0xf3, R0            
000221   807f     ADD	R0, #0x7f           
000222   9906     MOV	R1, #0x6            
000223   7003     JNB	0x3, 0              
000224   ff11     INC	R1                  
000225   d6e9     CALL	#0x6e9             
000226   6503     CLR	0x3, 5              
000227   51c7     MOV	0xc7, R0            
000228   50f3     MOV	R0, 0xf3            
000229   ff10     INC	R0                  
00022a   807f     ADD	R0, #0x7f           
00022b   9906     MOV	R1, #0x6            
00022c   7003     JNB	0x3, 0              
00022d   ff11     INC	R1                  
00022e   d6e9     CALL	#0x6e9             
00022f   6503     CLR	0x3, 5              
000230   51c8     MOV	0xc8, R0            
000231   9801     MOV	R0, #0x1            
000232   51ec     MOV	0xec, R0            
000233   51cd     MOV	0xcd, R0            
000234   03ce     CLR	0xce                
000235   50fc     MOV	R0, 0xfc            
000236   51ed     MOV	0xed, R0            
000237   98ff     MOV	R0, #0xff           
000238   51ee     MOV	0xee, R0            
000239   50fc     MOV	R0, 0xfc            
00023a   80bb     ADD	R0, #0xbb           
00023b   f701     LD	R1, [R0]             
00023c   ff11     INC	R1                  
00023d   f748     ST	[R0], R1             
00023e   c252     JMP	#0x252              
00023f   50fc     MOV	R0, 0xfc            
000240   80bb     ADD	R0, #0xbb           
000241   51f6     MOV	0xf6, R0            
000242   52f6     MOV	R1, 0xf6            
000243   f708     LD	R0, [R1]             
000244   51fa     MOV	0xfa, R0            
000245   9906     MOV	R1, #0x6            
000246   98ef     MOV	R0, #0xef           
000247   d603     CALL	#0x603             
000248   6503     CLR	0x3, 5              
000249   51f6     MOV	0xf6, R0            
00024a   0ef6     MOVZ	R0, 0xf6           
00024b   38fa     SUB	R0, 0xfa            
00024c   7003     JNB	0x3, 0              
00024d   c252     JMP	#0x252              
00024e   50fc     MOV	R0, 0xfc            
00024f   80bb     ADD	R0, #0xbb           
000250   9900     MOV	R1, #0              
000251   f748     ST	[R0], R1             
000252   6003     CLR	0x3, 0              
000253   13d1     RLC	0xd1                
000254   13d2     RLC	0xd2                
000255   0bfc     INC	0xfc                
000256   c00e     JMP	#0xe                
000257   03f1     CLR	0xf1                
000258   79eb     JB	0xeb, 1              
000259   c264     JMP	#0x264              
00025a   98f0     MOV	R0, #0xf0           
00025b   9906     MOV	R1, #0x6            
00025c   d6e9     CALL	#0x6e9             
00025d   6503     CLR	0x3, 5              
00025e   0bea     INC	0xea                
00025f   52ea     MOV	R1, 0xea            
000260   f841     SUB	R1, R0              
000261   7003     JNB	0x3, 0              
000262   c264     JMP	#0x264              
000263   61eb     CLR	0xeb, 1             
000264   990f     MOV	R1, #0xf            
000265   98f6     MOV	R0, #0xf6           
000266   d603     CALL	#0x603             
000267   6503     CLR	0x3, 5              
000268   51f6     MOV	0xf6, R0            
000269   990f     MOV	R1, #0xf            
00026a   98f7     MOV	R0, #0xf7           
00026b   d603     CALL	#0x603             
00026c   6503     CLR	0x3, 5              
00026d   51fa     MOV	0xfa, R0            
00026e   0ef6     MOVZ	R0, 0xf6           
00026f   30fa     ORL	R0, 0xfa            
000270   7203     JNB	0x3, 2              
000271   c2b4     JMP	#0x2b4              
000272   0ec7     MOVZ	R0, 0xc7           
000273   30c8     ORL	R0, 0xc8            
000274   7203     JNB	0x3, 2              
000275   c2b4     JMP	#0x2b4              
000276   0bcb     INC	0xcb                
000277   7a03     JB	0x3, 2               
000278   c27a     JMP	#0x27a              
000279   0bcc     INC	0xcc                
00027a   98f6     MOV	R0, #0xf6           
00027b   990f     MOV	R1, #0xf            
00027c   d6e9     CALL	#0x6e9             
00027d   6503     CLR	0x3, 5              
00027e   18cb     XOR	R0, 0xcb            
00027f   7a03     JB	0x3, 2               
000280   c2b4     JMP	#0x2b4              
000281   98f7     MOV	R0, #0xf7           
000282   990f     MOV	R1, #0xf            
000283   d6e9     CALL	#0x6e9             
000284   6503     CLR	0x3, 5              
000285   18cc     XOR	R0, 0xcc            
000286   7a03     JB	0x3, 2               
000287   c2b4     JMP	#0x2b4              
000288   03c7     CLR	0xc7                
000289   03c8     CLR	0xc8                
00028a   50ec     MOV	R0, 0xec            
00028b   a802     XOR	R0, #0x2            
00028c   7a03     JB	0x3, 2               
00028d   c29d     JMP	#0x29d              
00028e   50ee     MOV	R0, 0xee            
00028f   6003     CLR	0x3, 0              
000290   ff18     RLC	R0                  
000291   51f3     MOV	0xf3, R0            
000292   809d     ADD	R0, #0x9d           
000293   f701     LD	R1, [R0]             
000294   50f3     MOV	R0, 0xf3            
000295   80a9     ADD	R0, #0xa9           
000296   f748     ST	[R0], R1             
000297   50f3     MOV	R0, 0xf3            
000298   809e     ADD	R0, #0x9e           
000299   f701     LD	R1, [R0]             
00029a   50f3     MOV	R0, 0xf3            
00029b   80aa     ADD	R0, #0xaa           
00029c   f748     ST	[R0], R1             
00029d   50ed     MOV	R0, 0xed            
00029e   6003     CLR	0x3, 0              
00029f   ff18     RLC	R0                  
0002a0   51f3     MOV	0xf3, R0            
0002a1   809d     ADD	R0, #0x9d           
0002a2   f701     LD	R1, [R0]             
0002a3   50f3     MOV	R0, 0xf3            
0002a4   80a9     ADD	R0, #0xa9           
0002a5   f748     ST	[R0], R1             
0002a6   50f3     MOV	R0, 0xf3            
0002a7   809e     ADD	R0, #0x9e           
0002a8   f701     LD	R1, [R0]             
0002a9   50f3     MOV	R0, 0xf3            
0002aa   80aa     ADD	R0, #0xaa           
0002ab   f748     ST	[R0], R1             
0002ac   03ec     CLR	0xec                
0002ad   98ff     MOV	R0, #0xff           
0002ae   51ed     MOV	0xed, R0            
0002af   51ee     MOV	0xee, R0            
0002b0   03cd     CLR	0xcd                
0002b1   03ce     CLR	0xce                
0002b2   03cb     CLR	0xcb                
0002b3   03cc     CLR	0xcc                
0002b4   0008     CRET                    
                                           func.__KF8S_Init_Touch_General_
0005c5   6503     CLR	0x3, 5              
0005c6   03f3     CLR	0xf3                
0005c7   60eb     CLR	0xeb, 0             
0005c8   61eb     CLR	0xeb, 1             
0005c9   03cf     CLR	0xcf                
0005ca   03d0     CLR	0xd0                
0005cb   03db     CLR	0xdb                
0005cc   03c7     CLR	0xc7                
0005cd   03c8     CLR	0xc8                
0005ce   03f3     CLR	0xf3                
0005cf   6f2c     SET	0x2c, 7             
0005d0   670c     CLR	0xc, 7              
0005d1   7eeb     JB	0xeb, 6              
0005d2   c5d7     JMP	#0x5d7              
0005d3   9890     MOV	R0, #0x90           
0005d4   5153     MOV	0x53, R0            
0005d5   0350     CLR	0x50                
0005d6   c5df     JMP	#0x5df              
0005d7   682c     SET	0x2c, 0             
0005d8   600c     CLR	0xc, 0              
0005d9   030f     CLR	0xf                 
0005da   030e     CLR	0xe                 
0005db   9801     MOV	R0, #0x1            
0005dc   5110     MOV	0x10, R0            
0005dd   9880     MOV	R0, #0x80           
0005de   5153     MOV	0x53, R0            
0005df   98f0     MOV	R0, #0xf0           
0005e0   990f     MOV	R1, #0xf            
0005e1   d6e9     CALL	#0x6e9             
0005e2   3153     ORL	0x53, R0            
0005e3   9802     MOV	R0, #0x2            
0005e4   ff58     DECJZ	R0                
0005e5   c5e4     JMP	#0x5e4              
0005e6   6e53     SET	0x53, 6             
0005e7   0000     NOP                     
0005e8   7e53     JB	0x53, 6              
0005e9   c5e6     JMP	#0x5e6              
0005ea   7453     JNB	0x53, 4             
0005eb   035f     CLR	0x5f                
0005ec   6e0b     SET	0xb, 6              
0005ed   6f0b     SET	0xb, 7              
0005ee   0008     CRET                    
                                           func.__KF8_lib_Baihualv_get_
000548   6503     CLR	0x3, 5              
000549   50d5     MOV	R0, 0xd5            
00054a   39d3     SUB	0xd3, R0            
00054b   52d6     MOV	R1, 0xd6            
00054c   7803     JB	0x3, 0               
00054d   ff11     INC	R1                  
00054e   3bd4     SUB	0xd4, R1            
00054f   7803     JB	0x3, 0               
000550   c552     JMP	#0x552              
000551   c559     JMP	#0x559              
000552   64eb     CLR	0xeb, 4             
000553   05d3     CPL	0xd3                
000554   05d4     CPL	0xd4                
000555   0bd3     INC	0xd3                
000556   7203     JNB	0x3, 2              
000557   0bd4     INC	0xd4                
000558   c55a     JMP	#0x55a              
000559   6ceb     SET	0xeb, 4             
00055a   50d4     MOV	R0, 0xd4            
00055b   88fc     AND	R0, #0xfc           
00055c   7a03     JB	0x3, 2               
00055d   c574     JMP	#0x574              
00055e   9806     MOV	R0, #0x6            
00055f   ff10     INC	R0                  
000560   c564     JMP	#0x564              
000561   6003     CLR	0x3, 0              
000562   13d3     RLC	0xd3                
000563   13d4     RLC	0xd4                
000564   ff58     DECJZ	R0                
000565   c561     JMP	#0x561              
000566   9808     MOV	R0, #0x8            
000567   21d5     ADD	0xd5, R0            
000568   7803     JB	0x3, 0               
000569   c56b     JMP	#0x56b              
00056a   0bd6     INC	0xd6                
00056b   9804     MOV	R0, #0x4            
00056c   ff10     INC	R0                  
00056d   c571     JMP	#0x571              
00056e   6003     CLR	0x3, 0              
00056f   11d6     RRC	0xd6                
000570   11d5     RRC	0xd5                
000571   ff58     DECJZ	R0                
000572   c56e     JMP	#0x56e              
000573   c582     JMP	#0x582              
000574   6003     CLR	0x3, 0              
000575   13d3     RLC	0xd3                
000576   13d4     RLC	0xd4                
000577   6003     CLR	0x3, 0              
000578   13d3     RLC	0xd3                
000579   13d4     RLC	0xd4                
00057a   9880     MOV	R0, #0x80           
00057b   21d5     ADD	0xd5, R0            
00057c   7803     JB	0x3, 0               
00057d   c57f     JMP	#0x57f              
00057e   0bd6     INC	0xd6                
00057f   50d6     MOV	R0, 0xd6            
000580   51d5     MOV	0xd5, R0            
000581   03d6     CLR	0xd6                
000582   03f2     CLR	0xf2                
000583   50d5     MOV	R0, 0xd5            
000584   39d3     SUB	0xd3, R0            
000585   52d6     MOV	R1, 0xd6            
000586   7803     JB	0x3, 0               
000587   ff11     INC	R1                  
000588   3bd4     SUB	0xd4, R1            
000589   7803     JB	0x3, 0               
00058a   c58c     JMP	#0x58c              
00058b   c58d     JMP	#0x58d              
00058c   c593     JMP	#0x593              
00058d   0bf2     INC	0xf2                
00058e   50f2     MOV	R0, 0xf2            
00058f   a07e     SUB	R0, #0x7e           
000590   7803     JB	0x3, 0               
000591   c593     JMP	#0x593              
000592   c583     JMP	#0x583              
000593   7ceb     JB	0xeb, 4              
000594   c597     JMP	#0x597              
000595   05f2     CPL	0xf2                
000596   0bf2     INC	0xf2                
000597   0008     CRET                    
                                           func.__R2PCHPCL
0006e9   530a     MOV	0xa, R1             
0006ea   5102     MOV	0x2, R0             
0006eb   0008     CRET                    
                                           .cinit
00069f   6503     CLR	0x3, 5              
0006a0   9890     MOV	R0, #0x90           
0006a1   996c     MOV	R1, #0x6c           
0006a2   0000     NOP                     
0006a3   d6b6     CALL	#0x6b6             
0006a4   0380     CLR	0x80                
0006a5   0381     CLR	0x81                
0006a6   0382     CLR	0x82                
0006a7   0383     CLR	0x83                
0006a8   0384     CLR	0x84                
0006a9   0385     CLR	0x85                
0006aa   0386     CLR	0x86                
0006ab   0387     CLR	0x87                
0006ac   0388     CLR	0x88                
0006ad   0389     CLR	0x89                
0006ae   038a     CLR	0x8a                
0006af   038b     CLR	0x8b                
0006b0   038c     CLR	0x8c                
0006b1   038d     CLR	0x8d                
0006b2   038e     CLR	0x8e                
0006b3   038f     CLR	0x8f                
0006b4   03fc     CLR	0xfc                
0006b5   0008     CRET                    
0006b6   020a     CLR	R2                  
0006b7   f750     ST	[R0], R2             
0006b8   ff10     INC	R0                  
0006b9   ff59     DECJZ	R1                
0006ba   c6b7     JMP	#0x6b7              
0006bb   0008     CRET                    
