I need to write this in LC-3 assembly language:
We have just read a single numeric digit from the keyboard using the GETC command. Convert this value to binary and place it into R4.
I need to write this in LC-3 assembly language:
We have just read a single numeric digit from the keyboard using the GETC command. Convert this value to binary and place it into R4.
Here's an example, adapted from a lab manual written by George M. Georgiou and Brian Strader.
Original Source.
You'll need to adapt this to put the result in R4.