At 09:02 7/08/97 +0200, you wrote: >Some times ago, Andrew W. gave me these. It works really fine, I am >using this to send 16bit number to LCD. Don't forget to add 0x30 (ASCII >'0') to each number before sending to the LCD (don't use table read). I >have got the code to drive LCD if you need. > >David >------------------------------------------------------------------- > >; >; Binary-to-BCD. Written by John Payson. >; >; Enter with 16-bit binary number in NumH:NumL. >; Exits with BCD equivalent in TenK:Thou:Hund:Tens:Ones. >; [code] Thanks very much for your code I'll use it to convert 16-bit binary number. Now to each number I have to add 0x30 and send to LCD?. Regards, Jose Antonio