Hi folks: What is the easiest way to toggle an I/O line without know what the state of the line is? I hate to use a bit test state with a bunch of goto statement. I thought about using the xor instruction but can't get it to work. Any advice? Ben -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics