; Generated by holtek-gcc v3.19, Mon Jan 18 15:31:19 2021
; 
; 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 = 33
;       
;       
; 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 [33]

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
___ctm0c0 equ [80]
___ctm0c1 equ [81]
___ctm0al equ [84]
___ctm0ah equ [85]
___pscr equ [42]
___tb0c equ [43]
public _fun_TimeInit
#pragma debug scope 2 1
#line 24 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
_fun_TimeInit .section 'code'
_fun_TimeInit proc
#line 26 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	clr [80].6
	clr [80].5
	clr [80].4
#line 27 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	clr [80].2
	set [80].1
	set [80].0
#line 28 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	set [81].7
	clr [81].6
	set [81].5
	clr [81].4
#line 29 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	clr [81].1
#line 30 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	clr [81].0
#line 32 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	mov a,192
	mov [84],a
#line 33 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	clr [85]
#line 40 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	mov a,2
	mov [42],a
#line 41 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	set [43].7
	ret
_fun_TimeInit endp
#line 41 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
#pragma debug scope 1 1
public _fun_SysTimeScan
#pragma debug scope 3 1
#line 73 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
_fun_SysTimeScan .section 'code'
_fun_SysTimeScan proc
#line 75 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	inca _SDK_TM[0]
	mov ra,a
#line 76 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	mov a,59
	sub a,ra
	snz c
	jmp _L3
#line 75 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	mov a,ra
	mov _SDK_TM[0],a
	jmp _L4
_L3:
#line 78 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	clr _SDK_TM[0]
#line 79 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	set _SDK_TM[3].3
#line 80 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	clr ra
	snz _SDK_TM[3].5
	set ra.5
	clr _SDK_TM[3].5
	mov a,ra
	orm a,_SDK_TM[3]
#line 81 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	inc _SDK_TM[2]
_L4:
#line 84 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	inca _SDK_TM[1]
	mov ra,a
#line 85 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	mov a,99
	sub a,ra
	snz c
	jmp _L5
#line 84 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	mov a,ra
	mov _SDK_TM[1],a
	jmp _L2
_L5:
#line 87 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	clr _SDK_TM[1]
#line 88 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
	set _SDK_TM[3].4
_L2:
	ret
_fun_SysTimeScan endp
#line 88 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
#pragma debug scope 1 1
#line 15 "\\dgdc1\y680\y680 對外資料\0 開發板資料\bmhb6003-bh67f2752\sw\sw_bh67f2752_temp_lib_stp9cf55h_20200319\USER\Timer.c"
public _SDK_TM
@HCCINIT0_SDK_TM .section 'data'
_SDK_TM	db 4 dup(0)
#pragma debug struct_begin 42 "__8_bits"
#pragma debug field 21 8 0 1 "b0" ;0,1
#pragma debug field 21 8 0 1 "b1" ;1,1
#pragma debug field 21 8 0 1 "b2" ;2,1
#pragma debug field 21 8 0 1 "b3" ;3,1
#pragma debug field 21 8 0 1 "b4" ;4,1
#pragma debug field 21 8 0 1 "b5" ;5,1
#pragma debug field 21 8 0 1 "b6" ;6,1
#pragma debug field 21 8 0 1 "b7" ;7,1
#pragma debug struct_end
#pragma debug union_begin 43 "__8_type"
#pragma debug field 2 42 "bits"
#pragma debug field 0 8 "U8"
#pragma debug field 0 8 "S8"
#pragma debug union_end
#pragma debug struct_begin 44 ""
#pragma debug field 0 8 "Count1"
#pragma debug field 0 8 "Count2"
#pragma debug field 0 8 "HaltTime"
#pragma debug field 3 43 "Status"
#pragma debug struct_end
#pragma debug variable 44 1 _SDK_TM "SDK_TM"

@HCCINIT .section 'data'
#pragma debug struct_begin 45 "__pscr_bits"
#pragma debug field 21 8 0 1 "__clksel0" ;0,1
#pragma debug field 21 8 0 1 "__clksel1" ;1,1
#pragma debug field 21 8 0 6 ;2,6
#pragma debug struct_end
#pragma debug union_begin 46 ""
#pragma debug field 2 45 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 46 1 ___pscr "__pscr" 1
#pragma debug struct_begin 47 "__tb0c_bits"
#pragma debug field 21 8 0 1 "__tb00" ;0,1
#pragma debug field 21 8 0 1 "__tb01" ;1,1
#pragma debug field 21 8 0 1 "__tb02" ;2,1
#pragma debug field 21 8 0 4 ;3,4
#pragma debug field 21 8 0 1 "__tb0on" ;7,1
#pragma debug struct_end
#pragma debug union_begin 48 ""
#pragma debug field 2 47 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 48 1 ___tb0c "__tb0c" 1
#pragma debug struct_begin 49 "__ctm0c0_bits"
#pragma debug field 21 8 0 1 "__ct0rp0" ;0,1
#pragma debug field 21 8 0 1 "__ct0rp1" ;1,1
#pragma debug field 21 8 0 1 "__ct0rp2" ;2,1
#pragma debug field 21 8 0 1 "__ct0on" ;3,1
#pragma debug field 21 8 0 1 "__ct0ck0" ;4,1
#pragma debug field 21 8 0 1 "__ct0ck1" ;5,1
#pragma debug field 21 8 0 1 "__ct0ck2" ;6,1
#pragma debug field 21 8 0 1 "__ct0pau" ;7,1
#pragma debug struct_end
#pragma debug union_begin 50 ""
#pragma debug field 2 49 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 50 1 ___ctm0c0 "__ctm0c0" 1
#pragma debug struct_begin 51 "__ctm0c1_bits"
#pragma debug field 21 8 0 1 "__ct0cclr" ;0,1
#pragma debug field 21 8 0 1 "__ct0dpx" ;1,1
#pragma debug field 21 8 0 1 "__ct0pol" ;2,1
#pragma debug field 21 8 0 1 "__ct0oc" ;3,1
#pragma debug field 21 8 0 1 "__ct0io0" ;4,1
#pragma debug field 21 8 0 1 "__ct0io1" ;5,1
#pragma debug field 21 8 0 1 "__ct0m0" ;6,1
#pragma debug field 21 8 0 1 "__ct0m1" ;7,1
#pragma debug struct_end
#pragma debug union_begin 52 ""
#pragma debug field 2 51 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 52 1 ___ctm0c1 "__ctm0c1" 1
#pragma debug variable 8 1 ___ctm0al "__ctm0al" 1
#pragma debug variable 8 1 ___ctm0ah "__ctm0ah" 1

; 
; Generated by holtek-gcc v3.19, Mon Jan 18 15:31:19 2021
; Rebuild 718
; end of file
