Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A nested function calls another function ( plot _ function with parameter a O ) and is also called by another function. Given the code
A nested function calls another function plotfunction with parameter and is also called by another function. Given the code that follows RISCV calling convention, which sets of registers should be saved to make this program run more optimally. All the function knows is that the plotfunction uses as a parameter, and its own caller passes a value in a mv s s is the pseudo instruction equivalent of: addi What combinations should apply mark as all that are true:regset should include ra s s sregset is emptyregset is: should include ta doesn't need to be saved on the stackregset is emptyonly t and ra need to be savedonly ra rieeds to be savedall s# registers should be savedall t# should be savedra does not need savingt needs to be saved.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started