Question: 25 points) Develop the following two I/O routines: (a) Write an LC-3 machine language routine (binary) that echoes the last character typed at the keyboard.

25 points) Develop the following two I/O routines: (a) Write an LC-3 machine language routine (binary) that echoes the last character typed at the keyboard. (b) Expand the routine from above so that it echoes a line at a time. For example if the user types: Ifthe user types an R, the program immediately outputs an R to the screen. The quick brown fox jumps over the lazy dog. the the program waits for the user to press the Enter key (ASCII code 0xOA) and then outputs the entire line. 25 points) Develop the following two I/O routines: (a) Write an LC-3 machine language routine (binary) that echoes the last character typed at the keyboard. (b) Expand the routine from above so that it echoes a line at a time. For example if the user types: Ifthe user types an R, the program immediately outputs an R to the screen. The quick brown fox jumps over the lazy dog. the the program waits for the user to press the Enter key (ASCII code 0xOA) and then outputs the entire line
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
