Copyright
ã
2005 Symbian Ltd.
44
Some background - APCS
•
The ARM Procedure Calling Standard
(APCS)
…
Imposes conventions on the use of registers
…
So we always know the important registers to
look at
•
Program counter
R15 (PC)
Return address on function entry
R14 (LR)
Current stack position
R13 (SP)
Arguments to the function
R1-3
The “this” pointer in C++ and the integer return result from a function
R0
Role
Register