80><PRE>if(ExitRequired) break;</PRE></FONT>
line. As it is too costly to check for an exit on every pass of the loop,
we do it only when the <CODE>Counter</CODE> expires: this will still exit
the emulation when you set <CODE>ExitRequired=1</CODE>, but it won't take
as much CPU time. 
<P>
This is about all I have to say about CPU emulation in C. You should be 
able to figure the rest on your own.
<HR>

<A NAME="LABI"></A>
<H3>How do I optimize my C code?</H3>
<HR>

<I>
  Maintained by <A HREF="../">Marat Fa