Lec 6
Lec 6
Lec 6
• ARM registers
SO FAR
• The ARM processor contains three registers: r13, r14, and r15, each of which is
allocated to a specific duty or unique function.
• Register 13 is traditionally used as the stack pointer (SP) and stores the head of
the stack in the current processor mode.
• Register r14 is called the link register (LR) and is where the core puts the return
address whenever it calls a subroutine.
• Register 15 is the program counter (PC) and contains the address of the next
instruction to be fetched by the processor.
CHANGING MODES