Question: Problem 5a: (5 points) Write an assembly language program (no loops!) that starts at 8 and counts down by 2 to 0. The C++ program

 Problem 5a: (5 points) Write an assembly language program (no loops!)

Problem 5a: (5 points) Write an assembly language program (no loops!) that starts at 8 and counts down by 2 to 0. The C++ program is shown below. Comment each line except STOP & END. Add something to the output that makes this program uniquely yours. Cut & paste the Assembler Listing into your document and paste a screen shot of the Output area of the PEP/8. #include using namespace std; int num = 8; int main() coutnumendl ; num = num- 2; coutnumendl ; num = num- 2; coutnumendl ; num = num- 2; coutnumendl ; num = num- 2; coutnumendl ; system ("pause"://Not return 0; needed in Assembly Language 5b: (3 points) Cut and paste a screen shot of the Output of the PEP/8 5c: (2 points) Explain the status bit(s) NZVC at the point that STOP is loaded Problem 5a: (5 points) Write an assembly language program (no loops!) that starts at 8 and counts down by 2 to 0. The C++ program is shown below. Comment each line except STOP & END. Add something to the output that makes this program uniquely yours. Cut & paste the Assembler Listing into your document and paste a screen shot of the Output area of the PEP/8. #include using namespace std; int num = 8; int main() coutnumendl ; num = num- 2; coutnumendl ; num = num- 2; coutnumendl ; num = num- 2; coutnumendl ; num = num- 2; coutnumendl ; system ("pause"://Not return 0; needed in Assembly Language 5b: (3 points) Cut and paste a screen shot of the Output of the PEP/8 5c: (2 points) Explain the status bit(s) NZVC at the point that STOP is loaded

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!