> Anyone have some quick code to divide a 24 bit number by an 8 bit number > yielding a 16 bit result? > > Thanks! > > Harold What if the result doesn't fit in 16 bits? Bob Ammerman RAm Systems (contract development of high performance, high function, low-level software) -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads