ARM微处理器的指令集概述三—— .word的含义
ldr pc, _undefined_instruction就是从_undefined_instruction处取值,即undefined_instruction, 并设置到pc中
比如:
ldr r1, _rWTCON_rWTCON: .word 0x15300000是把地址_rWTCON上的内容放到r1,而地址_rWTCON上的内容是0x15300000。实际上就是把r1设置为0x15300000 .
ldr pc, _undefined_instruction就是从_undefined_instruction处取值,即undefined_instruction, 并设置到pc中
比如:
ldr r1, _rWTCON_rWTCON: .word 0x15300000是把地址_rWTCON上的内容放到r1,而地址_rWTCON上的内容是0x15300000。实际上就是把r1设置为0x15300000 .
评论