; Generated by holtek-gcc v3.19, Thu Dec 24 17:22:01 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
___eea equ [65]
___eed equ [66]
___bp equ [4]
___mp1 equ [3]
___iar1 equ [2]
public _fun_eeprom_Write
#pragma debug scope 2 1
#line 12 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
_fun_eeprom_Write .section 'code'
_fun_eeprom_Write proc
public _fun_eeprom_Write_2
    local _fun_eeprom_Write_2 db 2 dup(?)	; 1,1
	mov ra,a
	mov _fun_eeprom_Write_2[1],a
#pragma debug variable 8 2 _fun_eeprom_Write_2+1 "lu8v_addr"
#pragma debug variable 8 2 _fun_eeprom_Write_2+0 "lu8v_data"
#line 14 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
	mov a,ra
	mov [65],a
#line 15 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
	mov a,_fun_eeprom_Write_2[0]
	mov [66],a
#line 19 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
	mov a,1
	mov [4],a
#line 20 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
	mov a,64
	mov [3],a
#line 21 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
	set [2].3
#line 22 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
	set [2].2
_L3:
#line 23 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
	sz [2].2
	jmp _L3
#line 24 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
	clr [2].3
#line 25 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
	clr [4]
	ret
_fun_eeprom_Write endp
#line 25 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
#pragma debug scope 1 1
public _fun_eeprom_Read
#pragma debug scope 3 1
#line 50 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
_fun_eeprom_Read .section 'code'
_fun_eeprom_Read proc
    local _fun_eeprom_Read_2 db 1 dup(?)	; 0,1
	mov ra,a
	mov _fun_eeprom_Read_2[0],a
#pragma debug variable 8 3 _fun_eeprom_Read_2+0 "lu8v_addr"
#line 53 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
	mov a,ra
	mov [65],a
#line 58 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
	mov a,1
	mov [4],a
#line 59 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
	mov a,64
	mov [3],a
#line 60 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
	set [2].1
#line 61 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
	set [2].0
_L7:
#line 63 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
	sz [2].0
	jmp _L7
#line 64 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
	mov a,[66]
	mov ra,a
#line 65 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
	clr [2].1
#line 83 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.c"
	mov a,ra
	ret
_fun_eeprom_Read endp
#line 83 "\\dgdc1\Y680\Y680 對外資料\0 開發板資料\BH67F2132DemoBoard\BH67F2132-SoftWare\USER\eeprom.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 struct_begin 44 "__eea_bits"
#pragma debug field 21 8 0 1 "__eea0" ;0,1
#pragma debug field 21 8 0 1 "__eea1" ;1,1
#pragma debug field 21 8 0 1 "__eea2" ;2,1
#pragma debug field 21 8 0 1 "__eea3" ;3,1
#pragma debug field 21 8 0 1 "__eea4" ;4,1
#pragma debug field 21 8 0 1 "__eea5" ;5,1
#pragma debug field 21 8 0 1 "__eea6" ;6,1
#pragma debug field 21 8 0 1 ;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 ___eea "__eea" 1
#pragma debug variable 8 1 ___eed "__eed" 1
#pragma debug variable 8 1 ___iar1 "__iar1" 1

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