Question: In LC3 Given an array and its size return the sum of its positive values. Store the final value in R3. Your code should start
In LC3
Given an array and its size return the sum of its positive values. Store the final value in R3. Your code should start at x3000.
Example Array and location:
.ORIG x5000
.FILL #2
.FILL #15
.FILL #-1
.FILL #0
.FILL #9
.FILL #-9
.FILL #3
.FILL #4
.FILL #13
.FILL #7
.FILL #-5
.FILL #-7
.FILL #2
.FILL #2
.FILL #0
.FILL #11
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
