当前位置:主页 > 科技论文 > 计算机论文 >

飞思卡尔KEA128微控制器位带技术的应用解析

发布时间:2019-02-25 07:33
【摘要】:在嵌入式系统开发中,对内存的访问需使用"读-改-写"操作,至少会生成三条机器指令,不适合执行速度要求较高场合,此外还可能导致多任务间共享资源的"互锁"问题。详细解析了KEA128微控制器硬件提供的位带技术对SRAM_U内存位操作的工作机制。实例对比分析和应用结果表明,利用位带技术可以降低代码占用空间,减少程序执行的机器指令周期,适合程序员在高级编程中使用该技术实现对位的快速"原子操作",提高程序运行速度。
[Abstract]:In the development of embedded system, access to memory needs to use "read-change-write" operation, at least three machine instructions will be generated, which is not suitable for the occasion of high execution speed. It can also lead to interlocking of shared resources between tasks. The working mechanism of bitband technology for SRAM_U memory bit operation provided by KEA128 microcontroller hardware is analyzed in detail. The comparative analysis and application results show that the bitband technology can reduce the code space and the machine instruction cycle of program execution. It is suitable for the programmer to use this technology to realize the fast "atomic operation" in high level programming. Improve the running speed of the program.
【作者单位】: 南通大学计算机科学与技术学院;苏州大学计算机科学与技术学院;
【基金】:国家自然科学基金项目(60871086) 南通市应用研究项目(BK2012068)
【分类号】:TP368.1


本文编号:2429936

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2429936.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户efabe***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com