In SX Microcontrollers, SX/B Compiler and SX-Key Tool, peterverkaik wrote: Attached is a library for integer math. This library contains wrapper functions that implement the *, /, //, */ and ** operators for 16bits signed and unsigned variables, plus 32bits addition and subtraction. As these operators generate quite a bit of code, calling a subroutine might save some codespace. I didn't bother including wrapper functions for 8bit variables as the calling overhead would prabably cancel out any space saving. regards peter ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=329435 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)