Hi,
I want to know how the 6 digit bcd is converted into hex value Ex: 123456 to 1E240. Please help me by providing the assembly code for 8051.
Ya i did it for 5 digit BCD that is till 65535 i am able to convert, but now i want to do it for next counts as well as for 6 digits so please help me in this case...
Sharath
So what's the problem with extending that to the next digit??
Or is the real problem that you didn't actually understand your 5-digit code - therefore you don't understand how to extend it?
See your cross-post here: www.8052.com/.../182709
@ Andrew Neil,
Till 65535 only 2 registers are enough but for the next digit i need to take one more register for the converted out put and i am finding difficult there..
Thanks
Again, you already have code that deals with multiple registers - look at how that works, and extend it.
And again: Your first step, of course, must be to understand the code that you have.