; Generated by holtek-gcc v3.12, Mon Jan 06 15:43:02 2014
; 
; Configuration:
;       without long instruction
;       Single ROM, Multi-RAM
;       bits_per_rom_unit:16
;       with mp1
;       with tbhp, address(0xc)
;          Use ret-const
;       
;       

#pragma translator "holtek-gcc 4.6.4" "3.12" "build 20130711"
; Rebuild 37

ir equ [2]
mp equ [3]
sbp equ [7]
acc equ [5]
bp equ [4]
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
@HCCINIT	.section 'data'
@HCCINIT0	.section 'data'

#pragma debug scope 1 1
public __send_voice_byte
#pragma debug scope 2 1
#line 134 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
__send_voice_byte .section 'code'
__send_voice_byte proc
    local __send_voice_byte_2 db 1 dup(?)	; 0,1
	mov __send_voice_byte_2[0],a
#pragma debug variable 8 2 __send_voice_byte_2+0 "send_data"
#line 135 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr [57].1
#line 136 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr [57].0
#line 137 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,[5]
	mov [56],a
_L2:
#line 138 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	sz [57].1
	jmp _L2
_L4:
#line 139 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	snz [57].0
	jmp _L4
#line 140 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,[56]
	mov [5],a
	ret
__send_voice_byte endp
#line 140 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
#pragma debug scope 1 1
public __VOICEUP
#pragma debug scope 3 1
#line 145 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
__VOICEUP .section 'code'
__VOICEUP proc
#line 146 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr [63]
#line 147 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr [62]
#line 148 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr _voice_data_l[0]
#line 149 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr _voice_data_h[0]
	clr rb
	clr ra
_L8:
#line 151 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
;# 151 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c" 1
	clr wdt
#line 153 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,4
	mov [5],a
#line 154 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	jmp _L9
_L10:
#line 156 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	dec [5]
_L9:
#line 154 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	sz [5]
	jmp _L10
#line 158 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,ra
	and a,128
	mov [5],a
#line 160 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	inca ra
	mov rc,a
	mov a,rb
	add a,16
	mov rd,a
	mov a,[5]
	sub a,128
	sz z
	jmp _L11
#line 163 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	set [10].0
#line 165 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,rd
	mov [62],a
#line 166 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,rc
	mov [63],a
#line 167 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,rd
	mov rb,a
	mov a,rc
	mov ra,a
	jmp _L8
_L11:
	mov a,ra
	mov _voice_data_h[0],a
	mov a,rb
	mov _voice_data_l[0],a
	ret
__VOICEUP endp
#line 167 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
#pragma debug scope 1 1
public __VOICEDOWN
#pragma debug scope 4 1
#line 172 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
__VOICEDOWN .section 'code'
__VOICEDOWN proc
#line 173 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,_voice_data_l[0]
	mov [62],a
#line 174 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,_voice_data_h[0]
	mov [63],a
_L21:
#line 176 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
;# 176 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c" 1
	clr wdt
#line 177 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,4
	mov [5],a
#line 178 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	jmp _L14
_L15:
#line 180 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	dec [5]
_L14:
#line 178 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	sz [5]
	jmp _L15
#line 183 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,[62]
	mov ra,a
	mov a,[63]
	mov rb,a
	mov a,0
	sub a,rb
	mov rc,a
	mov a,rc
	or a,rb
	mov rb,a
	sz rb.7
	jmp _L20
	mov a,0
	sub a,ra
	mov rb,a
	mov a,rb
	or a,ra
	mov ra,a
	snz ra.7
	jmp _L16
_L20:
#line 185 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	sz [62]
	jmp _L18
#line 187 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	dec [63]
#line 188 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,240
	mov [62],a
	jmp _L21
_L18:
#line 191 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,240
	addm a,[62]
	jmp _L21
_L16:
#line 195 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
;# 195 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c" 1
	clr wdt
	ret
