> Well I4ve found FSR and INDF, but that can solve half my problem... with > this I can select porta, portb or portc easily, but what about bits, how can > I choose between them? You need to spend some time learning the instruction set and how to use it. There are lots of ways of "selecting" a bit. One way is to rotate the byte until the desired bit ends up in C. ***************************************************************** Olin Lathrop, embedded systems consultant in Devens Massachusetts (978) 772-3129, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.