-
Notifications
You must be signed in to change notification settings - Fork 3
/
unit02_08_menu.lst
1248 lines (1247 loc) · 47.8 KB
/
unit02_08_menu.lst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
; LST file generated by mikroListExporter - v.2.0
; Date/Time: 29/10/2019 07:46:11 PM
;----------------------------------------------
;Address Opcode ASM
0x0000 0xF001EF57 GOTO 686
0x0004 0x0000 NOP
0x0006 0x0000 NOP
0x0008 0xF000EF00 GOTO 0
0x000C 0x0000 NOP
0x000E 0x0000 NOP
0x0010 0x0000 NOP
0x0012 0x0000 NOP
0x0014 0x0000 NOP
0x0016 0x0000 NOP
0x0018 0xD7F3 BRA 0
_Delay_1us:
;__Lib_Delays.c,7 :: void Delay_1us() {
;__Lib_Delays.c,8 :: Delay_us(1);
0x001C 0x0000 NOP
0x001E 0x0000 NOP
;__Lib_Delays.c,9 :: }
L_end_Delay_1us:
0x0020 0x0012 RETURN 0
; end of _Delay_1us
_Delay_5500us:
;__Lib_Delays.c,31 :: void Delay_5500us() {
;__Lib_Delays.c,32 :: Delay_us(5500);
0x0022 0x0E0F MOVLW 15
0x0024 0x6E0C MOVWF R12, 0
0x0026 0x0E47 MOVLW 71
0x0028 0x6E0D MOVWF R13, 0
L_Delay_5500us5:
0x002A 0x2E0D DECFSZ R13, 1, 0
0x002C 0xD7FE BRA L_Delay_5500us5
0x002E 0x2E0C DECFSZ R12, 1, 0
0x0030 0xD7FC BRA L_Delay_5500us5
0x0032 0x0000 NOP
0x0034 0x0000 NOP
;__Lib_Delays.c,33 :: }
L_end_Delay_5500us:
0x0036 0x0012 RETURN 0
; end of _Delay_5500us
_Delay_50us:
;__Lib_Delays.c,19 :: void Delay_50us() {
;__Lib_Delays.c,20 :: Delay_us(50);
0x0038 0x0E21 MOVLW 33
0x003A 0x6E0D MOVWF R13, 0
L_Delay_50us2:
0x003C 0x2E0D DECFSZ R13, 1, 0
0x003E 0xD7FE BRA L_Delay_50us2
;__Lib_Delays.c,21 :: }
L_end_Delay_50us:
0x0040 0x0012 RETURN 0
; end of _Delay_50us
_Lcd_Cmd:
;__Lib_Lcd.c,18 ::
;__Lib_Lcd.c,20 ::
0x0042 0x0100 MOVLB 0
0x0044 0xBFCB BTFSC FARG_Lcd_Cmd_out_char, 7, 1
0x0046 0xD002 BRA L__Lcd_Cmd21
0x0048 0x9E8C BCF LCD_D7, BitPos(LCD_D7+0)
0x004A 0xD001 BRA L__Lcd_Cmd22
L__Lcd_Cmd21:
0x004C 0x8E8C BSF LCD_D7, BitPos(LCD_D7+0)
L__Lcd_Cmd22:
;__Lib_Lcd.c,21 ::
0x004E 0xBDCB BTFSC FARG_Lcd_Cmd_out_char, 6, 1
0x0050 0xD002 BRA L__Lcd_Cmd23
0x0052 0x9C8C BCF LCD_D6, BitPos(LCD_D6+0)
0x0054 0xD001 BRA L__Lcd_Cmd24
L__Lcd_Cmd23:
0x0056 0x8C8C BSF LCD_D6, BitPos(LCD_D6+0)
L__Lcd_Cmd24:
;__Lib_Lcd.c,22 ::
0x0058 0xBBCB BTFSC FARG_Lcd_Cmd_out_char, 5, 1
0x005A 0xD002 BRA L__Lcd_Cmd25
0x005C 0x9A8C BCF LCD_D5, BitPos(LCD_D5+0)
0x005E 0xD001 BRA L__Lcd_Cmd26
L__Lcd_Cmd25:
0x0060 0x8A8C BSF LCD_D5, BitPos(LCD_D5+0)
L__Lcd_Cmd26:
;__Lib_Lcd.c,23 ::
0x0062 0xB9CB BTFSC FARG_Lcd_Cmd_out_char, 4, 1
0x0064 0xD002 BRA L__Lcd_Cmd27
0x0066 0x988C BCF LCD_D4, BitPos(LCD_D4+0)
0x0068 0xD001 BRA L__Lcd_Cmd28
L__Lcd_Cmd27:
0x006A 0x888C BSF LCD_D4, BitPos(LCD_D4+0)
L__Lcd_Cmd28:
;__Lib_Lcd.c,25 ::
0x006C 0xB1C1 BTFSC __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0), 1
0x006E 0xD002 BRA L__Lcd_Cmd29
0x0070 0x848D BSF LCD_RS, BitPos(LCD_RS+0)
0x0072 0xD001 BRA L__Lcd_Cmd30
L__Lcd_Cmd29:
0x0074 0x948D BCF LCD_RS, BitPos(LCD_RS+0)
L__Lcd_Cmd30:
;__Lib_Lcd.c,28 ::
0x0076 0x828D BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,29 ::
0x0078 0xDFD1 RCALL _Delay_1us
;__Lib_Lcd.c,30 ::
0x007A 0x928D BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,33 ::
0x007C 0xB7CB BTFSC FARG_Lcd_Cmd_out_char, 3, 1
0x007E 0xD002 BRA L__Lcd_Cmd31
0x0080 0x9E8C BCF LCD_D7, BitPos(LCD_D7+0)
0x0082 0xD001 BRA L__Lcd_Cmd32
L__Lcd_Cmd31:
0x0084 0x8E8C BSF LCD_D7, BitPos(LCD_D7+0)
L__Lcd_Cmd32:
;__Lib_Lcd.c,34 ::
0x0086 0xB5CB BTFSC FARG_Lcd_Cmd_out_char, 2, 1
0x0088 0xD002 BRA L__Lcd_Cmd33
0x008A 0x9C8C BCF LCD_D6, BitPos(LCD_D6+0)
0x008C 0xD001 BRA L__Lcd_Cmd34
L__Lcd_Cmd33:
0x008E 0x8C8C BSF LCD_D6, BitPos(LCD_D6+0)
L__Lcd_Cmd34:
;__Lib_Lcd.c,35 ::
0x0090 0xB3CB BTFSC FARG_Lcd_Cmd_out_char, 1, 1
0x0092 0xD002 BRA L__Lcd_Cmd35
0x0094 0x9A8C BCF LCD_D5, BitPos(LCD_D5+0)
0x0096 0xD001 BRA L__Lcd_Cmd36
L__Lcd_Cmd35:
0x0098 0x8A8C BSF LCD_D5, BitPos(LCD_D5+0)
L__Lcd_Cmd36:
;__Lib_Lcd.c,36 ::
0x009A 0xB1CB BTFSC FARG_Lcd_Cmd_out_char, 0, 1
0x009C 0xD002 BRA L__Lcd_Cmd37
0x009E 0x988C BCF LCD_D4, BitPos(LCD_D4+0)
0x00A0 0xD001 BRA L__Lcd_Cmd38
L__Lcd_Cmd37:
0x00A2 0x888C BSF LCD_D4, BitPos(LCD_D4+0)
L__Lcd_Cmd38:
;__Lib_Lcd.c,38 ::
0x00A4 0xB1C1 BTFSC __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0), 1
0x00A6 0xD002 BRA L__Lcd_Cmd39
0x00A8 0x848D BSF LCD_RS, BitPos(LCD_RS+0)
0x00AA 0xD001 BRA L__Lcd_Cmd40
L__Lcd_Cmd39:
0x00AC 0x948D BCF LCD_RS, BitPos(LCD_RS+0)
L__Lcd_Cmd40:
;__Lib_Lcd.c,40 ::
0x00AE 0x828D BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,41 ::
0x00B0 0xDFB5 RCALL _Delay_1us
;__Lib_Lcd.c,42 ::
0x00B2 0x928D BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,44 ::
0x00B4 0xA1C1 BTFSS __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0), 1
0x00B6 0xD002 BRA L_Lcd_Cmd0
;__Lib_Lcd.c,45 ::
0x00B8 0xDFB4 RCALL _Delay_5500us
0x00BA 0xD001 BRA L_Lcd_Cmd1
L_Lcd_Cmd0:
;__Lib_Lcd.c,47 ::
0x00BC 0xDFBD RCALL _Delay_50us
L_Lcd_Cmd1:
;__Lib_Lcd.c,48 ::
L_end_Lcd_Cmd:
0x00BE 0x0012 RETURN 0
; end of _Lcd_Cmd
_Lcd_Chr_CP:
;__Lib_Lcd.c,50 ::
;__Lib_Lcd.c,52 ::
0x00C0 0x0100 MOVLB 0
0x00C2 0x91C1 BCF __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0), 1
;__Lib_Lcd.c,53 ::
0x00C4 0xF0CBC0CA MOVFF FARG_Lcd_Chr_CP_out_char, FARG_Lcd_Cmd_out_char
0x00C8 0xDFBC RCALL _Lcd_Cmd
;__Lib_Lcd.c,54 ::
0x00CA 0x81C1 BSF __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0), 1
;__Lib_Lcd.c,55 ::
L_end_Lcd_Chr_CP:
0x00CC 0x0012 RETURN 0
; end of _Lcd_Chr_CP
_Lcd_Out:
;__Lib_Lcd.c,184 ::
;__Lib_Lcd.c,187 ::
0x00CE 0xD010 BRA L_Lcd_Out11
;__Lib_Lcd.c,188 ::
L_Lcd_Out13:
0x00D0 0x0E80 MOVLW 128
0x00D2 0x0100 MOVLB 0
0x00D4 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
0x00D6 0xD01A BRA L_Lcd_Out12
;__Lib_Lcd.c,189 ::
L_Lcd_Out14:
0x00D8 0x0EC0 MOVLW 192
0x00DA 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
0x00DC 0xD017 BRA L_Lcd_Out12
;__Lib_Lcd.c,190 ::
L_Lcd_Out15:
0x00DE 0x0E94 MOVLW 148
0x00E0 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
0x00E2 0xD014 BRA L_Lcd_Out12
;__Lib_Lcd.c,191 ::
L_Lcd_Out16:
0x00E4 0x0ED4 MOVLW 212
0x00E6 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
0x00E8 0xD011 BRA L_Lcd_Out12
;__Lib_Lcd.c,192 ::
L_Lcd_Out17:
0x00EA 0x0E80 MOVLW 128
0x00EC 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
;__Lib_Lcd.c,193 ::
0x00EE 0xD00E BRA L_Lcd_Out12
L_Lcd_Out11:
0x00F0 0x0100 MOVLB 0
0x00F2 0x51C5 MOVF FARG_Lcd_Out_row, 0, 1
0x00F4 0x0A01 XORLW 1
0x00F6 0xE0EC BZ L_Lcd_Out13
0x00F8 0x51C5 MOVF FARG_Lcd_Out_row, 0, 1
0x00FA 0x0A02 XORLW 2
0x00FC 0xE0ED BZ L_Lcd_Out14
0x00FE 0x51C5 MOVF FARG_Lcd_Out_row, 0, 1
0x0100 0x0A03 XORLW 3
0x0102 0xE0ED BZ L_Lcd_Out15
0x0104 0x51C5 MOVF FARG_Lcd_Out_row, 0, 1
0x0106 0x0A04 XORLW 4
0x0108 0xE0ED BZ L_Lcd_Out16
0x010A 0xD7EF BRA L_Lcd_Out17
L_Lcd_Out12:
;__Lib_Lcd.c,194 ::
0x010C 0x05C6 DECF FARG_Lcd_Out_column, 0, 1
0x010E 0x6E00 MOVWF R0
0x0110 0x51C5 MOVF FARG_Lcd_Out_row, 0, 1
0x0112 0x2600 ADDWF R0, 1
0x0114 0xF0C5C000 MOVFF R0, FARG_Lcd_Out_row
;__Lib_Lcd.c,196 ::
0x0118 0xF0CBC000 MOVFF R0, FARG_Lcd_Cmd_out_char
0x011C 0xDF92 RCALL _Lcd_Cmd
;__Lib_Lcd.c,197 ::
0x011E 0x91C1 BCF __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0), 1
;__Lib_Lcd.c,198 ::
0x0120 0x6BC9 CLRF Lcd_Out_i_L0, 1
;__Lib_Lcd.c,199 ::
L_Lcd_Out18:
0x0122 0x51C9 MOVF Lcd_Out_i_L0, 0, 1
0x0124 0x25C7 ADDWF FARG_Lcd_Out_text, 0, 1
0x0126 0x6EE9 MOVWF FSR0L
0x0128 0x0E00 MOVLW 0
0x012A 0x21C8 ADDWFC FARG_Lcd_Out_text+1, 0, 1
0x012C 0x6EEA MOVWF FSR0L+1
0x012E 0x52EE MOVF POSTINC0, 1
0x0130 0xE00B BZ L_Lcd_Out19
;__Lib_Lcd.c,200 ::
0x0132 0x51C9 MOVF Lcd_Out_i_L0, 0, 1
0x0134 0x25C7 ADDWF FARG_Lcd_Out_text, 0, 1
0x0136 0x6EE9 MOVWF FSR0L
0x0138 0x0E00 MOVLW 0
0x013A 0x21C8 ADDWFC FARG_Lcd_Out_text+1, 0, 1
0x013C 0x6EEA MOVWF FSR0L+1
0x013E 0xF0CACFEE MOVFF POSTINC0, FARG_Lcd_Chr_CP_out_char
0x0142 0xDFBE RCALL _Lcd_Chr_CP
0x0144 0x2BC9 INCF Lcd_Out_i_L0, 1, 1
0x0146 0xD7ED BRA L_Lcd_Out18
L_Lcd_Out19:
;__Lib_Lcd.c,201 ::
0x0148 0x81C1 BSF __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0), 1
;__Lib_Lcd.c,202 ::
L_end_Lcd_Out:
0x014A 0x0012 RETURN 0
; end of _Lcd_Out
_ConfigMCU:
;unit02_08_menu.c,78 :: void ConfigMCU()
;unit02_08_menu.c,84 :: ADCON1 |= 0X0F;
0x014C 0x0E0F MOVLW 15
0x014E 0x12C1 IORWF ADCON1, 1
;unit02_08_menu.c,86 :: TRISB.RB0 = 1; PORTB.RB0 = 1; //SELETION
0x0150 0x8093 BSF TRISB, 0
0x0152 0x8081 BSF PORTB, 0
;unit02_08_menu.c,87 :: TRISB.RB1 = 1; PORTB.RB1 = 1; //ENTER
0x0154 0x8293 BSF TRISB, 1
0x0156 0x8281 BSF PORTB, 1
;unit02_08_menu.c,88 :: TRISB.RB2 = 1; PORTB.RB2 = 1; //RETURN
0x0158 0x8493 BSF TRISB, 2
0x015A 0x8481 BSF PORTB, 2
;unit02_08_menu.c,89 :: }
L_end_ConfigMCU:
0x015C 0x0012 RETURN 0
; end of _ConfigMCU
___CC2DW:
;__Lib_System.c,21 ::
;__Lib_System.c,23 ::
_CC2DL_Loop1:
;__Lib_System.c,24 ::
0x015E 0x0009 TBLRD*+
;__Lib_System.c,25 ::
0x0160 0xFFE6CFF5 MOVFF TABLAT, POSTINC1
;__Lib_System.c,26 ::
0x0164 0x0600 DECF R0, 1, 0
;__Lib_System.c,27 ::
0x0166 0xE1FB BNZ _CC2DL_Loop1
;__Lib_System.c,28 ::
0x0168 0x0601 DECF R1, 1, 0
;__Lib_System.c,29 ::
0x016A 0xE1F9 BNZ _CC2DL_Loop1
;__Lib_System.c,31 ::
L_end___CC2DW:
0x016C 0x0012 RETURN 0
; end of ___CC2DW
_Lcd_Init:
;__Lib_Lcd.c,84 ::
;__Lib_Lcd.c,86 ::
0x016E 0x9296 BCF LCD_EN_Direction, BitPos(LCD_EN_Direction+0)
;__Lib_Lcd.c,87 ::
0x0170 0x9496 BCF LCD_RS_Direction, BitPos(LCD_RS_Direction+0)
;__Lib_Lcd.c,88 ::
0x0172 0x9895 BCF LCD_D4_Direction, BitPos(LCD_D4_Direction+0)
;__Lib_Lcd.c,89 ::
0x0174 0x9A95 BCF LCD_D5_Direction, BitPos(LCD_D5_Direction+0)
;__Lib_Lcd.c,90 ::
0x0176 0x9C95 BCF LCD_D6_Direction, BitPos(LCD_D6_Direction+0)
;__Lib_Lcd.c,91 ::
0x0178 0x9E95 BCF LCD_D7_Direction, BitPos(LCD_D7_Direction+0)
;__Lib_Lcd.c,93 ::
0x017A 0x928D BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,94 ::
0x017C 0x948D BCF LCD_RS, BitPos(LCD_RS+0)
;__Lib_Lcd.c,95 ::
0x017E 0x9E8C BCF LCD_D7, BitPos(LCD_D7+0)
;__Lib_Lcd.c,96 ::
0x0180 0x9C8C BCF LCD_D6, BitPos(LCD_D6+0)
;__Lib_Lcd.c,97 ::
0x0182 0x9A8C BCF LCD_D5, BitPos(LCD_D5+0)
;__Lib_Lcd.c,98 ::
0x0184 0x988C BCF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,100 ::
0x0186 0xDF4D RCALL _Delay_5500us
;__Lib_Lcd.c,101 ::
0x0188 0xDF4C RCALL _Delay_5500us
;__Lib_Lcd.c,102 ::
0x018A 0xDF4B RCALL _Delay_5500us
;__Lib_Lcd.c,105 ::
0x018C 0x8A8C BSF LCD_D5, BitPos(LCD_D5+0)
;__Lib_Lcd.c,106 ::
0x018E 0x888C BSF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,107 ::
0x0190 0x828D BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,108 ::
0x0192 0xDF44 RCALL _Delay_1us
;__Lib_Lcd.c,109 ::
0x0194 0x928D BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,110 ::
0x0196 0xDF45 RCALL _Delay_5500us
;__Lib_Lcd.c,112 ::
0x0198 0x828D BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,113 ::
0x019A 0xDF40 RCALL _Delay_1us
;__Lib_Lcd.c,114 ::
0x019C 0x928D BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,115 ::
0x019E 0xDF41 RCALL _Delay_5500us
;__Lib_Lcd.c,117 ::
0x01A0 0x828D BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,118 ::
0x01A2 0xDF3C RCALL _Delay_1us
;__Lib_Lcd.c,119 ::
0x01A4 0x928D BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,120 ::
0x01A6 0xDF3D RCALL _Delay_5500us
;__Lib_Lcd.c,123 ::
0x01A8 0x988C BCF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,124 ::
0x01AA 0x828D BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,125 ::
0x01AC 0xDF37 RCALL _Delay_1us
;__Lib_Lcd.c,126 ::
0x01AE 0x928D BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,127 ::
0x01B0 0xDF38 RCALL _Delay_5500us
;__Lib_Lcd.c,130 ::
0x01B2 0x828D BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,131 ::
0x01B4 0xDF33 RCALL _Delay_1us
;__Lib_Lcd.c,132 ::
0x01B6 0x928D BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,134 ::
0x01B8 0x9A8C BCF LCD_D5, BitPos(LCD_D5+0)
;__Lib_Lcd.c,135 ::
0x01BA 0x8E8C BSF LCD_D7, BitPos(LCD_D7+0)
;__Lib_Lcd.c,136 ::
0x01BC 0x828D BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,137 ::
0x01BE 0xDF2E RCALL _Delay_1us
;__Lib_Lcd.c,138 ::
0x01C0 0x928D BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,139 ::
0x01C2 0xDF2F RCALL _Delay_5500us
;__Lib_Lcd.c,142 ::
0x01C4 0x9E8C BCF LCD_D7, BitPos(LCD_D7+0)
;__Lib_Lcd.c,143 ::
0x01C6 0x888C BSF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,144 ::
0x01C8 0x828D BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,145 ::
0x01CA 0xDF28 RCALL _Delay_1us
;__Lib_Lcd.c,146 ::
0x01CC 0x928D BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,148 ::
0x01CE 0x988C BCF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,149 ::
0x01D0 0x828D BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,150 ::
0x01D2 0xDF24 RCALL _Delay_1us
;__Lib_Lcd.c,151 ::
0x01D4 0x928D BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,152 ::
0x01D6 0xDF25 RCALL _Delay_5500us
;__Lib_Lcd.c,155 ::
0x01D8 0x828D BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,156 ::
0x01DA 0xDF20 RCALL _Delay_1us
;__Lib_Lcd.c,157 ::
0x01DC 0x928D BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,159 ::
0x01DE 0x888C BSF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,160 ::
0x01E0 0x828D BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,161 ::
0x01E2 0xDF1C RCALL _Delay_1us
;__Lib_Lcd.c,162 ::
0x01E4 0x928D BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,163 ::
0x01E6 0xDF1D RCALL _Delay_5500us
;__Lib_Lcd.c,166 ::
0x01E8 0x988C BCF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,167 ::
0x01EA 0x828D BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,168 ::
0x01EC 0xDF17 RCALL _Delay_1us
;__Lib_Lcd.c,169 ::
0x01EE 0x928D BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,171 ::
0x01F0 0x8E8C BSF LCD_D7, BitPos(LCD_D7+0)
;__Lib_Lcd.c,172 ::
0x01F2 0x8C8C BSF LCD_D6, BitPos(LCD_D6+0)
;__Lib_Lcd.c,173 ::
0x01F4 0x8A8C BSF LCD_D5, BitPos(LCD_D5+0)
;__Lib_Lcd.c,174 ::
0x01F6 0x888C BSF LCD_D4, BitPos(LCD_D4+0)
;__Lib_Lcd.c,175 ::
0x01F8 0x828D BSF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,176 ::
0x01FA 0xDF10 RCALL _Delay_1us
;__Lib_Lcd.c,177 ::
0x01FC 0x928D BCF LCD_EN, BitPos(LCD_EN+0)
;__Lib_Lcd.c,179 ::
0x01FE 0xDF11 RCALL _Delay_5500us
;__Lib_Lcd.c,181 ::
0x0200 0x0100 MOVLB 0
0x0202 0x81C1 BSF __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0), 1
;__Lib_Lcd.c,182 ::
L_end_Lcd_Init:
0x0204 0x0012 RETURN 0
; end of _Lcd_Init
_ReturnToDefaultMenu:
;unit02_08_menu.c,64 :: void ReturnToDefaultMenu()
;unit02_08_menu.c,66 :: m_state_level_one = 1;
0x0206 0x0E01 MOVLW 1
0x0208 0x6E15 MOVWF _m_state_level_one
0x020A 0x0E00 MOVLW 0
0x020C 0x6E16 MOVWF _m_state_level_one+1
;unit02_08_menu.c,67 :: submenu = 0; //force condition to default menu - Level one
0x020E 0x6A22 CLRF _submenu
0x0210 0x6A23 CLRF _submenu+1
;unit02_08_menu.c,68 :: m_state_level_two = 1;
0x0212 0x0E01 MOVLW 1
0x0214 0x6E20 MOVWF _m_state_level_two
0x0216 0x0E00 MOVLW 0
0x0218 0x6E21 MOVWF _m_state_level_two+1
;unit02_08_menu.c,69 :: state_selected = 1;
0x021A 0x0E01 MOVLW 1
0x021C 0x6E46 MOVWF _state_selected
0x021E 0x0E00 MOVLW 0
0x0220 0x6E47 MOVWF _state_selected+1
;unit02_08_menu.c,72 :: Lcd_Cmd(_LCD_CLEAR); // Delete all text and subscribe default text
0x0222 0x0E01 MOVLW 1
0x0224 0x0100 MOVLB 0
0x0226 0x6FCB MOVWF FARG_Lcd_Cmd_out_char, 1
0x0228 0xDF0C RCALL _Lcd_Cmd
;unit02_08_menu.c,73 :: Lcd_Out(1, 1,">OPTION1 [ENTER]");
0x022A 0x0E01 MOVLW 1
0x022C 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
0x022E 0x0E01 MOVLW 1
0x0230 0x6FC6 MOVWF FARG_Lcd_Out_column, 1
0x0232 0x0E8E MOVLW ?lstr1_unit02_08_menu
0x0234 0x6FC7 MOVWF FARG_Lcd_Out_text, 1
0x0236 0x0E00 MOVLW hi_addr(?lstr1_unit02_08_menu)
0x0238 0x6FC8 MOVWF FARG_Lcd_Out_text+1, 1
0x023A 0xDF49 RCALL _Lcd_Out
;unit02_08_menu.c,74 :: Lcd_Out(2, 1," OPTION2 ");
0x023C 0x0E02 MOVLW 2
0x023E 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
0x0240 0x0E01 MOVLW 1
0x0242 0x6FC6 MOVWF FARG_Lcd_Out_column, 1
0x0244 0x0E7D MOVLW ?lstr2_unit02_08_menu
0x0246 0x6FC7 MOVWF FARG_Lcd_Out_text, 1
0x0248 0x0E00 MOVLW hi_addr(?lstr2_unit02_08_menu)
0x024A 0x6FC8 MOVWF FARG_Lcd_Out_text+1, 1
0x024C 0xDF40 RCALL _Lcd_Out
;unit02_08_menu.c,75 :: }
L_end_ReturnToDefaultMenu:
0x024E 0x0012 RETURN 0
; end of _ReturnToDefaultMenu
_Lcd_Chr:
;__Lib_Lcd.c,65 ::
;__Lib_Lcd.c,66 ::
0x0250 0xD010 BRA L_Lcd_Chr4
;__Lib_Lcd.c,67 ::
L_Lcd_Chr6:
0x0252 0x0E80 MOVLW 128
0x0254 0x0100 MOVLB 0
0x0256 0x6FC2 MOVWF FARG_Lcd_Chr_row, 1
0x0258 0xD01A BRA L_Lcd_Chr5
;__Lib_Lcd.c,68 ::
L_Lcd_Chr7:
0x025A 0x0EC0 MOVLW 192
0x025C 0x6FC2 MOVWF FARG_Lcd_Chr_row, 1
0x025E 0xD017 BRA L_Lcd_Chr5
;__Lib_Lcd.c,69 ::
L_Lcd_Chr8:
0x0260 0x0E94 MOVLW 148
0x0262 0x6FC2 MOVWF FARG_Lcd_Chr_row, 1
0x0264 0xD014 BRA L_Lcd_Chr5
;__Lib_Lcd.c,70 ::
L_Lcd_Chr9:
0x0266 0x0ED4 MOVLW 212
0x0268 0x6FC2 MOVWF FARG_Lcd_Chr_row, 1
0x026A 0xD011 BRA L_Lcd_Chr5
;__Lib_Lcd.c,71 ::
L_Lcd_Chr10:
0x026C 0x0E80 MOVLW 128
0x026E 0x6FC2 MOVWF FARG_Lcd_Chr_row, 1
;__Lib_Lcd.c,72 ::
0x0270 0xD00E BRA L_Lcd_Chr5
L_Lcd_Chr4:
0x0272 0x0100 MOVLB 0
0x0274 0x51C2 MOVF FARG_Lcd_Chr_row, 0, 1
0x0276 0x0A01 XORLW 1
0x0278 0xE0EC BZ L_Lcd_Chr6
0x027A 0x51C2 MOVF FARG_Lcd_Chr_row, 0, 1
0x027C 0x0A02 XORLW 2
0x027E 0xE0ED BZ L_Lcd_Chr7
0x0280 0x51C2 MOVF FARG_Lcd_Chr_row, 0, 1
0x0282 0x0A03 XORLW 3
0x0284 0xE0ED BZ L_Lcd_Chr8
0x0286 0x51C2 MOVF FARG_Lcd_Chr_row, 0, 1
0x0288 0x0A04 XORLW 4
0x028A 0xE0ED BZ L_Lcd_Chr9
0x028C 0xD7EF BRA L_Lcd_Chr10
L_Lcd_Chr5:
;__Lib_Lcd.c,74 ::
0x028E 0x05C3 DECF FARG_Lcd_Chr_column, 0, 1
0x0290 0x6E00 MOVWF R0
0x0292 0x51C2 MOVF FARG_Lcd_Chr_row, 0, 1
0x0294 0x2600 ADDWF R0, 1
0x0296 0xF0C2C000 MOVFF R0, FARG_Lcd_Chr_row
;__Lib_Lcd.c,76 ::
0x029A 0x81C1 BSF __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0), 1
;__Lib_Lcd.c,77 ::
0x029C 0xF0CBC000 MOVFF R0, FARG_Lcd_Cmd_out_char
0x02A0 0xDED0 RCALL _Lcd_Cmd
;__Lib_Lcd.c,79 ::
0x02A2 0x91C1 BCF __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0), 1
;__Lib_Lcd.c,80 ::
0x02A4 0xF0CBC0C4 MOVFF FARG_Lcd_Chr_out_char, FARG_Lcd_Cmd_out_char
0x02A8 0xDECC RCALL _Lcd_Cmd
;__Lib_Lcd.c,81 ::
0x02AA 0x81C1 BSF __Lib_Lcd_cmd_status, BitPos(__Lib_Lcd_cmd_status+0), 1
;__Lib_Lcd.c,82 ::
L_end_Lcd_Chr:
0x02AC 0x0012 RETURN 0
; end of _Lcd_Chr
_main:
0x02AE 0xF002ECD9 CALL 1458, 0
;unit02_08_menu.c,91 :: void main()
;unit02_08_menu.c,93 :: ConfigMCU();
0x02B2 0xDF4C RCALL _ConfigMCU
;unit02_08_menu.c,95 :: Lcd_Init(); // Initialize LCD's display
0x02B4 0xDF5C RCALL _Lcd_Init
;unit02_08_menu.c,96 :: Lcd_Cmd(_LCD_CLEAR); // Delete display
0x02B6 0x0E01 MOVLW 1
0x02B8 0x6FCB MOVWF FARG_Lcd_Cmd_out_char, 1
0x02BA 0xDEC3 RCALL _Lcd_Cmd
;unit02_08_menu.c,97 :: Lcd_Cmd(_LCD_CURSOR_OFF); // Cursor off
0x02BC 0x0E0C MOVLW 12
0x02BE 0x6FCB MOVWF FARG_Lcd_Cmd_out_char, 1
0x02C0 0xDEC0 RCALL _Lcd_Cmd
;unit02_08_menu.c,100 :: Lcd_Out(1, 1,">OPTION1 [ENTER]");
0x02C2 0x0E01 MOVLW 1
0x02C4 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
0x02C6 0x0E01 MOVLW 1
0x02C8 0x6FC6 MOVWF FARG_Lcd_Out_column, 1
0x02CA 0x0E9F MOVLW ?lstr3_unit02_08_menu
0x02CC 0x6FC7 MOVWF FARG_Lcd_Out_text, 1
0x02CE 0x0E00 MOVLW hi_addr(?lstr3_unit02_08_menu)
0x02D0 0x6FC8 MOVWF FARG_Lcd_Out_text+1, 1
0x02D2 0xDEFD RCALL _Lcd_Out
;unit02_08_menu.c,101 :: Lcd_Out(2, 1," OPTION2 ");
0x02D4 0x0E02 MOVLW 2
0x02D6 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
0x02D8 0x0E01 MOVLW 1
0x02DA 0x6FC6 MOVWF FARG_Lcd_Out_column, 1
0x02DC 0x0EB0 MOVLW ?lstr4_unit02_08_menu
0x02DE 0x6FC7 MOVWF FARG_Lcd_Out_text, 1
0x02E0 0x0E00 MOVLW hi_addr(?lstr4_unit02_08_menu)
0x02E2 0x6FC8 MOVWF FARG_Lcd_Out_text+1, 1
0x02E4 0xDEF4 RCALL _Lcd_Out
;unit02_08_menu.c,103 :: while (TRUE)
L_main0:
;unit02_08_menu.c,109 :: if (SELECT_MENU == 0 && submenu == 0)
0x02E6 0xB081 BTFSC PORTB, 0
0x02E8 0xD065 BRA L_main4
0x02EA 0x0E00 MOVLW 0
0x02EC 0x1823 XORWF _submenu+1, 0
0x02EE 0xE102 BNZ L__main31
0x02F0 0x0E00 MOVLW 0
0x02F2 0x1822 XORWF _submenu, 0
L__main31:
0x02F4 0xE15F BNZ L_main4
L__main27:
;unit02_08_menu.c,111 :: switch(m_state_level_one)
0x02F6 0xD052 BRA L_main5
;unit02_08_menu.c,113 :: case 1:
L_main7:
;unit02_08_menu.c,114 :: Lcd_Chr(1,1,'>'); LCD_Out(1,9," [ENTER]");
0x02F8 0x0E01 MOVLW 1
0x02FA 0x6FC2 MOVWF FARG_Lcd_Chr_row, 1
0x02FC 0x0E01 MOVLW 1
0x02FE 0x6FC3 MOVWF FARG_Lcd_Chr_column, 1
0x0300 0x0E3E MOVLW 62
0x0302 0x6FC4 MOVWF FARG_Lcd_Chr_out_char, 1
0x0304 0xDFA5 RCALL _Lcd_Chr
0x0306 0x0E01 MOVLW 1
0x0308 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
0x030A 0x0E09 MOVLW 9
0x030C 0x6FC6 MOVWF FARG_Lcd_Out_column, 1
0x030E 0x0E51 MOVLW ?lstr5_unit02_08_menu
0x0310 0x6FC7 MOVWF FARG_Lcd_Out_text, 1
0x0312 0x0E00 MOVLW hi_addr(?lstr5_unit02_08_menu)
0x0314 0x6FC8 MOVWF FARG_Lcd_Out_text+1, 1
0x0316 0xDEDB RCALL _Lcd_Out
;unit02_08_menu.c,115 :: m_state_level_one = 2;
0x0318 0x0E02 MOVLW 2
0x031A 0x6E15 MOVWF _m_state_level_one
0x031C 0x0E00 MOVLW 0
0x031E 0x6E16 MOVWF _m_state_level_one+1
;unit02_08_menu.c,116 :: state_selected = 1;
0x0320 0x0E01 MOVLW 1
0x0322 0x6E46 MOVWF _state_selected
0x0324 0x0E00 MOVLW 0
0x0326 0x6E47 MOVWF _state_selected+1
;unit02_08_menu.c,117 :: Lcd_Chr(2,1,' '); LCD_Out(2,9," ");
0x0328 0x0E02 MOVLW 2
0x032A 0x6FC2 MOVWF FARG_Lcd_Chr_row, 1
0x032C 0x0E01 MOVLW 1
0x032E 0x6FC3 MOVWF FARG_Lcd_Chr_column, 1
0x0330 0x0E20 MOVLW 32
0x0332 0x6FC4 MOVWF FARG_Lcd_Chr_out_char, 1
0x0334 0xDF8D RCALL _Lcd_Chr
0x0336 0x0E02 MOVLW 2
0x0338 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
0x033A 0x0E09 MOVLW 9
0x033C 0x6FC6 MOVWF FARG_Lcd_Out_column, 1
0x033E 0x0E48 MOVLW ?lstr6_unit02_08_menu
0x0340 0x6FC7 MOVWF FARG_Lcd_Out_text, 1
0x0342 0x0E00 MOVLW hi_addr(?lstr6_unit02_08_menu)
0x0344 0x6FC8 MOVWF FARG_Lcd_Out_text+1, 1
0x0346 0xDEC3 RCALL _Lcd_Out
;unit02_08_menu.c,118 :: break;
0x0348 0xD035 BRA L_main6
;unit02_08_menu.c,119 :: case 2:
L_main8:
;unit02_08_menu.c,120 :: Lcd_Chr(2,1,'>'); LCD_Out(2,9," [ENTER]");
0x034A 0x0E02 MOVLW 2
0x034C 0x6FC2 MOVWF FARG_Lcd_Chr_row, 1
0x034E 0x0E01 MOVLW 1
0x0350 0x6FC3 MOVWF FARG_Lcd_Chr_column, 1
0x0352 0x0E3E MOVLW 62
0x0354 0x6FC4 MOVWF FARG_Lcd_Chr_out_char, 1
0x0356 0xDF7C RCALL _Lcd_Chr
0x0358 0x0E02 MOVLW 2
0x035A 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
0x035C 0x0E09 MOVLW 9
0x035E 0x6FC6 MOVWF FARG_Lcd_Out_column, 1
0x0360 0x0E5A MOVLW ?lstr7_unit02_08_menu
0x0362 0x6FC7 MOVWF FARG_Lcd_Out_text, 1
0x0364 0x0E00 MOVLW hi_addr(?lstr7_unit02_08_menu)
0x0366 0x6FC8 MOVWF FARG_Lcd_Out_text+1, 1
0x0368 0xDEB2 RCALL _Lcd_Out
;unit02_08_menu.c,121 :: m_state_level_one = 1;
0x036A 0x0E01 MOVLW 1
0x036C 0x6E15 MOVWF _m_state_level_one
0x036E 0x0E00 MOVLW 0
0x0370 0x6E16 MOVWF _m_state_level_one+1
;unit02_08_menu.c,122 :: state_selected = 2;
0x0372 0x0E02 MOVLW 2
0x0374 0x6E46 MOVWF _state_selected
0x0376 0x0E00 MOVLW 0
0x0378 0x6E47 MOVWF _state_selected+1
;unit02_08_menu.c,123 :: Lcd_Chr(1,1,' '); LCD_Out(1,9," ");
0x037A 0x0E01 MOVLW 1
0x037C 0x6FC2 MOVWF FARG_Lcd_Chr_row, 1
0x037E 0x0E01 MOVLW 1
0x0380 0x6FC3 MOVWF FARG_Lcd_Chr_column, 1
0x0382 0x0E20 MOVLW 32
0x0384 0x6FC4 MOVWF FARG_Lcd_Chr_out_char, 1
0x0386 0xDF64 RCALL _Lcd_Chr
0x0388 0x0E01 MOVLW 1
0x038A 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
0x038C 0x0E09 MOVLW 9
0x038E 0x6FC6 MOVWF FARG_Lcd_Out_column, 1
0x0390 0x0E6C MOVLW ?lstr8_unit02_08_menu
0x0392 0x6FC7 MOVWF FARG_Lcd_Out_text, 1
0x0394 0x0E00 MOVLW hi_addr(?lstr8_unit02_08_menu)
0x0396 0x6FC8 MOVWF FARG_Lcd_Out_text+1, 1
0x0398 0xDE9A RCALL _Lcd_Out
;unit02_08_menu.c,124 :: break;
0x039A 0xD00C BRA L_main6
;unit02_08_menu.c,125 :: }
L_main5:
0x039C 0x0E00 MOVLW 0
0x039E 0x1816 XORWF _m_state_level_one+1, 0
0x03A0 0xE102 BNZ L__main32
0x03A2 0x0E01 MOVLW 1
0x03A4 0x1815 XORWF _m_state_level_one, 0
L__main32:
0x03A6 0xE0A8 BZ L_main7
0x03A8 0x0E00 MOVLW 0
0x03AA 0x1816 XORWF _m_state_level_one+1, 0
0x03AC 0xE102 BNZ L__main33
0x03AE 0x0E02 MOVLW 2
0x03B0 0x1815 XORWF _m_state_level_one, 0
L__main33:
0x03B2 0xE0CB BZ L_main8
L_main6:
;unit02_08_menu.c,126 :: }
L_main4:
;unit02_08_menu.c,130 :: if (ENTER_MENU == 0)
0x03B4 0xB281 BTFSC PORTB, 1
0x03B6 0xD053 BRA L_main9
;unit02_08_menu.c,132 :: switch(state_selected)
0x03B8 0xD046 BRA L_main10
;unit02_08_menu.c,134 :: case 1:
L_main12:
;unit02_08_menu.c,135 :: Lcd_Cmd(_LCD_CLEAR);
0x03BA 0x0E01 MOVLW 1
0x03BC 0x6FCB MOVWF FARG_Lcd_Cmd_out_char, 1
0x03BE 0xDE41 RCALL _Lcd_Cmd
;unit02_08_menu.c,136 :: Lcd_Out(1, 1," OPTION1");
0x03C0 0x0E01 MOVLW 1
0x03C2 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
0x03C4 0x0E01 MOVLW 1
0x03C6 0x6FC6 MOVWF FARG_Lcd_Out_column, 1
0x03C8 0x0E63 MOVLW ?lstr9_unit02_08_menu
0x03CA 0x6FC7 MOVWF FARG_Lcd_Out_text, 1
0x03CC 0x0E00 MOVLW hi_addr(?lstr9_unit02_08_menu)
0x03CE 0x6FC8 MOVWF FARG_Lcd_Out_text+1, 1
0x03D0 0xDE7E RCALL _Lcd_Out
;unit02_08_menu.c,137 :: Lcd_Out(1,9,">SENSOR1");
0x03D2 0x0E01 MOVLW 1
0x03D4 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
0x03D6 0x0E09 MOVLW 9
0x03D8 0x6FC6 MOVWF FARG_Lcd_Out_column, 1
0x03DA 0x0E17 MOVLW ?lstr10_unit02_08_menu
0x03DC 0x6FC7 MOVWF FARG_Lcd_Out_text, 1
0x03DE 0x0E00 MOVLW hi_addr(?lstr10_unit02_08_menu)
0x03E0 0x6FC8 MOVWF FARG_Lcd_Out_text+1, 1
0x03E2 0xDE75 RCALL _Lcd_Out
;unit02_08_menu.c,138 :: Lcd_Out(2,9," EQUIP1");
0x03E4 0x0E02 MOVLW 2
0x03E6 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
0x03E8 0x0E09 MOVLW 9
0x03EA 0x6FC6 MOVWF FARG_Lcd_Out_column, 1
0x03EC 0x0E24 MOVLW ?lstr11_unit02_08_menu
0x03EE 0x6FC7 MOVWF FARG_Lcd_Out_text, 1
0x03F0 0x0E00 MOVLW hi_addr(?lstr11_unit02_08_menu)
0x03F2 0x6FC8 MOVWF FARG_Lcd_Out_text+1, 1
0x03F4 0xDE6C RCALL _Lcd_Out
;unit02_08_menu.c,139 :: submenu = 1; // Informa que estamos no segundo nível do menu
0x03F6 0x0E01 MOVLW 1
0x03F8 0x6E22 MOVWF _submenu
0x03FA 0x0E00 MOVLW 0
0x03FC 0x6E23 MOVWF _submenu+1
;unit02_08_menu.c,140 :: break;
0x03FE 0xD02F BRA L_main11
;unit02_08_menu.c,141 :: case 2:
L_main13:
;unit02_08_menu.c,142 :: Lcd_Cmd(_LCD_CLEAR);
0x0400 0x0E01 MOVLW 1
0x0402 0x6FCB MOVWF FARG_Lcd_Cmd_out_char, 1
0x0404 0xDE1E RCALL _Lcd_Cmd
;unit02_08_menu.c,143 :: Lcd_Out(1, 1," OPTION2");
0x0406 0x0E01 MOVLW 1
0x0408 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
0x040A 0x0E01 MOVLW 1
0x040C 0x6FC6 MOVWF FARG_Lcd_Out_column, 1
0x040E 0x0E34 MOVLW ?lstr12_unit02_08_menu
0x0410 0x6FC7 MOVWF FARG_Lcd_Out_text, 1
0x0412 0x0E00 MOVLW hi_addr(?lstr12_unit02_08_menu)
0x0414 0x6FC8 MOVWF FARG_Lcd_Out_text+1, 1
0x0416 0xDE5B RCALL _Lcd_Out
;unit02_08_menu.c,144 :: Lcd_Out(1,9,">SENSOR2");
0x0418 0x0E01 MOVLW 1
0x041A 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
0x041C 0x0E09 MOVLW 9
0x041E 0x6FC6 MOVWF FARG_Lcd_Out_column, 1
0x0420 0x0E3D MOVLW ?lstr13_unit02_08_menu
0x0422 0x6FC7 MOVWF FARG_Lcd_Out_text, 1
0x0424 0x0E00 MOVLW hi_addr(?lstr13_unit02_08_menu)
0x0426 0x6FC8 MOVWF FARG_Lcd_Out_text+1, 1
0x0428 0xDE52 RCALL _Lcd_Out
;unit02_08_menu.c,145 :: Lcd_Out(2,9," EQUIP2");
0x042A 0x0E02 MOVLW 2
0x042C 0x6FC5 MOVWF FARG_Lcd_Out_row, 1
0x042E 0x0E09 MOVLW 9
0x0430 0x6FC6 MOVWF FARG_Lcd_Out_column, 1
0x0432 0x0E2C MOVLW ?lstr14_unit02_08_menu
0x0434 0x6FC7 MOVWF FARG_Lcd_Out_text, 1
0x0436 0x0E00 MOVLW hi_addr(?lstr14_unit02_08_menu)
0x0438 0x6FC8 MOVWF FARG_Lcd_Out_text+1, 1
0x043A 0xDE49 RCALL _Lcd_Out
;unit02_08_menu.c,146 :: submenu = 1; // again
0x043C 0x0E01 MOVLW 1
0x043E 0x6E22 MOVWF _submenu
0x0440 0x0E00 MOVLW 0
0x0442 0x6E23 MOVWF _submenu+1
;unit02_08_menu.c,147 :: break;
0x0444 0xD00C BRA L_main11
;unit02_08_menu.c,148 :: }
L_main10:
0x0446 0x0E00 MOVLW 0
0x0448 0x1847 XORWF _state_selected+1, 0
0x044A 0xE102 BNZ L__main34
0x044C 0x0E01 MOVLW 1
0x044E 0x1846 XORWF _state_selected, 0
L__main34:
0x0450 0xE0B4 BZ L_main12
0x0452 0x0E00 MOVLW 0
0x0454 0x1847 XORWF _state_selected+1, 0
0x0456 0xE102 BNZ L__main35
0x0458 0x0E02 MOVLW 2
0x045A 0x1846 XORWF _state_selected, 0
L__main35:
0x045C 0xE0D1 BZ L_main13
L_main11:
;unit02_08_menu.c,149 :: }
L_main9:
;unit02_08_menu.c,153 :: if (SELECT_MENU == 0 && submenu == 1)
0x045E 0xB081 BTFSC PORTB, 0
0x0460 0xD039 BRA L_main16
0x0462 0x0E00 MOVLW 0
0x0464 0x1823 XORWF _submenu+1, 0
0x0466 0xE102 BNZ L__main36
0x0468 0x0E01 MOVLW 1
0x046A 0x1822 XORWF _submenu, 0
L__main36:
0x046C 0xE133 BNZ L_main16
L__main26:
;unit02_08_menu.c,155 :: switch(m_state_level_two)
0x046E 0xD026 BRA L_main17
;unit02_08_menu.c,157 :: case 1:
L_main19:
;unit02_08_menu.c,158 :: Lcd_Chr(1,9,'>');
0x0470 0x0E01 MOVLW 1
0x0472 0x6FC2 MOVWF FARG_Lcd_Chr_row, 1
0x0474 0x0E09 MOVLW 9
0x0476 0x6FC3 MOVWF FARG_Lcd_Chr_column, 1
0x0478 0x0E3E MOVLW 62
0x047A 0x6FC4 MOVWF FARG_Lcd_Chr_out_char, 1
0x047C 0xDEE9 RCALL _Lcd_Chr
;unit02_08_menu.c,159 :: m_state_level_two = 2;
0x047E 0x0E02 MOVLW 2
0x0480 0x6E20 MOVWF _m_state_level_two
0x0482 0x0E00 MOVLW 0
0x0484 0x6E21 MOVWF _m_state_level_two+1
;unit02_08_menu.c,160 :: Lcd_Chr(2,9,' ');
0x0486 0x0E02 MOVLW 2
0x0488 0x6FC2 MOVWF FARG_Lcd_Chr_row, 1
0x048A 0x0E09 MOVLW 9
0x048C 0x6FC3 MOVWF FARG_Lcd_Chr_column, 1
0x048E 0x0E20 MOVLW 32
0x0490 0x6FC4 MOVWF FARG_Lcd_Chr_out_char, 1
0x0492 0xDEDE RCALL _Lcd_Chr
;unit02_08_menu.c,161 :: break;
0x0494 0xD01F BRA L_main18
;unit02_08_menu.c,162 :: case 2:
L_main20:
;unit02_08_menu.c,163 :: Lcd_Chr(2,9,'>');
0x0496 0x0E02 MOVLW 2
0x0498 0x6FC2 MOVWF FARG_Lcd_Chr_row, 1
0x049A 0x0E09 MOVLW 9
0x049C 0x6FC3 MOVWF FARG_Lcd_Chr_column, 1
0x049E 0x0E3E MOVLW 62
0x04A0 0x6FC4 MOVWF FARG_Lcd_Chr_out_char, 1
0x04A2 0xDED6 RCALL _Lcd_Chr
;unit02_08_menu.c,164 :: m_state_level_two = 1;
0x04A4 0x0E01 MOVLW 1
0x04A6 0x6E20 MOVWF _m_state_level_two
0x04A8 0x0E00 MOVLW 0
0x04AA 0x6E21 MOVWF _m_state_level_two+1
;unit02_08_menu.c,165 :: Lcd_Chr(1,9,' ');
0x04AC 0x0E01 MOVLW 1
0x04AE 0x6FC2 MOVWF FARG_Lcd_Chr_row, 1
0x04B0 0x0E09 MOVLW 9
0x04B2 0x6FC3 MOVWF FARG_Lcd_Chr_column, 1
0x04B4 0x0E20 MOVLW 32
0x04B6 0x6FC4 MOVWF FARG_Lcd_Chr_out_char, 1
0x04B8 0xDECB RCALL _Lcd_Chr
;unit02_08_menu.c,166 :: break;
0x04BA 0xD00C BRA L_main18
;unit02_08_menu.c,167 :: }
L_main17:
0x04BC 0x0E00 MOVLW 0
0x04BE 0x1821 XORWF _m_state_level_two+1, 0
0x04C0 0xE102 BNZ L__main37
0x04C2 0x0E01 MOVLW 1
0x04C4 0x1820 XORWF _m_state_level_two, 0
L__main37:
0x04C6 0xE0D4 BZ L_main19
0x04C8 0x0E00 MOVLW 0
0x04CA 0x1821 XORWF _m_state_level_two+1, 0
0x04CC 0xE102 BNZ L__main38
0x04CE 0x0E02 MOVLW 2
0x04D0 0x1820 XORWF _m_state_level_two, 0
L__main38:
0x04D2 0xE0E1 BZ L_main20
L_main18:
;unit02_08_menu.c,168 :: }
L_main16:
;unit02_08_menu.c,171 :: if (RETURN_MAIN_MENU == 0 && submenu == 1)
0x04D4 0xB481 BTFSC PORTB, 2
0x04D6 0xD007 BRA L_main23
0x04D8 0x0E00 MOVLW 0
0x04DA 0x1823 XORWF _submenu+1, 0
0x04DC 0xE102 BNZ L__main39
0x04DE 0x0E01 MOVLW 1
0x04E0 0x1822 XORWF _submenu, 0
L__main39:
0x04E2 0xE101 BNZ L_main23
L__main25:
;unit02_08_menu.c,173 :: ReturnToDefaultMenu();
0x04E4 0xDE90 RCALL _ReturnToDefaultMenu
;unit02_08_menu.c,174 :: }
L_main23:
;unit02_08_menu.c,176 :: Delay_ms(250); // needed to treat debounce here!
0x04E6 0x0E03 MOVLW 3
0x04E8 0x6E0B MOVWF R11, 0
0x04EA 0x0E8A MOVLW 138
0x04EC 0x6E0C MOVWF R12, 0
0x04EE 0x0E55 MOVLW 85
0x04F0 0x6E0D MOVWF R13, 0
L_main24:
0x04F2 0x2E0D DECFSZ R13, 1, 0
0x04F4 0xD7FE BRA L_main24
0x04F6 0x2E0C DECFSZ R12, 1, 0
0x04F8 0xD7FC BRA L_main24
0x04FA 0x2E0B DECFSZ R11, 1, 0
0x04FC 0xD7FA BRA L_main24
0x04FE 0x0000 NOP
0x0500 0x0000 NOP
;unit02_08_menu.c,178 :: }
0x0502 0xD6F1 BRA L_main0
;unit02_08_menu.c,180 :: }
L_end_main:
0x0504 0xD7FF BRA $+0
; end of _main
0x05B2 0xF015EE10 LFSR 1, 21
0x05B6 0x0EAC MOVLW 172
0x05B8 0x6E00 MOVWF R0
0x05BA 0x0E01 MOVLW 1
0x05BC 0x6E01 MOVWF R1
0x05BE 0x0E06 MOVLW 6
0x05C0 0x6EF6 MOVWF 4086
0x05C2 0x0E05 MOVLW 5
0x05C4 0x6EF7 MOVWF TBLPTRH
0x05C6 0x0E00 MOVLW 0
0x05C8 0x6EF8 MOVWF TBLPTRU
0x05CA 0xF000ECAF CALL 350, 0
0x05CE 0x0012 RETURN 0
;unit02_08_menu.c,0 :: ?ICS_m_state_level_one
0x0506 0x0001 ;?ICS_m_state_level_one+0
; end of ?ICS_m_state_level_one
;unit02_08_menu.c,0 :: ?ICS?lstr10_unit02_08_menu
0x0508 0x533E ;?ICS?lstr10_unit02_08_menu+0
0x050A 0x4E45 ;?ICS?lstr10_unit02_08_menu+2
0x050C 0x4F53 ;?ICS?lstr10_unit02_08_menu+4
0x050E 0x3152 ;?ICS?lstr10_unit02_08_menu+6
0x0510 0x00 ;?ICS?lstr10_unit02_08_menu+8
; end of ?ICS?lstr10_unit02_08_menu
;unit02_08_menu.c,0 :: ?ICS_m_state_level_two
0x0511 0x0001 ;?ICS_m_state_level_two+0
; end of ?ICS_m_state_level_two
;unit02_08_menu.c,0 :: ?ICS_submenu
0x0513 0x0000 ;?ICS_submenu+0
; end of ?ICS_submenu