In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJMonty wrote: Lewis, I haven't had a chance to look into the SASM code to see what is going on. However, my first assumption is that the "rept" command was never designed to be nested. The example that works may be getting by on a fluke. The other possibility is that "rept" [b]is[/b] designed to be nested, but that there is a bug in SASM that causes it to fail. Either way, it will take a bit of time digging into SASM to come up with an answer. Send me a PM in a few days if I haven't replied to this thread with some sort of update/answer. [list]Thanks, PeterM[/list] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=157382#m157418 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)