Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

LC-3 assembly language program start at address x3000 and Add five values entered by the user. program features: The program prints on console:...

LC-3 assembly language program

start at address x3000 and Add five values entered by the user.

program features: 

1. The program prints on console: "Enter Start Number (0-9): "

2. The user types a one-digit number (0-9). Typed numbers should be echoed onto the console. Any illegal input is ignored after echoed. The program check and accept only numerical digits.

3. Again the program prints on console: "Enter End Number (0-9): " .

4. The user types a one-digit number (0-9). Typed numbers should be echoed onto the console. Any illegal input values are ignored.

5. Type "q" to Halt and display "Thank you for playing!"

6. The program adds the even numbers between start and end entered numbers including start and end. Then converts the sum to a two-digit decimal number.

7. The program prints new line in console: The sum of the even numbers is: xx where xx is the two-digit sum. Leading zeroes should not be printed.

8. The program returns to step 1.

please Do not use JSR instruction

Example run :

Enter Start Number (0-9): 3

Enter End Number (0-9): 8

The sum of the even numbers: 18

Example run:

Enter Start Number (0-9): asl2

Enter End Number (0-9): 9

The sum of the even numbers: 20

Example run:

Enter Start Number (0-9): 4

Enter End Number (0-9): q

Thank you for playing!

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question