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

📄 output.a30

📁 电表解决方案概要power_meter_r8c2g_source_code
💻 A30
📖 第 1 页 / 共 5 页
字号:
	cmp.b	#02H,R0L
	jeq	L195
	cmp.b	#04H,R0L
	jeq	L197
	cmp.b	#08H,R0L
	jeq	L199
	cmp.b	#10H,R0L
	jeq	L201
	cmp.b	#20H,R0L
	jeq	L203
	cmp.b	#40H,R0L
	jeq	L205
	jmp	L231
	._line	290
	._block
	._line	291
L193:
	._line	293
	bset	6,_p3_addr
	._line	294
	bset	2,_p8_addr
	._line	295
	jmp	L231
	._line	298
L195:
	._line	300
	bset	0,_p3_addr
	._line	301
	bset	3,_p8_addr
	._line	302
	jmp	L231
	._line	305
L197:
	._line	307
	bset	5,_p6_addr
	._line	308
	bset	4,_p8_addr
	._line	309
	jmp	L231
	._line	312
L199:
	._line	314
	bset	0,_p8_addr
	._line	315
	bset	4,_p1_addr
	._line	316
	jmp	L231
	._line	318
L201:
	._line	320
	bset	5,_p4_addr
	._line	321
	bset	5,_p8_addr
	._line	322
	jmp	L231
	._line	324
L203:
	._line	326
	bset	0,_p6_addr
	._line	327
	bset	6,_p8_addr
	._line	328
	jmp	L231
	._line	331
L205:
	._line	333
	bset	1,_p8_addr
	._line	334
	bset	5,_p1_addr
	._eblock
	._line	336
L231:
L191:
	._eblock
	inc.b	-2[FB]	;  j 
	jmp	L171
L175:
L207:
L227:
	._eblock
	._line	340
	exitd	
E3:
	._eblock
