1 .text 2 .thumb 3 .syntax unified 4 .thumb_func 5 thumb2_ldr: 6 ldr r6, =0x12345678 7 ldr.n r1, =0x12345678 8 ldr.w r6, =0x12345678 9 ldr r9, =0x12345678 10 nop 11 ldr.w r5, =0x12345678 12 ldr r1, =0x12345678 13 .pool 14 15 # test symbol literal support. 16 .macro ldrs const 17 .irp regindex, 1, 4, 9, 12, 13 18 ldr r\regindex, \const 19 .endr 20 .endm 21 22 ldrs "=ext_symbol" 23 ldrs "=ext_symbol + 0x1000" 24 .pool 25