This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于cortex-m4f 汇编伪指令LDR使用报错问题

Entry:
	.thumb
	.text
Ladder1:
	.global Ladder1
lab1:
	.global lab1
	push {lr}
	LDR R0, = 0x22004004
	LDR R0, [R0]
	CMP R0, #0x01
	BNE lab4

>> Compilation failure
subdir_rules.mk:9: recipe for target 'ladder1.obj' failed
"../ladder1.s", ERROR!   at line 9: [E0200] Bad term in expression
		LDR R0, = 0x22004004
 
"../ladder1.s", ERROR!   at line 9: [E0001] Illegal symbol
		LDR R0, = 0x22004004
 
"../ladder1.s", ERROR!   at line 9: [E0003] Unexpected trailing operand(s)
		LDR R0, = 0x22004004