> Is there a quick way to divide a 16-bit number by 257 or does > it just look as though there should be ? div257 movf numhi,w subwf numlo,w movf numhi,w skpc addlw -1 return Jason Harper -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body