Question: DAYS OF THE WEEK 3.1 Problem Statement Write a program in LC-3 assembly language that keeps prompting for an integer in the range 0-6, and

 DAYS OF THE WEEK 3.1 Problem Statement Write a program in

DAYS OF THE WEEK 3.1 Problem Statement Write a program in LC-3 assembly language that keeps prompting for an integer in the range 0-6, and each time it outputs the corresponding name of the day. Ifa key other than '0' through 6" is pressed, the program exits 3.1.1 Inputs At the prompt "Please enter number;" a key is pressed. 3.1.2 Outputs If the key pressed is '0' through '6', the corresponding name of the day of the week appears on the screen. Precisely, the correspondence is according to this table: Code Day 0 Sunday Monday 2 Tuesday 3 Wednesday 4 Thursday 5 Friday 6 Saturday When the day is displayed, the prompt "Please enter number: appears again and the program expects another input. If any key other that'0' through '6' is pressed, the program exits

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!