Converting Hex to BCD sounds simple, but I've been trying to figure this out for hours without much to show for the effort (a search didn't reveal anything very helpful either).<P>I'm trying to ...
Microcontroller firmware usuallydeals with hexadecimal code. Yousometimes need to display the contentof registers, which requires a hexadecimal-to-BCD (binary-coded-decimal)-code conversion. The ...
In Part 1 of this two-part binary coded decimal (BCD) extravaganza, we introduced a bunch of bodacious concepts, including the binary (base-2) number system, binary logic, binary computers, and bits, ...