📄 operation_a.a30
字号:
._inspect 'V', 'e', "menu_buff_5", 'G', 323, 1, 0, 0, 00h
._inspect 'V', 'e', "menu_buff_6", 'G', 324, 1, 0, 0, 00h
._inspect 'V', 'e', "key_debunce_0", 'G', 326, 1, 0, 0, 00h
._inspect 'V', 'e', "key_debunce_1", 'G', 327, 1, 0, 0, 00h
._inspect 'V', 'e', "key_buff_0", 'G', 332, 1, 0, 0, 00h
._inspect 'V', 'e', "key_buff_1", 'G', 333, 1, 0, 0, 00h
._inspect 'V', 'e', "key_buff_2", 'G', 335, 2, 0, 0, 00h
._inspect 'V', 'e', "key_buff_3", 'G', 336, 1, 0, 0, 00h
._inspect 'V', 'e', "key_buff_4", 'G', 337, 1, 0, 0, 00h
._inspect 'V', 'e', "save_key_1", 'G', 340, 2, 0, 0, 00h
._inspect 'V', 'e', "save_key_2", 'G', 341, 1, 0, 0, 00h
._inspect 'V', 'e', "left_time_buff", 'G', 343, 1, 0, 0, 00h
._inspect 'V', 'e', "save_program_buff", 'G', 345, 1, 0, 0, 00h
._inspect 'V', 'e', "program_buff_0", 'G', 347, 1, 0, 0, 00h
._inspect 'V', 'e', "water_level_buff_0", 'G', 348, 1, 0, 0, 00h
._inspect 'V', 'e', "soak_time_buff_0", 'G', 349, 1, 0, 0, 00h
._inspect 'V', 'e', "wash_time_buff_0", 'G', 350, 1, 0, 0, 00h
._inspect 'V', 'e', "rinse_time_buff_0", 'G', 351, 1, 0, 0, 00h
._inspect 'V', 'e', "spin_time_buff_0", 'G', 352, 1, 0, 0, 00h
._inspect 'V', 'e', "save_water_num_buff_0", 'G', 353, 1, 0, 0, 00h
._inspect 'V', 'e', "winddry_time_buff_0", 'G', 354, 1, 0, 0, 00h
._inspect 'V', 'e', "preset_time_buff_0", 'G', 355, 1, 0, 0, 00h
._inspect 'V', 'e', "function_set_buff_0", 'G', 356, 1, 0, 0, 00h
._inspect 'V', 'e', "soak_time_buff", 'G', 358, 1, 0, 0, 00h
._inspect 'V', 'e', "wash_time_buff", 'G', 359, 1, 0, 0, 00h
._inspect 'V', 'e', "rinse_time_buff", 'G', 360, 1, 0, 0, 00h
._inspect 'V', 'e', "spin_time_buff", 'G', 361, 1, 0, 0, 00h
._inspect 'V', 'e', "save_water_num_buff", 'G', 362, 1, 0, 0, 00h
._inspect 'V', 'e', "winddry_time_buff", 'G', 363, 1, 0, 0, 00h
._inspect 'V', 'e', "preset_time_buff", 'G', 364, 1, 0, 0, 00h
._inspect 'V', 'e', "function_set_buff", 'G', 365, 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', "power_down", "_power_down", 'G', 7, 0, 00h, 0
;## # FUNCTION logic
;## # ARG Size(0) Auto Size(0) Context Size(3)
.SECTION program,CODE,align
._inspect 'U', 2, "program", "program", 0
._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 21
.glb _logic
_logic:
._block
._var 'i','A',3,0
._line 24
._inspect 'S', 'c', "run_stream", "_run_stream", 'G', 0, 24
jsr _run_stream
._line 26
cmp.b #04H,_water_level_buff
jgtu L1
._line 27
mov.b #00H,_water_level
jmp L493
._line 29
L1:
cmp.b #04H,_water_level_buff
jleu L11
cmp.b #08H,_water_level_buff
jgeu L491
._line 30
mov.b #01H,_water_level
L491:
L11:
L493:
._line 32
cmp.b #08H,_water_level_buff
jltu L39
._line 33
mov.b #02H,_water_level
L39:
._line 35
tst.b #02H,_save_water_flag_1
stnz #03H,_status_buff
._line 37
tst.b #20H,_process_flag_2
stnz #03H,_status_buff
._line 40
cmp.b #04H,_status_buff
jne L69
tst.b #02H,_test1_flag_1
jz L495
._line 41
._block
._line 42
mov.b #00H,_run_1s_buff
._line 43
and.b #0fdH,_test1_flag_1
._eblock
._line 44
jmp L501
._line 46
L495:
L69:
cmp.b #04H,_status_buff
jne L97
tst.b #01H,_test1_flag_1
jz L497
._line 47
._block
._line 48
mov.b #00H,_run_1s_buff
._line 49
and.b #0f7H,_test1_key_flag
._eblock
._line 50
jmp L501
._line 52
L497:
L97:
cmp.b #04H,_status_buff
jne L125
tst.b #04H,_test1_flag_1
jz L499
._line 53
._block
._line 54
mov.b #00H,_run_1s_buff
._line 55
and.b #0f7H,_test1_key_flag
._eblock
L499:
L125:
L501:
._line 58
mov.b _run_1s_buff,R0L
jne L381
._line 59
._block
._line 60
mov.b #01H,_run_1s_buff
._line 63
mov.b _status_buff,R0L
jne L181
._line 64
._block
._line 65
mov.b #00H,_output_buff
._line 67
tst.b #20H,_operation_flag_1
jz L153
tst.b #02H,_operation_flag_2
jz L505
._line 68
._block
._line 69
._inspect 'S', 'c', "demo_judge", "_demo_judge", 'G', 0, 69
jsr _demo_judge
._line 70
mov.b #01H,_status_buff
._line 71
mov.b #03H,_kaiji_3s_buff
._eblock
L505:
L153:
._line 74
rts
._eblock
L181:
._line 77
cmp.b #03H,_status_buff
jne L211
._line 78
._block
._line 79
mov.b #00H,_output_buff
._line 80
and.b #0bfH,_display_flag_1
._line 81
or.b #80H,_display_flag_1
._line 83
tst.b #02H,_save_water_flag_1
jz L191
._line 84
._inspect 'S', 'c', "save_water", "_save_water", 'G', 0, 84
jsr _save_water
L191:
._line 85
tst.b #08H,_save_water_flag_1
jz L201
._line 86
._block
._line 87
mov.b #02H,_status_buff
._line 88
and.b #0f7H,_save_water_flag_1
._eblock
L201:
._line 90
rts
._eblock
L211:
._line 93
cmp.b #01H,_status_buff
jne L251
._line 94
._block
._line 95
mov.b _output_buff,A0
or.b #40H,A0
mov.b A0,_output_buff
._line 97
tst.b #01H,_operation_flag_1
jz L221
._line 98
._block
._line 99
and.b #0feH,_operation_flag_1
._line 101
mov.b #06H,_water_level_buff
._line 103
mov.b #00H,_operation_buff
._eblock
L221:
._line 107
mov.b _status_5m_buff,R0L
jne L231
._line 108
._block
._line 109
mov.b #00H,_status_buff
._line 110
mov.b #05H,_status_5m_buff
._line 111
bset 7,_p3_addr
._eblock
L231:
._line 114
tst.b #40H,_operation_flag_1
jz L241
._line 115
._block
._line 116
or.b #40H,_display_flag_1
._line 117
and.b #7fH,_display_flag_1
._line 119
mov.b _save_output_buff,_output_buff
._line 121
mov.b #00H,_run_1s_buff
._line 122
mov.b #02H,_status_buff
._line 124
mov.b #00H,_set_num
._line 125
mov.b #00H,_check_2s_buff
._line 126
mov.b #00H,_confirm_num
._line 127
mov.b #04H,_menu_level_buff
._line 129
and.b #0feH,_key_flag_1
._line 130
and.b #0fdH,_key_flag_1
._line 131
and.b #0fbH,_key_flag_1
._line 133
mov.b #00H,_Pflash
._line 134
mov.b #00H,_Tflash
._line 136
mov.b #00H,_Pflash_switch_flag
._line 137
and.b #0feH,_display_flag_1
._eblock
L241:
._line 140
rts
._eblock
L251:
._line 143
cmp.b #02H,_status_buff
jne L261
._line 144
._block
._line 145
mov.b _output_buff,A0
or.b #40H,A0
mov.b A0,_output_buff
._line 147
or.b #40H,_display_flag_1
._line 148
and.b #7fH,_display_flag_1
._line 150
._inspect 'S', 'c', "operation", "_operation", 'G', 0, 150
jsr _operation
._eblock
L261:
._line 154
cmp.b #04H,_status_buff
jne L321
._line 155
._block
._line 156
cmp.b #10H,_test_buff
jne L271
._line 157
._inspect 'S', 'c', "test_no_water", "_test_no_water", 'G', 0, 157
jsr _test_no_water
L271:
._line 159
cmp.b #11H,_test_buff
jne L281
._line 160
._inspect 'S', 'c', "test_production", "_test_production", 'G', 0, 160
jsr _test_production
L281:
._line 162
cmp.b #12H,_test_buff
jne L291
._line 163
._inspect 'S', 'c', "test_cycle", "_test_cycle", 'G', 0, 163
jsr _test_cycle
L291:
._line 165
cmp.b #13H,_test_buff
jne L301
._line 166
._inspect 'S', 'c', "test_interm_spin", "_test_interm_spin", 'G', 0, 166
jsr _test_interm_spin
L301:
._line 168
cmp.b #14H,_test_buff
jne L507
._line 169
._inspect 'S', 'c', "test_weight", "_test_weight", 'G', 0, 169
jsr _test_weight
._eblock
L507:
L321:
._line 172
cmp.b #05H,_status_buff
jne L371
._line 173
._block
._line 174
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -