I need to calculate (A*X)/(A+B+C+D) where A,B,C,D,X are 8 bit numbers using the full 0..255 range! A*X would certainly be 16 bit A+B+C+D would have a max of 1020 -> 10bit! I would then need a 8x8bit multiply and a 16/10bit divide routine (I searched and read all the FAQ's/docs/... and couldn't find anything) thanks, Osama _____________________________________________________ Osama ALASSIRY osama@qatar.net.qa osama@alassiry.com http://www.alassiry.com