apptech wrote: > >> Also with the new stack operation it is > >> possible to write a real pre-emptive RTOS on it, so I like it. > > > And you actually have a real application where this makes any sense? A > > preemptive RTOS on a tiny system sounds downright silly. > > The sound of one dog barking. > Life is a continuum. The enhanced mid range could support a small RTOS. We have been looking at the whole solution space real time support for embedded processors and have added event driven execution in our support for the enhanced mid range parts. In event driven execution, execution can start when some logical set of conditions are met. The set of conditions can be some combination of global variable values and/or interrupt conditions. Event driven execution in our benchmarks reduce RAM, stack size and average execution time requirements and increase the standard deviation of response time. Event driven programming simplifies a lot of real time application programming. It significantly simplifies exception handling. There is an internal white paper on this at Byte Craft that I will arrange to have posted on the web site. Regards -- Walter Banks Byte Craft Limited http://www.bytecraft.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist