Hello, I need to multiply a byte by another byte and then divide this result by 255, like x = y * z / 255. At this moment, I'm using CCS-PICC built-in maths, but it's very inneficient. The execution time for this calculation is about 1200 instructions(!). Someone have an idea of a very fast math function in assembly to make this? Best regards, Brusque ----------------------------------- Edson Brusque Research and Development C.I.Tronics Lighting Designers Ltda Blumenau - SC - Brazil www.citronics.com.br Say NO to HTML mail ----------------------------------- -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads