Question: Plesae do this project and if it meets all the requirment of the last page, I will give a like. Write an assembly program to


Write an assembly program to set RO-1 if there's a 5 in one of ten memory locations, starting at x3100. At the beginning of the program, set RO = 0. If no 5 is found, it should leave RO set to O. Please submit your assembly program below. I will run it with my data. Extra credit - 20 points: If a 5 is found, output the following message to the console. "A 5 was found at x31xx." 31xx is the hex address of the 5. Here is the test data I used to generate the screen print below. It is not the test data I will use to grade your project. ORIG X3100 .FILL #10 .FILL #20 .FILL #30 .FILL #40 .FILL #50 .FILL #5 .FILL #70 .FILL #5 .FILL #90 FILL #100 .END - Here is a screen print of the console for the extra credit. LC3 Console AS WAS FOUND AT X3105 Halting the processor Chap6 Finding 5 Criteria Ratings Pts Documentation O pts 10 to >0.0 pts Full Marks No Marks 10 pts Declaration of counter 20 to >0.0 pts Full Marks O pts No Marks 20 pts Declaration of pointer O pts 20 to >0.0 pts Full Marks No Marks 20 pts Branch logic for loop O pts 30 to >0.0 pts Full Marks No Marks 30 pts Successful run O pts 20 to >0.0 pts Full Marks No Marks 20 pts Total Points: 100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
