; Generated by holtek-gcc v3.19, Fri Jun 19 14:43:48 2020
; 
; Configuration:
;       with long instruction
;       Multi-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 = 16
;       
;       
; 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 [16]
mduwr0 equ [59h]
mduwr1 equ [5ah]
mduwr2 equ [5bh]
mduwr3 equ [5ch]
mduwr4 equ [5dh]
mduwr5 equ [5eh]
mduwrctrl equ [5fh]

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
___mp1h equ [4]
___mp1l equ [3]
___tblp equ [7]
___iar1 equ [2]
public _Drv_RamInit
#pragma debug scope 2 1
#line 30 "C:\Users\iris\Desktop\2. demo code\BH67F5362_12Bit ADC\BH67F5362_Drv\Drv_Ram.c"
_Drv_RamInit .section 'code'
_Drv_RamInit proc
#line 31 "C:\Users\iris\Desktop\2. demo code\BH67F5362_12Bit ADC\BH67F5362_Drv\Drv_Ram.c"
	clr [4]
#line 32 "C:\Users\iris\Desktop\2. demo code\BH67F5362_12Bit ADC\BH67F5362_Drv\Drv_Ram.c"
	mov a,128
	mov [3],a
#line 33 "C:\Users\iris\Desktop\2. demo code\BH67F5362_12Bit ADC\BH67F5362_Drv\Drv_Ram.c"
	jmp _L2
_L5:
#line 35 "C:\Users\iris\Desktop\2. demo code\BH67F5362_12Bit ADC\BH67F5362_Drv\Drv_Ram.c"
	clr [7]
_L3:
	sz [7].7
	jmp _L7
#line 37 "C:\Users\iris\Desktop\2. demo code\BH67F5362_12Bit ADC\BH67F5362_Drv\Drv_Ram.c"
	clr [2]
#line 38 "C:\Users\iris\Desktop\2. demo code\BH67F5362_12Bit ADC\BH67F5362_Drv\Drv_Ram.c"
	inc [3]
#line 35 "C:\Users\iris\Desktop\2. demo code\BH67F5362_12Bit ADC\BH67F5362_Drv\Drv_Ram.c"
	inc [7]
	jmp _L3
_L7:
#line 40 "C:\Users\iris\Desktop\2. demo code\BH67F5362_12Bit ADC\BH67F5362_Drv\Drv_Ram.c"
	mov a,128
	mov [3],a
#line 41 "C:\Users\iris\Desktop\2. demo code\BH67F5362_12Bit ADC\BH67F5362_Drv\Drv_Ram.c"
	inc [4]
_L2:
#line 33 "C:\Users\iris\Desktop\2. demo code\BH67F5362_12Bit ADC\BH67F5362_Drv\Drv_Ram.c"
	mov a,7
	sub a,[4]
	sz c
	jmp _L5
	ret
_Drv_RamInit endp
#line 33 "C:\Users\iris\Desktop\2. demo code\BH67F5362_12Bit ADC\BH67F5362_Drv\Drv_Ram.c"
#pragma debug scope 1 1
#pragma debug variable 8 1 ___mp1l "__mp1l" 1
#pragma debug variable 8 1 ___mp1h "__mp1h" 1
#pragma debug variable 8 1 ___tblp "__tblp" 1
#pragma debug variable 8 1 ___iar1 "__iar1" 1

; 
; Generated by holtek-gcc v3.19, Fri Jun 19 14:43:48 2020
; Rebuild 718
; end of file
