📄 mfrc500.ls1
字号:
000F 664 ORG 15
000F 665 byteOffset?32167: DS 1
666
---- 667 RSEG ?ID?MFRC500
0000 668 irqBits?30149: DS 1
669
---- 670 RSEG ?ID?MFRC500
0001 671 irqMask?30150: DS 1
672
---- 673 RSEG ?ID?MFRC500
0002 674 oldPageSelect?30151: DS 1
675
---- 676 RSEG ?ID?MFRC500
0003 677 nbytes?30152: DS 1
678
---- 679 RSEG ?ID?MFRC500
0004 680 cnt?30153: DS 1
681
---- 682 RSEG ?XD?MFRC500
0000 683 FWI: DS 1
0001 684 MInfo: DS 9
000A 685 MpIsrInfo: DS 3
000D 686 MpIsrOut: DS 3
0010 687 MpIsrIn: DS 3
0013 688 RxGain: DS 1
0014 689 SndBuffer: DS 64
0054 690 RcvBuffer: DS 64
0094 691 MLastSelectedSnr: DS 5
692
---- 693 RSEG ?DT?_SetBitMask?MFRC500
0000 694 tmp?143: DS 1
695
---- 696 RSEG ?DT?_M500PcdCmd?MFRC500
0000 697 tmpStatus?552: DS 1
698
---- 699 RSEG ?DT?_M500PcdCmd?MFRC500
0001 700 lastBits?553: DS 1
701
---- 702 RSEG ?DT?_M500PcdCmd?MFRC500
0002 703 status?554: DS 1
704
---- 705 RSEG ?DT?_M500PcdCmd?MFRC500
0003 706 irqEn?555: DS 1
707
---- 708 RSEG ?DT?_M500PcdCmd?MFRC500
0004 709 waitFor?556: DS 1
710
---- 711 RSEG ?DT?_M500PcdCmd?MFRC500
0005 712 starttime?557: DS 2
713
---- 714 RSEG ?ID?_M500Request?MFRC500
0000 715 status?1166: DS 1
716
---- 717 RSEG ?ID?_M500Anticoll?MFRC500
A51 MACRO ASSEMBLER MFRC500 03/13/2009 15:44:54 PAGE 12
0000 718 status?1269: DS 1
719
---- 720 RSEG ?ID?_M500Anticoll?MFRC500
0001 721 nbytes?1270: DS 1
722
---- 723 RSEG ?ID?_M500Anticoll?MFRC500
0002 724 bcnt?1271: DS 1
725
---- 726 RSEG ?ID?_M500Anticoll?MFRC500
0003 727 nbits?1272: DS 1
728
---- 729 RSEG ?ID?_M500Anticoll?MFRC500
0004 730 complete?1273: DS 1
731
---- 732 RSEG ?ID?_M500Anticoll?MFRC500
0005 733 byteOffset?1274: DS 1
734
---- 735 RSEG ?ID?_M500Anticoll?MFRC500
0006 736 snr_crc?1275: DS 1
737
---- 738 RSEG ?ID?_M500Anticoll?MFRC500
0007 739 snr_check?1276: DS 1
740
---- 741 RSEG ?ID?_M500Anticoll?MFRC500
0008 742 dummyShift1?1277: DS 1
743
---- 744 RSEG ?ID?_M500Anticoll?MFRC500
0009 745 dummyShift2?1278: DS 1
746
---- 747 RSEG ?ID?_M500Select?MFRC500
0000 748 status?1380: DS 1
749
---- 750 RSEG ?ID?_M500Select?MFRC500
0001 751 size?1381: DS 1
752
---- 753 RSEG ?ID?_M500HostCodeKey?MFRC500
0000 754 cnt?1484: DS 1
755
---- 756 RSEG ?ID?_M500HostCodeKey?MFRC500
0001 757 ln?1485: DS 1
758
---- 759 RSEG ?ID?_M500HostCodeKey?MFRC500
0002 760 hn?1486: DS 1
761
---- 762 RSEG ?ID?_M500PiccAuthState?MFRC500
0000 763 status?1590: DS 1
764
---- 765 RSEG ?ID?_M500Auth?MFRC500
0000 766 status?1695: DS 1
767
---- 768 RSEG ?ID?_M500Auth?MFRC500
0001 769 keycoded?1696: DS 12
770
---- 771 RSEG ?ID?_M500Auth?MFRC500
000D 772 offset?1697: DS 1
773
---- 774 RSEG ?ID?_M500Read?MFRC500
0000 775 status?17100: DS 1
776
---- 777 RSEG ?ID?_M500Read?MFRC500
0001 778 tmp?17101: DS 1
779
---- 780 RSEG ?ID?_M500Write?MFRC500
0000 781 status?18104: DS 1
782
---- 783 RSEG ?ID?_MProCommand?MFRC500
A51 MACRO ASSEMBLER MFRC500 03/13/2009 15:44:54 PAGE 13
0000 784 i?41226: DS 1
785
---- 786 RSEG ?ID?_MProCommand?MFRC500
0001 787 atq?41227: DS 2
788
---- 789 RSEG ?ID?_MProCommand?MFRC500
0003 790 snr?41228: DS 10
791
---- 792 RSEG ?ID?_MProCommand?MFRC500
000D 793 sak?41229: DS 1
794
---- 795 RSEG ?ID?_MProCommand?MFRC500
000E 796 snr_len?41230: DS 1
797
---- 798 RSEG ?ID?_MProCommand?MFRC500
000F 799 TA?41231: DS 1
800
---- 801 RSEG ?ID?_MProCommand?MFRC500
0010 802 status?41234: DS 1
803
---- 804 RSEG ?ID?_MProCommand?MFRC500
0011 805 temp?41235: DS 2
806
---- 807 RSEG ?CO?MFRC500
0000 808 _?ix1000:
0000 A0 809 DB 0A0H
0001 A1 810 DB 0A1H
0002 A2 811 DB 0A2H
0003 A3 812 DB 0A3H
0004 A4 813 DB 0A4H
0005 A5 814 DB 0A5H
815
816
---- 817 RSEG ?C_INITSEG
0000 41 818 DB 041H
0001 0000 F 819 DW FWI
0003 05 820 DB 005H
821
0004 43 822 DB 043H
0005 0000 F 823 DW MpIsrInfo
0007 000000 824 DB 000H,000H,000H ; ptr3
825
000A 43 826 DB 043H
000B 0000 F 827 DW MpIsrOut
000D 000000 828 DB 000H,000H,000H ; ptr3
829
0010 43 830 DB 043H
0011 0000 F 831 DW MpIsrIn
0013 000000 832 DB 000H,000H,000H ; ptr3
833
0016 41 834 DB 041H
0017 0000 F 835 DW RxGain
0019 71 836 DB 071H
837
838 ; //#include <reg51rx2.h>
839 ; #include <reg52.h>
840 ; #include <intrins.h>
841 ; #include "string.h"
842 ; #include "stimer.h"
843 ; #include "ucio.h"
844 ; #include "mfrc500.h"
845 ; #include "uart.h"
846 ; #include "v51rx2.h"
847 ; #include "intrsc.h"
848 ; #include "MifarePro.h"
849 ; #include "global.h"
A51 MACRO ASSEMBLER MFRC500 03/13/2009 15:44:54 PAGE 14
850 ;
851 ;
852 ; #define DEBUGRC500
853 ;
854 ; #define enableme() EX0 = 1
855 ; #define disableme() EX0 = 0
856 ;
857 ; //static volatile bit fSameCard;
858 ;
859 ; static volatile MfCmdInfo MInfo;
860 ;
861 ; // Variable in order to exchange data between function and ISR
862 ; static volatile MfCmdInfo *MpIsrInfo = 0;
863 ; // ISR send buffer
864 ; static volatile unsigned char *MpIsrOut = 0;
865 ; // ISR receive buffer
866 ; static volatile unsigned char *MpIsrIn = 0;
867 ;
868 ; static unsigned char RxGain = 0x71;//73:42db, 72:38, 71:30, 70:27///////////////////
869 ;
870 ; #define MFIFOLength 64
871 ;
872 ; uchar xdata SndBuffer[64];
873 ; uchar xdata RcvBuffer[64];
874 ;
875 ;
876 ; // storage of the last selected serial number including check byte.
877 ; // For multi level serial numbers, only the first 4 bytes are stored.
878 ; unsigned char MLastSelectedSnr[5];
879 ;
880 ;
881 ; void ResetInfo(MfCmdInfo *info)
882
---- 883 RSEG ?PR?_ResetInfo?MFRC500
0000 884 _ResetInfo:
885 USING 0
886 ; SOURCE LINE # 44
887 ;---- Variable 'info?040' assigned to Register 'R1/R2/R3' ----
888 ; {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -