; Generated by holtek-gcc v3.19, Mon Jan 06 09:49:12 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
___mp1h equ [4]
___mp1l equ [3]
___tblp equ [7]
___iar1 equ [2]
public _Ram_Clear
#pragma debug scope 2 1
#line 43 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\driver\Ram.c"
_Ram_Clear .section 'code'
_Ram_Clear proc
#line 44 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\driver\Ram.c"
	clr [4]
#line 45 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\driver\Ram.c"
	mov a,128
	mov [3],a
#line 46 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\driver\Ram.c"
	jmp _L2
_L5:
#line 48 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\driver\Ram.c"
	clr [7]
_L3:
	sz [7].7
	jmp _L7
#line 50 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\driver\Ram.c"
	clr [2]
#line 51 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\driver\Ram.c"
	inc [3]
#line 48 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\driver\Ram.c"
	inc [7]
	jmp _L3
_L7:
#line 53 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\driver\Ram.c"
	mov a,128
	mov [3],a
#line 54 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\driver\Ram.c"
	inc [4]
_L2:
#line 46 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\driver\Ram.c"
	mov a,15
	sub a,[4]
	sz c
	jmp _L5
	ret
_Ram_Clear endp
#line 46 "d:\d200\product\git\bh66f2455_evm_cgm\2.code\bh66f2455_driver\driver\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, Mon Jan 06 09:49:12 2025
; Rebuild 718
; end of file
