; Generated by holtek-gcc v3.19, Mon Jan 06 09:49:11 2025
; 
; Configuration:
;       with long instruction
;       Single ROM, Multi-RAM
;       bits_per_rom_unit:16
;       with mp1
;       with tbhp, address(0x9)
;          Use tabrd-const
;       
; SFR address of long-instruction arch:
;    mp0 = -1,1,0
;    mp1 = 4,3,2
;    mp2 = 14,13,12
;    tbp = 9,7,8
;    acc = 5
;    pcl = 6
;    status = 10
;    bp = 11
;    intc = 32
;       
;       
; use 'tabrdc' instead of 'tabrd'
;       

#pragma translator "holtek-gcc 4.6.4" "3.19" "build 20130711"
; Rebuild 718

ir equ [2]
mp equ [3]
sbp equ [4]
acc equ [5]
bp equ [11]
tblp equ [7]
tbhp equ [9]
status equ [10]
c equ [10].0
ac equ [10].1
z equ [10].2
ov equ [10].3
cz equ [10].6
sc equ [10].7
intc equ [32]

extern ra:byte
extern rb:byte
extern rc:byte
extern rd:byte
extern re:byte
extern rf:byte
extern rg:byte
extern rh:byte
extern _Crom2Prom:near
extern _Crom2PromNext:near

RAMBANK 0 @BITDATASEC, @BITDATASEC1
@HCCINIT	.section 'data'
@HCCINIT0	.section 'data'
@BITDATASEC	 .section 'data'
@BITDATASEC1	 .section 'data'

#pragma debug scope 1 1
	extern __DELAY3:near
	extern __DELAYX3:near
	extern __DELAYX6:near
	extern __DELAYY5:near
	extern __DELAYY3:near
	extern _builtin_holtek_delay_2:byte
___pas0 equ [123]
___pac equ [21]
___pa equ [20]
___pgac equ [83]
public _ADC24_ENOB_TEST
#pragma debug scope 2 1
#line 143 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
_ADC24_ENOB_TEST .section 'code'
_ADC24_ENOB_TEST proc
    local _ADC24_ENOB_TEST_2 db 23 dup(?)	; 0,23
#pragma debug variable 8 2 _ADC24_ENOB_TEST_2+22 "iAdcRate"
#pragma debug variable 8 2 _ADC24_ENOB_TEST_2+21 "iAdcGain"
#pragma debug variable 8 2 _ADC24_ENOB_TEST_2+20 "iAdcVrefVoltage"
#line 145 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	clr _ADC24_ENOB_TEST_2[22]
	jmp _L2
_L11:
#line 147 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	clr _ADC24_ENOB_TEST_2[21]
_L3:
	mov a,9
	sub a,_ADC24_ENOB_TEST_2[21]
	snz c
	jmp _L13
#line 149 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	clr _ADC24_ENOB_TEST_2[20]
_L4:
	mov a,1
	sub a,_ADC24_ENOB_TEST_2[20]
	snz c
	jmp _L14
#pragma debug scope 3 2
;begin block, line: 149.-1
#pragma debug struct_begin 42 ""
#pragma debug field 0 8 "sampleRate"
#pragma debug field 0 8 "gain"
#pragma debug field 0 8 "channel"
#pragma debug field 0 8 "dataSkip"
#pragma debug field 0 8 "dataAvgCnt"
#pragma debug field 0 8 "autoWriteNum"
#pragma debug field 0 8 "errCheck"
#pragma debug struct_end
#pragma debug variable 42 3 _ADC24_ENOB_TEST_2+13 "adc24Cfg"
#pragma debug struct_begin 43 "DAC_t"
#pragma debug field 0 8 "modeControl"
#pragma debug field 0 12 "data"
#pragma debug struct_end
#pragma debug struct_begin 44 ""
#pragma debug field 0 8 "dacRefVol"
#pragma debug field 0 8 "dacVrefSelect"
#pragma debug field 0 8 "vrefData"
#pragma debug field 0 8 "irefEn"
#pragma debug field 2 43 "dac1"
#pragma debug field 2 43 "dac2"
#pragma debug field 2 43 "dac3"
#pragma debug struct_end
#pragma debug variable 44 3 _ADC24_ENOB_TEST_2+0 "afePower"
#line 154 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,low offset _adcRateTable
	add a,_ADC24_ENOB_TEST_2[22]
	mov mp,a
	mov a,high offset _adcRateTable
	clr sbp
	adcm a,sbp
	call _Crom2Prom
	mov _ADC24_ENOB_TEST_2[13],a
#line 155 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,low offset _adcGainTable
	add a,_ADC24_ENOB_TEST_2[21]
	mov mp,a
	mov a,high offset _adcGainTable
	clr sbp
	adcm a,sbp
	call _Crom2Prom
	mov _ADC24_ENOB_TEST_2[14],a
#line 156 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,221
	mov _ADC24_ENOB_TEST_2[15],a
#line 157 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	clr _ADC24_ENOB_TEST_2[16]
#line 158 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	clr _ADC24_ENOB_TEST_2[17]
#line 159 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	clr _ADC24_ENOB_TEST_2[18]
#line 160 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,_ADC24_ENOB_TEST_2[13]
	mov _Adc24_Cfg_2[0],a
	mov a,_ADC24_ENOB_TEST_2[14]
	mov _Adc24_Cfg_2[1],a
	mov a,221
	mov _Adc24_Cfg_2[2],a
	clr _Adc24_Cfg_2[3]
	clr _Adc24_Cfg_2[4]
	clr _Adc24_Cfg_2[5]
	mov a,_ADC24_ENOB_TEST_2[19]
	mov _Adc24_Cfg_2[6],a
	call _Adc24_Cfg
#line 162 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	clr [123].7
	clr [123].6
#line 163 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	clr [21].3
#line 164 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	clr [20].3
#line 166 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	set [83].6
#line 168 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,_ADC24_ENOB_TEST_2[13]
	mov _Adc24_Enable_2[0],a
	mov a,_ADC24_ENOB_TEST_2[14]
	mov _Adc24_Enable_2[1],a
	mov a,_ADC24_ENOB_TEST_2[15]
	mov _Adc24_Enable_2[2],a
	mov a,_ADC24_ENOB_TEST_2[16]
	mov _Adc24_Enable_2[3],a
	mov a,_ADC24_ENOB_TEST_2[17]
	mov _Adc24_Enable_2[4],a
	mov a,_ADC24_ENOB_TEST_2[18]
	mov _Adc24_Enable_2[5],a
	mov a,_ADC24_ENOB_TEST_2[19]
	mov _Adc24_Enable_2[6],a
	call _Adc24_Enable
_L7:
#line 169 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,175
	sub a,_adc24SourceData[4]
	mov a,4
	sbc a,_adc24SourceData[5]
	snz c
	jmp _L15
#line 171 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
;# 171 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c" 1
	clr wdt
#line 172 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	call _Adc24_Poling
#line 173 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	snz _adc24SourceData[6].0
	jmp _L7
#line 175 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	clr _adc24SourceData[6].0
#line 177 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,85
	mov _uartTxBuf[0],a
#line 178 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,170
	mov _uartTxBuf[1],a
#line 179 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,low offset _adcRateTable
	add a,_ADC24_ENOB_TEST_2[22]
	mov mp,a
	mov a,high offset _adcRateTable
	clr sbp
	adcm a,sbp
	call _Crom2Prom
	mov _uartTxBuf[2],a
#line 180 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,low offset _adcGainTable
	add a,_ADC24_ENOB_TEST_2[21]
	mov mp,a
	mov a,high offset _adcGainTable
	clr sbp
	adcm a,sbp
	call _Crom2Prom
	mov _uartTxBuf[3],a
#line 181 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	clr _uartTxBuf[4]
#line 182 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,_adc24SourceData[4]
	mov rb,a
	mov a,_adc24SourceData[5]
	mov rc,a
	mov a,rc
	mov _uartTxBuf[5],a
#line 183 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,_adc24SourceData[4]
	mov rb,a
	mov a,_adc24SourceData[5]
	mov rc,a
	mov a,rb
	mov _uartTxBuf[6],a
#line 184 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,_adc24SourceData[3]
	mov _uartTxBuf[7],a
#line 185 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,_adc24SourceData[2]
	mov _uartTxBuf[8],a
#line 186 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,_adc24SourceData[1]
	mov _uartTxBuf[9],a
#line 187 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,_adc24SourceData[0]
	mov _uartTxBuf[10],a
