ARM

ldr pc, _irq、ldr pc, =_irq、adr pc, _irq


參考資訊:
1. offset

程式:

  .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)


返回上一頁