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

📄 key_io.a30

📁 电表解决方案概要power_meter_r8c2g_source_code
💻 A30
📖 第 1 页 / 共 5 页
字号:
L211:
L359:
	._line	609
	cmp.b	#03H,_program_buff
	jleu	L221
	._line	610
	._block
	._line	611
	mov.b	#01H,_program_flash_flag
	._line	612
	mov.b	_led_disp,_led_flash_buff1
	._eblock
	._line	613
	jmp	L223
	._line	614
L221:
	._line	615
	mov.b	#00H,_program_flash_flag
L223:
	._line	617
	cmp.b	#01H,_program_buff
	jne	L231
	._line	618
	._block
	._line	619
	mov.b	#0eH,_process_buff
	._line	620
	mov.b	#1fH,_pro_led_buff
	._line	621
	mov.b	_pro_led_buff,_led_disp+2
	._line	622
	rts	
	._eblock
L231:
	._line	624
	cmp.b	#02H,_program_buff
	jne	L241
	._line	625
	._block
	._line	626
	mov.b	#01H,_select_fastest_flag
	._line	627
	mov.b	#03H,_water_level_buff
	._line	628
	mov.b	_water_level_buff,_water_count
	._line	629
	mov.b	#0f7H,_led_disp+1
	._line	630
	mov.b	#00H,_water_flash_flag
	._line	632
	mov.b	#0eH,_process_buff
	._line	633
	mov.b	#1fH,_pro_led_buff
	._line	634
	mov.b	_pro_led_buff,_led_disp+2
	._line	636
	rts	
	._eblock
L241:
	._line	638
	cmp.b	#01H,_select_fastest_flag
	jne	L251
	cmp.b	#02H,_program_buff
	jeq	L361
	._line	639
	._block
	._line	640
	mov.b	#00H,_select_fastest_flag
	._line	641
	mov.b	#06H,_water_level_buff
	._line	642
	mov.b	_water_level_buff,_water_count
	._line	643
	mov.b	#0fbH,_led_disp+1
	._line	644
	mov.b	_led_disp+1,_led_flash_buff
	._line	645
	mov.b	#01H,_water_flash_flag
	._line	646
	rts	
	._eblock
L361:
L251:
	._line	648
	cmp.b	#07H,_program_buff
	jne	L279
	._line	649
	._block
	._line	650
	mov.b	#01H,_select_tube_flag
	._line	651
	mov.b	#0ffH,_led_disp+1
	._line	652
	mov.b	#00H,_water_flash_flag
	._line	654
	mov.b	#0eH,_process_buff
	._line	655
	mov.b	#1fH,_pro_led_buff
	._line	656
	mov.b	_pro_led_buff,_led_disp+2
	._line	658
	rts	
	._eblock
L279:
	._line	660
	cmp.b	#01H,_select_tube_flag
	jne	L289
	cmp.b	#07H,_program_buff
	jeq	L363
	._line	661
	._block
	._line	662
	mov.b	#00H,_select_tube_flag
	._line	663
	mov.b	#06H,_water_level_buff
	._line	664
	mov.b	_water_level_buff,_water_count
	._line	665
	mov.b	#0fbH,_led_disp+1
	._line	666
	mov.b	_led_disp+1,_led_flash_buff
	._line	667
	mov.b	#01H,_water_flash_flag
	._line	668
	rts	
	._eblock
L363:
L289:
	._line	671
	rts	
E6:
	._eblock
M7:
	._efunc	M7
	._inspect	'F', 'd', "key_program", "_key_program", 'G', 482, 0, 00h, 0
	._inspect	'F', 't', "key_program", 'G', 273
	._inspect	'V', 'r', "process_buff", 'G', 483, 1, 0, 0, 00h
	._inspect	'V', 'r', "select_soak_flag", 'G', 485, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_count", 'G', 487, 1, 0, 0, 00h
	._inspect	'V', 'r', "select_soak_flag", 'G', 488, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_count", 'G', 491, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_count", 'G', 493, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_count", 'G', 494, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_count", 'G', 496, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 500, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 501, 5, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 506, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 507, 5, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 512, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 513, 5, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 519, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 520, 5, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 525, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 526, 5, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 531, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 532, 5, 0, 0, 00h
	._inspect	'V', 'r', "process_buff", 'G', 538, 1, 0, 0, 00h
	._inspect	'V', 'r', "select_soak_flag", 'G', 540, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_count", 'G', 542, 1, 0, 0, 00h
	._inspect	'V', 'r', "select_soak_flag", 'G', 543, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_count", 'G', 546, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_count", 'G', 548, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_count", 'G', 548, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_count", 'G', 551, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 555, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 556, 5, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 561, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 562, 5, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 567, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 568, 5, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 573, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 574, 5, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 579, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 580, 5, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 585, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 586, 5, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 591, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 592, 5, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 597, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 598, 5, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 603, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 604, 5, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 609, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_flash_flag", 'G', 611, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_flash_buff1", 'G', 612, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 612, 5, 0, 0, 00h
	._inspect	'V', 'r', "program_flash_flag", 'G', 615, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 617, 1, 0, 0, 00h
	._inspect	'V', 'r', "process_buff", 'G', 619, 1, 0, 0, 00h
	._inspect	'V', 'r', "pro_led_buff", 'G', 620, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 621, 5, 0, 0, 00h
	._inspect	'V', 'r', "pro_led_buff", 'G', 621, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 624, 1, 0, 0, 00h
	._inspect	'V', 'r', "select_fastest_flag", 'G', 626, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_level_buff", 'G', 627, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_count", 'G', 628, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_level_buff", 'G', 628, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 629, 5, 0, 0, 00h
	._inspect	'V', 'r', "water_flash_flag", 'G', 630, 1, 0, 0, 00h
	._inspect	'V', 'r', "process_buff", 'G', 632, 1, 0, 0, 00h
	._inspect	'V', 'r', "pro_led_buff", 'G', 633, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 634, 5, 0, 0, 00h
	._inspect	'V', 'r', "pro_led_buff", 'G', 634, 1, 0, 0, 00h
	._inspect	'V', 'r', "select_fastest_flag", 'G', 638, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 638, 1, 0, 0, 00h
	._inspect	'V', 'r', "select_fastest_flag", 'G', 640, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_level_buff", 'G', 641, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_count", 'G', 642, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_level_buff", 'G', 642, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 643, 5, 0, 0, 00h
	._inspect	'V', 'r', "led_flash_buff", 'G', 644, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 644, 5, 0, 0, 00h
	._inspect	'V', 'r', "water_flash_flag", 'G', 645, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 648, 1, 0, 0, 00h
	._inspect	'V', 'r', "select_tube_flag", 'G', 650, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 651, 5, 0, 0, 00h
	._inspect	'V', 'r', "water_flash_flag", 'G', 652, 1, 0, 0, 00h
	._inspect	'V', 'r', "process_buff", 'G', 654, 1, 0, 0, 00h
	._inspect	'V', 'r', "pro_led_buff", 'G', 655, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 656, 5, 0, 0, 00h
	._inspect	'V', 'r', "pro_led_buff", 'G', 656, 1, 0, 0, 00h
	._inspect	'V', 'r', "select_tube_flag", 'G', 660, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_buff", 'G', 660, 1, 0, 0, 00h
	._inspect	'V', 'r', "select_tube_flag", 'G', 662, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_level_buff", 'G', 663, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_count", 'G', 664, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_level_buff", 'G', 664, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 665, 5, 0, 0, 00h
	._inspect	'V', 'r', "led_flash_buff", 'G', 666, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 666, 5, 0, 0, 00h
	._inspect	'V', 'r', "water_flash_flag", 'G', 667, 1, 0, 0, 00h
	._inspect	'F', 'e', "key_program", "_key_program", 'G', 0, 0


;## #	FUNCTION key_pro_fun
;## #	ARG Size(0)	Auto Size(0)	Context Size(3)

	._type	274,'v'
	._type	275,'v'
	._type	276,'x',274,1
	._type	276,'m','',0,275
	._func	'key_pro_fun','G',0,276,_key_pro_fun,0
	._inspect	'F', 's', "key_pro_fun", "_key_pro_fun", 'G', 3
	.align
	._line	675
	.glb	_key_pro_fun
_key_pro_fun:
	._block
	._line	676
	mov.b	_program_buff,R0L
	cmp.b	#01H,R0L
	jeq	L447
	cmp.b	#02H,R0L
	jeq	L453
	cmp.b	#07H,R0L
	jne	L365
L453:
L447:
	._line	678
	rts	
L365:
	._line	680
	cmp.b	#01H,_process_key_falg
	jne	L411
	._line	681
	._inspect	'S', 'c', "key_process", "_key_process", 'G', 0, 681
	jsr	_key_process
	jmp	L455
	._line	683
L411:
	cmp.b	#01H,_function_key_falg
	jne	L421
	._line	684
	._inspect	'S', 'c', "key_function", "_key_function", 'G', 0, 684
	jsr	_key_function
L421:
L455:
	._line	686
	mov.b	_pro_led_buff,A0
	and.w	#00f0H,A0
	mov.b	A0,_pro_led_buff
	._line	687
	mov.b	_fun_led_buff,A0
	and.w	#000fH,A0
	mov.b	A0,_fun_led_buff
	._line	689
	mov.b	_pro_led_buff,R0L
	add.b	_fun_led_buff,R0L
	mov.b	R0L,_led_disp+2
	._eblock
	._line	691
	rts	
E7:
M8:
	._efunc	M8
	._inspect	'F', 'd', "key_pro_fun", "_key_pro_fun", 'G', 675, 0, 00h, 0
	._inspect	'F', 't', "key_pro_fun", 'G', 276
	._inspect	'V', 'r', "program_buff", 'G', 676, 1, 0, 0, 00h
	._inspect	'V', 'r', "process_key_falg", 'G', 680, 1, 0, 0, 00h
	._inspect	'F', 'r', "key_process", "_key_process", 'G', 681, 0, 00h, 0
	._inspect	'V', 'r', "function_key_falg", 'G', 683, 1, 0, 0, 00h
	._inspect	'F', 'r', "key_function", "_key_function", 'G', 684, 0, 00h, 0
	._inspect	'V', 'r', "pro_led_buff", 'G', 686, 1, 0, 0, 00h
	._inspect	'V', 'r', "pro_led_buff", 'G', 686, 1, 0, 0, 00h
	._inspect	'V', 'r', "fun_led_buff", 'G', 687, 1, 0, 0, 00h
	._inspect	'V', 'r', "fun_led_buff", 'G', 687, 1, 0, 0, 00h
	._inspect	'V', 'r', "pro_led_buff", 'G', 689, 1, 0, 0, 00h
	._inspect	'V', 'r', "fun_led_buff", 'G', 689, 1, 0, 0, 00h
	._inspect	'V', 'r', "led_disp", 'G', 689, 5, 0, 0, 00h
	._inspect	'F', 'e', "key_pro_fun", "_key_pro_fun", 'G', 0, 0


;## #	FUNCTION key_process
;## #	ARG Size(0)	Auto Size(0)	Context Size(3)

	._type	27

⌨️ 快捷键说明

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