-
Notifications
You must be signed in to change notification settings - Fork 0
/
Uart.M51
1190 lines (1085 loc) · 43.6 KB
/
Uart.M51
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
BL51 BANKED LINKER/LOCATER V6.22 12/23/2019 19:59:24 PAGE 1
BL51 BANKED LINKER/LOCATER V6.22, INVOKED BY:
C:\KEIL_V5\C51\BIN\BL51.EXE main.obj, RC522.obj, watchdog.obj TO Uart RAMSIZE (256)
MEMORY MODEL: LARGE
INPUT MODULES INCLUDED:
main.obj (MAIN)
RC522.obj (RC522)
watchdog.obj (WATCHDOG)
C:\KEIL_V5\C51\LIB\C51L.LIB (?C_STARTUP)
C:\KEIL_V5\C51\LIB\C51L.LIB (?C?COPY)
C:\KEIL_V5\C51\LIB\C51L.LIB (?C?CLDOPTR)
C:\KEIL_V5\C51\LIB\C51L.LIB (?C?CSTPTR)
C:\KEIL_V5\C51\LIB\C51L.LIB (?C?CSTOPTR)
C:\KEIL_V5\C51\LIB\C51L.LIB (?C?IMUL)
C:\KEIL_V5\C51\LIB\C51L.LIB (?C?ILDIX)
C:\KEIL_V5\C51\LIB\C51L.LIB (?C?ISTPTR)
C:\KEIL_V5\C51\LIB\C51L.LIB (?C_INIT)
LINK MAP OF MODULE: Uart (MAIN)
TYPE BASE LENGTH RELOCATION SEGMENT NAME
-----------------------------------------------------
* * * * * * * D A T A M E M O R Y * * * * * * *
REG 0000H 0008H ABSOLUTE "REG BANK 0"
IDATA 0008H 0022H UNIT ?ID?MAIN
IDATA 002AH 0001H UNIT ?STACK
* * * * * * * X D A T A M E M O R Y * * * * * * *
XDATA 0000H 0035H UNIT _XDATA_GROUP_
XDATA 0035H 001DH UNIT ?XD?_PCDAUTHSTATE?RC522
XDATA 0052H 0018H UNIT ?XD?_PCDVALUE?RC522
XDATA 006AH 0017H UNIT ?XD?_PCDSELECT?RC522
XDATA 0081H 0017H UNIT ?XD?_PCDREAD?RC522
XDATA 0098H 0017H UNIT ?XD?_PCDWRITE?RC522
XDATA 00AFH 0015H UNIT ?XD?PCDHALT?RC522
XDATA 00C4H 0015H UNIT ?XD?_PCDBAKVALUE?RC522
XDATA 00D9H 0008H UNIT ?XD?_CALULATECRC?RC522
XDATA 00E1H 0004H UNIT ?XD?MAIN
* * * * * * * C O D E M E M O R Y * * * * * * *
CODE 0000H 0003H ABSOLUTE
CODE 0003H 0010H UNIT ?PR?LOCK?MAIN
CODE 0013H 0003H ABSOLUTE
CODE 0016H 000DH UNIT ?PR?_SETBITMASK?RC522
CODE 0023H 0003H ABSOLUTE
CODE 0026H 0219H UNIT ?PR?_PCDCOMMF522?RC522
CODE 023FH 019EH UNIT ?C?LIB_CODE
CODE 03DDH 0132H UNIT ?PR?_PCDBAKVALUE?RC522
CODE 050FH 00FBH UNIT ?PR?_PCDWRITE?RC522
CODE 060AH 00BDH UNIT ?PR?_PCDANTICOLL?RC522
CODE 06C7H 00B4H UNIT ?PR?_CALULATECRC?RC522
CODE 077BH 00B1H UNIT ?PR?_PCDVALUE?RC522
BL51 BANKED LINKER/LOCATER V6.22 12/23/2019 19:59:24 PAGE 2
CODE 082CH 00B0H UNIT ?PR?_PCDSELECT?RC522
CODE 08DCH 00AEH UNIT ?PR?_DI?MAIN
CODE 098AH 00A6H UNIT ?PR?_PCDAUTHSTATE?RC522
CODE 0A30H 008CH UNIT ?PR?_PCDREAD?RC522
CODE 0ABCH 008CH UNIT ?C_C51STARTUP
CODE 0B48H 0088H UNIT ?PR?ICCARDCODE?MAIN
CODE 0BD0H 0088H UNIT ?PR?_PCDREQUEST?RC522
CODE 0C58H 0052H UNIT ?PR?PCDHALT?RC522
CODE 0CAAH 004BH UNIT ?PR?_M500PCDCONFIGISOTYPE?RC522
CODE 0CF5H 004AH UNIT ?PR?UART_INT?MAIN
CODE 0D3FH 0043H UNIT ?PR?_READRAWRC?RC522
CODE 0D82H 003FH UNIT ?PR?_WRITERAWRC?RC522
CODE 0DC1H 003EH UNIT ?PR?PCDRESET?RC522
CODE 0DFFH 0036H UNIT ?PR?_DELAY_10MS?RC522
CODE 0E35H 002EH UNIT ?PR?PROCESS?MAIN
CODE 0E63H 0026H UNIT ?PR?VERIFY?MAIN
CODE 0E89H 0023H UNIT ?PR?UART_INIT?MAIN
CODE 0EACH 0019H UNIT ?PR?MAIN?MAIN
CODE 0EC5H 0013H UNIT ?PR?_CLEARBITMASK?RC522
CODE 0ED8H 0012H UNIT ?PR?PCDANTENNAON?RC522
CODE 0EEAH 0010H UNIT ?PR?UNLOCK?MAIN
CODE 0EFAH 000CH UNIT ?PR?_UART_SENDBYTE?MAIN
CODE 0F06H 0009H UNIT ?C_INITSEG
CODE 0F0FH 0009H UNIT ?PR?_WATCHDOG_INIT?WATCHDOG
CODE 0F18H 0007H UNIT ?PR?PCDANTENNAOFF?RC522
CODE 0F1FH 0004H UNIT ?PR?WATCHDOG_ENABLE?WATCHDOG
CODE 0F23H 0004H UNIT ?PR?WATCHDOG_FEED?WATCHDOG
CODE 0F27H 0004H UNIT ?PR?WATCHDOG_ENABLEIDLESTATE?WATCHDOG
CODE 0F2BH 0004H UNIT ?PR?WATCHDOG_QUITIDLESTATE?WATCHDOG
CODE 0F2FH 0004H UNIT ?PR?EXT1IRQ?WATCHDOG
OVERLAY MAP OF MODULE: Uart (MAIN)
SEGMENT XDATA_GROUP
+--> CALLED SEGMENT START LENGTH
-------------------------------------------------------------
?PR?UART_INT?MAIN ----- -----
+--> ?PR?PROCESS?MAIN
?PR?PROCESS?MAIN ----- -----
+--> ?PR?UNLOCK?MAIN
+--> ?PR?_DELAY_10MS?RC522
+--> ?PR?LOCK?MAIN
+--> ?PR?_DI?MAIN
?PR?UNLOCK?MAIN ----- -----
+--> ?PR?_DELAY_10MS?RC522
?PR?_DELAY_10MS?RC522 000AH 0002H
+--> ?PR?WATCHDOG_FEED?WATCHDOG
?PR?LOCK?MAIN ----- -----
+--> ?PR?_DELAY_10MS?RC522
BL51 BANKED LINKER/LOCATER V6.22 12/23/2019 19:59:24 PAGE 3
?PR?_DI?MAIN 000BH 000AH
+--> ?PR?WATCHDOG_FEED?WATCHDOG
*** NEW ROOT ***************************************************
?PR?EXT1IRQ?WATCHDOG ----- -----
+--> ?PR?WATCHDOG_FEED?WATCHDOG
*** NEW ROOT ***************************************************
?C_C51STARTUP ----- -----
+--> ?PR?MAIN?MAIN
+--> ?C_INITSEG
?PR?MAIN?MAIN ----- -----
+--> ?PR?UART_INIT?MAIN
+--> ?PR?_WATCHDOG_INIT?WATCHDOG
+--> ?PR?WATCHDOG_ENABLE?WATCHDOG
+--> ?PR?ICCARDCODE?MAIN
+--> ?PR?WATCHDOG_FEED?WATCHDOG
?PR?UART_INIT?MAIN ----- -----
+--> ?PR?PCDRESET?RC522
+--> ?PR?PCDANTENNAOFF?RC522
+--> ?PR?PCDANTENNAON?RC522
+--> ?PR?_M500PCDCONFIGISOTYPE?RC522
?PR?PCDRESET?RC522 ----- -----
+--> ?PR?_WRITERAWRC?RC522
?PR?PCDANTENNAOFF?RC522 ----- -----
+--> ?PR?_CLEARBITMASK?RC522
?PR?_CLEARBITMASK?RC522 ----- -----
+--> ?PR?_READRAWRC?RC522
+--> ?PR?_WRITERAWRC?RC522
?PR?PCDANTENNAON?RC522 ----- -----
+--> ?PR?_READRAWRC?RC522
+--> ?PR?_SETBITMASK?RC522
?PR?_SETBITMASK?RC522 ----- -----
+--> ?PR?_READRAWRC?RC522
+--> ?PR?_WRITERAWRC?RC522
?PR?_M500PCDCONFIGISOTYPE?RC522 ----- -----
+--> ?PR?_CLEARBITMASK?RC522
+--> ?PR?_WRITERAWRC?RC522
+--> ?PR?_DELAY_10MS?RC522
+--> ?PR?PCDANTENNAON?RC522
?PR?ICCARDCODE?MAIN 000AH 0001H
+--> ?PR?_PCDREQUEST?RC522
+--> ?PR?_PCDANTICOLL?RC522
+--> ?PR?VERIFY?MAIN
+--> ?PR?PCDRESET?RC522
+--> ?PR?_DI?MAIN
BL51 BANKED LINKER/LOCATER V6.22 12/23/2019 19:59:24 PAGE 4
+--> ?PR?_UART_SENDBYTE?MAIN
?PR?_PCDREQUEST?RC522 000BH 0018H
+--> ?PR?_CLEARBITMASK?RC522
+--> ?PR?_WRITERAWRC?RC522
+--> ?PR?_SETBITMASK?RC522
+--> ?PR?_PCDCOMMF522?RC522
?PR?_PCDCOMMF522?RC522 0024H 0011H
+--> ?PR?_WRITERAWRC?RC522
+--> ?PR?_CLEARBITMASK?RC522
+--> ?PR?_SETBITMASK?RC522
+--> ?PR?_READRAWRC?RC522
?PR?_PCDANTICOLL?RC522 000BH 0019H
+--> ?PR?_CLEARBITMASK?RC522
+--> ?PR?_WRITERAWRC?RC522
+--> ?PR?_PCDCOMMF522?RC522
+--> ?PR?_SETBITMASK?RC522
?PR?VERIFY?MAIN ----- -----
+--> ?PR?_UART_SENDBYTE?MAIN
?PR?_UART_SENDBYTE?MAIN ----- -----
+--> ?PR?WATCHDOG_FEED?WATCHDOG
SYMBOL TABLE OF MODULE: Uart (MAIN)
VALUE TYPE NAME
----------------------------------
------- MODULE MAIN
C:0000H SYMBOL _ICE_DUMMY_
D:0090H PUBLIC P1
D:00A0H PUBLIC P2
D:00B0H PUBLIC P3
C:0E35H PUBLIC process
B:00A8H.7 PUBLIC EA
C:0B48H PUBLIC iccardcode
I:0008H PUBLIC RevBuffer
I:0026H PUBLIC ID
D:00A8H PUBLIC IE
C:0EEAH PUBLIC unlock
C:0E89H PUBLIC Uart_Init
X:00E1H PUBLIC heart
B:0090H.3 PUBLIC HEART_TEST
B:00A8H.4 PUBLIC ES
C:0E63H PUBLIC verify
D:00B8H PUBLIC IP
B:0098H.0 PUBLIC RI
B:00A0H.5 PUBLIC BEEP
B:0098H.1 PUBLIC TI
C:0EFAH PUBLIC _Uart_SendByte
C:0EACH PUBLIC main
X:00E2H PUBLIC status
BL51 BANKED LINKER/LOCATER V6.22 12/23/2019 19:59:24 PAGE 5
C:0CF5H PUBLIC Uart_Int
C:0003H PUBLIC lock
D:0099H PUBLIC SBUF
D:0087H PUBLIC PCON
D:0098H PUBLIC SCON
D:0089H PUBLIC TMOD
D:0088H PUBLIC TCON
B:0090H.4 PUBLIC LOCK_A
B:0090H.5 PUBLIC LOCK_B
C:08DCH PUBLIC _di
D:008DH PUBLIC TH1
X:00E3H PUBLIC R_data
B:0090H.0 PUBLIC LED_OK
D:008BH PUBLIC TL1
B:0090H.2 PUBLIC LED_FAIL
B:0088H.6 PUBLIC TR1
D:00C8H PUBLIC T2CON
X:00E4H PUBLIC i
B:0090H.1 PUBLIC LED_WAIT
D:00D0H PUBLIC PSW
------- PROC LOCK
C:0003H LINE# 27
C:0003H LINE# 28
C:0005H LINE# 29
C:0007H LINE# 30
C:000EH LINE# 31
C:0010H LINE# 32
C:0012H LINE# 33
------- ENDPROC LOCK
------- PROC UNLOCK
C:0EEAH LINE# 34
C:0EEAH LINE# 35
C:0EECH LINE# 36
C:0EEEH LINE# 37
C:0EF5H LINE# 38
C:0EF7H LINE# 39
C:0EF9H LINE# 41
------- ENDPROC UNLOCK
------- PROC _DI
X:000BH SYMBOL x
------- DO
X:000DH SYMBOL Count1
X:000FH SYMBOL Count2
X:0011H SYMBOL Count3
X:0013H SYMBOL flag
------- ENDDO
C:08DCH LINE# 42
C:08E4H LINE# 43
C:08F5H LINE# 44
C:0903H LINE# 45
C:0903H LINE# 46
C:0906H LINE# 47
C:0914H LINE# 48
C:0922H LINE# 49
C:092EH LINE# 50
C:092EH LINE# 51
C:093CH LINE# 52
BL51 BANKED LINKER/LOCATER V6.22 12/23/2019 19:59:24 PAGE 6
C:0948H LINE# 53
C:0948H LINE# 54
C:094EH LINE# 55
C:0952H LINE# 56
C:0964H LINE# 57
C:0964H LINE# 58
C:0964H LINE# 59
C:096EH LINE# 60
C:096EH LINE# 61
C:0970H LINE# 62
C:0970H LINE# 63
C:0987H LINE# 64
C:0989H LINE# 66
C:0989H LINE# 68
C:0989H LINE# 70
------- ENDPROC _DI
------- PROC PROCESS
C:0E35H LINE# 74
C:0E35H LINE# 75
C:0E3DH LINE# 76
C:0E43H LINE# 79
C:0E43H LINE# 80
C:0E47H LINE# 81
C:0E4AH LINE# 82
C:0E51H LINE# 83
C:0E54H LINE# 85
C:0E54H LINE# 86
C:0E5BH LINE# 87
C:0E62H LINE# 89
C:0E62H LINE# 91
------- ENDPROC PROCESS
------- PROC ICCARDCODE
------- DO
X:000AH SYMBOL tmp
------- ENDDO
C:0B48H LINE# 93
C:0B48H LINE# 94
C:0B48H LINE# 96
C:0B59H LINE# 97
C:0B59H LINE# 98
C:0B5BH LINE# 99
C:0B6BH LINE# 100
C:0B6DH LINE# 101
C:0B72H LINE# 102
C:0B72H LINE# 103
C:0B74H LINE# 105
C:0B74H LINE# 106
C:0B76H LINE# 107
C:0B84H LINE# 108
C:0B86H LINE# 109
C:0B8CH LINE# 110
C:0B8EH LINE# 114
C:0B8EH LINE# 115
C:0B91H LINE# 116
C:0B97H LINE# 117
C:0B99H LINE# 118
C:0B99H LINE# 119
BL51 BANKED LINKER/LOCATER V6.22 12/23/2019 19:59:24 PAGE 7
C:0B9CH LINE# 120
C:0B9CH LINE# 121
C:0B9EH LINE# 123
C:0B9EH LINE# 124
C:0BA3H LINE# 125
C:0BA3H LINE# 126
C:0BA3H LINE# 127
C:0BA5H LINE# 128
C:0BAEH LINE# 129
C:0BB5H LINE# 130
C:0BB5H LINE# 131
C:0BBEH LINE# 132
C:0BC3H LINE# 133
C:0BC9H LINE# 134
C:0BC9H LINE# 135
C:0BCFH LINE# 136
------- ENDPROC ICCARDCODE
------- PROC UART_INIT
C:0E89H LINE# 144
C:0E89H LINE# 145
C:0E89H LINE# 146
C:0E8CH LINE# 147
C:0E8FH LINE# 148
C:0E92H LINE# 149
C:0E95H LINE# 150
C:0E98H LINE# 151
C:0E9AH LINE# 152
C:0E9CH LINE# 153
C:0E9EH LINE# 155
C:0EA1H LINE# 156
C:0EA4H LINE# 157
C:0EA7H LINE# 158
------- ENDPROC UART_INIT
------- PROC _UART_SENDBYTE
D:0007H SYMBOL Byte
C:0EFAH LINE# 166
C:0EFAH LINE# 167
C:0EFAH LINE# 168
C:0EFCH LINE# 169
C:0EFFH LINE# 170
C:0EFFH LINE# 171
C:0F00H LINE# 172
C:0F03H LINE# 173
C:0F05H LINE# 174
------- ENDPROC _UART_SENDBYTE
------- PROC MAIN
C:0EACH LINE# 181
C:0EACH LINE# 182
C:0EACH LINE# 183
C:0EAFH LINE# 184
C:0EB1H LINE# 185
C:0EB4H LINE# 186
C:0EB7H LINE# 188
C:0EB7H LINE# 189
C:0EB7H LINE# 190
C:0EB9H LINE# 191
C:0EBBH LINE# 192
BL51 BANKED LINKER/LOCATER V6.22 12/23/2019 19:59:24 PAGE 8
C:0EBDH LINE# 193
C:0EC0H LINE# 194
C:0EC3H LINE# 195
------- ENDPROC MAIN
------- PROC UART_INT
C:0CF5H LINE# 206
C:0D12H LINE# 209
C:0D14H LINE# 210
C:0D17H LINE# 211
C:0D17H LINE# 212
C:0D1DH LINE# 213
C:0D1FH LINE# 214
C:0D22H LINE# 215
C:0D22H LINE# 216
C:0D24H LINE# 217
------- ENDPROC UART_INT
------- PROC VERIFY
C:0E63H LINE# 220
C:0E63H LINE# 221
C:0E68H LINE# 223
C:0E77H LINE# 224
C:0E80H LINE# 225
C:0E88H LINE# 226
------- ENDPROC VERIFY
------- ENDMOD MAIN
------- MODULE RC522
C:0000H SYMBOL _ICE_DUMMY_
C:0F18H PUBLIC PcdAntennaOff
D:0090H PUBLIC P1
D:00A0H PUBLIC P2
B:00A0H.0 PUBLIC MF522_NSS
D:00B0H PUBLIC P3
C:0BD0H PUBLIC _PcdRequest
B:00A0H.4 PUBLIC MF522_RST
C:06DEH PUBLIC _CalulateCRC
D:00A8H PUBLIC IE
C:0A30H PUBLIC _PcdRead
C:077BH PUBLIC _PcdValue
D:00B8H PUBLIC IP
C:0ECAH PUBLIC _ClearBitMask
D:00CCH PUBLIC T2LH
C:0DC1H PUBLIC PcdReset
C:0ED8H PUBLIC PcdAntennaOn
C:0C58H PUBLIC PcdHalt
C:050FH PUBLIC _PcdWrite
C:03DDH PUBLIC _PcdBakValue
B:00A0H.2 PUBLIC MF522_SI
B:00A0H.3 PUBLIC MF522_SO
C:098AH PUBLIC _PcdAuthState
D:0098H PUBLIC SCON
C:0DFFH PUBLIC _delay_10ms
D:0088H PUBLIC TCON
C:0D45H PUBLIC _ReadRawRC
B:00C8H.7 PUBLIC TF2
C:0D86H PUBLIC _WriteRawRC
C:060AH PUBLIC _PcdAnticoll
BL51 BANKED LINKER/LOCATER V6.22 12/23/2019 19:59:24 PAGE 9
B:00C8H.2 PUBLIC TR2
C:0016H PUBLIC _SetBitMask
C:004CH PUBLIC _PcdComMF522
D:00C8H PUBLIC T2CON
C:0CAAH PUBLIC _M500PcdConfigISOType
D:00CAH PUBLIC RCAP2LH
B:00A0H.1 PUBLIC MF522_SCK
D:00D0H PUBLIC PSW
C:082CH PUBLIC _PcdSelect
------- PROC _PCDREQUEST
X:000BH SYMBOL req_code
X:000CH SYMBOL pTagType
------- DO
D:0007H SYMBOL status
X:000FH SYMBOL unLen
X:0011H SYMBOL ucComMF522Buf
------- ENDDO
C:0BD0H LINE# 21
C:0BDDH LINE# 22
C:0BDDH LINE# 27
C:0BE0H LINE# 28
C:0BE7H LINE# 34
C:0BEEH LINE# 36
C:0BF6H LINE# 38
C:0C19H LINE# 42
C:0C28H LINE# 43
C:0C28H LINE# 44
C:0C3CH LINE# 45
C:0C53H LINE# 46
C:0C55H LINE# 48
C:0C57H LINE# 50
C:0C57H LINE# 51
------- ENDPROC _PCDREQUEST
------- PROC _PCDANTICOLL
X:000BH SYMBOL pSnr
------- DO
X:000EH SYMBOL status
D:0004H SYMBOL i
X:000FH SYMBOL snr_check
X:0010H SYMBOL unLen
X:0012H SYMBOL ucComMF522Buf
------- ENDDO
C:060AH LINE# 58
C:0615H LINE# 59
C:0615H LINE# 61
C:0619H LINE# 66
C:061CH LINE# 67
C:0623H LINE# 68
C:062AH LINE# 70
C:0630H LINE# 71
C:0634H LINE# 73
C:0660H LINE# 75
C:0662H LINE# 76
C:0662H LINE# 77
C:0663H LINE# 78
C:0663H LINE# 79
C:0685H LINE# 80
BL51 BANKED LINKER/LOCATER V6.22 12/23/2019 19:59:24 PAGE 10
C:069CH LINE# 81
C:06A1H LINE# 82
C:06B4H LINE# 83
C:06BAH LINE# 84
C:06BAH LINE# 86
C:06C1H LINE# 87
C:06C6H LINE# 88
------- ENDPROC _PCDANTICOLL
------- PROC _PCDSELECT
X:006AH SYMBOL pSnr
------- DO
D:0007H SYMBOL status
D:0004H SYMBOL i
X:006DH SYMBOL unLen
X:006FH SYMBOL ucComMF522Buf
------- ENDDO
C:082CH LINE# 95
C:0837H LINE# 96
C:0837H LINE# 102
C:083DH LINE# 103
C:0841H LINE# 104
C:0846H LINE# 105
C:0847H LINE# 106
C:0847H LINE# 107
C:0869H LINE# 108
C:087DH LINE# 109
C:0882H LINE# 110
C:089BH LINE# 112
C:089EH LINE# 114
C:08C7H LINE# 116
C:08D6H LINE# 117
C:08D9H LINE# 119
C:08DBH LINE# 121
C:08DBH LINE# 122
------- ENDPROC _PCDSELECT
------- PROC _PCDAUTHSTATE
D:0007H SYMBOL auth_mode
D:0005H SYMBOL addr
X:0037H SYMBOL pKey
X:003AH SYMBOL pSnr
------- DO
X:003DH SYMBOL status
X:003EH SYMBOL unLen
D:0007H SYMBOL i
X:0040H SYMBOL ucComMF522Buf
------- ENDDO
C:098AH LINE# 134
C:0995H LINE# 135
C:0995H LINE# 140
C:099AH LINE# 141
C:099DH LINE# 142
C:099FH LINE# 143
C:09C4H LINE# 144
C:09C6H LINE# 145
C:09EBH LINE# 149
C:0A19H LINE# 150
C:0A24H LINE# 151
BL51 BANKED LINKER/LOCATER V6.22 12/23/2019 19:59:24 PAGE 11
C:0A2AH LINE# 153
C:0A2FH LINE# 154
------- ENDPROC _PCDAUTHSTATE
------- PROC _PCDREAD
D:0007H SYMBOL addr
X:0081H SYMBOL pData
------- DO
D:0007H SYMBOL status
X:0084H SYMBOL unLen
D:0006H SYMBOL i
X:0086H SYMBOL ucComMF522Buf
------- ENDDO
C:0A30H LINE# 162
C:0A3BH LINE# 163
C:0A3BH LINE# 168
C:0A41H LINE# 169
C:0A44H LINE# 170
C:0A59H LINE# 172
C:0A82H LINE# 173
C:0A91H LINE# 175
C:0A91H LINE# 176
C:0A92H LINE# 177
C:0AB9H LINE# 178
C:0AB9H LINE# 180
C:0ABBH LINE# 182
C:0ABBH LINE# 183
------- ENDPROC _PCDREAD
------- PROC _PCDWRITE
D:0007H SYMBOL addr
X:0098H SYMBOL pData
------- DO
D:0007H SYMBOL status
X:009BH SYMBOL unLen
D:0006H SYMBOL i
X:009DH SYMBOL ucComMF522Buf
------- ENDDO
C:050FH LINE# 191
C:051AH LINE# 192
C:051AH LINE# 197
C:0520H LINE# 198
C:0523H LINE# 199
C:053CH LINE# 201
C:0565H LINE# 203
C:057EH LINE# 204
C:0580H LINE# 206
C:0586H LINE# 207
C:0586H LINE# 209
C:0587H LINE# 210
C:05ACH LINE# 211
C:05C5H LINE# 213
C:05EEH LINE# 214
C:0607H LINE# 215
C:0609H LINE# 216
C:0609H LINE# 218
C:0609H LINE# 219
------- ENDPROC _PCDWRITE
------- PROC PCDHALT
BL51 BANKED LINKER/LOCATER V6.22 12/23/2019 19:59:24 PAGE 12
------- DO
X:00AFH SYMBOL status
X:00B0H SYMBOL unLen
X:00B2H SYMBOL ucComMF522Buf
------- ENDDO
C:0C58H LINE# 227
C:0C58H LINE# 228
C:0C58H LINE# 233
C:0C5EH LINE# 234
C:0C61H LINE# 235
C:0C79H LINE# 237
C:0CA7H LINE# 239
C:0CA9H LINE# 240
------- ENDPROC PCDHALT
C:06DAH SYMBOL L?0143
------- PROC L?0142
------- ENDPROC L?0142
C:06DAH SYMBOL L?0143
------- PROC _CALULATECRC
X:00D9H SYMBOL pIndata
X:00DCH SYMBOL len
X:00DDH SYMBOL pOutData
------- DO
X:00E0H SYMBOL i
D:0007H SYMBOL n
------- ENDDO
C:06DEH LINE# 245
C:06ECH LINE# 246
C:06ECH LINE# 248
C:06F3H LINE# 249
C:06F6H LINE# 250
C:06FDH LINE# 251
C:0710H LINE# 252
C:0731H LINE# 253
C:0738H LINE# 254
C:073EH LINE# 256
C:073EH LINE# 257
C:0743H LINE# 258
C:0749H LINE# 259
C:0749H LINE# 260
C:0750H LINE# 261
C:0764H LINE# 262
------- ENDPROC _CALULATECRC
------- PROC PCDRESET
C:0DC1H LINE# 269
C:0DC1H LINE# 270
C:0DC1H LINE# 271
C:0DC3H LINE# 272
C:0DC4H LINE# 273
C:0DC6H LINE# 274
C:0DC7H LINE# 275
C:0DC9H LINE# 276
C:0DCAH LINE# 277
C:0DD1H LINE# 278
C:0DD2H LINE# 280
C:0DD9H LINE# 281
C:0DE0H LINE# 282
BL51 BANKED LINKER/LOCATER V6.22 12/23/2019 19:59:24 PAGE 13
C:0DE7H LINE# 283
C:0DEEH LINE# 284
C:0DF5H LINE# 285
C:0DFCH LINE# 286
C:0DFEH LINE# 287
------- ENDPROC PCDRESET
------- PROC _M500PCDCONFIGISOTYPE
D:0007H SYMBOL type
C:0CAAH LINE# 291
C:0CAAH LINE# 292
C:0CAAH LINE# 293
C:0CAFH LINE# 294
C:0CAFH LINE# 295
C:0CB2H LINE# 307
C:0CB9H LINE# 314
C:0CC0H LINE# 319
C:0CC7H LINE# 324
C:0CCEH LINE# 325
C:0CD5H LINE# 326
C:0CDCH LINE# 327
C:0CE3H LINE# 331
C:0CEAH LINE# 332
C:0CEDH LINE# 333
C:0CEFH LINE# 334
C:0CF2H LINE# 336
C:0CF4H LINE# 337
------- ENDPROC _M500PCDCONFIGISOTYPE
------- PROC L?0148
------- ENDPROC L?0148
------- PROC _READRAWRC
D:0007H SYMBOL Address
------- DO
D:0005H SYMBOL i
D:0007H SYMBOL ucAddr
D:0006H SYMBOL ucResult
------- ENDDO
C:0D45H LINE# 343
C:0D45H LINE# 344
C:0D45H LINE# 346
C:0D47H LINE# 348
C:0D49H LINE# 349
C:0D4BH LINE# 350
C:0D53H LINE# 352
C:0D55H LINE# 353
C:0D55H LINE# 354
C:0D5FH LINE# 355
C:0D61H LINE# 356
C:0D65H LINE# 357
C:0D67H LINE# 358
C:0D69H LINE# 360
C:0D6BH LINE# 361
C:0D6BH LINE# 362
C:0D6DH LINE# 363
C:0D71H LINE# 364
C:0D77H LINE# 365
C:0D79H LINE# 366
C:0D7BH LINE# 368
BL51 BANKED LINKER/LOCATER V6.22 12/23/2019 19:59:24 PAGE 14
C:0D7DH LINE# 369
C:0D7FH LINE# 370
C:0D81H LINE# 371
------- ENDPROC _READRAWRC
C:0D82H SYMBOL L?0147
------- PROC L?0146
------- ENDPROC L?0146
C:0D82H SYMBOL L?0147
------- PROC _WRITERAWRC
D:0007H SYMBOL Address
D:0005H SYMBOL value
------- DO
D:0006H SYMBOL i
D:0007H SYMBOL ucAddr
------- ENDDO
C:0D86H LINE# 378
C:0D86H LINE# 379
C:0D86H LINE# 382
C:0D88H LINE# 383
C:0D8AH LINE# 384
C:0D90H LINE# 386
C:0D92H LINE# 387
C:0D92H LINE# 388
C:0D9CH LINE# 389
C:0D9EH LINE# 390
C:0DA2H LINE# 391
C:0DA4H LINE# 392
C:0DA6H LINE# 394
C:0DA8H LINE# 395
C:0DA8H LINE# 396
C:0DB2H LINE# 397
C:0DB4H LINE# 398
C:0DB8H LINE# 399
C:0DBAH LINE# 400
C:0DBCH LINE# 401
C:0DBEH LINE# 402
C:0DC0H LINE# 403
------- ENDPROC _WRITERAWRC
------- PROC _SETBITMASK
D:0004H SYMBOL reg
D:0003H SYMBOL mask
------- DO
D:0006H SYMBOL tmp
------- ENDDO
C:0016H LINE# 410
C:0016H LINE# 411
C:0016H LINE# 412
C:0016H LINE# 413
C:001BH LINE# 414
------- ENDPROC _SETBITMASK
C:0EC6H SYMBOL L?0145
------- PROC L?0144
------- ENDPROC L?0144
C:0EC6H SYMBOL L?0145
------- PROC _CLEARBITMASK
D:0004H SYMBOL reg
D:0003H SYMBOL mask
BL51 BANKED LINKER/LOCATER V6.22 12/23/2019 19:59:24 PAGE 15
------- DO
D:0006H SYMBOL tmp
------- ENDDO
C:0ECAH LINE# 422
C:0ECAH LINE# 423
C:0ECAH LINE# 424
C:0ECAH LINE# 425
C:0ECFH LINE# 426
------- ENDPROC _CLEARBITMASK
C:0028H SYMBOL L?0140
C:0048H SYMBOL L?0141
------- PROC L?0139
------- ENDPROC L?0139
C:0028H SYMBOL L?0140
C:0048H SYMBOL L?0141
------- PROC _PCDCOMMF522
X:0024H SYMBOL Command
X:0025H SYMBOL pInData
X:0028H SYMBOL InLenByte
X:0029H SYMBOL pOutData
X:002CH SYMBOL pOutLenBit
------- DO
X:002FH SYMBOL status
X:0030H SYMBOL irqEn
X:0031H SYMBOL waitFor
D:0005H SYMBOL lastBits
X:0032H SYMBOL n
X:0033H SYMBOL i
------- ENDDO
C:004CH LINE# 437
C:005CH LINE# 442
C:005CH LINE# 443
C:0062H LINE# 444
C:0065H LINE# 445
C:0067H LINE# 449
C:0070H LINE# 450
C:0070H LINE# 451
C:0070H LINE# 452
C:0076H LINE# 453
C:007AH LINE# 454
C:007CH LINE# 455
C:007CH LINE# 456
C:0082H LINE# 457
C:0086H LINE# 458
C:0086H LINE# 459
C:0086H LINE# 460
C:0086H LINE# 461
C:0086H LINE# 463
C:0092H LINE# 464
C:0099H LINE# 465
C:009CH LINE# 466
C:00A3H LINE# 468
C:00BEH LINE# 469
C:00E6H LINE# 470
C:00F0H LINE# 473
C:00F4H LINE# 474
C:00FBH LINE# 477
BL51 BANKED LINKER/LOCATER V6.22 12/23/2019 19:59:24 PAGE 16
C:0105H LINE# 479
C:0105H LINE# 480
C:010FH LINE# 481
C:011DH LINE# 482
C:011DH LINE# 483
C:0135H LINE# 484
C:013CH LINE# 486
C:0149H LINE# 487
C:0149H LINE# 488
C:0156H LINE# 489
C:0156H LINE# 490
C:015AH LINE# 491
C:0165H LINE# 492
C:016BH LINE# 493
C:0176H LINE# 494
C:0176H LINE# 495
C:0180H LINE# 496
C:0189H LINE# 497
C:018BH LINE# 498
C:01B1H LINE# 500
C:01CCH LINE# 501
C:01D2H LINE# 502
C:01D4H LINE# 503
C:01DDH LINE# 504
C:01E0H LINE# 505
C:01FAH LINE# 506
C:0229H LINE# 507
C:0229H LINE# 508
C:0229H LINE# 510
C:022FH LINE# 512
C:022FH LINE# 515
C:0236H LINE# 516
C:0239H LINE# 517
C:023EH LINE# 518
------- ENDPROC _PCDCOMMF522
------- PROC PCDANTENNAON
------- DO
D:0007H SYMBOL i
------- ENDDO
C:0ED8H LINE# 525
C:0ED8H LINE# 526
C:0ED8H LINE# 528
C:0EDDH LINE# 529
C:0EE2H LINE# 530
C:0EE2H LINE# 531
C:0EE9H LINE# 532
C:0EE9H LINE# 533
------- ENDPROC PCDANTENNAON
------- PROC PCDANTENNAOFF
C:0F18H LINE# 539
C:0F18H LINE# 540
C:0F18H LINE# 541
------- ENDPROC PCDANTENNAOFF
------- PROC _PCDVALUE
D:0007H SYMBOL dd_mode
X:0052H SYMBOL addr
X:0053H SYMBOL pValue
BL51 BANKED LINKER/LOCATER V6.22 12/23/2019 19:59:24 PAGE 17
------- DO
D:0007H SYMBOL status
X:0056H SYMBOL unLen
X:0058H SYMBOL ucComMF522Buf
------- ENDDO
C:077BH LINE# 554
C:078BH LINE# 555
C:078BH LINE# 560
C:0790H LINE# 561
C:0792H LINE# 562
C:0795H LINE# 564
C:0798H LINE# 566
C:07B1H LINE# 567
C:07B3H LINE# 569
C:07B6H LINE# 570
C:07B6H LINE# 571
C:07CEH LINE# 574
C:07E7H LINE# 575
C:07EEH LINE# 576
C:07F3H LINE# 577
C:07F8H LINE# 578
C:07FAH LINE# 579
C:07FAH LINE# 581
C:07FDH LINE# 582
C:07FDH LINE# 583
C:0803H LINE# 584
C:080AH LINE# 585
C:080DH LINE# 587
C:0810H LINE# 589
C:0829H LINE# 590
C:082BH LINE# 591
C:082BH LINE# 592
C:082BH LINE# 593
------- ENDPROC _PCDVALUE
------- PROC _PCDBAKVALUE
D:0007H SYMBOL sourceaddr