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

📄 process.a30

📁 电表解决方案概要power_meter_r8c2g_source_code
💻 A30
📖 第 1 页 / 共 5 页
字号:
	mov.w	#0000H,_process_left_time
	._line	165
	inc.b	_operation_counter
	._line	166
	inc.b	_pass_time_counter
	._line	167
	exitd	
	._eblock
	._line	169
L187:
	cmp.b	#78H,-2[FB]	;  j 
	jle	L557
	tst.b	#02H,_operation_flag_5
	jz	L559
	._line	170
	._block
	._line	171
	mov.w	#04b0H,_inlet_20m_buff
	._line	172
	mov.b	#78H,_inlet_2m_buff
	._line	174
	mov.w	#0000H,_process_left_time
	._line	175
	inc.b	_operation_counter
	._line	176
	inc.b	_pass_time_counter
	._line	177
	exitd	
	._eblock
	._eblock
L559:
L557:
L243:
	._line	181
	exitd	
	._eblock
	._line	184
L543:
L253:
	mov.b	6[FB],R0L	;  level 
	jeq	L319
	mov.b	-1[FB],R0L	;  inlet_time 
	jne	L561
	._line	185
	._block
	._line	186
	tst.b	#01H,_operation_flag_5
	jnz	L269
	._line	187
	._block
	._line	190
	mov.b	_output_buff,A0
	or.b	#04H,A0
	mov.b	A0,_output_buff
	._eblock
L269:
	._line	193
	cmp.w	#0000H,_inlet_20m_buff
	jle	L279
	._line	194
	add.w	#-1,_inlet_20m_buff
L279:
	._line	195
	cmp.b	#00H,_inlet_2m_buff
	jle	L289
	._line	196
	._block
	._line	197
	dec.b	_inlet_2m_buff
	._line	198
	add.w	#-1,_process_left_time
	._eblock
L289:
	._line	201
	cmp.b	_water_level_buff,_water_buff
	jne	L299
	._line	202
	._block
	._line	203
	mov.w	#04b0H,_inlet_20m_buff
	._line	204
	mov.b	#78H,_inlet_2m_buff
	._line	208
	mov.b	_output_buff,A0
	bclr	02H,A0
	mov.b	A0,_output_buff
	._line	210
	or.b	#01H,_operation_flag_5
	._line	211
	exitd	
	._eblock
	._line	213
L299:
	cmp.w	#0000H,_inlet_20m_buff
	jgt	L431
	._line	214
	._block
	._line	215
	mov.b	#06H,_err_buff
	._line	216
	mov.w	#04b0H,_inlet_20m_buff
	._line	217
	exitd	
	._eblock
	._eblock
	._line	220
L561:
L319:
	mov.b	5[FB],R0L	;  cycle 
	jeq	L429
	._line	221
	._block
	._line	222
	tst.b	#04H,_operation_flag_1
	jnz	L339
	._line	223
	._block
	._line	224
	mov.b	5[FB],___S0_cycle_buff	;  cycle 
	._line	225
	or.b	#04H,_operation_flag_1
	._eblock
L339:
	._line	228
	mov.b	___S0_cycle_buff,-2[FB]	;  i 
	._line	229
	mov.b	-2[FB],A0	;  i 
	and.w	#0080H,A0
	mov.b	A0,-2[FB]	;  i 
	._line	232
	jeq	L379
	._line	233
	._block
	._line	236
	mov.b	_output_buff,A0
	or.b	#04H,A0
	mov.b	A0,_output_buff
	._line	238
	cmp.b	#00H,_inlet_2m_buff
	jle	L349
	._line	239
	dec.b	_inlet_2m_buff
L349:
	._line	241
	mov.b	_inlet_2m_buff,R0L
	exts.b	R0L
	mov.w	#0078H,R1
	sub.w	R0,R1
	cmp.w	#0023H,R1
	jne	L563
	._line	242
	._block
	._line	245
	mov.b	_output_buff,A0
	bclr	02H,A0
	mov.b	A0,_output_buff
	._line	247
	mov.b	#78H,_inlet_2m_buff
	._line	248
	shl.b	#01H,___S0_cycle_buff
	._line	249
	jne	L359
	._line	250
	._block
	._line	252
	mov.b	#00H,_mot_cycle_buff
	._line	253
	mov.b	_output_buff,A0
	bclr	00H,A0
	mov.b	A0,_output_buff
	._line	254
	mov.b	_output_buff,A0
	bclr	04H,A0
	mov.b	A0,_output_buff
	._eblock
L359:
	._line	258
	inc.b	_pass_time_counter
	._eblock
	._line	260
	jmp	L571
	._eblock
	._line	262
L379:
	mov.b	-2[FB],R0L	;  i 
	jne	L565
	._line	263
	._block
	._line	264
	cmp.b	#00H,_inlet_2m_buff
	jle	L389
	._line	265
	dec.b	_inlet_2m_buff
L389:
	._line	266
	mov.b	_inlet_2m_buff,R0L
	exts.b	R0L
	mov.w	#0078H,R1
	sub.w	R0,R1
	cmp.w	#001eH,R1
	jne	L567
	._line	267
	._block
	._line	268
	mov.b	#78H,_inlet_2m_buff
	._line	269
	shl.b	#01H,___S0_cycle_buff
	._line	272
	inc.b	_pass_time_counter
	._line	274
	mov.b	___S0_cycle_buff,R0L
	jne	L569
	._line	289
	._block
	._line	290
	mov.b	#00H,_mot_cycle_buff
	._line	291
	mov.b	_output_buff,A0
	bclr	00H,A0
	mov.b	A0,_output_buff
	._line	292
	mov.b	_output_buff,A0
	bclr	04H,A0
	mov.b	A0,_output_buff
	._line	294
	mov.w	#0000H,_process_left_time
	._line	295
	and.b	#0fbH,_operation_flag_1
	._line	296
	mov.b	_operation_counter,R0L
	exts.b	R0L
	add.w	#0008H,R0
	mov.b	R0L,_operation_counter
	._line	297
	inc.b	_pass_time_counter
	._eblock
	._line	299
	jmp	L571
	._eblock
	._eblock
	._eblock
	._line	304
L429:
	._line	305
	exitd	
L571:
L569:
L567:
L565:
L563:
L431:
	._eblock
	._line	306
	exitd	
E1:
	._eblock
M1:
	._efunc	M1
	._inspect	'F', 'd', "inlet", "$inlet", 'G', 33, 0, 00h, 0
	._inspect	'F', 't', "inlet", 'G', 257
	._inspect	'V', 'r', "process_left_time", 'G', 38, 2, 0, 0, 00h
	._inspect	'V', 'r', "inlet_2m_buff", 'G', 39, 1, 0, 0, 00h
	._inspect	'V', 'r', "process_left_time", 'G', 39, 2, 0, 0, 00h
	._inspect	'V', 'r', "operation_flag_5", 'G', 43, 2, 0, 0, 01h
	._inspect	'V', 'r', "output_buff", 'G', 47, 1, 0, 0, 00h
	._inspect	'V', 'r', "output_buff", 'G', 47, 1, 0, 0, 00h
	._inspect	'V', 'r', "output_buff", 'G', 58, 1, 0, 0, 00h
	._inspect	'V', 'r', "output_buff", 'G', 58, 1, 0, 0, 00h
	._inspect	'V', 'r', "inlet_10s_buff", 'G', 60, 1, 0, 0, 00h
	._inspect	'V', 'r', "output_buff", 'G', 64, 1, 0, 0, 00h
	._inspect	'V', 'r', "output_buff", 'G', 64, 1, 0, 0, 00h
	._inspect	'V', 'r', "inlet_10s_buff", 'G', 66, 1, 0, 0, 00h
	._inspect	'V', 'r', "operation_flag_5", 'G', 68, 2, 0, 0, 02h
	._inspect	'V', 'r', "operation_flag_5", 'G', 69, 2, 0, 0, 01h
	._inspect	'V', 'r', "process_left_time", 'G', 71, 2, 0, 0, 00h
	._inspect	'V', 'r', "operation_counter", 'G', 72, 1, 0, 0, 00h
	._inspect	'V', 'r', "pass_time_counter", 'G', 73, 1, 0, 0, 00h
	._inspect	'V', 'r', "inlet_10s_buff", 'G', 79, 1, 0, 0, 00h
	._inspect	'V', 'r', "inlet_10s_buff", 'G', 80, 1, 0, 0, 00h
	._inspect	'V', 'r', "inlet_20m_buff", 'G', 81, 2, 0, 0, 00h
	._inspect	'V', 'r', "inlet_20m_buff", 'G', 82, 2, 0, 0, 00h
	._inspect	'V', 'r', "inlet_2m_buff", 'G', 83, 1, 0, 0, 00h
	._inspect	'V', 'r', "inlet_2m_buff", 'G', 85, 1, 0, 0, 00h
	._inspect	'V', 'r', "process_left_time", 'G', 86, 2, 0, 0, 00h
	._inspect	'V', 'r', "inlet_20m_buff", 'G', 89, 2, 0, 0, 00h
	._inspect	'V', 'r', "output_buff", 'G', 93, 1, 0, 0, 00h
	._inspect	'V', 'r', "output_buff", 'G', 93, 1, 0, 0, 00h
	._inspect	'V', 'r', "inlet_20m_buff", 'G', 95, 2, 0, 0, 00h
	._inspect	'V', 'r', "inlet_2m_buff", 'G', 96, 1, 0, 0, 00h
	._inspect	'V', 'r', "inlet_10s_buff", 'G', 97, 1, 0, 0, 00h
	._inspect	'V', 'r', "inlet_2m_buff", 'G', 98, 1, 0, 0, 00h
	._inspect	'V', 'r', "process_left_time", 'G', 98, 2, 0, 0, 00h
	._inspect	'V', 'r', "err_buff", 'G', 100, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_level_buff", 'G', 104, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_buff", 'G', 106, 1, 0, 0, 00h
	._inspect	'V', 'r', "inlet_2m_buff", 'G', 112, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_buff", 'G', 114, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_level_buff", 'G', 114, 1, 0, 0, 00h
	._inspect	'V', 'r', "operation_flag_5", 'G', 116, 2, 0, 0, 01h
	._inspect	'V', 'r', "output_buff", 'G', 120, 1, 0, 0, 00h
	._inspect	'V', 'r', "output_buff", 'G', 120, 1, 0, 0, 00h
	._inspect	'V', 'r', "inlet_20m_buff", 'G', 124, 2, 0, 0, 00h
	._inspect	'V', 'r', "inlet_2m_buff", 'G', 125, 1, 0, 0, 00h
	._inspect	'V', 'r', "process_left_time", 'G', 127, 2, 0, 0, 00h
	._inspect	'V', 'r', "operation_counter", 'G', 128, 1, 0, 0, 00h
	._inspect	'V', 'r', "pass_time_counter", 'G', 129, 1, 0, 0, 00h
	._inspect	'V', 'r', "operation_flag_5", 'G', 132, 2, 0, 0, 02h
	._inspect	'V', 'r', "inlet_20m_buff", 'G', 134, 2, 0, 0, 00h
	._inspect	'V', 'r', "inlet_2m_buff", 'G', 135, 1, 0, 0, 00h
	._inspect	'V', 'r', "process_left_time", 'G', 137, 2, 0, 0, 00h
	._inspect	'V', 'r', "operation_counter", 'G', 138, 1, 0, 0, 00h
	._inspect	'V', 'r', "pass_time_counter", 'G', 139, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_buff", 'G', 145, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_level_buff", 'G', 145, 1, 0, 0, 00h
	._inspect	'V', 'r', "inlet_2m_buff", 'G', 151, 1, 0, 0, 00h
	._inspect	'V', 'r', "output_buff", 'G', 155, 1, 0, 0, 00h
	._inspect	'V', 'r', "output_buff", 'G', 155, 1, 0, 0, 00h
	._inspect	'V', 'r', "operation_flag_5", 'G', 157, 2, 0, 0, 01h
	._inspect	'V', 'r', "inlet_20m_buff", 'G', 161, 2, 0, 0, 00h
	._inspect	'V', 'r', "inlet_2m_buff", 'G', 162, 1, 0, 0, 00h
	._inspect	'V', 'r', "process_left_time", 'G', 164, 2, 0, 0, 00h
	._inspect	'V', 'r', "operation_counter", 'G', 165, 1, 0, 0, 00h
	._inspect	'V', 'r', "pass_time_counter", 'G', 166, 1, 0, 0, 00h
	._inspect	'V', 'r', "operation_flag_5", 'G', 169, 2, 0, 0, 02h
	._inspect	'V', 'r', "inlet_20m_buff", 'G', 171, 2, 0, 0, 00h
	._inspect	'V', 'r', "inlet_2m_buff", 'G', 172, 1, 0, 0, 00h
	._inspect	'V', 'r', "process_left_time", 'G', 174, 2, 0, 0, 00h
	._inspect	'V', 'r', "operation_counter", 'G', 175, 1, 0, 0, 00h
	._inspect	'V', 'r', "pass_time_counter", 'G', 176, 1, 0, 0, 00h
	._inspect	'V', 'r', "operation_flag_5", 'G', 186, 2, 0, 0, 01h

⌨️ 快捷键说明

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