News

P>I'm trying to convert a Hex number to a BCD number in Assembly, programming a Motorola ... this out I'll have to give up and write the program the easy way (store number in BCD to start with ...
A program entitled HEXBCD is an 8051 µC subroutine that converts a 16-bit HEX number in internal RAM locations 33 and 34H into its BCD equivalent (Listing 1). The ...