If subroutine A calls subroutine B
A. Subroutine B must preserve $ra.
B. Neither subroutine needs to preserve $ra; it is automatically saved.
C. Subroutine A is a non-leaf subroutine.
D. Subroutine A must preserve $ra.
E. There is no convention as long as the code works.
F. No stack space is needed.
G. Subroutine A is a leaf routine.
Answer:
C. Subroutine A is a non-leaf subroutine.
D. Subroutine A must preserve $ra.
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.