Question: Needing help with this assignment. It needs to be in LC-3 assembly language. Write an LC-3 assembly language program that counts the number of positive

Needing help with this assignment. It needs to be in LC-3 assembly language.

Needing help with this assignment. It needs to be in LC-3 assembly

Write an LC-3 assembly language program that counts the number of positive and negative numbers in a sequence of numbers that are stored beginning at address x3300. The last number in the sequence is 0. Your program must start at address x3000 The program's output must be the following 2 lines: Count of negative numbers: n Count of positive numbers: mmmm Where nnnn and mmm are the number of negative and positive numbers respectively Number of digits in nnnn and mmmm is not fixed. You can not assume any upper bounds on nnnn and nnn

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!