Write an LC-3 program that will repeatedly read a character fromthe keyboard. For each character read in, your program will print aneat message that echoes the input value, and the ASCII charactercode of the input character in hexadecimal. Itwill run forever: no HALT or End of processing is required.
For example:
Please press a key:
You pressed 'z' which is x7A
Please press a key:
You pressed '@' which is x40
Please press a key:
You pressed 'O' which is x4F
Please press a key:
You pressed '2' which is x32
Please press a key:
You pressed ' ' which is x20
..