Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. (44 pts) For the following OSIAC test program that can be used as sample test cases for your MP2, fill in the highlighted blanks
3. (44 pts) For the following OSIAC test program that can be used as sample test cases for your MP2, fill in the highlighted blanks in its output file "summary.1". The format of summary.1 was introduced in Lecture 12. Here "memory write:: 0->M( 9) means a content of 0 is written to memory address 9 in the below instruction (i.e. instruction 2). You should first turn the instructions into assembly instructions and then analyze what they do to change the contents of the registers, memory contents, and condition codes CVZN. The purpose of this problem is to get you familiar with the summary file that is important to your future MP debugging. (2 pts each) 0009 0008 000C 0000 AC X SP PC CVZN 0000 0201 0211 0220 0232 0240 0001 0250 000A 0000 FFFF 7FFF 8000 0005 Summary. 1 At end of instruction 1 X sp pc cvzn 9 1 memory write:: 0->M 9) At end of instruction 2 ac x sp pc cvzn 9 2 memory write:: ->M At end of instruction 3 ac sp pc Cvzn 3 memory write: : ->M( At end of instruction 4 ac sp pc cvzn A 9 4 memory write:: ->M At end of instruction 5 ac x sp pc cvzn A 9 memory write:: ->M At end of instruction 6 sp pc cvzn A 9 B 3. (44 pts) For the following OSIAC test program that can be used as sample test cases for your MP2, fill in the highlighted blanks in its output file "summary.1". The format of summary.1 was introduced in Lecture 12. Here "memory write:: 0->M( 9) means a content of 0 is written to memory address 9 in the below instruction (i.e. instruction 2). You should first turn the instructions into assembly instructions and then analyze what they do to change the contents of the registers, memory contents, and condition codes CVZN. The purpose of this problem is to get you familiar with the summary file that is important to your future MP debugging. (2 pts each) 0009 0008 000C 0000 AC X SP PC CVZN 0000 0201 0211 0220 0232 0240 0001 0250 000A 0000 FFFF 7FFF 8000 0005 Summary. 1 At end of instruction 1 X sp pc cvzn 9 1 memory write:: 0->M 9) At end of instruction 2 ac x sp pc cvzn 9 2 memory write:: ->M At end of instruction 3 ac sp pc Cvzn 3 memory write: : ->M( At end of instruction 4 ac sp pc cvzn A 9 4 memory write:: ->M At end of instruction 5 ac x sp pc cvzn A 9 memory write:: ->M At end of instruction 6 sp pc cvzn A 9 B
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