> Anyone have some quick code to divide a 24 bit number by an 8 bit >number >yielding a 16 bit result? Have you tried searching the enormous PICLIST code library? Go to: www.piclist.com and click on the appropriate link. --Andrew _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads