📄 ex2.lst
字号:
0010ca 0100 MOVLB 0x0 movlb curr_byte C:\mcc18\src\startup\c018i.c
0010cc 5399 MOVF 0x99,0x1,0x1 movf curr_byte, 1, 1 C:\mcc18\src\startup\c018i.c
copy_loop: C:\mcc18\src\startup\c018i.c
0010ce e102 BNZ 0x10d4 bnz 2 // copy_one_byte C:\mcc18\src\startup\c018i.c
0010d0 539a MOVF 0x9a,0x1,0x1 movf curr_byte + 1, 1, 1 C:\mcc18\src\startup\c018i.c
0010d2 e007 BZ 0x10e2 bz 7 // done_copying C:\mcc18\src\startup\c018i.c
C:\mcc18\src\startup\c018i.c
copy_one_byte: C:\mcc18\src\startup\c018i.c
0010d4 0009 TBLRDPOSTINC tblrdpostinc C:\mcc18\src\startup\c018i.c
0010d6 50f5 MOVF 0xf5,0x0,0x0 movf TABLAT, 0, 0 C:\mcc18\src\startup\c018i.c
0010d8 6eee MOVWF 0xee,0x0 movwf POSTINC0, 0 C:\mcc18\src\startup\c018i.c
C:\mcc18\src\startup\c018i.c
// decrement byte counter C:\mcc18\src\startup\c018i.c
0010da 0799 DECF 0x99,0x1,0x1 decf curr_byte, 1, 1 C:\mcc18\src\startup\c018i.c
0010dc e2f8 BC 0x10ce bc -8 // copy_loop C:\mcc18\src\startup\c018i.c
0010de 079a DECF 0x9a,0x1,0x1 decf curr_byte + 1, 1, 1 C:\mcc18\src\startup\c018i.c
0010e0 d7f9 BRA 0x10d4 bra -7 // copy_one_byte C:\mcc18\src\startup\c018i.c
C:\mcc18\src\startup\c018i.c
done_copying: C:\mcc18\src\startup\c018i.c
C:\mcc18\src\startup\c018i.c
_endasm C:\mcc18\src\startup\c018i.c
/* restore the table pointer for the next entry */ C:\mcc18\src\startup\c018i.c
0010e2 c09d MOVFF 0x9d,0xff6 TBLPTR = data_ptr; C:\mcc18\src\startup\c018i.c
0010e4 fff6
0010e6 c09e MOVFF 0x9e,0xff7
0010e8 fff7
0010ea c09f MOVFF 0x9f,0xff8
0010ec fff8
/* next entry... */ C:\mcc18\src\startup\c018i.c
0010ee 0100 MOVLB 0x0 curr_entry--; C:\mcc18\src\startup\c018i.c
0010f0 079b DECF 0x9b,0x1,0x1
0010f2 0e00 MOVLW 0x0
0010f4 5b9c SUBWFB 0x9c,0x1,0x1
0010f6 d7bf BRA 0x1076 goto test; C:\mcc18\src\startup\c018i.c
done: C:\mcc18\src\startup\c018i.c
; C:\mcc18\src\startup\c018i.c
0010f8 0012 RETURN 0x0 } C:\mcc18\src\startup\c018i.c
/********************************************************************* C:\CAN202A\can18xx8.c
* C:\CAN202A\can18xx8.c
* PIC18CXX8 CAN C Library Source Code C:\CAN202A\can18xx8.c
* C:\CAN202A\can18xx8.c
********************************************************************* C:\CAN202A\can18xx8.c
* FileName: CAN18CXX8.C C:\CAN202A\can18xx8.c
* Dependencies: CAN18CXX8.h C:\CAN202A\can18xx8.c
* Date: 09/06/00 C:\CAN202A\can18xx8.c
* Processor: PIC18CXX8 C:\CAN202A\can18xx8.c
* Complier: MPLAB 5.11.00 C:\CAN202A\can18xx8.c
* Company: Microchip Technology, Inc. C:\CAN202A\can18xx8.c
* C:\CAN202A\can18xx8.c
* Software License Agreement C:\CAN202A\can18xx8.c
* C:\CAN202A\can18xx8.c
* The software supplied herewith by Microchip Technology Incorporated C:\CAN202A\can18xx8.c
* (the 揅ompany? for its PICmicro?Microcontroller is intended and C:\CAN202A\can18xx8.c
* supplied to you, the Company抯 customer, for use solely and C:\CAN202A\can18xx8.c
* exclusively on Microchip PICmicro Microcontroller products. The C:\CAN202A\can18xx8.c
* software is owned by the Company and/or its supplier, and is C:\CAN202A\can18xx8.c
* protected under applicable copyright laws. All rights are reserved. C:\CAN202A\can18xx8.c
* Any use in violation of the foregoing restrictions may subject the C:\CAN202A\can18xx8.c
* user to criminal sanctions under applicable laws, as well as to C:\CAN202A\can18xx8.c
* civil liability for the breach of the terms and conditions of this C:\CAN202A\can18xx8.c
* license. C:\CAN202A\can18xx8.c
* C:\CAN202A\can18xx8.c
* THIS SOFTWARE IS PROVIDED IN AN 揂S IS?CONDITION. NO WARRANTIES, C:\CAN202A\can18xx8.c
* WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED C:\CAN202A\can18xx8.c
* TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A C:\CAN202A\can18xx8.c
* PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT, C:\CAN202A\can18xx8.c
* IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR C:\CAN202A\can18xx8.c
* CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. C:\CAN202A\can18xx8.c
* C:\CAN202A\can18xx8.c
* Author Date Comment C:\CAN202A\can18xx8.c
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\CAN202A\can18xx8.c
* Nilesh Rajbharti 9/6/00 Original (Rev 1.0) C:\CAN202A\can18xx8.c
* Nilesh Rajbharti 12/1/00 Fixed bugs. C:\CAN202A\can18xx8.c
* (CANRegsToID, CANReceiveMessage, C:\CAN202A\can18xx8.c
* CANSetMask + Added C:\CAN202A\can18xx8.c
* CAN_CONFIG_DBL_BUFFER_ON/OFF option) C:\CAN202A\can18xx8.c
* Nilesh Rajbharti 6/8/01 Renamed CAN_CONFIG_DBL_BUFFERED to C:\CAN202A\can18xx8.c
* CAN_RX_DBL_BUFFERED C:\CAN202A\can18xx8.c
* Nilesh Rajbharti 10/11/01 Added support for HITECH compiler C:\CAN202A\can18xx8.c
* Modified CAN_MESSAGE_ID def to be C:\CAN202A\can18xx8.c
* compatible with HITECH Compiler C:\CAN202A\can18xx8.c
* (Rev 1.1) C:\CAN202A\can18xx8.c
* Nilesh Rajbharti 6/5/02 Modified RXB0DLC_RTR def to fix compiler C:\CAN202A\can18xx8.c
* missing def problem. C:\CAN202A\can18xx8.c
* Fixed CANIDToRegs() where "static" C:\CAN202A\can18xx8.c
* mode would not compile. (Rev 1.2) C:\CAN202A\can18xx8.c
* C:\CAN202A\can18xx8.c
********************************************************************/ C:\CAN202A\can18xx8.c
#include "can18xx8.h" C:\CAN202A\can18xx8.c
C:\CAN202A\can18xx8.c
#if defined(MCHP_C18) C:\CAN202A\can18xx8.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -