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

📄 output.a30

📁 电表解决方案概要power_meter_r8c2g_source_code
💻 A30
📖 第 1 页 / 共 5 页
字号:
	._eblock
	inc.b	-2[FB]	;  j 
	jmp	L51
L55:
	._line	219
	mov.b	#00H,-2[FB]	;  j 
L83:
	._line	219
	cmp.b	#08H,-2[FB]	;  j 
	jgeu	L87
	._line	220
	._block
	._line	221
	mov.b	-2[FB],A0	;  j 
	mov.b	_OPT_Table[A0],-3[FB]	;  k 
	and.b	-1[FB],-3[FB]	;  i  k 
	._line	222
	jeq	L103
	._line	225
	mov.b	-2[FB],A0	;  j 
	mov.b	_OPT_Table[A0],R0L
	cmp.b	#01H,R0L
	jeq	L105
	cmp.b	#02H,R0L
	jeq	L107
	cmp.b	#04H,R0L
	jeq	L109
	cmp.b	#08H,R0L
	jeq	L111
	cmp.b	#10H,R0L
	jeq	L113
	cmp.b	#20H,R0L
	jeq	L115
	cmp.b	#40H,R0L
	jeq	L117
	jmp	L143
	._line	226
	._block
	._line	227
L105:
	._line	229
	bset	6,_p3_addr
	._line	230
	bset	2,_p8_addr
	._line	231
	jmp	L143
	._line	234
L107:
	._line	236
	bset	0,_p3_addr
	._line	237
	bset	3,_p8_addr
	._line	238
	jmp	L143
	._line	241
L109:
	._line	243
	bset	5,_p6_addr
	._line	244
	bset	4,_p8_addr
	._line	245
	jmp	L143
	._line	248
L111:
	._line	250
	bset	5,_p4_addr
	._line	251
	bset	5,_p8_addr
	._line	252
	jmp	L143
	._line	254
L113:
	._line	256
	bset	0,_p6_addr
	._line	257
	bset	6,_p8_addr
	._line	258
	jmp	L143
	._line	260
L115:
	._line	262
	bset	0,_p8_addr
	._line	263
	bset	4,_p1_addr
	._line	264
	jmp	L143
	._line	267
L117:
	._line	269
	bset	1,_p8_addr
	._line	270
	bset	5,_p1_addr
	._eblock
	._line	272
L143:
L103:
	._eblock
	inc.b	-2[FB]	;  j 
	jmp	L83
L87:
L119:
L139:
	._eblock
	._line	276
	exitd	
E10:
	._eblock
