LR=Link Register=链接寄存器=Subroutine Link Register=子程序连接寄存器
作用=用途:用于函数调用function calls
当发生跳转时,记录原先地址(用于后续返回地址)
ARM32
英文概述
Register r14 is used as the subroutine Link Register (LR).
Register r14 receives the return address when a Branch with Link (BL or BLX) instruction is executed.
You can treat r14 as a general-purpose register at all other times. The corresponding banked registers r14_svc, r14_irq, r14_fiq, r14_abt, and r14_und are similarly used to hold the return values when interrupts and exceptions arise, or when BL or BLX instructions are executed within interrupt or exception routines.