Hi, Scott Dattalo wrote: > >Here's another version: > comf DataDiff,w > xorwf DataDiff+1,w > skpz > goto DIFF_TOO_LARGE > >; we get here if both nibbles are the same >; now check to see if one is either a 0 or 0xff > > movf DataDiff,w > incfsz DataDiff,w > skpnz > goto LESS_THAN_OR_EQUAL_TO_256 > >DIFF_TOO_LARGE Neat. This one is almost exactly as the one I managed to = figure out. However I still think there are to many goto's. But maybe I'm just nitpicking. /Tony Tony K=FCbek, Flintab AB = =B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2= =B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2= =B2=B2=B2=B2=B2=B2=B2=B2=B2=B2 E-mail: tony.kubek@flintab.com =B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2= =B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2= =B2=B2=B2=B2=B2=B2=B2=B2=B2=B2 -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! use mailto:listserv@mitvma.mit.edu?body=SET%20PICList%20DIGEST