diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-07-25 00:08:23 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-07-25 00:10:56 -0700 |
commit | 695f9bf8d0a7d0a871b8ab75270ceb29715d9be3 (patch) | |
tree | 358d7fda9f7eb1714d9a7f0e0838be2bd64d336f /html/subx/022div.cc.html | |
parent | 51a20da6b30f4afe0405d13bf862b5d72ccefa6d (diff) | |
download | mu-695f9bf8d0a7d0a871b8ab75270ceb29715d9be3.tar.gz |
5468
Diffstat (limited to 'html/subx/022div.cc.html')
-rw-r--r-- | html/subx/022div.cc.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/html/subx/022div.cc.html b/html/subx/022div.cc.html index 58b74e12..f2dd69ed 100644 --- a/html/subx/022div.cc.html +++ b/html/subx/022div.cc.html @@ -59,7 +59,7 @@ if ('onhashchange' in window) { <span id="L1" class="LineNr"> 1 </span><span class="Comment">//: helper for division operations: sign-extend EAX into EDX</span> <span id="L2" class="LineNr"> 2 </span> <span id="L3" class="LineNr"> 3 </span><span class="Delimiter">:(before "End Initialize Op Names")</span> -<span id="L4" class="LineNr"> 4 </span><a href='001help.cc.html#L261'>put_new</a><span class="Delimiter">(</span><span class="Special"><a href='010---vm.cc.html#L355'>Name</a></span><span class="Delimiter">,</span> <span class="Constant">"99"</span><span class="Delimiter">,</span> <span class="Constant">"sign-extend <a href='010---vm.cc.html#L13'>EAX</a> into <a href='010---vm.cc.html#L15'>EDX</a> (cdq)"</span><span class="Delimiter">);</span> +<span id="L4" class="LineNr"> 4 </span><a href='001help.cc.html#L261'>put_new</a><span class="Delimiter">(</span><span class="Special"><a href='010---vm.cc.html#L356'>Name</a></span><span class="Delimiter">,</span> <span class="Constant">"99"</span><span class="Delimiter">,</span> <span class="Constant">"sign-extend <a href='010---vm.cc.html#L13'>EAX</a> into <a href='010---vm.cc.html#L15'>EDX</a> (cdq)"</span><span class="Delimiter">);</span> <span id="L5" class="LineNr"> 5 </span> <span id="L6" class="LineNr"> 6 </span><span class="Delimiter">:(code)</span> <span id="L7" class="LineNr"> 7 </span><span class="Normal">void</span> <a href='022div.cc.html#L7'>test_cdq</a><span class="Delimiter">()</span> <span class="Delimiter">{</span> @@ -68,7 +68,7 @@ if ('onhashchange' in window) { <span id="L10" class="LineNr">10 </span> <span class="Constant">"== code 0x1\n"</span> <span id="L11" class="LineNr">11 </span> <span class="Constant">"99\n"</span> <span id="L12" class="LineNr">12 </span> <span class="Delimiter">);</span> -<span id="L13" class="LineNr">13 </span> <a href='003trace.cc.html#L281'>CHECK_TRACE_CONTENTS</a><span class="Delimiter">(</span> +<span id="L13" class="LineNr">13 </span> <a href='003trace.cc.html#L290'>CHECK_TRACE_CONTENTS</a><span class="Delimiter">(</span> <span id="L14" class="LineNr">14 </span> <span class="Constant">"run: sign-extend <a href='010---vm.cc.html#L13'>EAX</a> into EDX\n"</span> <span id="L15" class="LineNr">15 </span> <span class="Constant">"run: <a href='010---vm.cc.html#L15'>EDX</a> is now 0x00000000\n"</span> <span id="L16" class="LineNr">16 </span> <span class="Delimiter">);</span> @@ -78,7 +78,7 @@ if ('onhashchange' in window) { <span id="L20" class="LineNr">20 </span><span class="Normal">case</span> <span class="Constant">0x99</span>: <span class="Delimiter">{</span> <span class="Comment">// sign-extend EAX into EDX</span> <span id="L21" class="LineNr">21 </span> <a href='003trace.cc.html#L96'>trace</a><span class="Delimiter">(</span><span class="Special">Callstack_depth</span>+<span class="Constant">1</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"sign-extend <a href='010---vm.cc.html#L13'>EAX</a> into EDX"</span> << end<span class="Delimiter">();</span> <span id="L22" class="LineNr">22 </span> <span class="Special"><a href='010---vm.cc.html#L28'>Reg</a></span>[EDX]<span class="Delimiter">.</span>i = <span class="Delimiter">(</span><span class="Special"><a href='010---vm.cc.html#L28'>Reg</a></span>[EAX]<span class="Delimiter">.</span>i < <span class="Constant">0</span><span class="Delimiter">)</span> ? -<span class="Constant">1</span> : <span class="Constant">0</span><span class="Delimiter">;</span> -<span id="L23" class="LineNr">23 </span> <a href='003trace.cc.html#L96'>trace</a><span class="Delimiter">(</span><span class="Special">Callstack_depth</span>+<span class="Constant">1</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"EDX is now 0x"</span> << <a href='010---vm.cc.html#L408'>HEXWORD</a> << <span class="Special"><a href='010---vm.cc.html#L28'>Reg</a></span>[EDX]<span class="Delimiter">.</span>u << end<span class="Delimiter">();</span> +<span id="L23" class="LineNr">23 </span> <a href='003trace.cc.html#L96'>trace</a><span class="Delimiter">(</span><span class="Special">Callstack_depth</span>+<span class="Constant">1</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"EDX is now 0x"</span> << <a href='010---vm.cc.html#L409'>HEXWORD</a> << <span class="Special"><a href='010---vm.cc.html#L28'>Reg</a></span>[EDX]<span class="Delimiter">.</span>u << end<span class="Delimiter">();</span> <span id="L24" class="LineNr">24 </span> <span class="Identifier">break</span><span class="Delimiter">;</span> <span id="L25" class="LineNr">25 </span><span class="Delimiter">}</span> <span id="L26" class="LineNr">26 </span> @@ -89,7 +89,7 @@ if ('onhashchange' in window) { <span id="L31" class="LineNr">31 </span> <span class="Constant">"== code 0x1\n"</span> <span id="L32" class="LineNr">32 </span> <span class="Constant">"99\n"</span> <span id="L33" class="LineNr">33 </span> <span class="Delimiter">);</span> -<span id="L34" class="LineNr">34 </span> <a href='003trace.cc.html#L281'>CHECK_TRACE_CONTENTS</a><span class="Delimiter">(</span> +<span id="L34" class="LineNr">34 </span> <a href='003trace.cc.html#L290'>CHECK_TRACE_CONTENTS</a><span class="Delimiter">(</span> <span id="L35" class="LineNr">35 </span> <span class="Constant">"run: sign-extend <a href='010---vm.cc.html#L13'>EAX</a> into EDX\n"</span> <span id="L36" class="LineNr">36 </span> <span class="Constant">"run: <a href='010---vm.cc.html#L15'>EDX</a> is now 0xffffffff\n"</span> <span id="L37" class="LineNr">37 </span> <span class="Delimiter">);</span> |