#line 188 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,11
	mov _Uart_TxByte_Interrupt_2[2],a
	mov a,low offset _uartTxBuf
	mov _Uart_TxByte_Interrupt_2[0],a
	mov a,high offset _uartTxBuf
	mov _Uart_TxByte_Interrupt_2[1],a
	call _Uart_TxByte_Interrupt
	jmp _L7
_L15:
#line 192 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	clr _ADC24_ENOB_TEST_2[0]
#line 193 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,_ADC24_ENOB_TEST_2[20]
	mov ra,a
	mov a,ra
	mov _ADC24_ENOB_TEST_2[1],a
#line 194 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,128
	mov _ADC24_ENOB_TEST_2[2],a
#line 195 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,1
	mov _ADC24_ENOB_TEST_2[3],a
#line 196 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	clr _VirefCfg_2[0]
	mov a,ra
	mov _VirefCfg_2[1],a
	mov a,128
	mov _VirefCfg_2[2],a
	mov a,1
	mov _VirefCfg_2[3],a
	mov a,_ADC24_ENOB_TEST_2[4]
	mov _VirefCfg_2[4],a
	mov a,_ADC24_ENOB_TEST_2[5]
	mov _VirefCfg_2[5],a
	mov a,_ADC24_ENOB_TEST_2[6]
	mov _VirefCfg_2[6],a
	mov a,_ADC24_ENOB_TEST_2[7]
	mov _VirefCfg_2[7],a
	mov a,_ADC24_ENOB_TEST_2[8]
	mov _VirefCfg_2[8],a
	mov a,_ADC24_ENOB_TEST_2[9]
	mov _VirefCfg_2[9],a
	mov a,_ADC24_ENOB_TEST_2[10]
	mov _VirefCfg_2[10],a
	mov a,_ADC24_ENOB_TEST_2[11]
	mov _VirefCfg_2[11],a
	mov a,_ADC24_ENOB_TEST_2[12]
	mov _VirefCfg_2[12],a
	call _VirefCfg
#pragma debug scope 2 1
#line 149 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	inc _ADC24_ENOB_TEST_2[20]
	jmp _L4
_L14:
#line 147 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	inc _ADC24_ENOB_TEST_2[21]
	jmp _L3
_L13:
#line 145 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	inc _ADC24_ENOB_TEST_2[22]
_L2:
	mov a,17
	sub a,_ADC24_ENOB_TEST_2[22]
	sz c
	jmp _L11
	ret
_ADC24_ENOB_TEST endp
#line 145 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
#pragma debug scope 1 1
___status equ [10]
___wdtc equ [30]
___ucr1 equ [48]
___ucr2 equ [49]
___intc3 equ [35]
___intc0 equ [32]
public _main
#pragma debug scope 4 1
#line 35 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
IFDEF WITH_DEFAULT_STARTUP
extern _main_initial0:near
extern _main_startup:near
ENDIF

ROMBANK 0 @start
@start .section com_l 'code'
_main_startup1:
@start .section com_e 'code'
	jmp _main

_main .section 'code'
_main proc
    local _main_2 db 16 dup(?)
#line 37 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	snz [10].5
	jmp _L17
#line 37 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	sz [10].4
	jmp _L18
_L17:
#pragma debug scope 5 4
;begin block, line: 37.-1
#pragma debug struct_begin 45 ""
#pragma debug field 0 8 "haltMode"
#pragma debug field 0 8 "irc2"
#pragma debug struct_end
#pragma debug variable 45 5 _main_2+13 "oscCfg"
#pragma debug struct_begin 46 "DAC_t"
#pragma debug field 0 8 "modeControl"
#pragma debug field 0 12 "data"
#pragma debug struct_end
#pragma debug struct_begin 47 ""
#pragma debug field 0 8 "dacRefVol"
#pragma debug field 0 8 "dacVrefSelect"
#pragma debug field 0 8 "vrefData"
#pragma debug field 0 8 "irefEn"
#pragma debug field 2 46 "dac1"
#pragma debug field 2 46 "dac2"
#pragma debug field 2 46 "dac3"
#pragma debug struct_end
#pragma debug variable 47 5 _main_2+0 "afePower"
#pragma debug struct_begin 48 ""
#pragma debug field 21 8 0 1 "addr" ;0,1
#pragma debug field 21 8 0 1 "wakeUp" ;1,1
#pragma debug struct_end
#pragma debug union_begin 49 ""
#pragma debug field 2 48 "b"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug struct_begin 50 ""
#pragma debug field 3 49 "flag"
#pragma debug struct_end
#pragma debug variable 50 5 _main_2+15 "uartCfg"
#line 41 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	clr _main_2[13]
#line 42 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,1
	mov _main_2[14],a
#line 43 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,low offset _main_2
	mov ra,a
	mov a,high offset _main_2
	mov rb,a
	mov a,13
	add a,ra
	mov _Oscillators_Cfg_2[0],a
	mov a,0
	adc a,rb
	mov _Oscillators_Cfg_2[1],a
	call _Oscillators_Cfg
#line 45 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,168
	mov [30],a
#line 49 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	clr _main_2[0]
#line 50 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	clr _main_2[1]
#line 51 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,128
	mov _main_2[2],a
#line 52 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,1
	mov _main_2[3],a
#line 53 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	clr _VirefCfg_2[0]
	clr _VirefCfg_2[1]
	mov a,128
	mov _VirefCfg_2[2],a
	mov a,1
	mov _VirefCfg_2[3],a
	mov a,_main_2[4]
	mov _VirefCfg_2[4],a
	mov a,_main_2[5]
	mov _VirefCfg_2[5],a
	mov a,_main_2[6]
	mov _VirefCfg_2[6],a
	mov a,_main_2[7]
	mov _VirefCfg_2[7],a
	mov a,_main_2[8]
	mov _VirefCfg_2[8],a
	mov a,_main_2[9]
	mov _VirefCfg_2[9],a
	mov a,_main_2[10]
	mov _VirefCfg_2[10],a
	mov a,_main_2[11]
	mov _VirefCfg_2[11],a
	mov a,_main_2[12]
	mov _VirefCfg_2[12],a
	call _VirefCfg
#line 56 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,low offset _uartQueueBuf
	mov _uartStatus[5],a
	mov a,high offset _uartQueueBuf
	mov _uartStatus[6],a
#line 57 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,20
	mov _uartStatus[4],a
#line 59 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	clr _main_2[15].0
#line 60 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	set _main_2[15].1
#line 61 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	mov a,low offset _main_2
	mov ra,a
	mov a,high offset _main_2
	mov rb,a
	mov a,15
	add a,ra
	mov _Uart_Cfg_2[0],a
	mov a,0
	adc a,rb
	mov _Uart_Cfg_2[1],a
	call _Uart_Cfg
#line 62 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	set [48].7
	set [49].7
	set [49].6
#line 63 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	set [35].0
#line 65 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	set [32].0
#line 66 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
	call _ADC24_ENOB_TEST
_L18:
#pragma debug scope 4 1
#line 71 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
;# 71 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c" 1
	clr wdt
	jmp _L18
	jmp $
_main endp

@dummy proc
	call _main
@dummy endp

#line 71 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
#pragma debug scope 1 1
public _adcVrefVoltageTable
@crom	.section 'crom'
#line 135 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
@crom	.section	'crom'
_adcVrefVoltageTable:
#pragma debug array 51 8 2 1
#pragma debug variable 51 1 _adcVrefVoltageTable "adcVrefVoltageTable"
	db 0
	db 1
public _adcGainTable
#line 123 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
@crom	.section	'crom'
_adcGainTable:
#pragma debug array 52 8 10 1
#pragma debug variable 52 1 _adcGainTable "adcGainTable"
	db 0
	db 1
	db 2
	db 3
	db 4
	db 5
	db 13
	db 14
	db 15
	db -128
public _adcRateTable
#line 82 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
@crom	.section	'crom'
_adcRateTable:
#pragma debug array 53 8 18 1
#pragma debug variable 53 1 _adcRateTable "adcRateTable"
	db 0
	db 1
	db 2
	db 3
	db 4
	db 5
	db 6
	db 7
	db 8
	db 9
	db 10
	db 11
	db 12
	db 13
	db 14
	db 15
	db 16
	db 17
#line 80 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
public _adcGain
@HCCINIT0_adcGain .section 'data'
_adcGain	db 0
#pragma debug variable 8 1 _adcGain "adcGain"

@HCCINIT .section 'data'
#line 79 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
public _adcRate
@HCCINIT0_adcRate .section 'data'
_adcRate	db 0
#pragma debug variable 8 1 _adcRate "adcRate"

@HCCINIT .section 'data'
#line 30 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
public _uartTxBuf
@HCCINIT0_uartTxBuf .section 'data'
_uartTxBuf	db 20 dup(0)
#pragma debug array 54 8 20 1
#pragma debug variable 54 1 _uartTxBuf "uartTxBuf"

