On Fri, 12 Mar 2004, William Chops Westfield wrote: > ... but surely we ought to be able to > do better since we know that we're dealing with SEVEN, after all? You mean something like this: divby7_looped: clrf y2 comf y2,f movlw -7 L1: incf y2,f addwf x,f skpnc goto L1 Not time-wise efficient. ~183 cycles worse case. Scott -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads