新聞中心

EEPW首頁 > 嵌入式系統(tǒng) > 設計應用 > ARM微處理器的指令集概述三—— .word的含義

ARM微處理器的指令集概述三—— .word的含義

作者: 時間:2016-11-20 來源:網(wǎng)絡 收藏
_undefined_instruction是一個標號,處理到這里時,as會把undefined_instruction的值按16bit的形式放在此標號處。

本文引用地址:http://2s4d.com/article/201611/318741.htm

ldr pc, _undefined_instruction 
就是從_undefined_instruction處取值,即undefined_instruction, 并設置到pc中

比如:

ldr r1, _rWTCON_rWTCON: .word 0x15300000
是把地址_rWTCON上的內容放到r1,而地址_rWTCON上的內容是0x15300000。實際上就是把r1設置為0x15300000 .


關鍵詞: ARM微處理器指令

評論


技術專區(qū)

關閉