Question: 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

Write a program in LC-3 assembly language that

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. If a key other than O' through 'b' 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 'O' through '6', the corresponding name of the day of the week appears on the screen. Precisely, the correspondence is according to this table: Code 0 1 2 3 4 5 6 Day Sunday Monday Tuesday Wednesday Thursday Friday Saturday

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 General Management Questions!