Computer Science, asked by nikhilgiri4002, 11 months ago

Write a 8051 C program to convert unpacked BCD to ASCII and todisplay it on PO.​

Answers

Answered by gauravarduino
0

Explanation:

ASCII to packed BCD conversion To convert ASCII to packed BCD, it is first converted to unpacked BCD (to get rid of the 3), and then combined to make packed BCD. For example, 4 and 7 on the keyboard give 34H and 37H, respectively. The goal is to produce 47H or “0100 0111″, which is packed BCD.

Similar questions