Question: A function F 1 calls another function F 2 , and function F 2 calls another function F 3 . According to the ARM 3

A function F1 calls another function F2, and function F2 calls another function F3.
According to the ARM 32-bit calling convention, which registers should be preserved by
F2 on to the stack during its execution? Assume that F2 follows the ARM calling
convention rigidly, saving all callee-saved and caller-saved registers, regardless of the
register F1 and F2 need on return, and does not perform any optimization to save the
stack space.
a. All registers
b., R4-R11, R14
c.R0-R11,R14,R15
d.R0-R11,R13,R15
e.,R0-R11,R14
f., RO-R14
 A function F1 calls another function F2, and function F2 calls

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!