M13:
	._efunc	M13
	._inspect	'F', 'd', "output", "_output", 'G', 130, 0, 00h, 0
	._inspect	'F', 't', "output", 'G', 285
	._inspect	'F', 'r', "buzz", "_buzz", 'G', 135, 0, 00h, 0
	._inspect	'V', 'r', "output_buff", 'G', 137, 1, 0, 0, 00h
	._inspect	'V', 'r', "p3_addr", 'G', 141, 1, 1, 0, 040h
	._inspect	'V', 'r', "p8_addr", 'G', 142, 1, 1, 0, 04h
	._inspect	'V', 'r', "p3_addr", 'G', 144, 1, 1, 0, 01h
	._inspect	'V', 'r', "p8_addr", 'G', 145, 1, 1, 0, 08h
	._inspect	'V', 'r', "p6_addr", 'G', 147, 1, 1, 0, 020h
	._inspect	'V', 'r', "p8_addr", 'G', 148, 1, 1, 0, 010h
	._inspect	'V', 'r', "p4_addr", 'G', 150, 1, 1, 0, 020h
	._inspect	'V', 'r', "p8_addr", 'G', 151, 1, 1, 0, 020h
	._inspect	'V', 'r', "p6_addr", 'G', 153, 1, 1, 0, 01h
	._inspect	'V', 'r', "p8_addr", 'G', 154, 1, 1, 0, 040h
	._inspect	'V', 'r', "p8_addr", 'G', 156, 1, 1, 0, 01h
	._inspect	'V', 'r', "p1_addr", 'G', 157, 1, 1, 0, 010h
	._inspect	'V', 'r', "p8_addr", 'G', 159, 1, 1, 0, 02h
	._inspect	'V', 'r', "p1_addr", 'G', 160, 1, 1, 0, 020h
	._inspect	'V', 'r', "OPT_Table", 'G', 166, 0, 0, 0, 00h
	._inspect	'V', 'r', "OPT_Table", 'G', 170, 0, 0, 0, 00h
	._inspect	'V', 'r', "p3_addr", 'G', 174, 1, 1, 0, 040h
	._inspect	'V', 'r', "p8_addr", 'G', 175, 1, 1, 0, 04h
	._inspect	'V', 'r', "p3_addr", 'G', 181, 1, 1, 0, 01h
	._inspect	'V', 'r', "p8_addr", 'G', 182, 1, 1, 0, 08h
	._inspect	'V', 'r', "p6_addr", 'G', 188, 1, 1, 0, 020h
	._inspect	'V', 'r', "p8_addr", 'G', 189, 1, 1, 0, 010h
	._inspect	'V', 'r', "p4_addr", 'G', 195, 1, 1, 0, 020h
	._inspect	'V', 'r', "p8_addr", 'G', 196, 1, 1, 0, 020h
	._inspect	'V', 'r', "p6_addr", 'G', 201, 1, 1, 0, 01h
	._inspect	'V', 'r', "p8_addr", 'G', 202, 1, 1, 0, 040h
	._inspect	'V', 'r', "p8_addr", 'G', 207, 1, 1, 0, 01h
	._inspect	'V', 'r', "p1_addr", 'G', 208, 1, 1, 0, 010h
	._inspect	'V', 'r', "p8_addr", 'G', 214, 1, 1, 0, 02h
	._inspect	'V', 'r', "p1_addr", 'G', 215, 1, 1, 0, 020h
	._inspect	'V', 'r', "OPT_Table", 'G', 221, 0, 0, 0, 00h
	._inspect	'V', 'r', "OPT_Table", 'G', 225, 0, 0, 0, 00h
	._inspect	'V', 'r', "p3_addr", 'G', 229, 1, 1, 0, 040h
	._inspect	'V', 'r', "p8_addr", 'G', 230, 1, 1, 0, 04h
	._inspect	'V', 'r', "p3_addr", 'G', 236, 1, 1, 0, 01h
	._inspect	'V', 'r', "p8_addr", 'G', 237, 1, 1, 0, 08h
	._inspect	'V', 'r', "p6_addr", 'G', 243, 1, 1, 0, 020h
	._inspect	'V', 'r', "p8_addr", 'G', 244, 1, 1, 0, 010h
	._inspect	'V', 'r', "p4_addr", 'G', 250, 1, 1, 0, 020h
	._inspect	'V', 'r', "p8_addr", 'G', 251, 1, 1, 0, 020h
	._inspect	'V', 'r', "p6_addr", 'G', 256, 1, 1, 0, 01h
	._inspect	'V', 'r', "p8_addr", 'G', 257, 1, 1, 0, 040h
	._inspect	'V', 'r', "p8_addr", 'G', 262, 1, 1, 0, 01h
	._inspect	'V', 'r', "p1_addr", 'G', 263, 1, 1, 0, 010h
	._inspect	'V', 'r', "p8_addr", 'G', 269, 1, 1, 0, 02h
	._inspect	'V', 'r', "p1_addr", 'G', 270, 1, 1, 0, 020h
	._inspect	'F', 'e', "output", "_output", 'G', 0, 0


;## #	FUNCTION water_detect
;## #	FRAME	AUTO	(       i)	size  1,	offset -1
;## #	ARG Size(0)	Auto Size(1)	Context Size(5)

	._type	286,'v'
	._type	287,'v'
	._type	288,'x',286,1
	._type	288,'m','',0,287
	._func	'water_detect','G',1,288,_water_detect,0
	._inspect	'F', 's', "water_detect", "_water_detect", 'G', 6
	.align
	._line	281
	.glb	_water_detect
_water_detect:
	enter	#01H
	._block
	._var	'i','A',3,-1
	._line	284
	mov.b	#00H,_machine_type
	._line	286
	mov.b	#00H,-1[FB]	;  i 
	btst	6,_p0_addr
	bmnz	0,-1[FB]	;  i 
	._line	288
	mov.b	-1[FB],R0L	;  i 
	jeq	L145
	._line	289
	mov.b	_water_level_buff,_water_buff
	jmp	L155
	._line	290
L145:
	cmp.b	#00H,-1[FB]	;  i 
	stz	#00H,_water_buff
L155:
	._line	293
	cmp.b	_water_level_buff,_water_buff
	jne	L165
	._line	294
	._block
	._line	295
	mov.b	#01H,_water_full_flag
	._line	296
	mov.b	#00H,_drain_empty_flag
	._eblock
	._line	297
	jmp	L219
	._line	298
