Q. 1.22: Convert decimal 8,723 to both BCD and ASCII codes. An even parity bit is to be appended

preview_player
Показать описание
#progaramming #cprogramming #coding

Q. 1.22: Convert decimal 8,723 to both BCD and ASCII codes. For ASCII, an even parity bit is to be appended at the left


if you see 0-9 as numbers(in ASCII) are exactly starting from 30 in hex. This is only to ease up the calculation and since we know they are not changing at all we can add them for conversion directly.

30h is the ASCII code for a digit '0'. Then 31h, 32h, ... 39h correspond to '1', '2',... '9'
41h is the ASCII code for a letter 'A'.

Please subscribe to my channel. The importance is given to making concepts easy.

Wish you success,
Thileban Nagarasa
(let's learn together)


★Subscribe my Youtube Channel★

★Checkout my Channels and Websites★

Thanks for watching and don't forget to like and subscribe :-)
Рекомендации по теме