@HCCINIT .section 'data'
#line 29 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
public _uartQueueBuf
@HCCINIT0_uartQueueBuf .section 'data'
_uartQueueBuf	db 20 dup(0)
#pragma debug variable 54 1 _uartQueueBuf "uartQueueBuf"

@HCCINIT .section 'data'
#pragma debug struct_begin 55 "__status_bits"
#pragma debug field 21 8 0 1 "__c" ;0,1
#pragma debug field 21 8 0 1 "__ac" ;1,1
#pragma debug field 21 8 0 1 "__z" ;2,1
#pragma debug field 21 8 0 1 "__ov" ;3,1
#pragma debug field 21 8 0 1 "__pdf" ;4,1
#pragma debug field 21 8 0 1 "__to" ;5,1
#pragma debug field 21 8 0 1 "__cz" ;6,1
#pragma debug field 21 8 0 1 "__sc" ;7,1
#pragma debug struct_end
#pragma debug union_begin 56 ""
#pragma debug field 2 55 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 56 1 ___status "__status" 1
#pragma debug struct_begin 57 "__pa_bits"
#pragma debug field 21 8 0 1 "__pa0" ;0,1
#pragma debug field 21 8 0 1 "__pa1" ;1,1
#pragma debug field 21 8 0 1 "__pa2" ;2,1
#pragma debug field 21 8 0 1 "__pa3" ;3,1
#pragma debug field 21 8 0 1 "__pa4" ;4,1
#pragma debug field 21 8 0 1 "__pa5" ;5,1
#pragma debug field 21 8 0 1 "__pa6" ;6,1
#pragma debug field 21 8 0 1 "__pa7" ;7,1
#pragma debug struct_end
#pragma debug union_begin 58 ""
#pragma debug field 2 57 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 58 1 ___pa "__pa" 1
#pragma debug struct_begin 59 "__pac_bits"
#pragma debug field 21 8 0 1 "__pac0" ;0,1
#pragma debug field 21 8 0 1 "__pac1" ;1,1
#pragma debug field 21 8 0 1 "__pac2" ;2,1
#pragma debug field 21 8 0 1 "__pac3" ;3,1
#pragma debug field 21 8 0 1 "__pac4" ;4,1
#pragma debug field 21 8 0 1 "__pac5" ;5,1
#pragma debug field 21 8 0 1 "__pac6" ;6,1
#pragma debug field 21 8 0 1 "__pac7" ;7,1
#pragma debug struct_end
#pragma debug union_begin 60 ""
#pragma debug field 2 59 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 60 1 ___pac "__pac" 1
#pragma debug struct_begin 61 "__wdtc_bits"
#pragma debug field 21 8 0 1 "__ws0" ;0,1
#pragma debug field 21 8 0 1 "__ws1" ;1,1
#pragma debug field 21 8 0 1 "__ws2" ;2,1
#pragma debug field 21 8 0 1 "__we0" ;3,1
#pragma debug field 21 8 0 1 "__we1" ;4,1
#pragma debug field 21 8 0 1 "__we2" ;5,1
#pragma debug field 21 8 0 1 "__we3" ;6,1
#pragma debug field 21 8 0 1 "__we4" ;7,1
#pragma debug struct_end
#pragma debug union_begin 62 ""
#pragma debug field 2 61 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 62 1 ___wdtc "__wdtc" 1
#pragma debug struct_begin 63 "__intc0_bits"
#pragma debug field 21 8 0 1 "__emi" ;0,1
#pragma debug field 21 8 0 1 "__int0e" ;1,1
#pragma debug field 21 8 0 1 "__int1e" ;2,1
#pragma debug field 21 8 0 1 "__autoade" ;3,1
#pragma debug field 21 8 0 1 "__int0f" ;4,1
#pragma debug field 21 8 0 1 "__int1f" ;5,1
#pragma debug field 21 8 0 1 "__autoadf" ;6,1
#pragma debug field 21 8 0 1 ;7,1
#pragma debug struct_end
#pragma debug union_begin 64 ""
#pragma debug field 2 63 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 64 1 ___intc0 "__intc0" 1
#pragma debug struct_begin 65 "__intc3_bits"
#pragma debug field 21 8 0 1 "__ure" ;0,1
#pragma debug field 21 8 0 1 "__adavge" ;1,1
#pragma debug field 21 8 0 2 ;2,2
#pragma debug field 21 8 0 1 "__urf" ;4,1
#pragma debug field 21 8 0 1 "__adavgf" ;5,1
#pragma debug field 21 8 0 2 ;6,2
#pragma debug struct_end
#pragma debug union_begin 66 ""
#pragma debug field 2 65 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 66 1 ___intc3 "__intc3" 1
#pragma debug struct_begin 67 "__ucr1_bits"
#pragma debug field 21 8 0 1 "__tx8" ;0,1
#pragma debug field 21 8 0 1 "__rx8" ;1,1
#pragma debug field 21 8 0 1 "__txbrk" ;2,1
#pragma debug field 21 8 0 1 "__prt0" ;3,1
#pragma debug field 21 8 0 1 "__prt1" ;4,1
#pragma debug field 21 8 0 1 "__pren" ;5,1
#pragma debug field 21 8 0 1 "__bno" ;6,1
#pragma debug field 21 8 0 1 "__uarten" ;7,1
#pragma debug struct_end
#pragma debug union_begin 68 ""
#pragma debug field 2 67 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 68 1 ___ucr1 "__ucr1" 1
#pragma debug struct_begin 69 "__ucr2_bits"
#pragma debug field 21 8 0 1 "__teie" ;0,1
#pragma debug field 21 8 0 1 "__tiie" ;1,1
#pragma debug field 21 8 0 1 "__rie" ;2,1
#pragma debug field 21 8 0 1 "__wake" ;3,1
#pragma debug field 21 8 0 1 "__adden" ;4,1
#pragma debug field 21 8 0 1 "__stops" ;5,1
#pragma debug field 21 8 0 1 "__rxen" ;6,1
#pragma debug field 21 8 0 1 "__txen" ;7,1
#pragma debug struct_end
#pragma debug union_begin 70 ""
#pragma debug field 2 69 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 70 1 ___ucr2 "__ucr2" 1
#pragma debug struct_begin 71 "__pgac_bits"
#pragma debug field 21 8 0 1 "__pgs0" ;0,1
#pragma debug field 21 8 0 1 "__pgs1" ;1,1
#pragma debug field 21 8 0 1 "__pgs2" ;2,1
#pragma debug field 21 8 0 1 "__ags" ;3,1
#pragma debug field 21 8 0 1 "__inx0" ;4,1
#pragma debug field 21 8 0 1 "__inx1" ;5,1
#pragma debug field 21 8 0 1 "__inis" ;6,1
#pragma debug field 21 8 0 1 ;7,1
#pragma debug struct_end
#pragma debug union_begin 72 ""
#pragma debug field 2 71 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 72 1 ___pgac "__pgac" 1
#pragma debug struct_begin 73 "__pas0_bits"
#pragma debug field 21 8 0 1 "__pas00" ;0,1
#pragma debug field 21 8 0 1 "__pas01" ;1,1
#pragma debug field 21 8 0 1 "__pas02" ;2,1
#pragma debug field 21 8 0 1 "__pas03" ;3,1
#pragma debug field 21 8 0 1 "__pas04" ;4,1
#pragma debug field 21 8 0 1 "__pas05" ;5,1
#pragma debug field 21 8 0 1 "__pas06" ;6,1
#pragma debug field 21 8 0 1 "__pas07" ;7,1
#pragma debug struct_end
#pragma debug union_begin 74 ""
#pragma debug field 2 73 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 74 1 ___pas0 "__pas0" 1

; output external variables
extern _uartStatus:byte
extern _adc24SourceData:byte
#line 35 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\example\!adc24_verify\source\main.c"
@code .section at 0 'code'
	jmp _main_startup1

extern _Adc24_Cfg_2:byte
extern _Adc24_Cfg:near
extern _Adc24_Enable_2:byte
extern _Adc24_Enable:near
extern _Adc24_Poling:near
extern _Uart_TxByte_Interrupt_2:byte
extern _Uart_TxByte_Interrupt:near
extern _VirefCfg_2:byte
extern _VirefCfg:near
extern _Oscillators_Cfg_2:byte
extern _Oscillators_Cfg:near
extern _Uart_Cfg_2:byte
extern _Uart_Cfg:near

; 
; Generated by holtek-gcc v3.19, Mon Jan 06 09:49:11 2025
; Rebuild 718
; end of file
