In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Yes, __REMAINDER would be 25. There is also __WREMAINDER for division of WORD variables. Note that __REMAINDER is stored in temporary RAM space. So it should be assigned immediately after the division operation. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=286673#m286683 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)