Assignment Description: 2 part assignment, instructions located in the parts sections. Follow instructions carefully and complete questions....

Assignment attached in the in the chat, no coding


Assignment Description: 2 part assignment, instructions located in the parts sections. Follow instructions carefully and complete questions. ________________________________________________________________________ Part 1 (20pts) Change the code to instructions (binary code) int a = 10; //allocate 0x0010 int b = 20; //allocate 0x0271 int c = a x b; //allocate 0x0030 Hint: first to assembly, then to binary. also, this problem is related with indirect mode. _________________________________________________________________________ ________________________________________________________________________ Part 2 see the attached file, and answer questions. (80pts) Clarification on part 2 problem. 1) this question is asking you for the process of program flow and fill blanks, the entire program has a total of 12 steps, this is why I have 12 figures for you to fill. you need to figure out stack contents, as well as fp, sp register changes. 2) the code should be changed to the following: int main (void) { int a = 1; int b = 2; fc1(); } int fc1 (void) { int c = 3; int d = 4; fc2(); } int fc2 (void) { int e = 5; int f = 6; } ________________________________________________________________________
Feb 19, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here