文件名称:memb
- 所属分类:
- 其他嵌入式/单片机内容
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2013-01-05
- 文件大小:
- 8kb
- 下载次数:
- 0次
- 提 供 者:
- Leo****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
因单片机的ram非常有限,本人在实际的工作中发现在编写单片机程序时能使用动态内存分配将对程序结构和提高程序复杂度有很大的帮助,但是编写动态内存分配代码因ram有限又不适宜采用动态链表的方式来管理内存,采用固定分配块的方式又不能充分利用单片机的ram(有时候一个字节都很重要啊),为此想出这个在速度和ram使用效率折中的办法(因为在使用动态内存的地方往往速度要求不是很高)。
本代码是采用C语言编写,可以在任何可编译C语言的工具上编译。
如果你在使用中发现任何的bug,或者对单片机动态内存方面有更好的方案和建议,或者需要进行探讨请发邮件至kqhui@163.com-MCU ram is very limited in the actual work, I found that in the preparation of the microcontroller program can use the structure of the program and to improve procedures for dynamic memory allocation will the complexity of a great help but write dynamic memory allocation code ram limited withoutappropriate dynamic list to manage memory, using a fixed allocation block and can not take full advantage of the single-chip ram (sometimes a byte is very important ah), for which came up with the compromise in speed and ram use efficiency(often because of the use of dynamic memory speed requirements are not very high).
This code is written using C language compiler can compile C language tools.
If you find any bugs in use or single-chip dynamic memory better solutions and recommendations, or needed to explore please email kqhui@163.com
本代码是采用C语言编写,可以在任何可编译C语言的工具上编译。
如果你在使用中发现任何的bug,或者对单片机动态内存方面有更好的方案和建议,或者需要进行探讨请发邮件至kqhui@163.com-MCU ram is very limited in the actual work, I found that in the preparation of the microcontroller program can use the structure of the program and to improve procedures for dynamic memory allocation will the complexity of a great help but write dynamic memory allocation code ram limited withoutappropriate dynamic list to manage memory, using a fixed allocation block and can not take full advantage of the single-chip ram (sometimes a byte is very important ah), for which came up with the compromise in speed and ram use efficiency(often because of the use of dynamic memory speed requirements are not very high).
This code is written using C language compiler can compile C language tools.
If you find any bugs in use or single-chip dynamic memory better solutions and recommendations, or needed to explore please email kqhui@163.com
(系统自动生成,下载前可以参看下载内容)
下载文件列表
memb\memb.cpp
....\memb.dsp
....\memb.dsw
....\memprocess.c
....\memprocess.h
....\ReadMe.txt
....\StdAfx.cpp
....\StdAfx.h
memb