⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 s6b0108.a30

📁 电表解决方案概要power_meter_r8c2g_source_code
💻 A30
📖 第 1 页 / 共 5 页
字号:
	._inspect	'V', 'e', "nBitmapDot2_FengGan_Num_3_0", 'G', 426, 0, 0, 0, 00h
	._inspect	'V', 'e', "nBitmapDot2_FengGan_Num_4_0", 'G', 427, 0, 0, 0, 00h
	._inspect	'V', 'e', "nBitmapDot2_FengGan_Num_0_0", 'G', 428, 0, 0, 0, 00h

	._inspect	'M', "D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/disp_definel.h", "D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/s6b0108"
	._inspect	'F', 'p', "cpu_init", "_cpu_init", 'G', 152, 0, 00h, 0
	._inspect	'F', 'p', "sfr_ref", "_sfr_ref", 'G', 153, 0, 00h, 0
	._inspect	'F', 'p', "sfr_init", "_sfr_init", 'G', 154, 0, 00h, 0
	._inspect	'F', 'p', "ram_init", "_ram_init", 'G', 155, 0, 00h, 0
	._inspect	'F', 'p', "disp_key_power", "_disp_key_power", 'G', 158, 0, 00h, 0
	._inspect	'F', 'p', "disp_key_start", "_disp_key_start", 'G', 159, 0, 00h, 0
	._inspect	'F', 'p', "disp_key_setup", "_disp_key_setup", 'G', 160, 0, 00h, 0
	._inspect	'F', 'p', "disp_key_confirm", "_disp_key_confirm", 'G', 162, 0, 00h, 0
	._inspect	'F', 'p', "disp_key_function", "_disp_key_function", 'G', 164, 0, 00h, 0
	._inspect	'F', 'p', "disp_key_program", "_disp_key_program", 'G', 165, 0, 00h, 0
	._inspect	'F', 'p', "disp_key_water", "_disp_key_water", 'G', 166, 0, 00h, 0
	._inspect	'F', 'p', "key_scan", "_key_scan", 'G', 168, 0, 00h, 0
	._inspect	'F', 'p', "key_judge", "_key_judge", 'G', 169, 0, 00h, 0
	._inspect	'F', 'p', "menu_display", "_menu_display", 'G', 170, 0, 00h, 0
	._inspect	'F', 'p', "display_status_judge", "_display_status_judge", 'G', 171, 0, 00h, 0
	._inspect	'F', 'p', "process_flash", "$process_flash", 'G', 177, 0, 00h, 0
	._inspect	'F', 'p', "lcd_flash", "$lcd_flash", 'G', 180, 0, 00h, 0
	._inspect	'F', 'p', "menu_page_shift", "$menu_page_shift", 'G', 183, 0, 00h, 0
	._inspect	'V', 'e', "power_down_byte", 'G', 187, 1, 0, 0, 00h
	._inspect	'V', 'e', "Lcd_Byte_0", 'G', 212, 1, 0, 0, 00h
	._inspect	'V', 'e', "Lcd_Byte_1", 'G', 213, 1, 0, 0, 00h
	._inspect	'V', 'e', "Lcd_Byte_2", 'G', 214, 1, 0, 0, 00h
	._inspect	'V', 'e', "first_key_press", 'G', 243, 2, 0, 0, 00h
	._inspect	'V', 'e', "confirm_key_press", 'G', 244, 2, 0, 0, 00h
	._inspect	'V', 'e', "once_set_key_press", 'G', 245, 2, 0, 0, 00h
	._inspect	'V', 'e', "display_flag_1", 'G', 247, 2, 0, 0, 00h
	._inspect	'V', 'e', "process_flag_1", 'G', 249, 2, 0, 0, 00h
	._inspect	'V', 'e', "process_flag_2", 'G', 250, 2, 0, 0, 00h
	._inspect	'V', 'e', "key_flag_1", 'G', 273, 2, 0, 0, 00h
	._inspect	'V', 'e', "key_flag_2", 'G', 274, 2, 0, 0, 00h
	._inspect	'V', 'e', "operation_flag_1", 'G', 276, 2, 0, 0, 00h
	._inspect	'V', 'e', "operation_flag_2", 'G', 277, 2, 0, 0, 00h
	._inspect	'V', 'e', "operation_flag_3", 'G', 278, 2, 0, 0, 00h
	._inspect	'V', 'e', "operation_flag_4", 'G', 279, 2, 0, 0, 00h
	._inspect	'V', 'e', "operation_flag_5", 'G', 280, 2, 0, 0, 00h
	._inspect	'V', 'e', "save_water_flag_1", 'G', 282, 2, 0, 0, 00h
	._inspect	'V', 'e', "test1_flag_1", 'G', 285, 2, 0, 0, 00h
	._inspect	'V', 'e', "test1_key_flag", 'G', 287, 2, 0, 0, 00h
	._inspect	'V', 'e', "test2_key_flag", 'G', 288, 2, 0, 0, 00h
	._inspect	'V', 'e', "test3_key_flag", 'G', 289, 2, 0, 0, 00h
	._inspect	'V', 'e', "test4_key_flag", 'G', 290, 2, 0, 0, 00h
	._inspect	'V', 'e', "test5_key_flag", 'G', 291, 2, 0, 0, 00h
	._inspect	'V', 'e', "buzz_flag_1", 'G', 293, 2, 0, 0, 00h
	._inspect	'V', 'e', "epprom_4ms_buff", 'G', 297, 1, 0, 0, 00h
	._inspect	'V', 'e', "key_4ms_buff", 'G', 298, 1, 0, 0, 00h
	._inspect	'V', 'e', "Tflash", 'G', 299, 1, 0, 0, 00h
	._inspect	'V', 'e', "Pflash", 'G', 300, 1, 0, 0, 00h
	._inspect	'V', 'e', "scan_buff", 'G', 301, 1, 0, 0, 00h
	._inspect	'V', 'e', "scan_count", 'G', 302, 1, 0, 0, 00h
	._inspect	'V', 'e', "flash_flag", 'G', 304, 1, 0, 0, 00h
	._inspect	'V', 'e', "flash_switch_flag", 'G', 305, 1, 0, 0, 00h
	._inspect	'V', 'e', "Pflash_switch_flag", 'G', 306, 1, 0, 0, 00h
	._inspect	'V', 'e', "confirm_num", 'G', 308, 1, 0, 0, 00h
	._inspect	'V', 'e', "set_num", 'G', 310, 1, 0, 0, 00h
	._inspect	'V', 'e', "set_num_lev_0", 'G', 311, 1, 0, 0, 00h
	._inspect	'V', 'e', "set_num_lev_1", 'G', 312, 1, 0, 0, 00h
	._inspect	'V', 'e', "set_num_lev_2", 'G', 313, 1, 0, 0, 00h
	._inspect	'V', 'e', "set_num_lev_3", 'G', 314, 1, 0, 0, 00h
	._inspect	'V', 'e', "menu_level_buff", 'G', 316, 1, 0, 0, 00h
	._inspect	'V', 'e', "menu_buff_0", 'G', 318, 1, 0, 0, 00h
	._inspect	'V', 'e', "menu_buff_1", 'G', 319, 1, 0, 0, 00h
	._inspect	'V', 'e', "menu_buff_2", 'G', 320, 1, 0, 0, 00h
	._inspect	'V', 'e', "menu_buff_3", 'G', 321, 1, 0, 0, 00h
	._inspect	'V', 'e', "menu_buff_4", 'G', 322, 1, 0, 0, 00h
	._inspect	'V', 'e', "menu_buff_5", 'G', 323, 1, 0, 0, 00h
	._inspect	'V', 'e', "menu_buff_6", 'G', 324, 1, 0, 0, 00h
	._inspect	'V', 'e', "key_debunce_0", 'G', 326, 1, 0, 0, 00h
	._inspect	'V', 'e', "key_debunce_1", 'G', 327, 1, 0, 0, 00h
	._inspect	'V', 'e', "key_buff_0", 'G', 332, 1, 0, 0, 00h
	._inspect	'V', 'e', "key_buff_1", 'G', 333, 1, 0, 0, 00h
	._inspect	'V', 'e', "key_buff_2", 'G', 335, 2, 0, 0, 00h
	._inspect	'V', 'e', "key_buff_3", 'G', 336, 1, 0, 0, 00h
	._inspect	'V', 'e', "key_buff_4", 'G', 337, 1, 0, 0, 00h
	._inspect	'V', 'e', "save_key_1", 'G', 340, 2, 0, 0, 00h
	._inspect	'V', 'e', "save_key_2", 'G', 341, 1, 0, 0, 00h
	._inspect	'V', 'e', "left_time_buff", 'G', 343, 1, 0, 0, 00h
	._inspect	'V', 'e', "save_program_buff", 'G', 345, 1, 0, 0, 00h
	._inspect	'V', 'e', "program_buff_0", 'G', 347, 1, 0, 0, 00h
	._inspect	'V', 'e', "water_level_buff_0", 'G', 348, 1, 0, 0, 00h
	._inspect	'V', 'e', "soak_time_buff_0", 'G', 349, 1, 0, 0, 00h
	._inspect	'V', 'e', "wash_time_buff_0", 'G', 350, 1, 0, 0, 00h
	._inspect	'V', 'e', "rinse_time_buff_0", 'G', 351, 1, 0, 0, 00h
	._inspect	'V', 'e', "spin_time_buff_0", 'G', 352, 1, 0, 0, 00h
	._inspect	'V', 'e', "save_water_num_buff_0", 'G', 353, 1, 0, 0, 00h
	._inspect	'V', 'e', "winddry_time_buff_0", 'G', 354, 1, 0, 0, 00h
	._inspect	'V', 'e', "preset_time_buff_0", 'G', 355, 1, 0, 0, 00h
	._inspect	'V', 'e', "function_set_buff_0", 'G', 356, 1, 0, 0, 00h
	._inspect	'V', 'e', "soak_time_buff", 'G', 358, 1, 0, 0, 00h
	._inspect	'V', 'e', "wash_time_buff", 'G', 359, 1, 0, 0, 00h
	._inspect	'V', 'e', "rinse_time_buff", 'G', 360, 1, 0, 0, 00h
	._inspect	'V', 'e', "spin_time_buff", 'G', 361, 1, 0, 0, 00h
	._inspect	'V', 'e', "save_water_num_buff", 'G', 362, 1, 0, 0, 00h
	._inspect	'V', 'e', "winddry_time_buff", 'G', 363, 1, 0, 0, 00h
	._inspect	'V', 'e', "preset_time_buff", 'G', 364, 1, 0, 0, 00h
	._inspect	'V', 'e', "function_set_buff", 'G', 365, 1, 0, 0, 00h

	._inspect	'M', "D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/s6b0108.c", "D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/s6b0108"
	._inspect	'F', 'p', "Delay", "$Delay", 'G', 7, 0, 00h, 0
	._inspect	'F', 'p', "Long_Delay", "$Long_Delay", 'G', 8, 0, 00h, 0
	._inspect	'F', 'p', "Write_0108_Reg", "$Write_0108_Reg", 'G', 9, 0, 00h, 0
	._inspect	'F', 'p', "Write_0108_Data", "$Write_0108_Data", 'G', 10, 0, 00h, 0
	._inspect	'F', 'p', "Set_XY", "$Set_XY", 'G', 11, 0, 00h, 0
	._inspect	'F', 'p', "Init_0108", "_Init_0108", 'G', 12, 0, 00h, 0
	._inspect	'F', 'p', "Clr_Screen_0", "_Clr_Screen_0", 'G', 13, 0, 00h, 0
	._inspect	'F', 'p', "Clr_Screen_1", "_Clr_Screen_1", 'G', 14, 0, 00h, 0
	._inspect	'F', 'p', "Clr_Screen_2", "_Clr_Screen_2", 'G', 15, 0, 00h, 0
	._inspect	'F', 'p', "Set_Screen3", "_Set_Screen3", 'G', 16, 0, 00h, 0
	._inspect	'F', 'p', "Set_Screen", "$Set_Screen", 'G', 18, 0, 00h, 0
	._inspect	'F', 'p', "Comp_Set_Screen", "$Comp_Set_Screen", 'G', 19, 0, 00h, 0
	._inspect	'F', 'p', "Set_Caracter", "$Set_Caracter", 'G', 21, 0, 00h, 0
	._inspect	'F', 'p', "Set_Char", "$Set_Char", 'G', 22, 0, 00h, 0
	._inspect	'F', 'p', "FSH_Set_Two_Page", "$FSH_Set_Two_Page", 'G', 23, 0, 00h, 0
	._inspect	'F', 'p', "Read_0108_Data", "_Read_0108_Data", 'G', 25, 0, 00h, 0
	._inspect	'F', 'p', "Data_Convert", "$Data_Convert", 'G', 26, 0, 00h, 0

;## #	FUNCTION Delay
;## #	FRAME	AUTO	(       t)	size  2,	offset -2
;## #  REGISTER ARG    (       t)   size   2,   REGISTER R1
;## #	ARG Size(0)	Auto Size(2)	Context Size(5)


	.SECTION	program,CODE,align
	._inspect	'U', 2, "program", "program", 0
	._file	'D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/s6b0108.c'
	._type	256,'v'
	._type	257,'x',256,1
	._type	257,'m','t',0,16
	._func	'Delay','G',2,257,$Delay,0
	._inspect	'F', 's', "Delay", "$Delay", 'G', 7
	.align
	._block
	._line	59
	.glb	$Delay
$Delay:
	enter	#02H
	._block
	._var	't','R',16,6
	mov.w	R1,-2[FB]	;  t  t 
	._eblock
	._block
	._var	't','A',16,-2
	._line	60
L1:
	add.w	#-1,-2[FB]	;  t 
	jne	L1
	._eblock
	._line	61
	exitd	
E1:
	._eblock
M1:
	._efunc	M1
	._inspect	'F', 'd', "Delay", "$Delay", 'G', 59, 0, 00h, 0
	._inspect	'F', 't', "Delay", 'G', 257
	._inspect	'F', 'e', "Delay", "$Delay", 'G', 0, 0


;## #	FUNCTION Long_Delay
;## #	FRAME	AUTO	(       n)	size  2,	offset -4
;## #	FRAME	AUTO	(       t)	size  2,	offset -2
;## #  REGISTER ARG    (       t)   size   2,   REGISTER R1
;## #	ARG Size(0)	Auto Size(4)	Context Size(5)

	._type	258,'v'
	._type	259,'x',258,1
	._type	259,'m','t',0,16
	._func	'Long_Delay','G',4,259,$Long_Delay,0
	._inspect	'F', 's', "Long_Delay", "$Long_Delay", 'G', 9
	.align
	._line	68
	.glb	$Long_Delay
$Long_Delay:
	enter	#04H
	mov.w	R1,-2[FB]	;  t  t 
	._block
	._var	't','A',16,-2
	._var	'n','A',16,-4
	._line	69
	mov.w	#00ffH,-4[FB]	;  n 
	._line	71
L5:
	add.w	#-1,-2[FB]	;  t 
	jeq	L7
	._line	72
	._block
	._line	73
L9:
	add.w	#-1,-4[FB]	;  n 
	jne	L9
	._line	74
	mov.w	#00ffH,-4[FB]	;  n 
	._eblock
	._line	75
	jmp	L5
L7:
	._eblock
	._line	76
	exitd	
E2:
M2:
	._efunc	M2
	._inspect	'F', 'd', "Long_Delay", "$Long_Delay", 'G', 68, 0, 00h, 0
	._inspect	'F', 't', "Long_Delay", 'G', 259
	._inspect	'F', 'e', "Long_Delay", "$Long_Delay", 'G', 0, 0


;## #	FUNCTION Data_Convert
;## #	FRAME	AUTO	(lcd_data)	size  1,	offset -1
;## #  REGISTER ARG    (lcd_data)   size   1,   REGISTER R1L
;## #	ARG Size(0)	Auto Size(1)	Context Size(5)

	._type	260,'x',3,1
	._type	260,'m','lcd_data',0,3
	._func	'Data_Convert','G',1,260,$Data_Convert,0
	._inspect	'F', 's', "Data_Convert", "$Data_Convert", 'G', 6
	.align
	._line	87
	.glb	$Data_Convert
$Data_Convert:
	enter	#01H
	mov.b	R1L,-1[FB]	;  lcd_data  lcd_data 
	._block
	._var	'lcd_data','A',3,-1
	._line	88
	mov.b	-1[FB],_Lcd_Byte_0	;  lcd_data 
	._line	89
	mov.b	-1[FB],_Lcd_Byte_1	;  lcd_data 
	._line	91
	mov.b	_Lcd_Byte_0,A0
	and.w	#000fH,A0
	mov.b	A0,_Lcd_Byte_0
	._line	92
	mov.b	_Lcd_Byte_1,A0
	and.w	#00f0H,A0
	mov.b	A0,_Lcd_Byte_1
	._line	94
	mov.b	#07H,A0
	tst.b	#01H,_Lcd_Byte_0
	bmnz	_Lcd_Byte_0[A0]
	._line	95
	mov.b	#06H,A0
	tst.b	#02H,_Lcd_Byte_0
	bmnz	_Lcd_Byte_0[A0]
	._line	96
	mov.b	#05H,A0
	tst.b	#04H,_Lcd_Byte_0
	bmnz	_Lcd_Byte_0[A0]
	._line	97
	mov.b	#04H,A0
	tst.b	#08H,_Lcd_Byte_0
	bmnz	_Lcd_Byte_0[A0]
	._line	99
	mov.b	_Lcd_Byte_0,A0
	and.w	#00f0H,A0
	mov.b	A0,_Lcd_Byte_0
	._line	101
	shl.b	#-4,_Lcd_Byte_0
	._line	102
	mov.b	_Lcd_Byte_0,R0L
	or.b	_Lcd_Byte_1,R0L
	mov.b	R0L,_Lcd_Byte_2
	._line	104
	mov.b	_Lcd_Byte_2,R0L
	exitd	
E3:
	._eblock
M3:
	._efunc	M3
	._inspect	'F', 'd', "Data_Convert", "$Data_Convert", 'G', 87, 0, 00h, 0
	._inspect	'F', 't', "Data_Convert", 'G', 260
	._inspect	'V', 'r', "Lcd_Byte_0", 'G', 88, 1, 0, 0, 00h
	._inspect	'V', 'r', "Lcd_Byte_1", 'G', 89, 1, 0, 0, 00h
	._inspect	'V', 'r', "Lcd_Byte_0", 'G', 91, 1, 0, 0, 00h
	._inspect	'V', 'r', "Lcd_Byte_0", 'G', 91, 1, 0, 0, 00h
	._inspect	'V', 'r', "Lcd_Byte_1", 'G', 92, 1, 0, 0, 00h
	._inspect	'V', 'r', "Lcd_Byte_1", 'G', 92, 1, 0, 0, 00h
	._inspect	'V', 'r', "Lcd_Byte_0", 'G', 94, 1, 0, 0, 080h
	._inspect	'V', 'r', "Lcd_Byte_0", 'G', 94, 1, 0, 0, 01h
	._inspect	'V', 'r', "Lcd_Byte_0", 'G', 95, 1, 0, 0, 040h
	._inspect	'V', 'r', "Lcd_Byte_0", 'G', 95, 1, 0, 0, 02h
	._inspect	'V', 'r', "Lcd_Byte_0", 'G', 96, 1, 0, 0, 020h
	._inspect	'V', 'r', "Lcd_Byte_0", 'G', 96, 1, 0, 0, 04h
	._inspect	'V', 'r', "Lcd_Byte_0", 'G', 97, 1, 0, 0, 010h
	._inspect	'V', 'r', "Lcd_Byte_0", 'G', 97, 1, 0, 0, 08h
	._inspect	'V', 'r', "Lcd_Byte_0", 'G', 99, 1, 0, 0, 00h
	._inspect	'V', 'r', "Lcd_Byte_0", 'G', 99, 1, 0, 0, 00h
	._inspect	'V', 'r', "Lcd_Byte_0", 'G', 101, 1, 0, 0, 00h
	._inspect	'V', 'r', "Lcd_Byte_0", 'G', 101, 1, 0, 0, 00h
	._inspect	'V', 'r', "Lcd_Byte_0", 'G', 102, 1, 0, 0, 00h
	._inspect	'V', 'r', "Lcd_Byte_1", 'G', 102, 1, 0, 0, 00h
	._inspect	'V', 'r', "Lcd_Byte_2", 'G', 102, 1, 0, 0, 00h
	._inspect	'V', 'r', "Lcd_Byte_2", 'G', 104, 1, 0, 0, 00h
	._inspect	'F', 'e', "Data_Convert", "$Data_Convert", 'G', 0, 0


;## #	FUNCTION Write_0108_Reg
;## #	FRAME	AUTO	( bus_low)	size  1,	offset -2
;## #	FRAME	AUTO	(bus_high)	size  1,	offset -1
;## #	FRAME	AUTO	(Reg_Code)	size  1,	offset -1
;## #  REGISTER ARG    (Reg_Code)   size   1,   REGISTER R1L
;## #	ARG Size(0)	Auto Size(2)	Context Size(5)

	._type	261,'v'

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -