In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: _djm, Okay, I misunderstood what you wanted. Since each cjb RTCC,#79,$ loop takes 6 cycles. I don't see how your going to get it to end on EXACTLY 20320. Can you post your code ? What is the mimimum and maximum cycles used by your "variable length 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=112331#m112396 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)