BCD to binary conversion in Assembly

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.

More questions in this forum