>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. Didn't I just send a routine that does this? If it wasn't posted, let me know. --Andrew _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.