Question: For this assignment, you are to develop a LC - 3 assembly program to perform math operations and display the result on the screen. A

For this assignment, you are to develop a LC-3 assembly program to perform math operations and display the result on the screen. A skeleton code is NOT provided to you. You are to develop your own program to accomplish this task. Feel free to refer to previous labs for ideas. The requirement for the lab is to ask the user to enter two numbers of up to four digits in length and display their sum. The expected program output is shown below. Please enter SRC1: 1234 Please enter SRC2: 4321 The sum is: 5555
I really need help writing the code to prompt a user to give 2(up to)4 digit numbers to add in LC3. This is the crucial part, I can't seem to figure out how to do it with more than 1 digit. Converting the number to ASCII and then back is also very difficult. If someone could help me write the code for this I would really appreciate it. Thank you

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 Programming Questions!