__VOICEDOWN endp
#line 195 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
#pragma debug scope 1 1
public __Get_Send_Byte
#pragma debug scope 5 1
#line 262 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
__Get_Send_Byte .section 'code'
__Get_Send_Byte proc
#line 263 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr [57].1
#line 264 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr [57].0
#line 265 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,[5]
	mov [56],a
_L23:
#line 266 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	sz [57].1
	jmp _L23
_L25:
#line 267 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	snz [57].0
	jmp _L25
#line 268 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,[56]
	mov [5],a
	ret
__Get_Send_Byte endp
#line 268 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
#pragma debug scope 1 1
public _Get_Voice_Data_ISR
#pragma debug scope 6 1
#line 202 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
@Get_Voice_Data_ISR_code .section at 12 'code'
	mov _Get_Voice_Data_ISRfs[0],a
	mov a, bp
	mov _Get_Voice_Data_ISRfs[1],a
	jmp _Get_Voice_Data_ISR
;; (Get_Voice_Data_ISR) begin
_Get_Voice_Data_ISR .section 'code'
_Get_Voice_Data_ISR proc
public _Get_Voice_Data_ISRfs
local _Get_Voice_Data_ISRfs db 5 dup(?)
	mov a, status
	mov _Get_Voice_Data_ISRfs[2],a
	mov a,mp
	mov _Get_Voice_Data_ISRfs[3],a
	mov a,sbp
	mov _Get_Voice_Data_ISRfs[4],a
#line 203 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,_controlcode[0]
	mov ra,a
	sz ra
	jmp _LI1
	jmp _L30
_LI1:
#line 203 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,ra
	sub a,6
	snz z
	jmp _L41
_L30:
#line 207 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,_voice_data_l[0]
	mov [62],a
#line 208 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,_voice_data_h[0]
	mov [63],a
#line 209 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,_voice_length_L[0]
	mov rb,a
	mov a,_voice_length_h[0]
	mov rc,a
	sz rc
	jmp _L31
	sz rb
	jmp _L31
#line 211 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,85
	mov _controlcode[0],a
#line 212 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	jmp _L28
_L31:
#line 216 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	sz rb
	jmp _LI2
	jmp _L35
_LI2:
#line 217 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	deca rb
	mov _voice_length_L[0],a
	jmp _L36
_L35:
#line 220 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	deca rc
	mov _voice_length_h[0],a
#line 221 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	set _voice_length_L[0]
_L36:
#line 225 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,ra
	sub a,6
	snz z
	jmp _L28
#line 227 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	sz _bitvar[0].0
	jmp _L37
#line 229 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	set _bitvar[0].0
#line 230 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	call __Get_Send_Byte
#line 231 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,[5]
	mov _voice_data_h[0],a
#line 232 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	call __Get_Send_Byte
#line 233 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,[5]
	mov _voice_data_l[0],a
	jmp _L28
_L37:
#line 237 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr _bitvar[0].0
#line 238 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	call __Get_Send_Byte
#line 239 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,[5]
	mov _voice_data_h[0],a
#line 240 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
;# 240 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c" 1
	swap _voice_data_l[0]
	jmp _L28
_L41:
#line 245 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	call __Get_Send_Byte
#line 246 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,[5]
	mov ra,a
	mov a,ra
	mov _controlcode[0],a
#line 247 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	siza ra
	jmp _L38
#line 248 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	set _bitvar[0].1
	jmp _L28
_L38:
#line 251 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	call __Get_Send_Byte
#line 252 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,[5]
	mov _voice_length_L[0],a
#line 253 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	call __Get_Send_Byte
#line 254 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,[5]
	mov _voice_length_h[0],a
_L28:
	mov a,_Get_Voice_Data_ISRfs[1]
	mov bp,a
	mov a,_Get_Voice_Data_ISRfs[2]
	mov status,a
	mov a,_Get_Voice_Data_ISRfs[3]
	mov mp,a
	mov a,_Get_Voice_Data_ISRfs[4]
	mov sbp,a
	mov a,_Get_Voice_Data_ISRfs[0]
	reti
