This example might work except that I don't have the SKPDC and SKPNDC instructions on the 16F877 This example is titled as: "Binary to BCD half-packed 8 bit to 3 digit" What does "half-packed" mean? -----Original Message----- From: Kevin Olalde [mailto:kevin@OLALDE.ORG] Sent: Tuesday, February 05, 2002 12:48 PM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: Binary to Decimal conversion help Why doesn't something like Scott Dattalo's routine work for you? http://www.piclist.com/techref/microchip/math/radix/b2bhp-8b3d.htm Tim Webb wrote: > > I have a number from 0 to 35 and I want to seperate the tens and the ones > into two seperate file registers > How do I do it using a 16F877 ? > > Most of examples that I have found on the piclist are using instructions the > 16f877 does not have. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu