微處理器 - ARM - ldr pc, _irq、ldr pc, =_irq、adr pc, _irq



參考資訊:
https://kknews.cc/zh-tw/code/pqx6kbp.html

程式:

    .global _start
 
    .arm
    .text
_start:
    ldr pc, =_irq
    ldr pc, _irq
    adr pc, _irq
 
_irq: .word 0x11223344
    .end

反組譯:


ldr pc, =_irq:絕對位置(pc = 0x800c)
ldr pc, _irq:位址內容(pc = 0x11223344)
adr pc, _irq:偏移位置(pc = 0x800c)