|
|
|
|
|
by tjdetwiler
4737 days ago
|
|
ARM instructions are 32 bit, so there is a problem when you want to load a 32 bit literal. The assembler will get around this by sticking literals in the text section and then fixup the load with the correct offset. Example, using a simple input: .globl _start
_start:
ldr r0, =0x20200000
Disassembles to: .globl _start
_start:
ldr r0, [pc, #-4]
.word 0x20200000
|
|