>Or you can do something like > >#define SOME_BIT_YOU_NEED_TO_MANIPULATE PORTA, .1 > >and then just do > > BSF SOME_BIT_YOU_NEED_TO_MANIPULATE > >That's the way I do it so that the file register and bit are >contained in the same constant. (this is with MPLAB, of course) It is also the way that Olin's macros do it. Saves a heap of time working out what port and bit you need. Same with the FLAG dircetive he has. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body