On 3/6/07, picnoob wrote: > > > hi, i need a way to seperate a number, say 54. and put 5 in a register > called > tens, and 4 in another called units. How is it stored? Single byte with a value of 54 decimal? Packed BCD as 0x54? Two Ascii bytes, 0x35, 0x34? It makes a difference. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist