In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Peter Van der Zee wrote: Hello Doug Hale; The two unaccounted for instructions do not affect the M register ..... too bad. When I get some more time I'll do some more testing; perhaps we can discern what they do. I can't believe they were just left empty! While we're on giving credits, it's true that among others - Ken Gracey in particular- I was instrumental in getting these instructions released on the forum, but I owe my interest in them to websites by Lauren Blaney and Richard Ottosen who published some information on these many years ago. I have developed their use to implement a full-blown preemptive task switcher with 1 uSec resolution, and able to run any (reasonable) number of threads all independently. So you can run numerous simultaneous UARTs or other VPs, and time them all independently without much inter-dependence. Someday I hope to have enough time to work with, and convince the SX/B authors to accommodate and integrate this concept, and do away with that nasty blocking PAUSE instruction. Cheers Peter (pjv) ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=236851#m237306 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)