2 Star 0 Fork 1

zhanggong/IoT_2G4_Recv

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
xstring.LST 1.77 KB
一键复制 编辑 原始数据 按行查看 历史
zgYaoDao 提交于 2015-12-22 10:20 . init
C51 COMPILER V7.10 XSTRING 12/18/2015 15:15:12 PAGE 1
C51 COMPILER V7.10, COMPILATION OF MODULE XSTRING
OBJECT MODULE PLACED IN .\xstring.obj
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE ..\xstring.c BROWSE DEBUG OBJECTEXTEND OBJECT(.\xstring.obj)
line level source
1 #include "xstring.h"
2 #include "ver.h"
3
4 uint8 xstrlen(uint8 *s)
5 {
6 1 const char *sc;
7 1 for(sc=s;*sc!='\0';++sc);
8 1 return sc-s;
9 1 }
10
11 void *xmemcpy(void *dest, const void *src, uint8 count)
12 {
13 1 char *tmp = dest;
14 1 const char *s = src;
15 1 while(count--)
16 1 *tmp++ = *s++;
17 1 return dest;
18 1 }
19
20 int xmemcmp(const void *cs, const void *ct, uint8 count)
21 {
22 1 const unsigned char *su1, *su2;
23 1 int res = 0;
24 1
25 1 for (su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--)
26 1 {
27 2 if((res = *su1 - *su2) != 0)
28 2 break;
29 2 }
30 1 return res;
31 1 }
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 198 ----
CONSTANT SIZE = ---- ----
XDATA SIZE = ---- ----
PDATA SIZE = ---- ----
DATA SIZE = ---- 32
IDATA SIZE = ---- ----
BIT SIZE = ---- ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/zhanggong/IoT_2G4_Recv.git
git@gitee.com:zhanggong/IoT_2G4_Recv.git
zhanggong
IoT_2G4_Recv
IoT_2G4_Recv
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385