Hello, I'm new to the 8051 and I am hoping someone has had to solve a similar problem to this before, although this is not an 8051 specific problem. Can someone give me assistance on how to convert a 12-digit binary coded decimal value to hexadecimal on the 8051? The BCD value is packed into 6 consecutive bytes. Any help would be appreciated. Regards, Stephen McSpadden.
Thanks to Graham and everyone who took the time to reply. I'm afraid I didn't see the reply before I implemented my own solution but it was interesting to compare results. (And no, it hasn't taken this amount of time to implement it!! ;) ) Again, apologies for the length of time it has taken me to acknowledge your help. Regards, Stephen McS.