L165:
	cmp.b	_water_level_buff,_water_buff
	jltu	L217
	mov.b	_water_buff,R0L
	jne	L175
L217:
	._line	299
	mov.b	#00H,_water_full_flag
L175:
L219:
	._line	300
	exitd	
E11:
	._eblock
M15:
	._efunc	M15
	._inspect	'F', 'd', "water_detect", "_water_detect", 'G', 281, 0, 00h, 0
	._inspect	'F', 't', "water_detect", 'G', 288
	._inspect	'V', 'r', "machine_type", 'G', 284, 1, 0, 0, 00h
	._inspect	'V', 'r', "p0_addr", 'G', 286, 1, 1, 0, 040h
	._inspect	'V', 'r', "water_buff", 'G', 289, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_level_buff", 'G', 289, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_buff", 'G', 290, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_buff", 'G', 293, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_level_buff", 'G', 293, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_full_flag", 'G', 295, 1, 0, 0, 00h
	._inspect	'V', 'r', "drain_empty_flag", 'G', 296, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_buff", 'G', 298, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_level_buff", 'G', 298, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_buff", 'G', 298, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_full_flag", 'G', 299, 1, 0, 0, 00h
	._inspect	'F', 'e', "water_detect", "_water_detect", 'G', 0, 0


;## #	FUNCTION wash_detect
;## #	FRAME	AUTO	(       j)	size  1,	offset -1
;## #	ARG Size(0)	Auto Size(1)	Context Size(5)

	._type	289,'v'
	._type	290,'v'
	._type	291,'x',289,1
	._type	291,'m','',0,290
	._func	'wash_detect','G',1,291,_wash_detect,0
	._inspect	'F', 's', "wash_detect", "_wash_detect", 'G', 6
	.align
	._line	304
	.glb	_wash_detect
_wash_detect:
	enter	#01H
	._block
	._var	'j','A',3,-1
	._line	307
	mov.b	#00H,_machine_type
	._line	309
	mov.b	#00H,-1[FB]	;  j 
	btst	7,_p0_addr
	bmnz	0,-1[FB]	;  j 
	._line	311
	mov.b	-1[FB],R0L	;  j 
	jeq	L221
	._line	312
	._block
	._line	313
	mov.w	#001eH,R0
	mov.w	R0,_run_stream_time
	._line	315
	mov.b	R0L,_soak_1m_buff
	._line	316
	mov.b	R0L,_soak_2m_buff
	._line	317
	mov.b	R0L,_soak_3m_buff
	._line	318
	mov.b	R0L,_soak_4m_buff
	._line	319
	mov.w	#001eH,_soak_9m_buff
	._line	320
	mov.w	#001eH,_process_left_time
	._eblock
L221:
	._line	323
	exitd	
E12:
	._eblock
M16:
	._efunc	M16
	._inspect	'F', 'd', "wash_detect", "_wash_detect", 'G', 304, 0, 00h, 0
	._inspect	'F', 't', "wash_detect", 'G', 291
	._inspect	'V', 'r', "machine_type", 'G', 307, 1, 0, 0, 00h
	._inspect	'V', 'r', "p0_addr", 'G', 309, 1, 1, 0, 080h
	._inspect	'V', 'r', "run_stream_time", 'G', 313, 2, 0, 0, 00h
	._inspect	'V', 'r', "soak_1m_buff", 'G', 315, 1, 0, 0, 00h
	._inspect	'V', 'r', "soak_2m_buff", 'G', 316, 1, 0, 0, 00h
	._inspect	'V', 'r', "soak_3m_buff", 'G', 317, 1, 0, 0, 00h
	._inspect	'V', 'r', "soak_4m_buff", 'G', 318, 1, 0, 0, 00h
	._inspect	'V', 'r', "soak_9m_buff", 'G', 319, 2, 0, 0, 00h
	._inspect	'V', 'r', "process_left_time", 'G', 320, 2, 0, 0, 00h
	._inspect	'F', 'e', "wash_detect", "_wash_detect", 'G', 0, 0


;## #	FUNCTION program_time
;## #	FRAME	AUTO	(pass_time)	size  2,	offset -7
;## #	FRAME	AUTO	(total_time)	size  2,	offset -5
;## #	FRAME	AUTO	(table_adr)	size  2,	offset -3
;## #	FRAME	AUTO	(left_time)	size  1,	offset -3
;## #	F

⌨️ 快捷键说明

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