David Duffy wrote: > This gets me 1 less instruction per test. (except 1st one) > Call me a dummy but what's the ^ operator ? > The only other option is a table to jump to the required places > but this would only be worth it if you had a lot of commands. > It would make adding extra commands very easy though. > Regards... ^ = XOR You wouldn't need too many commands for the table method to be attractive. It's faster as well. -- Best regards Tony mICros http://www.bubblesoftonline.com mailto:sales@bubblesoftonline.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body