飛思卡爾KEA128微控制器位帶技術(shù)的應(yīng)用解析
發(fā)布時(shí)間:2019-02-25 07:33
【摘要】:在嵌入式系統(tǒng)開發(fā)中,對(duì)內(nèi)存的訪問(wèn)需使用"讀-改-寫"操作,至少會(huì)生成三條機(jī)器指令,不適合執(zhí)行速度要求較高場(chǎng)合,此外還可能導(dǎo)致多任務(wù)間共享資源的"互鎖"問(wèn)題。詳細(xì)解析了KEA128微控制器硬件提供的位帶技術(shù)對(duì)SRAM_U內(nèi)存位操作的工作機(jī)制。實(shí)例對(duì)比分析和應(yīng)用結(jié)果表明,利用位帶技術(shù)可以降低代碼占用空間,減少程序執(zhí)行的機(jī)器指令周期,適合程序員在高級(jí)編程中使用該技術(shù)實(shí)現(xiàn)對(duì)位的快速"原子操作",提高程序運(yùn)行速度。
[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.
【作者單位】: 南通大學(xué)計(jì)算機(jī)科學(xué)與技術(shù)學(xué)院;蘇州大學(xué)計(jì)算機(jī)科學(xué)與技術(shù)學(xué)院;
【基金】:國(guó)家自然科學(xué)基金項(xiàng)目(60871086) 南通市應(yīng)用研究項(xiàng)目(BK2012068)
【分類號(hào)】:TP368.1
,
本文編號(hào):2429936
[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.
【作者單位】: 南通大學(xué)計(jì)算機(jī)科學(xué)與技術(shù)學(xué)院;蘇州大學(xué)計(jì)算機(jī)科學(xué)與技術(shù)學(xué)院;
【基金】:國(guó)家自然科學(xué)基金項(xiàng)目(60871086) 南通市應(yīng)用研究項(xiàng)目(BK2012068)
【分類號(hào)】:TP368.1
,
本文編號(hào):2429936
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2429936.html
最近更新
教材專著