diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-12-03 23:26:56 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-12-03 23:26:56 -0800 |
commit | 5f3b3e7aea4174f13da9b430538564c68257b647 (patch) | |
tree | 64b0ca70a7508aa10a008ad7d996f5d4f38214c8 /html/subx/014indirect_addressing.cc.html | |
parent | ee73f5eb31e9dd5a185da097bd990ac94c3d282b (diff) | |
download | mu-5f3b3e7aea4174f13da9b430538564c68257b647.tar.gz |
4830
New helper: printing a byte in textual (hex) form. This required adding instructions for bitwise shift operations.
Diffstat (limited to 'html/subx/014indirect_addressing.cc.html')
-rw-r--r-- | html/subx/014indirect_addressing.cc.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/subx/014indirect_addressing.cc.html b/html/subx/014indirect_addressing.cc.html index 433dce9e..0a272f9a 100644 --- a/html/subx/014indirect_addressing.cc.html +++ b/html/subx/014indirect_addressing.cc.html @@ -515,7 +515,7 @@ if ('onhashchange' in window) { <span id="L448" class="LineNr">448 </span><span class="Comment"># ModR/M in binary: 00 (indirect mode) 000 (pop r/m32) 000 (dest EAX)</span> <span id="L449" class="LineNr">449 </span>== <span class="Constant">0x2000</span> <span class="Comment"># data segment</span> <span id="L450" class="LineNr">450 </span><span class="Constant">30</span> <span class="PreProc">0</span><span class="Constant">0</span> <span class="PreProc">0</span><span class="Constant">0</span> <span class="PreProc">0</span><span class="Constant">0</span> <span class="Comment"># 0x30</span> -<span id="L451" class="LineNr">451 </span><span class="traceContains">+run: <a href='013direct_addressing.cc.html#L630'>pop</a> into r/m32</span> +<span id="L451" class="LineNr">451 </span><span class="traceContains">+run: <a href='013direct_addressing.cc.html#L788'>pop</a> into r/m32</span> <span id="L452" class="LineNr">452 </span><span class="traceContains">+run: effective address is 0x00000060 (EAX)</span> <span id="L453" class="LineNr">453 </span><span class="traceContains">+run: popping value 0x00000030</span> <span id="L454" class="LineNr">454 </span><span class="traceContains">+run: incrementing <a href='010---vm.cc.html#L17'>ESP</a> to 0x00002004</span> @@ -528,7 +528,7 @@ if ('onhashchange' in window) { <span id="L461" class="LineNr">461 </span> <span class="Normal">case</span> <span class="Constant">0</span>: <span class="Delimiter">{</span> <span id="L462" class="LineNr">462 </span> <a href='003trace.cc.html#L203'>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">"pop into r/m32"</span> << end<span class="Delimiter">();</span> <span id="L463" class="LineNr">463 </span> <span class="Normal">int32_t</span>* dest = <a href='013direct_addressing.cc.html#L31'>effective_address</a><span class="Delimiter">(</span>modrm<span class="Delimiter">);</span> -<span id="L464" class="LineNr">464 </span> *dest = <a href='013direct_addressing.cc.html#L630'>pop</a><span class="Delimiter">();</span> +<span id="L464" class="LineNr">464 </span> *dest = <a href='013direct_addressing.cc.html#L788'>pop</a><span class="Delimiter">();</span> <span id="L465" class="LineNr">465 </span> <span class="Identifier">break</span><span class="Delimiter">;</span> <span id="L466" class="LineNr">466 </span> <span class="Delimiter">}</span> <span id="L467" class="LineNr">467 </span> <span class="Delimiter">}</span> |