operation_a.a30

来自「电表解决方案概要power_meter_r8c2g_source_code」· A30 代码 · 共 1,585 行 · 第 1/5 页

A30
1,585
字号
	._line	236
	mov.b	_water_level,A0
	mul.w	#0003H,A0
	mov.b	_texture_buff,R0L
	mov.b	#00H,R0H
	add.w	R0,A0
	mov.b	_Memo_Soak_Time_Table[A0],_main_soak_time
	._line	237
	mov.b	_water_level,A0
	mul.w	#0003H,A0
	mov.b	_texture_buff,R0L
	mov.b	#00H,R0H
	add.w	R0,A0
	mov.b	_Memo_Wash_Time_Table[A0],_main_wash_time
	._eblock
	._line	238
	jmp	L785
	._line	240
L495:
	cmp.b	#01H,_program_auto_flag
	jeq	L505
	._line	241
	._block
	._line	242
	mov.b	_Memo_Soak_Time_Table+4,_main_soak_time
	._line	243
	mov.b	_Memo_Wash_Time_Table+4,_main_wash_time
	._eblock
L505:
L785:
	._line	246
	._inspect	'S', 'c', "memo_program", "_memo_program", 'G', 0, 246
	jsr	_memo_program
	._line	247
	mov.b	_program_buff,A0
	push.b	_Left_time_Colum_Table[A0]
	._inspect	'S', 'p', 1
	mov.w	#_Memo_Time_Table,R1
	._inspect	'S', 'c', "program_time", "$program_time", 'G', 0, 247
	jsr	$program_time
	._inspect	'S', 'p', -1
	add.b	#01H,SP
	mov.b	R0L,_program_left_time
	._line	248
	jmp	L471
	._line	250
L515:
	._line	252
	cmp.b	#32H,_ac_frequency
	jne	L517
	._line	253
	mov.b	#02H,_stream_table_row
	jmp	L527
	._line	255
L517:
	cmp.b	#3cH,_ac_frequency
	stz	#03H,_stream_table_row
L527:
	._line	258
	mov.b	#00H,_ext_stream_table_row
	._line	260
	mov.b	_water_level,A0
	mov.b	_Strong_Soak_Time_Table[A0],_main_soak_time
	._line	261
	mov.b	_water_level,A0
	mov.b	_Strong_Wash_Time_Table[A0],_main_wash_time
	._line	263
	._inspect	'S', 'c', "strong_program", "_strong_program", 'G', 0, 263
	jsr	_strong_program
	._line	264
	jmp	L471
	._line	266
L537:
	._line	268
	cmp.b	#32H,_ac_frequency
	jne	L539
	._line	269
	mov.b	#04H,_stream_table_row
	jmp	L549
	._line	271
L539:
	cmp.b	#3cH,_ac_frequency
	stz	#05H,_stream_table_row
L549:
	._line	274
	mov.b	#01H,_ext_stream_table_row
	._line	276
	mov.b	_Soft_Soak_Time,_main_soak_time
	._line	277
	mov.b	_Soft_Wash_Time,_main_wash_time
	._line	279
	._inspect	'S', 'c', "soft_wash_program", "_soft_wash_program", 'G', 0, 279
	jsr	_soft_wash_program
	._line	280
	jmp	L471
	._line	282
L559:
	._line	284
	cmp.b	#32H,_ac_frequency
	jne	L561
	._line	285
	mov.b	#0eH,_stream_table_row
	jmp	L571
	._line	287
L561:
	cmp.b	#3cH,_ac_frequency
	stz	#0fH,_stream_table_row
L571:
	._line	290
	mov.b	#01H,_ext_stream_table_row
	._line	292
	mov.b	_Speedy_Wash_Time,_main_wash_time
	._line	294
	._inspect	'S', 'c', "speedy_program", "_speedy_program", 'G', 0, 294
	jsr	_speedy_program
	._line	295
	jmp	L471
	._line	298
L581:
	._line	300
	cmp.b	#32H,_ac_frequency
	jne	L583
	._line	301
	mov.b	#08H,_stream_table_row
	jmp	L593
	._line	303
L583:
	cmp.b	#3cH,_ac_frequency
	stz	#09H,_stream_table_row
L593:
	._line	306
	mov.b	#00H,_ext_stream_table_row
	._line	308
	mov.b	_water_level,A0
	mul.w	#0003H,A0
	mov.b	_texture_buff,R0L
	mov.b	#00H,R0H
	add.w	R0,A0
	mov.b	_Standard_Soak_Time_Table[A0],_main_soak_time
	._line	309
	mov.b	_water_level,A0
	mul.w	#0003H,A0
	mov.b	_texture_buff,R0L
	mov.b	#00H,R0H
	add.w	R0,A0
	mov.b	_Standard_Soak_Time_Table[A0],_main_wash_time
	._line	311
	._inspect	'S', 'c', "standard_program", "_standard_program", 'G', 0, 311
	jsr	_standard_program
	._line	312
	jmp	L471
	._line	314
L603:
	._line	316
	cmp.b	#32H,_ac_frequency
	jne	L605
	._line	317
	mov.b	#0aH,_stream_table_row
	jmp	L615
	._line	319
L605:
	cmp.b	#3cH,_ac_frequency
	stz	#0bH,_stream_table_row
L615:
	._line	322
	mov.b	#00H,_ext_stream_table_row
	._line	324
	mov.b	-1[FB],_table_rom_number	;  j 
	._line	326
	mov.b	_Child_Soak_Time,_main_soak_time
	._line	327
	mov.b	_Child_Wash_Time,_main_wash_time
	._line	329
	._inspect	'S', 'c', "child_program", "_child_program", 'G', 0, 329
	jsr	_child_program
	._line	330
	jmp	L471
	._line	332
L625:
	._line	334
	cmp.b	#32H,_ac_frequency
	jne	L627
	._line	335
	mov.b	#0cH,_stream_table_row
	jmp	L637
	._line	337
L627:
	cmp.b	#3cH,_ac_frequency
	stz	#0dH,_stream_table_row
L637:
	._line	340
	mov.b	#01H,_ext_stream_table_row
	._line	342
	mov.b	-1[FB],_table_rom_number	;  j 
	._line	344
	mov.b	_Wool_Soak_Time,_main_soak_time
	._line	345
	mov.b	_Wool_Wash_Time,_main_wash_time
	._line	347
	._inspect	'S', 'c', "wool_program", "_wool_program", 'G', 0, 347
	jsr	_wool_program
	._line	348
	jmp	L471
	._line	350
L647:
	._line	352
	cmp.b	#32H,_ac_frequency
	jne	L649
	._line	353
	mov.b	#0eH,_stream_table_row
	jmp	L659
	._line	355
L649:
	cmp.b	#3cH,_ac_frequency
	stz	#0fH,_stream_table_row
L659:
	._line	358
	mov.b	#01H,_ext_stream_table_row
	._line	360
	mov.b	_Silk_Wash_Time,_main_wash_time
	._line	362
	._inspect	'S', 'c', "silk_program", "_silk_program", 'G', 0, 362
	jsr	_silk_program
	._line	363
	jmp	L471
	._line	366
L669:
	._line	368
	cmp.b	#32H,_ac_frequency
	jne	L671
	._line	369
	mov.b	#00H,_stream_table_row
	jmp	L681
	._line	371
L671:
	cmp.b	#3cH,_ac_frequency
	stz	#01H,_stream_table_row
L681:
	._line	374
	mov.b	#00H,_ext_stream_table_row
	._line	376
	._inspect	'S', 'c', "single_wash_program", "_single_wash_program", 'G', 0, 376
	jsr	_single_wash_program
	._line	377
	jmp	L471
	._line	380
L691:
	._line	382
	cmp.b	#32H,_ac_frequency
	jne	L693
	._line	383
	mov.b	#00H,_stream_table_row
	jmp	L703
	._line	385
L693:
	cmp.b	#3cH,_ac_frequency
	stz	#01H,_stream_table_row
L703:
	._line	388
	mov.b	#00H,_ext_stream_table_row
	._line	390
	._inspect	'S', 'c', "rinse_program", "_rinse_program", 'G', 0, 390
	jsr	_rinse_program
	._line	391
	jmp	L471
	._line	394
L713:
	._line	396
	._inspect	'S', 'c', "single_spin_program", "_single_spin_program", 'G', 0, 396
	jsr	_single_spin_program
	._line	397
	jmp	L471
	._line	400
L715:
	._line	402
	cmp.b	#32H,_ac_frequency
	jne	L717
	._line	403
	mov.b	#00H,_stream_table_row
	jmp	L727
	._line	405
L717:
	cmp.b	#3cH,_ac_frequency
	stz	#01H,_stream_table_row
L727:
	._line	408
	mov.b	#00H,_ext_stream_table_row
	._line	410
	._inspect	'S', 'c', "special_program", "_special_program", 'G', 0, 410
	jsr	_special_program
	._eblock
	._line	414
L471:
	._line	416
	exitd	
E2:
	._eblock
M15:
	._efunc	M15
	._inspect	'F', 'd', "operation", "_operation", 'G', 217, 0, 00h, 0
	._inspect	'F', 't', "operation", 'G', 261
	._inspect	'V', 'r', "program_buff", 'G', 222, 1, 0, 0, 00h
	._inspect	'V', 'r', "ac_frequency", 'G', 226, 1, 0, 0, 00h
	._inspect	'V', 'r', "stream_table_row", 'G', 227, 1, 0, 0, 00h
	._inspect	'V', 'r', "stream_table_row", 'G', 229, 1, 0, 0, 00h
	._inspect	'V', 'r', "ac_frequency", 'G', 229, 1, 0, 0, 00h
	._inspect	'V', 'r', "ext_stream_table_row", 'G', 232, 1, 0, 0, 00h
	._inspect	'V', 'r', "program_auto_flag", 'G', 234, 1, 0, 0, 00h
	._inspect	'V', 'r', "water_level", 'G', 236, 1, 0, 0, 00h
	._inspect	'V', 'r', "texture_buff", 'G', 236, 1, 0, 0, 00h
	._inspect	'V', 'r', "main_soak_time", 'G', 236, 1, 0, 0, 00h
	._inspect	'V', 'r', "Memo_Soak_Time_Table", 'G', 236, 9, 0, 0, 00h
	._inspect	'V', 'r', "water_level", 'G', 237, 1, 0, 0, 00h
	._inspect	'V', 'r', "texture_buff", 'G', 237, 1, 0, 0, 00h
	._inspect	'V', 'r', "main_wash_time", 'G', 237, 1, 0, 0, 00h
	._inspect	'V', 'r', "Memo_Wash_Time_Table", 'G', 237, 9, 0, 0, 00h
	._inspect	'V', 'r', "program_auto_flag", 'G', 240, 1, 0, 0, 00h

⌨️ 快捷键说明

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