Question: Write a program to read an 8-bit number from P2, convert it to ASCII, and save the result in RAM locations 30H through 32H. Specifically
Write a program to read an 8-bit number from P2, convert it to ASCII, and save the result in RAM locations 30H through 32H. Specifically do the following:
a. Convert the binary input to decimal numbers.
b. Convert the decimal numbers into ASCII codes.
c. What would be the result of this if P2 contained 10101101?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
