新聞中心

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

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

作者: 時(shí)間:2016-11-20 來源:網(wǎng)絡(luò) 收藏
_undefined_instruction是一個(gè)標(biāo)號(hào),處理到這里時(shí),as會(huì)把undefined_instruction的值按16bit的形式放在此標(biāo)號(hào)處。

本文引用地址:http://butianyuan.cn/article/201611/318741.htm

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

比如:

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


關(guān)鍵詞: ARM微處理器指令

評(píng)論


技術(shù)專區(qū)

關(guān)閉