; Generated by holtek-gcc v3.19, Thu Dec 24 17:22:03 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
___bp equ [4]
___mp1 equ [3]
___tblp equ [7]
___iar1 equ [2]
___ctmah equ [55]
___ctmal equ [54]
___papu equ [36]
___pbpu equ [40]
public _fun_Ram_CLear
#pragma debug scope 2 1
#line 25 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Ram.c"
_fun_Ram_CLear .section 'code'
_fun_Ram_CLear proc
#line 29 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Ram.c"
	clr [4]
#line 32 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Ram.c"
	mov a,128
	mov [3],a
#line 33 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Ram.c"
	clr [7]
_L2:
#line 33 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Ram.c"
	sz [7].7
	jmp _L6
#line 35 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Ram.c"
	clr [2]
#line 36 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Ram.c"
	inc [3]
#line 33 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Ram.c"
	inc [7]
	jmp _L2
_L6:
#line 38 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Ram.c"
	mov a,[4]
	mov ra,a
#line 75 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Ram.c"
	mov a,[55]
	mov ra,a
#line 77 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Ram.c"
	mov a,[54]
	sub a,85
	snz z
	jmp _L1
#line 79 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Ram.c"
	mov a,[36]
	mov _gu16v_MemData[1],a
#line 80 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Ram.c"
	mov a,[40]
	mov _gu16v_MemData[0],a
#line 81 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Ram.c"
	clr [36]
#line 82 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Ram.c"
	clr [40]
_L1:
	ret
_fun_Ram_CLear endp
#line 82 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\Ram.c"
#pragma debug scope 1 1
#pragma debug variable 8 1 ___mp1 "__mp1" 1
#pragma debug struct_begin 42 "__bp_bits"
#pragma debug field 21 8 0 1 "__dmbp0" ;0,1
#pragma debug field 21 8 0 1 "__dmbp1" ;1,1
#pragma debug field 21 8 0 1 "__dmbp2" ;2,1
#pragma debug field 21 8 0 5 ;3,5
#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 ___bp "__bp" 1
#pragma debug variable 8 1 ___tblp "__tblp" 1
#pragma debug struct_begin 44 "__papu_bits"
#pragma debug field 21 8 0 1 "__papu0" ;0,1
#pragma debug field 21 8 0 1 "__papu1" ;1,1
#pragma debug field 21 8 0 1 "__papu2" ;2,1
#pragma debug field 21 8 0 1 "__papu3" ;3,1
#pragma debug field 21 8 0 1 "__papu4" ;4,1
#pragma debug field 21 8 0 1 "__papu5" ;5,1
#pragma debug field 21 8 0 1 "__papu6" ;6,1
#pragma debug field 21 8 0 1 "__papu7" ;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 ___papu "__papu" 1
#pragma debug struct_begin 46 "__pbpu_bits"
#pragma debug field 21 8 0 1 ;0,1
#pragma debug field 21 8 0 1 "__pbpu1" ;1,1
#pragma debug field 21 8 0 1 "__pbpu2" ;2,1
#pragma debug field 21 8 0 1 "__pbpu3" ;3,1
#pragma debug field 21 8 0 1 "__pbpu4" ;4,1
#pragma debug field 21 8 0 1 "__pbpu5" ;5,1
#pragma debug field 21 8 0 1 "__pbpu6" ;6,1
#pragma debug field 21 8 0 1 "__pbpu7" ;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 ___pbpu "__pbpu" 1
#pragma debug variable 8 1 ___ctmal "__ctmal" 1
#pragma debug variable 8 1 ___ctmah "__ctmah" 1
#pragma debug variable 8 1 ___iar1 "__iar1" 1

; output external variables
extern _gu16v_MemData:byte

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