diff options
Diffstat (limited to 'html/subx/010---vm.cc.html')
-rw-r--r-- | html/subx/010---vm.cc.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/html/subx/010---vm.cc.html b/html/subx/010---vm.cc.html index 0be40175..f7a9812d 100644 --- a/html/subx/010---vm.cc.html +++ b/html/subx/010---vm.cc.html @@ -357,14 +357,14 @@ if ('onhashchange' in window) { <span id="L296" class="LineNr">296 </span><span class="Normal">void</span> <a href='010---vm.cc.html#L296'>run_one_instruction</a><span class="Delimiter">()</span> <span class="Delimiter">{</span> <span id="L297" class="LineNr">297 </span> <span class="Normal">uint8_t</span> op=<span class="Constant">0</span><span class="Delimiter">,</span> op2=<span class="Constant">0</span><span class="Delimiter">,</span> op3=<span class="Constant">0</span><span class="Delimiter">;</span> <span id="L298" class="LineNr">298 </span> <span class="Comment">// Run One Instruction</span> -<span id="L299" class="LineNr">299 </span> <a href='003trace.cc.html#L183'>trace</a><span class="Delimiter">(</span><span class="Constant">90</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"inst: 0x"</span> << <a href='010---vm.cc.html#L413'>HEXWORD</a> << <a href='010---vm.cc.html#L29'>EIP</a> << end<span class="Delimiter">();</span> -<span id="L300" class="LineNr">300 </span> op = <a href='010---vm.cc.html#L364'>next</a><span class="Delimiter">();</span> -<span id="L301" class="LineNr">301 </span> <span class="Normal">if</span> <span class="Delimiter">(</span><span class="Special"><a href='003trace.cc.html#L168'>Dump_trace</a></span><span class="Delimiter">)</span> <span class="Delimiter">{</span> -<span id="L302" class="LineNr">302 </span> cerr << <span class="Constant">"opcode: "</span> << <a href='010---vm.cc.html#L412'>HEXBYTE</a> << <a href='010---vm.cc.html#L415'>NUM</a><span class="Delimiter">(</span>op<span class="Delimiter">)</span> << <span class="cSpecial">'\n'</span><span class="Delimiter">;</span> -<span id="L303" class="LineNr">303 </span> cerr << <span class="Constant">"registers at start: "</span><span class="Delimiter">;</span> -<span id="L304" class="LineNr">304 </span> <a href='010---vm.cc.html#L368'>dump_registers</a><span class="Delimiter">();</span> -<span id="L305" class="LineNr">305 </span><span class="CommentedCode">//? dump_stack(); // for debugging; not defined until later layer</span> -<span id="L306" class="LineNr">306 </span> <span class="Delimiter">}</span> +<span id="L299" class="LineNr">299 </span> <span class="Normal">if</span> <span class="Delimiter">(</span><span class="Special"><a href='003trace.cc.html#L168'>Dump_trace</a></span><span class="Delimiter">)</span> <span class="Delimiter">{</span> +<span id="L300" class="LineNr">300 </span> cerr << <span class="Constant">"registers: "</span><span class="Delimiter">;</span> +<span id="L301" class="LineNr">301 </span> <a href='010---vm.cc.html#L368'>dump_registers</a><span class="Delimiter">();</span> +<span id="L302" class="LineNr">302 </span><span class="CommentedCode">//? dump_stack(); // for debugging; not defined until later layer</span> +<span id="L303" class="LineNr">303 </span> <span class="Delimiter">}</span> +<span id="L304" class="LineNr">304 </span> <a href='003trace.cc.html#L183'>trace</a><span class="Delimiter">(</span><span class="Constant">90</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"inst: 0x"</span> << <a href='010---vm.cc.html#L413'>HEXWORD</a> << <a href='010---vm.cc.html#L29'>EIP</a> << end<span class="Delimiter">();</span> +<span id="L305" class="LineNr">305 </span> op = <a href='010---vm.cc.html#L364'>next</a><span class="Delimiter">();</span> +<span id="L306" class="LineNr">306 </span> <span class="Normal">if</span> <span class="Delimiter">(</span><span class="Special"><a href='003trace.cc.html#L168'>Dump_trace</a></span><span class="Delimiter">)</span> cerr << <span class="Constant">"opcode: "</span> << <a href='010---vm.cc.html#L412'>HEXBYTE</a> << <a href='010---vm.cc.html#L415'>NUM</a><span class="Delimiter">(</span>op<span class="Delimiter">)</span> << <span class="cSpecial">'\n'</span><span class="Delimiter">;</span> <span id="L307" class="LineNr">307 </span> <span class="Normal">switch</span> <span class="Delimiter">(</span>op<span class="Delimiter">)</span> <span class="Delimiter">{</span> <span id="L308" class="LineNr">308 </span> <span class="Normal">case</span> <span class="Constant">0xf4</span>: <span class="Comment">// hlt</span> <span id="L309" class="LineNr">309 </span> <a href='010---vm.cc.html#L29'>EIP</a> = <span class="Special"><a href='010---vm.cc.html#L194'>End_of_program</a></span><span class="Delimiter">;</span> |