In SX Microcontrollers, SX/B Compiler and SX-Key Tool, peterverkaik wrote: I understand that. I managed to relocate two normal variables into kernel(16) array. If we decide that TASKTICK should be a constant, calculated from interrupt rate and totalTaskRate (or set by user via interrupt keyword or special keyword), then kTimer var kernel(6) could be used for moveup. Then the code only uses 2 normal variables, index and indexMinus1. regards peter ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=157842#m176273 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)