<dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><small id="yhprb"></small><dfn id="yhprb"></dfn><small id="yhprb"><delect id="yhprb"></delect></small><small id="yhprb"></small><small id="yhprb"></small> <delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"></dfn><dfn id="yhprb"></dfn><s id="yhprb"><noframes id="yhprb"><small id="yhprb"><dfn id="yhprb"></dfn></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><small id="yhprb"></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn> <small id="yhprb"></small><delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn>

新聞中心

EEPW首頁(yè) > 嵌入式系統 > 設計應用 > ARM指令尋址方式之: 內存訪(fǎng)問(wèn)指令尋址

ARM指令尋址方式之: 內存訪(fǎng)問(wèn)指令尋址

作者: 時(shí)間:2013-09-13 來(lái)源:網(wǎng)絡(luò ) 收藏

本文引用地址:http://dyxdggzs.com/article/257083.htm

(2)

opcode>{cond>}{L} coproc>,CRd>,[Rn>],#±offset_8>*4

其中:

· Rn>為基址寄存器,包含尋址操作的基地址;

· offset_8>為8位立即數,該值的4倍為地址偏移量。

(3)操作偽代碼

If ConditionPassed(cond) then

Start_address = Rn

If U = = 1 then

Rn = Rn + offset_8 * 4

Else /*U = = 0*/

Rn = Rn – offset_8 * 4

Address = start_address

While (NotFinished(coprocessor[cp_num]))

Address = address +4

End_address = address

(4)說(shuō)明

如果基址寄存器指定為程序計數器r15,則指令的執行結果不可預知。

4.[Rn>], Option>

(1)編碼格式

指令的編碼格式如圖4.39所示。

圖4.39 協(xié)處理器Load/Store指令——直接尋址

該尋址方式指定一片連續的內存地址空間。訪(fǎng)問(wèn)內存單元的第一個(gè)地址first_addressing>等于基址寄存器Rn>的值。接下來(lái)的內存訪(fǎng)問(wèn)地址是前一個(gè)訪(fǎng)問(wèn)地址加4。當協(xié)處理器發(fā)出傳輸中止信號時(shí),數據傳送結束。

指令不更新基址寄存器的值。指令編碼格式中bits[7:0]保留,所以可以將空閑位用作協(xié)處理器指令擴展。

這種尋址方式的數據傳輸數目由協(xié)處理器決定,最多可以傳輸16字。

(2)

opcode>{cond>}{L} coproc>,CRd>,[Rn>],Option>

其中:

· Rn>為基址寄存器,包含尋址操作的基地址;

· option>用作協(xié)處理器指令擴展。

(3)操作偽代碼

If ConditionPassed(cond) then

Start_address = Rn

Address = start_address

While (NotFinished(coprocessor[cp_num]))

Address = address +4

End_address = address

(4)說(shuō)明

如果基址寄存器指定為程序計數器r15,則尋址基地址為當前指令地址加8。


上一頁(yè) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 下一頁(yè)

評論


相關(guān)推薦

技術(shù)專(zhuān)區

關(guān)閉
国产精品自在自线亚洲|国产精品无圣光一区二区|国产日产欧洲无码视频|久久久一本精品99久久K精品66|欧美人与动牲交片免费播放
<dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><small id="yhprb"></small><dfn id="yhprb"></dfn><small id="yhprb"><delect id="yhprb"></delect></small><small id="yhprb"></small><small id="yhprb"></small> <delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"></dfn><dfn id="yhprb"></dfn><s id="yhprb"><noframes id="yhprb"><small id="yhprb"><dfn id="yhprb"></dfn></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><small id="yhprb"></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn> <small id="yhprb"></small><delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn>