⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfidreader.lst

📁 PIC18F4620、TIS6700下RFID程序
💻 LST
📖 第 1 页 / 共 5 页
字号:
000a6c   0008     TBLRD                                                                                                     
000a6e   50f5     MOVF      0xf5,0x0,0x0                                                                                    
000a70   6edf     MOVWF     0xdf,0x0                                                                                        
000a72   50df     MOVF      0xdf,0x0,0x0                                                                                    
000a74   e005     BZ        0xa80                                                                                           
000a7e   d7ed     BRA       0xa5a                                                                                           
000a76   cfdf     MOVFF     0xfdf,0xfe6            ConsolePut(c);                                                           D:\MPLABProject\RFIDReader\Console.c
000a78   ffe6                                                                                                               
000a7a   d848     RCALL     0xb0c                                                                                           
000a7c   52e5     MOVF      0xe5,0x1,0x0                                                                                    
                                                                                                                            D:\MPLABProject\RFIDReader\Console.c
                                               // Since this function is mostly for debug, we'll block here to make sure    D:\MPLABProject\RFIDReader\Console.c
                                               // the last character gets out, in case we have a breakpoint on the          D:\MPLABProject\RFIDReader\Console.c
                                               // statement after the function call.                                        D:\MPLABProject\RFIDReader\Console.c
000a80   a2ac     BTFSS     0xac,0x1,0x0       while( !ConsoleIsPutReady() );                                               D:\MPLABProject\RFIDReader\Console.c
000a82   d7fe     BRA       0xa80                                                                                           
000a84   52e5     MOVF      0xe5,0x1,0x0   }                                                                                D:\MPLABProject\RFIDReader\Console.c
000a86   52e5     MOVF      0xe5,0x1,0x0                                                                                    
000a88   cfe7     MOVFF     0xfe7,0xfd9                                                                                     
000a8a   ffd9                                                                                                               
000a8c   0012     RETURN    0x0                                                                                             
                                                                                                                            D:\MPLABProject\RFIDReader\Console.c
                                                                                                                            D:\MPLABProject\RFIDReader\Console.c
000a8e   cfd9     MOVFF     0xfd9,0xfe6    BYTE ConsoleGetString(char *buffer, BYTE bufferLen)                              D:\MPLABProject\RFIDReader\Console.c
000a90   ffe6                                                                                                               
000a92   cfe1     MOVFF     0xfe1,0xfd9                                                                                     
000a94   ffd9                                                                                                               
000a96   0e02     MOVLW     0x2                                                                                             
000a98   26e1     ADDWF     0xe1,0x1,0x0                                                                                    
                                           {                                                                                D:\MPLABProject\RFIDReader\Console.c
                                               BYTE v;                                                                      D:\MPLABProject\RFIDReader\Console.c
                                               BYTE count;                                                                  D:\MPLABProject\RFIDReader\Console.c
                                                                                                                            D:\MPLABProject\RFIDReader\Console.c
000a9a   0e01     MOVLW     0x1                count = 0;                                                                   D:\MPLABProject\RFIDReader\Console.c
000a9c   6adb     CLRF      0xdb,0x0                                                                                        
                                               do                                                                           D:\MPLABProject\RFIDReader\Console.c
                                               {                                                                            D:\MPLABProject\RFIDReader\Console.c
000a9e   0efc     MOVLW     0xfc                   if ( bufferLen-- == 0 )                                                  D:\MPLABProject\RFIDReader\Console.c
000aa0   cfdb     MOVFF     0xfdb,0xff3                                                                                     
000aa2   fff3                                                                                                               
000aa4   06db     DECF      0xdb,0x1,0x0                                                                                    
000aa6   50f3     MOVF      0xf3,0x0,0x0                                                                                    
000aa8   0900     IORLW     0x0                                                                                             
000aaa   e101     BNZ       0xaae                                                                                           
000aac   d020     BRA       0xaee                      break;                                                               D:\MPLABProject\RFIDReader\Console.c
                                                                                                                            D:\MPLABProject\RFIDReader\Console.c
000aae   aa9e     BTFSS     0x9e,0x5,0x0           while( !ConsoleIsGetReady() );                                           D:\MPLABProject\RFIDReader\Console.c
000ab0   d7fe     BRA       0xaae                                                                                           
                                                                                                                            D:\MPLABProject\RFIDReader\Console.c
000ab2   50ae     MOVF      0xae,0x0,0x0           v = RCREG;                                                               D:\MPLABProject\RFIDReader\Console.c
000ab4   6edf     MOVWF     0xdf,0x0                                                                                        
                                                                                                                            D:\MPLABProject\RFIDReader\Console.c
000ab6   0e0d     MOVLW     0xd                    if ( v == '\r' || v == '\n' )                                            D:\MPLABProject\RFIDReader\Console.c
000ab8   5cdf     SUBWF     0xdf,0x0,0x0                                                                                    
000aba   e003     BZ        0xac2                                                                                           
000abc   0e0a     MOVLW     0xa                                                                                             
000abe   5cdf     SUBWF     0xdf,0x0,0x0                                                                                    
000ac0   e101     BNZ       0xac4                                                                                           
000ac2   d015     BRA       0xaee                      break;                                                               D:\MPLABProject\RFIDReader\Console.c
                                                                                                                            D:\MPLABProject\RFIDReader\Console.c
000ac4   0e01     MOVLW     0x1                    count++;                                                                 D:\MPLABProject\RFIDReader\Console.c
000ac6   2adb     INCF      0xdb,0x1,0x0                                                                                    
000ac8   0efd     MOVLW     0xfd                   *buffer++ = v;                                                           D:\MPLABProject\RFIDReader\Console.c
000aca   cfdb     MOVFF     0xfdb,0xfe9                                                                                     
000acc   ffe9                                                                                                               
000ace   2adb     INCF      0xdb,0x1,0x0                                                                                    
000ad0   0efe     MOVLW     0xfe                                                                                            
000ad2   cfdb     MOVFF     0xfdb,0xfea                                                                                     
000ad4   ffea                                                                                                               
000ad6   e301     BNC       0xada                                                                                           
000ad8   2adb     INCF      0xdb,0x1,0x0                                                                                    
000ada   cfdf     MOVFF     0xfdf,0xfef                                                                                     
000adc   ffef                                                                                                               
000ade   0efd     MOVLW     0xfd                   *buffer = '\0';                                                          D:\MPLABProject\RFIDReader\Console.c
000ae0   cfdb     MOVFF     0xfdb,0xfe9                                                                                     
000ae2   ffe9                                                                                                               
000ae4   0efe     MOVLW     0xfe                                                                                            
000ae6   cfdb     MOVFF     0xfdb,0xfea                                                                                     
000ae8   ffea                                                                                                               
000aea   6aef     CLRF      0xef,0x0                                                                                        
000aec   d7d8     BRA       0xa9e              } while(1);                                                                  D:\MPLABProject\RFIDReader\Console.c
000aee   0e01     MOVLW     0x1                return count;            

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -