Question: 6 . 1 2 a . Write an LC - 3 machine language routine that echoes the last character typed at the keyboard. If the

6.12
a. Write an LC-3 machine language routine that echoes the last character typed at the keyboard. If the user types an R, the program then immediately outputs an R on the screen.
b. Expand the routine from part a such that it echoes a line at a time. For example, if the user types:The quick brown fox jumps over the lazy dog. then the program waits for the user to press the Enter key (the ASCII code for which is x0A) and then outputs the same line.

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!