Question: LC3 Programming Problem Use .BLKW to set up an array of 10 values, starting at memory location x4000, as in lab 4. Now programmatically populate
LC3 Programming Problem
Use .BLKW to set up an array of 10 values, starting at memory location x4000, as in lab 4. Now programmatically populate the array with the numbers 0 through 9 i.e. hard-code just the first value (0), then calculate the rest one at a time, storing them in the array as you go. After you've stored them all, grab the seventh value (which would be 6) and store it in R2. As always, step through your program and examine the values as they are stored in the array, and examine the final value stored in R2, to make sure your program works as expected.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
