<!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> Interpreter State:<br> 1. The CompiledMethod whose bytecodes ar being executed.<br> 2. The location of the next bytecode to be executed in that CompiledMethod: i.e its /instruction pointer/<br> 3. The receiver and arguments of the message that invoked the CompiledMethod.<br> 4. Any temporary variables needed by the CompiledMethod.<br> 5. a stack.<br><br> Interpreter Cycle:<br> 1. fetch the bytecode from the CompiledMethod indicated by the instruction pointer.<br> 2. Increment the instruction pointer.<br> 3. Perform the function specified by the bytecode.<br><br><br>thx.<br><br>t</div></body></html>