operation_a.a30
来自「电表解决方案概要power_meter_r8c2g_source_code」· A30 代码 · 共 1,585 行 · 第 1/5 页
A30
1,585 行
._inspect 'V', 'e', "stream_100ms_buff", 'G', 599, 1, 0, 0, 00h
._inspect 'V', 'e', "base_100ms_buff", 'G', 600, 1, 0, 0, 00h
._inspect 'V', 'e', "stream_start_flag", 'G', 604, 1, 0, 0, 00h
._inspect 'V', 'e', "stream_stop_flag", 'G', 605, 1, 0, 0, 00h
._inspect 'V', 'e', "pro_default_flag", 'G', 607, 1, 0, 0, 00h
._inspect 'V', 'e', "program_left_time", 'G', 609, 1, 0, 0, 00h
._inspect 'V', 'e', "key_buzz_flag", 'G', 612, 1, 0, 0, 00h
._inspect 'V', 'e', "buzz_flag", 'G', 613, 1, 0, 0, 00h
._inspect 'V', 'e', "buzz_24ms_buff", 'G', 615, 1, 0, 0, 00h
._inspect 'V', 'e', "buzz_15m_buff", 'G', 617, 1, 0, 0, 00h
._inspect 'V', 'e', "buzz_switch_flag", 'G', 618, 1, 0, 0, 00h
._inspect 'V', 'e', "buzz_500ms_buff", 'G', 619, 1, 0, 0, 00h
._inspect 'V', 'e', "buzz_time", 'G', 620, 1, 0, 0, 00h
._inspect 'V', 'e', "led_disp", 'G', 655, 5, 0, 0, 00h
._inspect 'V', 'e', "flag", 'G', 665, 5, 0, 0, 00h
._inspect 'V', 'e', "Stream_Table_A", 'G', 676, 216, 0, 0, 00h
._inspect 'V', 'e', "Stream_Table_B", 'G', 677, 144, 0, 0, 00h
._inspect 'V', 'e', "Stream_Table_Ext_A", 'G', 678, 32, 0, 0, 00h
._inspect 'V', 'e', "Stream_Table_Ext_B", 'G', 679, 32, 0, 0, 00h
._inspect 'V', 'e', "Stream_Table_TEST", 'G', 680, 24, 0, 0, 00h
._inspect 'V', 'e', "Balance_Stream_A", 'G', 682, 8, 0, 0, 00h
._inspect 'V', 'e', "Speedy_Stream_A", 'G', 683, 16, 0, 0, 00h
._inspect 'V', 'e', "Fastest_Stream_A", 'G', 684, 8, 0, 0, 00h
._inspect 'V', 'e', "Standard_Time_Table", 'G', 690, 21, 0, 0, 00h
._inspect 'V', 'e', "Memo_Time_Table", 'G', 692, 25, 0, 0, 00h
._inspect 'V', 'e', "Strong_Time_Table", 'G', 694, 23, 0, 0, 00h
._inspect 'V', 'e', "Silk_Time_Table", 'G', 696, 21, 0, 0, 00h
._inspect 'V', 'e', "Soft_Time_Table", 'G', 698, 33, 0, 0, 00h
._inspect 'V', 'e', "Child_Time_Table", 'G', 700, 33, 0, 0, 00h
._inspect 'V', 'e', "Wool_Time_Table", 'G', 702, 25, 0, 0, 00h
._inspect 'V', 'e', "Speedy_Time_Table", 'G', 704, 14, 0, 0, 00h
._inspect 'V', 'e', "Fastest_Time_Table", 'G', 706, 16, 0, 0, 00h
._inspect 'V', 'e', "TubeDry_Time_Table", 'G', 708, 7, 0, 0, 00h
._inspect 'V', 'e', "Single_Wash_Time_Table", 'G', 711, 0, 0, 0, 00h
._inspect 'V', 'e', "Rinse_Time_Table", 'G', 713, 0, 0, 0, 00h
._inspect 'V', 'e', "Single_Spin_Time_Table", 'G', 715, 0, 0, 0, 00h
._inspect 'V', 'e', "Woven_Time_Table", 'G', 718, 33, 0, 0, 00h
._inspect 'V', 'e', "Maotan_Time_Table", 'G', 720, 33, 0, 0, 00h
._inspect 'V', 'e', "Memo_Soak_Time_Table", 'G', 728, 9, 0, 0, 00h
._inspect 'V', 'e', "Memo_Wash_Time_Table", 'G', 730, 9, 0, 0, 00h
._inspect 'V', 'e', "Standard_Soak_Time_Table", 'G', 732, 9, 0, 0, 00h
._inspect 'V', 'e', "Standard_Wash_Time_Table", 'G', 734, 9, 0, 0, 00h
._inspect 'V', 'e', "Strong_Soak_Time_Table", 'G', 736, 3, 0, 0, 00h
._inspect 'V', 'e', "Strong_Wash_Time_Table", 'G', 738, 3, 0, 0, 00h
._inspect 'V', 'e', "Soft_Soak_Time", 'G', 741, 1, 0, 0, 00h
._inspect 'V', 'e', "Soft_Wash_Time", 'G', 742, 1, 0, 0, 00h
._inspect 'V', 'e', "Child_Soak_Time", 'G', 744, 1, 0, 0, 00h
._inspect 'V', 'e', "Child_Wash_Time", 'G', 745, 1, 0, 0, 00h
._inspect 'V', 'e', "Wool_Soak_Time", 'G', 747, 1, 0, 0, 00h
._inspect 'V', 'e', "Wool_Wash_Time", 'G', 749, 1, 0, 0, 00h
._inspect 'V', 'e', "Silk_Wash_Time", 'G', 751, 1, 0, 0, 00h
._inspect 'V', 'e', "Speedy_Wash_Time", 'G', 752, 1, 0, 0, 00h
._inspect 'V', 'e', "seg_led_table", 'G', 754, 0, 0, 0, 00h
._inspect 'V', 'e', "OPT_Table", 'G', 756, 0, 0, 0, 00h
._inspect 'V', 'e', "Left_time_Colum_Table", 'G', 758, 0, 0, 0, 00h
._inspect 'M', "D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/disp_definel.h", "D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/operation_a"
._inspect 'F', 'p', "cpu_init", "_cpu_init", 'G', 98, 0, 00h, 0
._inspect 'F', 'p', "sfr_ref", "_sfr_ref", 'G', 99, 0, 00h, 0
._inspect 'F', 'p', "sfr_init", "_sfr_init", 'G', 100, 0, 00h, 0
._inspect 'F', 'p', "ram_init", "_ram_init", 'G', 101, 0, 00h, 0
._inspect 'F', 'p', "disp_key_power", "_disp_key_power", 'G', 104, 0, 00h, 0
._inspect 'F', 'p', "disp_key_start", "_disp_key_start", 'G', 105, 0, 00h, 0
._inspect 'F', 'p', "disp_key_setup", "_disp_key_setup", 'G', 106, 0, 00h, 0
._inspect 'F', 'p', "disp_key_confirm", "_disp_key_confirm", 'G', 108, 0, 00h, 0
._inspect 'F', 'p', "disp_key_function", "_disp_key_function", 'G', 110, 0, 00h, 0
._inspect 'F', 'p', "disp_key_program", "_disp_key_program", 'G', 111, 0, 00h, 0
._inspect 'F', 'p', "disp_key_water", "_disp_key_water", 'G', 112, 0, 00h, 0
._inspect 'F', 'p', "key_scan", "_key_scan", 'G', 114, 0, 00h, 0
._inspect 'F', 'p', "key_judge", "_key_judge", 'G', 115, 0, 00h, 0
._inspect 'F', 'p', "menu_display", "_menu_display", 'G', 116, 0, 00h, 0
._inspect 'F', 'p', "display_status_judge", "_display_status_judge", 'G', 117, 0, 00h, 0
._inspect 'F', 'p', "process_flash", "$process_flash", 'G', 123, 0, 00h, 0
._inspect 'F', 'p', "lcd_flash", "$lcd_flash", 'G', 126, 0, 00h, 0
._inspect 'F', 'p', "menu_page_shift", "$menu_page_shift", 'G', 129, 0, 00h, 0
._inspect 'V', 'e', "Lcd_Byte_0", 'G', 156, 1, 0, 0, 00h
._inspect 'V', 'e', "Lcd_Byte_1", 'G', 157, 1, 0, 0, 00h
._inspect 'V', 'e', "Lcd_Byte_2", 'G', 158, 1, 0, 0, 00h
._inspect 'V', 'e', "epprom_4ms_buff", 'G', 166, 1, 0, 0, 00h
._inspect 'V', 'e', "key_4ms_buff", 'G', 167, 1, 0, 0, 00h
._inspect 'V', 'e', "Tflash", 'G', 168, 1, 0, 0, 00h
._inspect 'V', 'e', "Pflash", 'G', 169, 1, 0, 0, 00h
._inspect 'V', 'e', "scan_buff", 'G', 170, 1, 0, 0, 00h
._inspect 'V', 'e', "scan_count", 'G', 171, 1, 0, 0, 00h
._inspect 'V', 'e', "flash_flag", 'G', 173, 1, 0, 0, 00h
._inspect 'V', 'e', "flash_switch_flag", 'G', 174, 1, 0, 0, 00h
._inspect 'V', 'e', "Pflash_switch_flag", 'G', 175, 1, 0, 0, 00h
._inspect 'V', 'e', "run_page3_flag", 'G', 176, 1, 0, 0, 00h
._inspect 'V', 'e', "confirm_num", 'G', 178, 1, 0, 0, 00h
._inspect 'V', 'e', "set_num", 'G', 180, 1, 0, 0, 00h
._inspect 'V', 'e', "set_num_lev_0", 'G', 181, 1, 0, 0, 00h
._inspect 'V', 'e', "set_num_lev_1", 'G', 182, 1, 0, 0, 00h
._inspect 'V', 'e', "set_num_lev_2", 'G', 183, 1, 0, 0, 00h
._inspect 'V', 'e', "set_num_lev_3", 'G', 184, 1, 0, 0, 00h
._inspect 'V', 'e', "menu_level_buff", 'G', 189, 1, 0, 0, 00h
._inspect 'V', 'e', "menu_level_3_back_flag", 'G', 191, 1, 0, 0, 00h
._inspect 'V', 'e', "menu_buff_0", 'G', 193, 1, 0, 0, 00h
._inspect 'V', 'e', "menu_buff_1", 'G', 194, 1, 0, 0, 00h
._inspect 'V', 'e', "menu_buff_2", 'G', 195, 1, 0, 0, 00h
._inspect 'V', 'e', "menu_buff_3", 'G', 196, 1, 0, 0, 00h
._inspect 'V', 'e', "menu_buff_4", 'G', 197, 1, 0, 0, 00h
._inspect 'V', 'e', "menu_buff_5", 'G', 198, 1, 0, 0, 00h
._inspect 'V', 'e', "menu_buff_6", 'G', 199, 1, 0, 0, 00h
._inspect 'V', 'e', "menu_0_flag", 'G', 204, 1, 0, 0, 00h
._inspect 'V', 'e', "function_set_flag", 'G', 213, 1, 0, 0, 00h
._inspect 'V', 'e', "program_set_flag", 'G', 214, 1, 0, 0, 00h
._inspect 'V', 'e', "water_set_flag", 'G', 215, 1, 0, 0, 00h
._inspect 'V', 'e', "power_flag", 'G', 216, 1, 0, 0, 00h
._inspect 'V', 'e', "key_press_flag", 'G', 217, 1, 0, 0, 00h
._inspect 'V', 'e', "first_water_flag", 'G', 219, 1, 0, 0, 00h
._inspect 'V', 'e', "first_soak_flag", 'G', 220, 1, 0, 0, 00h
._inspect 'V', 'e', "first_wash_flag", 'G', 221, 1, 0, 0, 00h
._inspect 'V', 'e', "first_rinse_flag", 'G', 222, 1, 0, 0, 00h
._inspect 'V', 'e', "first_spin_flag", 'G', 223, 1, 0, 0, 00h
._inspect 'V', 'e', "first_save_water_flag", 'G', 224, 1, 0, 0, 00h
._inspect 'V', 'e', "first_wind_dry_flag", 'G', 225, 1, 0, 0, 00h
._inspect 'V', 'e', "first_preset_flag", 'G', 226, 1, 0, 0, 00h
._inspect 'V', 'e', "first_function_flag", 'G', 227, 1, 0, 0, 00h
._inspect 'V', 'e', "confirm_water_flag", 'G', 229, 1, 0, 0, 00h
._inspect 'V', 'e', "confirm_soak_flag", 'G', 230, 1, 0, 0, 00h
._inspect 'V', 'e', "confirm_wash_flag", 'G', 231, 1, 0, 0, 00h
._inspect 'V', 'e', "confirm_rinse_flag", 'G', 232, 1, 0, 0, 00h
._inspect 'V', 'e', "confirm_spin_flag", 'G', 233, 1, 0, 0, 00h
._inspect 'V', 'e', "confirm_save_water_flag", 'G', 234, 1, 0, 0, 00h
._inspect 'V', 'e', "confirm_wind_dry_flag", 'G', 235, 1, 0, 0, 00h
._inspect 'V', 'e', "confirm_preset_flag", 'G', 236, 1, 0, 0, 00h
._inspect 'V', 'e', "confirm_function_flag", 'G', 237, 1, 0, 0, 00h
._inspect 'V', 'e', "once_set_water_flag", 'G', 239, 1, 0, 0, 00h
._inspect 'V', 'e', "once_set_soak_flag", 'G', 240, 1, 0, 0, 00h
._inspect 'V', 'e', "once_set_wash_flag", 'G', 241, 1, 0, 0, 00h
._inspect 'V', 'e', "once_set_rinse_flag", 'G', 242, 1, 0, 0, 00h
._inspect 'V', 'e', "once_set_spin_flag", 'G', 243, 1, 0, 0, 00h
._inspect 'V', 'e', "once_set_save_water_flag", 'G', 244, 1, 0, 0, 00h
._inspect 'V', 'e', "once_set_wind_dry_flag", 'G', 245, 1, 0, 0, 00h
._inspect 'V', 'e', "once_set_preset_flag", 'G', 246, 1, 0, 0, 00h
._inspect 'V', 'e', "once_set_function_flag", 'G', 247, 1, 0, 0, 00h
._inspect 'V', 'e', "num_overflow_flag", 'G', 249, 1, 0, 0, 00h
._inspect 'V', 'e', "key_debunce_0", 'G', 251, 1, 0, 0, 00h
._inspect 'V', 'e', "key_debunce_1", 'G', 252, 1, 0, 0, 00h
._inspect 'V', 'e', "key_buff_0", 'G', 257, 1, 0, 0, 00h
._inspect 'V', 'e', "key_buff_1", 'G', 258, 1, 0, 0, 00h
._inspect 'V', 'e', "key_buff_2", 'G', 260, 2, 0, 0, 00h
._inspect 'V', 'e', "key_buff_3", 'G', 261, 1, 0, 0, 00h
._inspect 'V', 'e', "key_buff_4", 'G', 262, 1, 0, 0, 00h
._inspect 'V', 'e', "save_key_1", 'G', 265, 2, 0, 0, 00h
._inspect 'V', 'e', "save_key_2", 'G', 266, 1, 0, 0, 00h
._inspect 'V', 'e', "left_time_buff", 'G', 271, 1, 0, 0, 00h
._inspect 'V', 'e', "save_program_buff", 'G', 277, 1, 0, 0, 00h
._inspect 'V', 'e', "rinse_three_time_flag", 'G', 278, 1, 0, 0, 00h
._inspect 'V', 'e', "rinse_one_time_flag", 'G', 279, 1, 0, 0, 00h
._inspect 'V', 'e', "program_buff_0", 'G', 281, 1, 0, 0, 00h
._inspect 'V', 'e', "water_level_buff_0", 'G', 282, 1, 0, 0, 00h
._inspect 'V', 'e', "soak_time_buff_0", 'G', 283, 1, 0, 0, 00h
._inspect 'V', 'e', "wash_time_buff_0", 'G', 284, 1, 0, 0, 00h
._inspect 'V', 'e', "rinse_time_buff_0", 'G', 285, 1, 0, 0, 00h
._inspect 'V', 'e', "spin_time_buff_0", 'G', 286, 1, 0, 0, 00h
._inspect 'V', 'e', "save_water_num_buff_0", 'G', 287, 1, 0, 0, 00h
._inspect 'V', 'e', "winddry_time_buff_0", 'G', 288, 1, 0, 0, 00h
._inspect 'V', 'e', "preset_time_buff_0", 'G', 289, 1, 0, 0, 00h
._inspect 'V', 'e', "function_set_buff_0", 'G', 290, 1, 0, 0, 00h
._inspect 'V', 'e', "soak_time_buff", 'G', 294, 1, 0, 0, 00h
._inspect 'V', 'e', "wash_time_buff", 'G', 295, 1, 0, 0, 00h
._inspect 'V', 'e', "rinse_time_buff", 'G', 296, 1, 0, 0, 00h
._inspect 'V', 'e', "spin_time_buff", 'G', 297, 1, 0, 0, 00h
._inspect 'V', 'e', "save_water_num_buff", 'G', 298, 1, 0, 0, 00h
._inspect 'V', 'e', "winddry_time_buff", 'G', 299, 1, 0, 0, 00h
._inspect 'V', 'e', "preset_time_buff", 'G', 300, 1, 0, 0, 00h
._inspect 'V', 'e', "function_set_buff", 'G', 301, 1, 0, 0, 00h
._inspect 'V', 'e', "program_start_flag", 'G', 304, 1, 0, 0, 00h
._inspect 'V', 'e', "program_pause_flag", 'G', 305, 1, 0, 0, 00h
._inspect 'V', 'e', "preset_set_flag", 'G', 307, 1, 0, 0, 00h
._inspect 'M', "D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/operation_a.c", "D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/operation_a"
._inspect 'F', 'p', "cut_off_power", "_cut_off_power", 'G', 7, 0, 00h, 0
;## # FUNCTION logic
;## # ARG Size(0) Auto Size(0) Context Size(3)
.SECTION pro_1,CODE,align
._inspect 'U', 2, "pro_1", "program", 1
._file 'D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/operation_a.c'
._type 256,'v'
._type 257,'v'
._type 258,'x',256,1
._type 258,'m','',0,257
._func 'logic','G',0,258,_logic,0
._inspect 'F', 's', "logic", "_logic", 'G', 3
.align
._block
._line 27
.glb _logic
_logic:
._block
._var 'i','A',3,0
._line 30
._inspect 'S', 'c', "run_stream", "_run_stream", 'G', 0, 30
jsr _run_stream
._line 32
cmp.b #04H,_water_level_buff
jgtu L1
._line 33
mov.b #00H,_water_level
jmp L455
._line 35
L1:
cmp.b #04H,_water_level_buff
jleu L11
cmp.b #08H,_water_level_buff
jgeu L453
._line 36
mov.b #01H,_water_level
L453:
L11:
L455:
._line 38
cmp.b #08H,_water_level_buff
jltu L39
._line 39
mov.b #02H,_water_level
L39:
._line 41
cmp.b #01H,_run_save_water_flag
stz #03H,_status_buff
._line 43
cmp.b #01H,_run_err_flag
stz #03H,_status_buff
._line 46
cmp.b #04H,_status_buff
jne L69
cmp.b #01H,_t_mode_switch_flag
jne L457
._line 47
._block
._line 48
mov.b #00H,_run_1s_buff
._line 49
mov.b #00H,_t_mode_switch_flag
._eblock
._line 50
jmp L463
._line 52
L457:
L69:
cmp.b #04H,_status_buff
jne L97
cmp.b #01H,_test_start_flag
jne L459
._line 53
._block
._line 54
mov.b #00H,_run_1s_buff
._line 55
mov.b #00H,_test_1_start_flag
._eblock
._line 56
jmp L463
._line 58
L459:
L97:
cmp.b #04H,_status_buff
jne L125
cmp.b #01H,_test_inlet_flag
jne L461
._line 59
._block
._line 60
mov.b #00H,_run_1s_buff
._line 61
mov.b #00H,_test_1_start_flag
._eblock
L461:
L125:
L463:
._line 64
mov.b _run_1s_buff,R0L
jne L353
._line 65
._block
._line 66
mov.b #01H,_run_1s_buff
._line 69
mov.b _status_buff,R0L
jne L153
._line 70
._block
._line 71
mov.b #00H,_output_buff
._line 72
rts
._eblock
L153:
._line 75
cmp.b #03H,_status_buff
jne L183
._line 76
._block
._line 77
mov.b #00H,_output_buff
._line 78
mov.b #00H,_program_start_flag
._line 79
mov.b #01H,_program_pause_flag
._line 81
cmp.b #01H,_run_save_water_flag
jne L163
._line 82
._inspect 'S', 'c', "save_water", "_save_water", 'G', 0, 82
jsr _save_water
L163:
._line 83
cmp.b #01H,_release_save_water_flag
jne L173
._line 84
._block
._line 85
mov.b #02H,_status_buff
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?