M3:
	._efunc	M3
	._inspect	'F', 'd', "output", "_output", 'G', 194, 0, 00h, 0
	._inspect	'F', 't', "output", 'G', 264
	._inspect	'V', 'r', "output_buff", 'G', 201, 1, 0, 0, 00h
	._inspect	'V', 'r', "p3_addr", 'G', 205, 1, 1, 0, 040h
	._inspect	'V', 'r', "p8_addr", 'G', 206, 1, 1, 0, 04h
	._inspect	'V', 'r', "p3_addr", 'G', 208, 1, 1, 0, 01h
	._inspect	'V', 'r', "p8_addr", 'G', 209, 1, 1, 0, 08h
	._inspect	'V', 'r', "p6_addr", 'G', 211, 1, 1, 0, 020h
	._inspect	'V', 'r', "p8_addr", 'G', 212, 1, 1, 0, 010h
	._inspect	'V', 'r', "p8_addr", 'G', 214, 1, 1, 0, 01h
	._inspect	'V', 'r', "p1_addr", 'G', 215, 1, 1, 0, 010h
	._inspect	'V', 'r', "p4_addr", 'G', 217, 1, 1, 0, 020h
	._inspect	'V', 'r', "p8_addr", 'G', 218, 1, 1, 0, 020h
	._inspect	'V', 'r', "p6_addr", 'G', 220, 1, 1, 0, 01h
	._inspect	'V', 'r', "p8_addr", 'G', 221, 1, 1, 0, 040h
	._inspect	'V', 'r', "p8_addr", 'G', 223, 1, 1, 0, 02h
	._inspect	'V', 'r', "p1_addr", 'G', 224, 1, 1, 0, 020h
	._inspect	'V', 'r', "OPT_Table", 'G', 230, 0, 0, 0, 00h
	._inspect	'V', 'r', "OPT_Table", 'G', 234, 0, 0, 0, 00h
	._inspect	'V', 'r', "p3_addr", 'G', 238, 1, 1, 0, 040h
	._inspect	'V', 'r', "p8_addr", 'G', 239, 1, 1, 0, 04h
	._inspect	'V', 'r', "p3_addr", 'G', 245, 1, 1, 0, 01h
	._inspect	'V', 'r', "p8_addr", 'G', 246, 1, 1, 0, 08h
	._inspect	'V', 'r', "p6_addr", 'G', 252, 1, 1, 0, 020h
	._inspect	'V', 'r', "p8_addr", 'G', 253, 1, 1, 0, 010h
	._inspect	'V', 'r', "p8_addr", 'G', 259, 1, 1, 0, 01h
	._inspect	'V', 'r', "p1_addr", 'G', 260, 1, 1, 0, 010h
	._inspect	'V', 'r', "p4_addr", 'G', 265, 1, 1, 0, 020h
	._inspect	'V', 'r', "p8_addr", 'G', 266, 1, 1, 0, 020h
	._inspect	'V', 'r', "p6_addr", 'G', 271, 1, 1, 0, 01h
	._inspect	'V', 'r', "p8_addr", 'G', 272, 1, 1, 0, 040h
	._inspect	'V', 'r', "p8_addr", 'G', 278, 1, 1, 0, 02h
	._inspect	'V', 'r', "p1_addr", 'G', 279, 1, 1, 0, 020h
	._inspect	'V', 'r', "OPT_Table", 'G', 285, 0, 0, 0, 00h
	._inspect	'V', 'r', "OPT_Table", 'G', 289, 0, 0, 0, 00h
	._inspect	'V', 'r', "p3_addr", 'G', 293, 1, 1, 0, 040h
	._inspect	'V', 'r', "p8_addr", 'G', 294, 1, 1, 0, 04h
	._inspect	'V', 'r', "p3_addr", 'G', 300, 1, 1, 0, 01h
	._inspect	'V', 'r', "p8_addr", 'G', 301, 1, 1, 0, 08h
	._inspect	'V', 'r', "p6_addr", 'G', 307, 1, 1, 0, 020h
	._inspect	'V', 'r', "p8_addr", 'G', 308, 1, 1, 0, 010h
	._inspect	'V', 'r', "p8_addr", 'G', 314, 1, 1, 0, 01h
	._inspect	'V', 'r', "p1_addr", 'G', 315, 1, 1, 0, 010h
	._inspect	'V', 'r', "p4_addr", 'G', 320, 1, 1, 0, 020h
	._inspect	'V', 'r', "p8_addr", 'G', 321, 1, 1, 0, 020h
	._inspect	'V', 'r', "p6_addr", 'G', 326, 1, 1, 0, 01h
	._inspect	'V', 'r', "p8_addr", 'G', 327, 1, 1, 0, 040h
	._inspect	'V', 'r', "p8_addr", 'G', 333, 1, 1, 0, 02h
	._inspect	'V', 'r', "p1_addr", 'G', 334, 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	265,'v'
	._type	266,'v'
	._type	267,'x',265,1
	._type	267,'m','',0,266
	._func	'water_detect','G',1,267,_water_detect,0
	._inspect	'F', 's', "water_detect", "_water_detect", 'G', 6
	.align
	._line	351
	.glb	_water_detect
_water_detect:
	enter	#01H
	._block
	._var	'i','A',3,-1
	._line	354
	mov.b	_p3_addr,_machine_type
	and.b	#20H,_machine_type
	shl.b	#-5,_machine_type
	._line	356
	jne	L273
	._line	359
	._block
	._line	360
	cmp.b	#1eH,_inlet_2m_buff
	jgt	L243
	._line	361
	._block
	._line	362
	mov.b	_water_level_buff,_water_buff
	._line	363
	or.b	#01H,_operation_flag_5
	._line	364
	and.b	#0fbH,_operation_flag_5
	._eblock
L243:
	._eblock
	._line	370
	._block
	._line	371
	cmp.b	#1eH,_drain_2m_buff
	jgt	L263
	._line	372
	._block
	._line	373
	mov.b	#00H,_water_buff
	._line	374
	and.b	#0feH,_operation_flag_5
	._eblock
L263:
	._eblock
	._line	357
	._block
	._line	379
	exitd	
	._eblock
L273:
	._line	383
	mov.b	#00H,-1[FB]	;  i 
	btst	3,_p3_addr
	bmnz	0,-1[FB]	;  i 
	._line	385
	mov.b	-1[FB],R0L	;  i 
	jeq	L283
	._line	386
	mov.b	_water_level_buff,_water_buff
	jmp	L293
	._line	387
L283:
	cmp.b	#00H,-1[FB]	;  i 
	stz	#00H,_water_buff
L293:
	._line	390
	cmp.b	_water_level_buff,_water_buff
	jne	L303
	._line	391
	._block
	._line	392
	or.b	#01H,_operation_flag_5
	._line	393
	and.b	#0fbH,_operation_flag_5
	._eblock
	._line	394
	jmp	L367
	._line	395
L303:
	cmp.b	_water_level_buff,_water_buff
	jltu	L365
	mov.b	_water_buff,R0L
	jne	L313
L365:
	._line	396
	and.b	#0feH,_operation_flag_5
L313:
L367:
	._line	397
	exitd	
E4:
	._eblock
M5:
	._efunc	M5
	._inspect	'F', 'd', "water_detect", "_water_detect", 'G', 351, 0, 00h, 0
	._inspect	'F', 't', "water_detect", 'G', 267
	._inspect	'V', 'r', "machine_type", 'G', 354, 1, 0, 0, 00h
	._inspect	'V', 'r', "p3_addr", 'G', 354, 1, 1, 0, 020h
	._inspect	'V', 'r', "machine_type", 'G', 356, 1, 0, 0, 00h
	._inspect	'V', 'r', "inlet_2m_buff", 'G', 360, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_buff", 'G', 362, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_level_buff", 'G', 362, 1, 0, 0, 00h
	._inspect	'V', 'r', "operation_flag_5", 'G', 363, 2, 0, 0, 01h
	._inspect	'V', 'r', "operation_flag_5", 'G', 364, 2, 0, 0, 04h
	._inspect	'V', 'r', "drain_2m_buff", 'G', 371, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_buff", 'G', 373, 1, 0, 0, 00h
	._inspect	'V', 'r', "operation_flag_5", 'G', 374, 2, 0, 0, 01h
	._inspect	'V', 'r', "p3_addr", 'G', 383, 1, 1, 0, 08h
	._inspect	'V', 'r', "water_buff", 'G', 386, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_level_buff", 'G', 386, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_buff", 'G', 387, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_buff", 'G', 390, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_level_buff", 'G', 390, 1, 0, 0, 00h
	._inspect	'V', 'r', "operation_flag_5", 'G', 392, 2, 0, 0, 01h
	._inspect	'V', 'r', "operation_flag_5", 'G', 393, 2, 0, 0, 04h
	._inspect	'V', 'r', "water_buff", 'G', 395, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_level_buff", 'G', 395, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_buff", 'G', 395, 1, 0, 0, 00h
	._inspect	'V', 'r', "operation_flag_5", 'G', 396, 2, 0, 0, 01h
	._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	268,'v'
	._type	269,'v'
	._type	270,'x',268,1
	._type	270,'m','',0,269
	._func	'wash_detect','G',1,270,_wash_detect,0
	._inspect	'F', 's', "wash_detect", "_wash_detect", 'G', 6
	.align
	._line	407
	.glb	_wash_detect
_wash_detect:
	enter	#01H
	._block
	._var	'j','A',3,-1
	._line	410
	mov.b	_p3_addr,_machine_type
	and.b	#20H,_machine_type
	shl.b	#-5,_machine_type
	._line	412
	jne	L369
	._line	413
	exitd	
L369:
	._line	415
	mov.b	#00H,-1[FB]	;  j 
	btst	4,_p3_addr
	bmnz	0,-1[FB]	;  j 
	._line	417
	mov.b	-1[FB],R0L	;  j 
	jeq	L379
	._line	418
	._block
	._line	419
	mov.w	#001eH,R0
	mov.w	R0,_run_stream_time
	._line	421
	mov.b	R0L,_soak_1m_buff
	._line	422
	mov.b	R0L,_soak_2m_buff
	._line	423
	mov.b	R0L,_soak_3m_buff
	._line	424
	mov.b	R0L,_soak_4m_buff
	._line	425
	mov.w	#001eH,_soak_9m_buff
	._line	426
	mov.w	#001eH,_process_left_time
	._eblock
L379:
	._line	429
	exitd	
E5:
	._eblock
M6:
	._efunc	M6
	._inspect	'F', 'd', "wash_detect", "_wash_detect", 'G', 407, 0, 00h, 0
	._inspect	'F', 't', "wash_detect", 'G', 270
	._inspect	'V', 'r', "machine_type", 'G', 410, 1, 0, 0, 00h
	._inspect	'V', 'r', "p3_addr", 'G', 410, 1, 1, 0, 020h
	._inspect	'V', 'r', "machine_type", 'G', 412, 1, 0, 0, 00h
	._inspect	'V'

⌨️ 快捷键说明

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