On intel platforms, BP
is used to point to the beginning of the stack frame and to access the arguments [bp+0x??]
and local variables [bp-0x??]
.
Which register is used in ARM? Or, is the addressing based on SP only?
[I don't have infrastructure to compile and disassemble to see it by myself. Referring to AAPCS did not help me either]