<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'>Does Cog Interpreter state and cycle differ from the standard VM ?<br><br>Details are not needed, just a heads up so that when I do get to Cog work, I make it a point to study them.<br><br>From the Blue Book, here is the definition of Interpreter State and Cycle:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Interpreter State:<br>&nbsp;&nbsp;&nbsp;&nbsp; 1. The CompiledMethod whose bytecodes ar being executed.<br>&nbsp;&nbsp;&nbsp; &nbsp;2. The location of the next bytecode to be executed in that CompiledMethod: i.e its /instruction pointer/<br>&nbsp;&nbsp;&nbsp; &nbsp;3. The receiver and arguments of the message that invoked the CompiledMethod.<br>&nbsp;&nbsp;&nbsp; &nbsp;4. Any temporary variables needed by the CompiledMethod.<br>&nbsp;&nbsp;&nbsp; &nbsp;5. a stack.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Interpreter Cycle:<br>&nbsp;&nbsp;&nbsp;&nbsp; 1. fetch the bytecode from the CompiledMethod indicated by the instruction pointer.<br>&nbsp;&nbsp;&nbsp; &nbsp;2. Increment the instruction pointer.<br>&nbsp;&nbsp;&nbsp; &nbsp;3. Perform the function specified by the bytecode.<br><br><br>thx.<br><br>t</div></body></html>