Question: Question 1 (15 marks) (a) (10 points) The following programming model contains in its code memory the indicated C program composed of 3 functions: the

Question 1 (15 marks) (a) (10 points) The following programming model contains in its code memory the indicated C program composed of 3 functions: the main function and two functions that finds the maximum of 3 numbers (each which uses branching, if, instructions differently You will be showing how the working memory is used during the execution of each function. * Show how the variables are organized in the working memory for cach function. Show the values are assigned to the variables. Be sure to show all values that are assigned and replaced. Record successive assignments to variables/parameters as follows (the? indicates and unknown value) $t10 Variabl e nane Using arrows show how values are copied between the working memories allocated to the functions. In the console window show the output of the program. Code Memory Working Memory D. stty Console CPU
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