_Get_Voice_Data_ISR endp

@dummy12 proc
	call _Get_Voice_Data_ISR
@dummy12 endp

#line 254 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
#pragma debug scope 1 1
public _PLAY_VOICE
#pragma debug scope 7 1
#line 45 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
_PLAY_VOICE .section 'code'
_PLAY_VOICE proc
    local _PLAY_VOICE_2 db 7 dup(?)	; 0,7
	mov _PLAY_VOICE_2[6],a
#pragma debug variable 8 7 _PLAY_VOICE_2+6 "voice_num"
#pragma debug variable 8 7 _PLAY_VOICE_2+5 "voice_address_index_l"
#pragma debug variable 8 7 _PLAY_VOICE_2+4 "voice_address_index_m"
#pragma debug variable 8 7 _PLAY_VOICE_2+3 "voice_address_index_h"
#pragma debug variable 8 7 _PLAY_VOICE_2+2 "voice_start_address_h"
#pragma debug variable 8 7 _PLAY_VOICE_2+1 "voice_start_address_m"
#pragma debug variable 8 7 _PLAY_VOICE_2+0 "voice_start_address_l"
#line 55 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr [22].0
#line 56 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr [23].0
#line 57 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr [23].1
#line 58 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr [22].1
#line 59 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	call __VOICEUP
#line 61 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,_PLAY_VOICE_2[6]
	add a,_PLAY_VOICE_2[6]
	mov ra,a
	mov a,ra
	add a,ra
	mov _PLAY_VOICE_2[5],a
#line 62 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,_PLAY_VOICE_2[5]
	sub a,_PLAY_VOICE_2[6]
	mov ra,a
	mov a,ra
	add a,32
	mov _PLAY_VOICE_2[5],a
#line 63 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr _PLAY_VOICE_2[4]
#line 64 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr _PLAY_VOICE_2[3]
#line 66 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,2
	mov [54],a
#line 67 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,60
	mov [57],a
#line 68 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr [11].0
#line 70 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	set [57].2
#line 71 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,11
	call __send_voice_byte
#line 72 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,_PLAY_VOICE_2[3]
	mov ra,a
	mov a,ra
	call __send_voice_byte
#line 73 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,_PLAY_VOICE_2[4]
	mov ra,a
	mov a,ra
	call __send_voice_byte
#line 74 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,_PLAY_VOICE_2[5]
	mov ra,a
	mov a,ra
	call __send_voice_byte
#line 75 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,0
	call __send_voice_byte
#line 77 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
;# 77 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c" 1
	clr wdt
#line 78 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	call __Get_Send_Byte
#line 79 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,[5]
	mov _PLAY_VOICE_2[0],a
#line 81 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	call __Get_Send_Byte
#line 82 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,[5]
	mov _PLAY_VOICE_2[1],a
#line 84 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	call __Get_Send_Byte
#line 85 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,[5]
	mov _PLAY_VOICE_2[2],a
#line 87 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr [57].2
#line 89 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
;# 89 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c" 1
	clr wdt
#line 90 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,9
	addm a,_PLAY_VOICE_2[0]
#line 93 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	set [57].2
#line 95 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,11
	call __send_voice_byte
#line 96 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,_PLAY_VOICE_2[2]
	mov ra,a
	mov a,ra
	call __send_voice_byte
#line 97 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,_PLAY_VOICE_2[1]
	mov ra,a
	mov a,ra
	call __send_voice_byte
#line 98 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,_PLAY_VOICE_2[0]
	mov ra,a
	mov a,ra
	call __send_voice_byte
#line 99 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,0
	call __send_voice_byte
#line 101 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
;# 101 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c" 1
	clr wdt
#line 103 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,130
	mov [14],a
#line 104 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,165
	mov [13],a
#line 106 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	set [11].0
#line 107 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	set [11].3
#line 108 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	set [14].4
#line 110 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr _voice_length_L[0]
#line 111 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr _voice_length_h[0]
#line 112 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr _bitvar[0].1
#line 113 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,85
	mov _controlcode[0],a
#line 115 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,97
	mov [25],a
#line 117 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	jmp _L43
_L44:
#line 118 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
;# 118 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c" 1
	clr wdt
_L43:
#line 117 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	snz _bitvar[0].1
	jmp _L44
#line 120 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr [14].4
#line 121 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr [11].0
#line 122 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr [23].1
#line 123 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	set [22].1
#line 124 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	call __VOICEDOWN
#line 125 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr [22].0
#line 126 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	set [23].0
#line 127 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	mov a,224
	mov [25],a
#line 128 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr [57].2
#line 129 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
	clr [54].1
	ret
_PLAY_VOICE endp
#line 129 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
#pragma debug scope 1 1
#line 29 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
public _bitvar
@HCCINIT0 .section 'data'
_bitvar	db 0
#pragma debug struct_begin 42 "__fg1_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 ""
#pragma debug field 2 42 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 43 1 _bitvar "bitvar"

@HCCINIT .section 'data'
#line 12 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
public _voice_length_L
@HCCINIT0 .section 'data'
_voice_length_L	db 0
#pragma debug variable 8 1 _voice_length_L "voice_length_L"

@HCCINIT .section 'data'
#line 12 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
public _voice_length_h
@HCCINIT0 .section 'data'
_voice_length_h	db 0
#pragma debug variable 8 1 _voice_length_h "voice_length_h"

@HCCINIT .section 'data'
#line 11 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
public _voice_data_h
@HCCINIT0 .section 'data'
_voice_data_h	db 0
#pragma debug variable 8 1 _voice_data_h "voice_data_h"

@HCCINIT .section 'data'
#line 11 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
public _voice_data_l
@HCCINIT0 .section 'data'
_voice_data_l	db 0
#pragma debug variable 8 1 _voice_data_l "voice_data_l"

@HCCINIT .section 'data'
#line 10 "C:\Users\hbinlan\Desktop\HT45F24A獨立型語音報警煙感器\PRG\Smoke_Sensor_DB_C_V02\Voice_Play.c"
public _controlcode
@HCCINIT0 .section 'data'
_controlcode	db 0
#pragma debug variable 8 1 _controlcode "controlcode"

@HCCINIT .section 'data'
___acc equ [005h]
#pragma debug variable 8 1 [005h] "__acc" 1
___status equ [00ah]
#pragma debug struct_begin 44 "__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 2 ;6,2
#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 [00ah] "__status" 1
___intc0 equ [00bh]
#pragma debug struct_begin 46 "__intc0_bits"
#pragma debug field 21 8 0 1 "__emi" ;0,1
#pragma debug field 21 8 0 1 "__eei0" ;1,1
#pragma debug field 21 8 0 1 "__eei1" ;2,1
#pragma debug field 21 8 0 1 "__et0i" ;3,1
#pragma debug field 21 8 0 1 "__eif0" ;4,1
#pragma debug field 21 8 0 1 "__eif1" ;5,1
#pragma debug field 21 8 0 1 "__t0f" ;6,1
#pragma debug field 21 8 0 1 ;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 [00bh] "__intc0" 1
___tmr0 equ [00dh]
#pragma debug variable 8 1 [00dh] "__tmr0" 1
___tmr0c equ [00eh]
#pragma debug struct_begin 48 "__tmr0c_bits"
#pragma debug field 21 8 0 1 "__topsc0" ;0,1
#pragma debug field 21 8 0 1 "__topsc1" ;1,1
#pragma debug field 21 8 0 1 "__topsc2" ;2,1
#pragma debug field 21 8 0 1 "__t0e" ;3,1
#pragma debug field 21 8 0 1 "__t0on" ;4,1
#pragma debug field 21 8 0 1 ;5,1
#pragma debug field 21 8 0 1 "__t0m0" ;6,1
#pragma debug field 21 8 0 1 "__t0m1" ;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 [00eh] "__tmr0c" 1
___pc equ [016h]
#pragma debug struct_begin 50 "__pc_bits"
#pragma debug field 21 8 0 1 "__pc0" ;0,1
#pragma debug field 21 8 0 1 "__pc1" ;1,1
#pragma debug field 21 8 0 1 "__pc2" ;2,1
#pragma debug field 21 8 0 1 "__pc3" ;3,1
#pragma debug field 21 8 0 1 "__pc4" ;4,1
#pragma debug field 21 8 0 1 "__pc5" ;5,1
#pragma debug field 21 8 0 1 "__pc6" ;6,1
#pragma debug field 21 8 0 1 "__pc7" ;7,1
#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 [016h] "__pc" 1
___pcc equ [017h]
#pragma debug struct_begin 52 "__pcc_bits"
#pragma debug field 21 8 0 1 "__pcc0" ;0,1
#pragma debug field 21 8 0 1 "__pcc1" ;1,1
#pragma debug field 21 8 0 1 "__pcc2" ;2,1
#pragma debug field 21 8 0 1 "__pcc3" ;3,1
#pragma debug field 21 8 0 1 "__pcc4" ;4,1
#pragma debug field 21 8 0 1 "__pcc5" ;5,1
#pragma debug field 21 8 0 1 "__pcc6" ;6,1
#pragma debug field 21 8 0 1 "__pcc7" ;7,1
#pragma debug struct_end
#pragma debug union_begin 53 ""
#pragma debug field 2 52 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 53 1 [017h] "__pcc" 1
___dactrl equ [019h]
#pragma debug struct_begin 54 "__dactrl_bits"
#pragma debug field 21 8 0 1 "__dacen" ;0,1
#pragma debug field 21 8 0 4 ;1,4
#pragma debug field 21 8 0 1 "__vol0" ;5,1
#pragma debug field 21 8 0 1 "__vol1" ;6,1
#pragma debug field 21 8 0 1 "__vol2" ;7,1
#pragma debug struct_end
#pragma debug union_begin 55 ""
#pragma debug field 2 54 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 55 1 [019h] "__dactrl" 1
___simc0 equ [036h]
#pragma debug struct_begin 56 "__simc0_bits"
#pragma debug field 21 8 0 1 ;0,1
#pragma debug field 21 8 0 1 "__simen" ;1,1
#pragma debug field 21 8 0 1 "__pckp0" ;2,1
#pragma debug field 21 8 0 1 "__pckp1" ;3,1
#pragma debug field 21 8 0 1 "__pcken" ;4,1
#pragma debug field 21 8 0 1 "__sim0" ;5,1
#pragma debug field 21 8 0 1 "__sim1" ;6,1
#pragma debug field 21 8 0 1 "__sim2" ;7,1
#pragma debug struct_end
#pragma debug union_begin 57 ""
#pragma debug field 2 56 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 57 1 [036h] "__simc0" 1
___simd equ [038h]
#pragma debug variable 8 1 [038h] "__simd" 1
___simc2 equ [039h]
#pragma debug struct_begin 58 "__simc2_bits"
#pragma debug field 21 8 0 1 "__trf" ;0,1
#pragma debug field 21 8 0 1 "__wcol" ;1,1
#pragma debug field 21 8 0 1 "__csen" ;2,1
#pragma debug field 21 8 0 1 "__mls" ;3,1
#pragma debug field 21 8 0 1 "__ckeg" ;4,1
#pragma debug field 21 8 0 1 "__ckpolb" ;5,1
#pragma debug field 21 8 0 2 ;6,2
#pragma debug struct_end
#pragma debug union_begin 59 ""
#pragma debug field 2 58 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 59 1 [039h] "__simc2" 1
___dal equ [03eh]
#pragma debug variable 8 1 [03eh] "__dal" 1
___dah equ [03fh]
#pragma debug variable 8 1 [03fh] "__dah" 1

; 
; Generated by holtek-gcc v3.12, Mon Jan 06 15:43:02 2014
; Rebuild 37
; end of file
