; Generated by holtek-gcc v3.19, Thu Dec 24 17:22:07 2020
; 
; Configuration:
;       without long instruction
;       Single ROM, Multi-RAM
;       bits_per_rom_unit:16
;       with mp1
;       with tbhp, address(0x9)
;          Use tabrd-const
;       
;       
;       
; 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 [1]
acc equ [5]
bp equ [4]
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
intc equ [11]

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 @HCCINIT, @HCCINIT0

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
public _Timebase0
#pragma debug scope 2 1
#line 10 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
@Timebase0_code .section at 28 'code'
	mov r1,a
	mov a,status
	mov r2,a
	jmp _Timebase0
#pragma debug scope 1 1
@dummy28 proc
	call _Timebase0
@dummy28 endp
#pragma debug scope 3 1
_Timebase0 .section 'code'
_Timebase0 proc
#line 11 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	inc _gu8v_500msCount[0]
#line 12 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	set _gu8_System_flag[0].1
	mov a,r2
	mov status,a
	mov a,r1
	reti
_Timebase0 endp

#line 12 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
#pragma debug scope 1 1
___pa equ [34]
___lcdc equ [63]
___ctmc0 equ [50]
___pas0 equ [80]
___pas1 equ [81]
public _Timebase1
#pragma debug scope 4 1
#line 16 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
@Timebase1_code .section at 32 'code'
	mov r1,a
	mov a,status
	mov r2,a
	jmp _Timebase1
#pragma debug scope 1 1
@dummy32 proc
	call _Timebase1
@dummy32 endp
#pragma debug scope 5 1
_Timebase1 .section 'code'
_Timebase1 proc
local _Timebase1_2 db 1 dup(?)
#line 17 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	snz _gu8_System_flag[0].4
	jmp _L4
#line 19 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	snz [34].7
	jmp _L5
#line 21 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	set _gu8_System_flag[0].2
	jmp _L7
_L5:
#line 24 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	snz _gu8_System_flag[0].2
	jmp _L4
#line 26 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	sz [34].7
	jmp _L7
#line 28 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	inc _gu8v_KeyCount[0]
#line 29 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	mov a,1
	sub a,_gu8v_KeyCount[0]
	sz c
	jmp _L4
#line 31 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	clr _gu8_System_flag[0].2
#line 32 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	clr _gu8v_KeyCount[0]
#line 33 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	mov a,2
	mov _gu8v_SysMode[0],a
#line 34 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	set _gu8_System_flag[0].3
#line 35 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	clr [63]
	clr [50].3
	mov a,192
	mov [80],a
	mov a,3
	mov [81],a
	jmp _L4
_L7:
#line 40 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	clr _gu8v_KeyCount[0]
_L4:
#line 45 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	mov a,_gu8v_Beep_Mode[0]
	mov _Timebase1_2[0],a
	mov a,_Timebase1_2[0]
	sub a,0
	sz z
	jmp _L9
	sub a,(1)-(0)
	sz z
	jmp _L10
	mov a,_Timebase1_2[0]
	sub a,2
	snz z
	jmp _L18
	jmp _L21
_L9:
#line 48 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	clr [50].3
#line 49 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	clr _gu8_System_flag[0].0
#line 50 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	clr _gbv_Beep_Count[0]
#line 51 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	jmp _L2
_L10:
#line 53 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	snz _gu8_System_flag[0].0
	jmp _L19
#line 60 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	clr [50].3
	jmp _L18
_L21:
#line 65 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	inc _gbv_Beep_Count[0]
#line 66 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	sz _gu8_System_flag[0].0
	jmp _L14
_L19:
#line 68 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	set _gu8_System_flag[0].0
#line 69 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	set [50].3
	jmp _L2
_L14:
#line 73 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	clr [50].3
#line 74 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	clr _gu8_System_flag[0].0
#line 75 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	mov a,4
	sub a,_gbv_Beep_Count[0]
	sz c
	jmp _L2
#line 77 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	clr _gbv_Beep_Count[0]
_L18:
#line 84 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
	clr _gu8v_Beep_Mode[0]
_L2:
	mov a,r2
	mov status,a
	mov a,r1
	reti
_Timebase1 endp

#line 84 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
#pragma debug scope 1 1
#line 6 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
public _gu8v_500msCount
@HCCINIT0 .section 'data'
_gu8v_500msCount	db 0
#pragma debug variable 8 1 _gu8v_500msCount "gu8v_500msCount"

@HCCINIT .section 'data'
#line 5 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
public _gbv_Beep_Count
@HCCINIT0 .section 'data'
_gbv_Beep_Count	db 0
#pragma debug variable 8 1 _gbv_Beep_Count "gbv_Beep_Count"

@HCCINIT .section 'data'
#line 4 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Interrupt.c"
public _gu8v_Beep_Mode
@HCCINIT0 .section 'data'
_gu8v_Beep_Mode	db 0
#pragma debug variable 8 1 _gu8v_Beep_Mode "gu8v_Beep_Mode"

@HCCINIT .section 'data'
#pragma debug struct_begin 42 "__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 43 ""
#pragma debug field 2 42 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 43 1 ___pa "__pa" 1
#pragma debug struct_begin 44 "__ctmc0_bits"
#pragma debug field 21 8 0 1 "__ctrp0" ;0,1
#pragma debug field 21 8 0 1 "__ctrp1" ;1,1
#pragma debug field 21 8 0 1 "__ctrp2" ;2,1
#pragma debug field 21 8 0 1 "__cton" ;3,1
#pragma debug field 21 8 0 1 "__ctck0" ;4,1
#pragma debug field 21 8 0 1 "__ctck1" ;5,1
#pragma debug field 21 8 0 1 "__ctck2" ;6,1
#pragma debug field 21 8 0 1 "__ctpau" ;7,1
#pragma debug struct_end
#pragma debug union_begin 45 ""
#pragma debug field 2 44 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 45 1 ___ctmc0 "__ctmc0" 1
#pragma debug struct_begin 46 "__lcdc_bits"
#pragma debug field 21 8 0 1 "__lcden" ;0,1
#pragma debug field 21 8 0 1 "__dtyc" ;1,1
#pragma debug field 21 8 0 1 "__pumpen" ;2,1
#pragma debug field 21 8 0 4 ;3,4
#pragma debug field 21 8 0 1 "__type" ;7,1
#pragma debug struct_end
#pragma debug union_begin 47 ""
#pragma debug field 2 46 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 47 1 ___lcdc "__lcdc" 1
#pragma debug struct_begin 48 "__pas0_bits"
#pragma debug field 21 8 0 2 ;0,2
#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 2 ;4,2
#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 49 ""
#pragma debug field 2 48 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 49 1 ___pas0 "__pas0" 1
#pragma debug struct_begin 50 "__pas1_bits"
#pragma debug field 21 8 0 1 "__pas10" ;0,1
#pragma debug field 21 8 0 1 "__pas11" ;1,1
#pragma debug field 21 8 0 6 ;2,6
#pragma debug struct_end
#pragma debug union_begin 51 ""
#pragma debug field 2 50 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 51 1 ___pas1 "__pas1" 1

; output external variables
extern _gu8v_SysMode:byte
extern _gu8v_KeyCount:byte
extern _gu8_System_flag:byte
extern r1:byte
extern r2:byte

; 
; Generated by holtek-gcc v3.19, Thu Dec 24 17:22:07 2020
; Rebuild 718
; end of file
