文件名称:memb

介绍说明--下载内容均来自于网络,请自行研究使用

因单片机的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
(系统自动生成,下载前可以参看下载内容)

下载文件列表





memb\memb.cpp

....\memb.dsp

....\memb.dsw

....\memprocess.c

....\memprocess.h

....\ReadMe.txt

....\StdAfx.cpp

....\StdAfx.h

memb

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org