You've got my interest on this one. How does it work? Or should I ask, what is the theory behind it? > div257 > movf numhi,w > subwf numlo,w Question: what happens to this value in wreg (numlo-numhi) once numhi is moved back into w? > movf numhi,w > skpc > addlw -1 > return -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body