In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: David, If you use "INC seconds" in SX/B I think you will get the optimized code. But your point is valid, that "seconds = seconds +1" could check for "+1" and generate the INC code. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=323767#m323948 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)