Concept Flow - Link register (R14/LR)
Function Call Instruction
Store Return Address in LR
Jump to Function
Function Executes
Return Instruction
Branch to Address in LR
Resume Execution After Call
When a function is called, the processor saves the return address in the link register (R14/LR). After the function finishes, it uses LR to return to the correct place in the code.
