diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-10-17 23:55:25 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-10-17 23:55:25 -0700 |
commit | f959569491246197f7a9bc0fd633ef40687cbe21 (patch) | |
tree | 3569779920938e1870d325b9047b471e09375837 /html/subx/014jump_relative.cc.html | |
parent | 15cd825deef5811f0c5b7a98846d9e9a51991025 (diff) | |
download | mu-f959569491246197f7a9bc0fd633ef40687cbe21.tar.gz |
4078
Diffstat (limited to 'html/subx/014jump_relative.cc.html')
-rw-r--r-- | html/subx/014jump_relative.cc.html | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/html/subx/014jump_relative.cc.html b/html/subx/014jump_relative.cc.html index 9722e271..72671ac4 100644 --- a/html/subx/014jump_relative.cc.html +++ b/html/subx/014jump_relative.cc.html @@ -78,9 +78,9 @@ if ('onhashchange' in window) { <span id="L14" class="LineNr"> 14 </span> <span id="L15" class="LineNr"> 15 </span><span class="Delimiter">:(before "End Single-Byte Opcodes")</span> <span id="L16" class="LineNr"> 16 </span><span class="Normal">case</span> <span class="Constant">0xeb</span>: <span class="Delimiter">{</span> <span class="Comment">// jump rel8</span> -<span id="L17" class="LineNr"> 17 </span> <span class="Normal">int8_t</span> offset = <span class="Normal">static_cast</span><<span class="Normal">int</span>><span class="Delimiter">(</span><a href='010core.cc.html#L212'>next</a><span class="Delimiter">());</span> -<span id="L18" class="LineNr"> 18 </span> <a href='003trace.cc.html#L160'>trace</a><span class="Delimiter">(</span><span class="Constant">2</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"jump "</span> << <a href='010core.cc.html#L230'>NUM</a><span class="Delimiter">(</span>offset<span class="Delimiter">)</span> << <a href='003trace.cc.html#L184'>end</a><span class="Delimiter">();</span> -<span id="L19" class="LineNr"> 19 </span> <a href='010core.cc.html#L21'>EIP</a> += offset<span class="Delimiter">;</span> +<span id="L17" class="LineNr"> 17 </span> <span class="Normal">int8_t</span> offset = <span class="Normal">static_cast</span><<span class="Normal">int</span>><span class="Delimiter">(</span><a href='010core.cc.html#L214'>next</a><span class="Delimiter">());</span> +<span id="L18" class="LineNr"> 18 </span> <a href='003trace.cc.html#L160'>trace</a><span class="Delimiter">(</span><span class="Constant">2</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"jump "</span> << <a href='010core.cc.html#L232'>NUM</a><span class="Delimiter">(</span>offset<span class="Delimiter">)</span> << <a href='003trace.cc.html#L184'>end</a><span class="Delimiter">();</span> +<span id="L19" class="LineNr"> 19 </span> <a href='010core.cc.html#L23'>EIP</a> += offset<span class="Delimiter">;</span> <span id="L20" class="LineNr"> 20 </span> <span class="Identifier">break</span><span class="Delimiter">;</span> <span id="L21" class="LineNr"> 21 </span><span class="Delimiter">}</span> <span id="L22" class="LineNr"> 22 </span> @@ -99,10 +99,10 @@ if ('onhashchange' in window) { <span id="L35" class="LineNr"> 35 </span> <span id="L36" class="LineNr"> 36 </span><span class="Delimiter">:(before "End Single-Byte Opcodes")</span> <span id="L37" class="LineNr"> 37 </span><span class="Normal">case</span> <span class="Constant">0x74</span>: <span class="Delimiter">{</span> <span class="Comment">// jump rel8 if ZF</span> -<span id="L38" class="LineNr"> 38 </span> <span class="Normal">int8_t</span> offset = <span class="Normal">static_cast</span><<span class="Normal">int</span>><span class="Delimiter">(</span><a href='010core.cc.html#L212'>next</a><span class="Delimiter">());</span> +<span id="L38" class="LineNr"> 38 </span> <span class="Normal">int8_t</span> offset = <span class="Normal">static_cast</span><<span class="Normal">int</span>><span class="Delimiter">(</span><a href='010core.cc.html#L214'>next</a><span class="Delimiter">());</span> <span id="L39" class="LineNr"> 39 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>ZF<span class="Delimiter">)</span> <span class="Delimiter">{</span> -<span id="L40" class="LineNr"> 40 </span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L160'>trace</a><span class="Delimiter">(</span><span class="Constant">2</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"jump "</span> << <a href='010core.cc.html#L230'>NUM</a><span class="Delimiter">(</span>offset<span class="Delimiter">)</span> << <a href='003trace.cc.html#L184'>end</a><span class="Delimiter">();</span> -<span id="L41" class="LineNr"> 41 </span> <span class="Conceal">¦</span> <a href='010core.cc.html#L21'>EIP</a> += offset<span class="Delimiter">;</span> +<span id="L40" class="LineNr"> 40 </span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L160'>trace</a><span class="Delimiter">(</span><span class="Constant">2</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"jump "</span> << <a href='010core.cc.html#L232'>NUM</a><span class="Delimiter">(</span>offset<span class="Delimiter">)</span> << <a href='003trace.cc.html#L184'>end</a><span class="Delimiter">();</span> +<span id="L41" class="LineNr"> 41 </span> <span class="Conceal">¦</span> <a href='010core.cc.html#L23'>EIP</a> += offset<span class="Delimiter">;</span> <span id="L42" class="LineNr"> 42 </span> <span class="Delimiter">}</span> <span id="L43" class="LineNr"> 43 </span> <span class="Identifier">break</span><span class="Delimiter">;</span> <span id="L44" class="LineNr"> 44 </span><span class="Delimiter">}</span> @@ -133,10 +133,10 @@ if ('onhashchange' in window) { <span id="L69" class="LineNr"> 69 </span> <span id="L70" class="LineNr"> 70 </span><span class="Delimiter">:(before "End Single-Byte Opcodes")</span> <span id="L71" class="LineNr"> 71 </span><span class="Normal">case</span> <span class="Constant">0x75</span>: <span class="Delimiter">{</span> <span class="Comment">// jump rel8 unless ZF</span> -<span id="L72" class="LineNr"> 72 </span> <span class="Normal">int8_t</span> offset = <span class="Normal">static_cast</span><<span class="Normal">int</span>><span class="Delimiter">(</span><a href='010core.cc.html#L212'>next</a><span class="Delimiter">());</span> +<span id="L72" class="LineNr"> 72 </span> <span class="Normal">int8_t</span> offset = <span class="Normal">static_cast</span><<span class="Normal">int</span>><span class="Delimiter">(</span><a href='010core.cc.html#L214'>next</a><span class="Delimiter">());</span> <span id="L73" class="LineNr"> 73 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>!ZF<span class="Delimiter">)</span> <span class="Delimiter">{</span> -<span id="L74" class="LineNr"> 74 </span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L160'>trace</a><span class="Delimiter">(</span><span class="Constant">2</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"jump "</span> << <a href='010core.cc.html#L230'>NUM</a><span class="Delimiter">(</span>offset<span class="Delimiter">)</span> << <a href='003trace.cc.html#L184'>end</a><span class="Delimiter">();</span> -<span id="L75" class="LineNr"> 75 </span> <span class="Conceal">¦</span> <a href='010core.cc.html#L21'>EIP</a> += offset<span class="Delimiter">;</span> +<span id="L74" class="LineNr"> 74 </span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L160'>trace</a><span class="Delimiter">(</span><span class="Constant">2</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"jump "</span> << <a href='010core.cc.html#L232'>NUM</a><span class="Delimiter">(</span>offset<span class="Delimiter">)</span> << <a href='003trace.cc.html#L184'>end</a><span class="Delimiter">();</span> +<span id="L75" class="LineNr"> 75 </span> <span class="Conceal">¦</span> <a href='010core.cc.html#L23'>EIP</a> += offset<span class="Delimiter">;</span> <span id="L76" class="LineNr"> 76 </span> <span class="Delimiter">}</span> <span id="L77" class="LineNr"> 77 </span> <span class="Identifier">break</span><span class="Delimiter">;</span> <span id="L78" class="LineNr"> 78 </span><span class="Delimiter">}</span> @@ -157,7 +157,7 @@ if ('onhashchange' in window) { <span id="L93" class="LineNr"> 93 </span><span class="Delimiter">:(scenario jg_rel8_success)</span> <span id="L94" class="LineNr"> 94 </span><span class="Special">% ZF = false;</span> <span id="L95" class="LineNr"> 95 </span><span class="Special">% SF = false;</span> -<span id="L96" class="LineNr"> 96 </span><span class="Special">% <a href='010core.cc.html#L31'>OF</a> = false;</span> +<span id="L96" class="LineNr"> 96 </span><span class="Special">% <a href='010core.cc.html#L33'>OF</a> = false;</span> <span id="L97" class="LineNr"> 97 </span><span class="Comment"># op ModRM SIB displacement immediate</span> <span id="L98" class="LineNr"> 98 </span> <span class="Constant">7f</span> <span class="PreProc">0</span><span class="Constant">5</span> <span class="Comment"># skip 1 instruction</span> <span id="L99" class="LineNr"> 99 </span> <span class="PreProc">0</span><span class="Constant">5</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="PreProc">0</span><span class="Constant">1</span> @@ -169,10 +169,10 @@ if ('onhashchange' in window) { <span id="L105" class="LineNr">105 </span> <span id="L106" class="LineNr">106 </span><span class="Delimiter">:(before "End Single-Byte Opcodes")</span> <span id="L107" class="LineNr">107 </span><span class="Normal">case</span> <span class="Constant">0x7f</span>: <span class="Delimiter">{</span> <span class="Comment">// jump rel8 if !SF and !ZF</span> -<span id="L108" class="LineNr">108 </span> <span class="Normal">int8_t</span> offset = <span class="Normal">static_cast</span><<span class="Normal">int</span>><span class="Delimiter">(</span><a href='010core.cc.html#L212'>next</a><span class="Delimiter">());</span> -<span id="L109" class="LineNr">109 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>!ZF && SF == <a href='010core.cc.html#L31'>OF</a><span class="Delimiter">)</span> <span class="Delimiter">{</span> -<span id="L110" class="LineNr">110 </span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L160'>trace</a><span class="Delimiter">(</span><span class="Constant">2</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"jump "</span> << <a href='010core.cc.html#L230'>NUM</a><span class="Delimiter">(</span>offset<span class="Delimiter">)</span> << <a href='003trace.cc.html#L184'>end</a><span class="Delimiter">();</span> -<span id="L111" class="LineNr">111 </span> <span class="Conceal">¦</span> <a href='010core.cc.html#L21'>EIP</a> += offset<span class="Delimiter">;</span> +<span id="L108" class="LineNr">108 </span> <span class="Normal">int8_t</span> offset = <span class="Normal">static_cast</span><<span class="Normal">int</span>><span class="Delimiter">(</span><a href='010core.cc.html#L214'>next</a><span class="Delimiter">());</span> +<span id="L109" class="LineNr">109 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>!ZF && SF == <a href='010core.cc.html#L33'>OF</a><span class="Delimiter">)</span> <span class="Delimiter">{</span> +<span id="L110" class="LineNr">110 </span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L160'>trace</a><span class="Delimiter">(</span><span class="Constant">2</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"jump "</span> << <a href='010core.cc.html#L232'>NUM</a><span class="Delimiter">(</span>offset<span class="Delimiter">)</span> << <a href='003trace.cc.html#L184'>end</a><span class="Delimiter">();</span> +<span id="L111" class="LineNr">111 </span> <span class="Conceal">¦</span> <a href='010core.cc.html#L23'>EIP</a> += offset<span class="Delimiter">;</span> <span id="L112" class="LineNr">112 </span> <span class="Delimiter">}</span> <span id="L113" class="LineNr">113 </span> <span class="Identifier">break</span><span class="Delimiter">;</span> <span id="L114" class="LineNr">114 </span><span class="Delimiter">}</span> @@ -180,7 +180,7 @@ if ('onhashchange' in window) { <span id="L116" class="LineNr">116 </span><span class="Delimiter">:(scenario jg_rel8_fail)</span> <span id="L117" class="LineNr">117 </span><span class="Special">% ZF = false;</span> <span id="L118" class="LineNr">118 </span><span class="Special">% SF = true;</span> -<span id="L119" class="LineNr">119 </span><span class="Special">% <a href='010core.cc.html#L31'>OF</a> = false;</span> +<span id="L119" class="LineNr">119 </span><span class="Special">% <a href='010core.cc.html#L33'>OF</a> = false;</span> <span id="L120" class="LineNr">120 </span><span class="Comment"># op ModRM SIB displacement immediate</span> <span id="L121" class="LineNr">121 </span> <span class="Constant">7f</span> <span class="PreProc">0</span><span class="Constant">5</span> <span class="Comment"># skip 1 instruction</span> <span id="L122" class="LineNr">122 </span> <span class="PreProc">0</span><span class="Constant">5</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="PreProc">0</span><span class="Constant">1</span> @@ -194,7 +194,7 @@ if ('onhashchange' in window) { <span id="L130" class="LineNr">130 </span> <span id="L131" class="LineNr">131 </span><span class="Delimiter">:(scenario jge_rel8_success)</span> <span id="L132" class="LineNr">132 </span><span class="Special">% SF = false;</span> -<span id="L133" class="LineNr">133 </span><span class="Special">% <a href='010core.cc.html#L31'>OF</a> = false;</span> +<span id="L133" class="LineNr">133 </span><span class="Special">% <a href='010core.cc.html#L33'>OF</a> = false;</span> <span id="L134" class="LineNr">134 </span><span class="Comment"># op ModRM SIB displacement immediate</span> <span id="L135" class="LineNr">135 </span> 7d <span class="PreProc">0</span><span class="Constant">5</span> <span class="Comment"># skip 1 instruction</span> <span id="L136" class="LineNr">136 </span> <span class="PreProc">0</span><span class="Constant">5</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="PreProc">0</span><span class="Constant">1</span> @@ -206,17 +206,17 @@ if ('onhashchange' in window) { <span id="L142" class="LineNr">142 </span> <span id="L143" class="LineNr">143 </span><span class="Delimiter">:(before "End Single-Byte Opcodes")</span> <span id="L144" class="LineNr">144 </span><span class="Normal">case</span> <span class="Constant">0x7d</span>: <span class="Delimiter">{</span> <span class="Comment">// jump rel8 if !SF</span> -<span id="L145" class="LineNr">145 </span> <span class="Normal">int8_t</span> offset = <span class="Normal">static_cast</span><<span class="Normal">int</span>><span class="Delimiter">(</span><a href='010core.cc.html#L212'>next</a><span class="Delimiter">());</span> -<span id="L146" class="LineNr">146 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>SF == <a href='010core.cc.html#L31'>OF</a><span class="Delimiter">)</span> <span class="Delimiter">{</span> -<span id="L147" class="LineNr">147 </span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L160'>trace</a><span class="Delimiter">(</span><span class="Constant">2</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"jump "</span> << <a href='010core.cc.html#L230'>NUM</a><span class="Delimiter">(</span>offset<span class="Delimiter">)</span> << <a href='003trace.cc.html#L184'>end</a><span class="Delimiter">();</span> -<span id="L148" class="LineNr">148 </span> <span class="Conceal">¦</span> <a href='010core.cc.html#L21'>EIP</a> += offset<span class="Delimiter">;</span> +<span id="L145" class="LineNr">145 </span> <span class="Normal">int8_t</span> offset = <span class="Normal">static_cast</span><<span class="Normal">int</span>><span class="Delimiter">(</span><a href='010core.cc.html#L214'>next</a><span class="Delimiter">());</span> +<span id="L146" class="LineNr">146 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>SF == <a href='010core.cc.html#L33'>OF</a><span class="Delimiter">)</span> <span class="Delimiter">{</span> +<span id="L147" class="LineNr">147 </span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L160'>trace</a><span class="Delimiter">(</span><span class="Constant">2</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"jump "</span> << <a href='010core.cc.html#L232'>NUM</a><span class="Delimiter">(</span>offset<span class="Delimiter">)</span> << <a href='003trace.cc.html#L184'>end</a><span class="Delimiter">();</span> +<span id="L148" class="LineNr">148 </span> <span class="Conceal">¦</span> <a href='010core.cc.html#L23'>EIP</a> += offset<span class="Delimiter">;</span> <span id="L149" class="LineNr">149 </span> <span class="Delimiter">}</span> <span id="L150" class="LineNr">150 </span> <span class="Identifier">break</span><span class="Delimiter">;</span> <span id="L151" class="LineNr">151 </span><span class="Delimiter">}</span> <span id="L152" class="LineNr">152 </span> <span id="L153" class="LineNr">153 </span><span class="Delimiter">:(scenario jge_rel8_fail)</span> <span id="L154" class="LineNr">154 </span><span class="Special">% SF = true;</span> -<span id="L155" class="LineNr">155 </span><span class="Special">% <a href='010core.cc.html#L31'>OF</a> = false;</span> +<span id="L155" class="LineNr">155 </span><span class="Special">% <a href='010core.cc.html#L33'>OF</a> = false;</span> <span id="L156" class="LineNr">156 </span><span class="Comment"># op ModRM SIB displacement immediate</span> <span id="L157" class="LineNr">157 </span> 7d <span class="PreProc">0</span><span class="Constant">5</span> <span class="Comment"># skip 1 instruction</span> <span id="L158" class="LineNr">158 </span> <span class="PreProc">0</span><span class="Constant">5</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="PreProc">0</span><span class="Constant">1</span> @@ -231,7 +231,7 @@ if ('onhashchange' in window) { <span id="L167" class="LineNr">167 </span><span class="Delimiter">:(scenario jl_rel8_success)</span> <span id="L168" class="LineNr">168 </span><span class="Special">% ZF = false;</span> <span id="L169" class="LineNr">169 </span><span class="Special">% SF = true;</span> -<span id="L170" class="LineNr">170 </span><span class="Special">% <a href='010core.cc.html#L31'>OF</a> = false;</span> +<span id="L170" class="LineNr">170 </span><span class="Special">% <a href='010core.cc.html#L33'>OF</a> = false;</span> <span id="L171" class="LineNr">171 </span><span class="Comment"># op ModRM SIB displacement immediate</span> <span id="L172" class="LineNr">172 </span> 7c <span class="PreProc">0</span><span class="Constant">5</span> <span class="Comment"># skip 1 instruction</span> <span id="L173" class="LineNr">173 </span> <span class="PreProc">0</span><span class="Constant">5</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="PreProc">0</span><span class="Constant">1</span> @@ -243,10 +243,10 @@ if ('onhashchange' in window) { <span id="L179" class="LineNr">179 </span> <span id="L180" class="LineNr">180 </span><span class="Delimiter">:(before "End Single-Byte Opcodes")</span> <span id="L181" class="LineNr">181 </span><span class="Normal">case</span> <span class="Constant">0x7c</span>: <span class="Delimiter">{</span> <span class="Comment">// jump rel8 if SF and !ZF</span> -<span id="L182" class="LineNr">182 </span> <span class="Normal">int8_t</span> offset = <span class="Normal">static_cast</span><<span class="Normal">int</span>><span class="Delimiter">(</span><a href='010core.cc.html#L212'>next</a><span class="Delimiter">());</span> -<span id="L183" class="LineNr">183 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>SF != <a href='010core.cc.html#L31'>OF</a><span class="Delimiter">)</span> <span class="Delimiter">{</span> -<span id="L184" class="LineNr">184 </span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L160'>trace</a><span class="Delimiter">(</span><span class="Constant">2</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"jump "</span> << <a href='010core.cc.html#L230'>NUM</a><span class="Delimiter">(</span>offset<span class="Delimiter">)</span> << <a href='003trace.cc.html#L184'>end</a><span class="Delimiter">();</span> -<span id="L185" class="LineNr">185 </span> <span class="Conceal">¦</span> <a href='010core.cc.html#L21'>EIP</a> += offset<span class="Delimiter">;</span> +<span id="L182" class="LineNr">182 </span> <span class="Normal">int8_t</span> offset = <span class="Normal">static_cast</span><<span class="Normal">int</span>><span class="Delimiter">(</span><a href='010core.cc.html#L214'>next</a><span class="Delimiter">());</span> +<span id="L183" class="LineNr">183 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>SF != <a href='010core.cc.html#L33'>OF</a><span class="Delimiter">)</span> <span class="Delimiter">{</span> +<span id="L184" class="LineNr">184 </span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L160'>trace</a><span class="Delimiter">(</span><span class="Constant">2</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"jump "</span> << <a href='010core.cc.html#L232'>NUM</a><span class="Delimiter">(</span>offset<span class="Delimiter">)</span> << <a href='003trace.cc.html#L184'>end</a><span class="Delimiter">();</span> +<span id="L185" class="LineNr">185 </span> <span class="Conceal">¦</span> <a href='010core.cc.html#L23'>EIP</a> += offset<span class="Delimiter">;</span> <span id="L186" class="LineNr">186 </span> <span class="Delimiter">}</span> <span id="L187" class="LineNr">187 </span> <span class="Identifier">break</span><span class="Delimiter">;</span> <span id="L188" class="LineNr">188 </span><span class="Delimiter">}</span> @@ -254,7 +254,7 @@ if ('onhashchange' in window) { <span id="L190" class="LineNr">190 </span><span class="Delimiter">:(scenario jl_rel8_fail)</span> <span id="L191" class="LineNr">191 </span><span class="Special">% ZF = false;</span> <span id="L192" class="LineNr">192 </span><span class="Special">% SF = false;</span> -<span id="L193" class="LineNr">193 </span><span class="Special">% <a href='010core.cc.html#L31'>OF</a> = false;</span> +<span id="L193" class="LineNr">193 </span><span class="Special">% <a href='010core.cc.html#L33'>OF</a> = false;</span> <span id="L194" class="LineNr">194 </span><span class="Comment"># op ModRM SIB displacement immediate</span> <span id="L195" class="LineNr">195 </span> 7c <span class="PreProc">0</span><span class="Constant">5</span> <span class="Comment"># skip 1 instruction</span> <span id="L196" class="LineNr">196 </span> <span class="PreProc">0</span><span class="Constant">5</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="PreProc">0</span><span class="Constant">1</span> @@ -269,7 +269,7 @@ if ('onhashchange' in window) { <span id="L205" class="LineNr">205 </span><span class="Delimiter">:(scenario jle_rel8_equal)</span> <span id="L206" class="LineNr">206 </span><span class="Special">% ZF = true;</span> <span id="L207" class="LineNr">207 </span><span class="Special">% SF = false;</span> -<span id="L208" class="LineNr">208 </span><span class="Special">% <a href='010core.cc.html#L31'>OF</a> = false;</span> +<span id="L208" class="LineNr">208 </span><span class="Special">% <a href='010core.cc.html#L33'>OF</a> = false;</span> <span id="L209" class="LineNr">209 </span><span class="Comment"># op ModRM SIB displacement immediate</span> <span id="L210" class="LineNr">210 </span> 7e <span class="PreProc">0</span><span class="Constant">5</span> <span class="Comment"># skip 1 instruction</span> <span id="L211" class="LineNr">211 </span> <span class="PreProc">0</span><span class="Constant">5</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="PreProc">0</span><span class="Constant">1</span> @@ -282,7 +282,7 @@ if ('onhashchange' in window) { <span id="L218" class="LineNr">218 </span><span class="Delimiter">:(scenario jle_rel8_lesser)</span> <span id="L219" class="LineNr">219 </span><span class="Special">% ZF = false;</span> <span id="L220" class="LineNr">220 </span><span class="Special">% SF = true;</span> -<span id="L221" class="LineNr">221 </span><span class="Special">% <a href='010core.cc.html#L31'>OF</a> = false;</span> +<span id="L221" class="LineNr">221 </span><span class="Special">% <a href='010core.cc.html#L33'>OF</a> = false;</span> <span id="L222" class="LineNr">222 </span><span class="Comment"># op ModRM SIB displacement immediate</span> <span id="L223" class="LineNr">223 </span> 7e <span class="PreProc">0</span><span class="Constant">5</span> <span class="Comment"># skip 1 instruction</span> <span id="L224" class="LineNr">224 </span> <span class="PreProc">0</span><span class="Constant">5</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="PreProc">0</span><span class="Constant">1</span> @@ -294,10 +294,10 @@ if ('onhashchange' in window) { <span id="L230" class="LineNr">230 </span> <span id="L231" class="LineNr">231 </span><span class="Delimiter">:(before "End Single-Byte Opcodes")</span> <span id="L232" class="LineNr">232 </span><span class="Normal">case</span> <span class="Constant">0x7e</span>: <span class="Delimiter">{</span> <span class="Comment">// jump rel8 if SF or ZF</span> -<span id="L233" class="LineNr">233 </span> <span class="Normal">int8_t</span> offset = <span class="Normal">static_cast</span><<span class="Normal">int</span>><span class="Delimiter">(</span><a href='010core.cc.html#L212'>next</a><span class="Delimiter">());</span> -<span id="L234" class="LineNr">234 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>ZF || SF != <a href='010core.cc.html#L31'>OF</a><span class="Delimiter">)</span> <span class="Delimiter">{</span> -<span id="L235" class="LineNr">235 </span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L160'>trace</a><span class="Delimiter">(</span><span class="Constant">2</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"jump "</span> << <a href='010core.cc.html#L230'>NUM</a><span class="Delimiter">(</span>offset<span class="Delimiter">)</span> << <a href='003trace.cc.html#L184'>end</a><span class="Delimiter">();</span> -<span id="L236" class="LineNr">236 </span> <span class="Conceal">¦</span> <a href='010core.cc.html#L21'>EIP</a> += offset<span class="Delimiter">;</span> +<span id="L233" class="LineNr">233 </span> <span class="Normal">int8_t</span> offset = <span class="Normal">static_cast</span><<span class="Normal">int</span>><span class="Delimiter">(</span><a href='010core.cc.html#L214'>next</a><span class="Delimiter">());</span> +<span id="L234" class="LineNr">234 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>ZF || SF != <a href='010core.cc.html#L33'>OF</a><span class="Delimiter">)</span> <span class="Delimiter">{</span> +<span id="L235" class="LineNr">235 </span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L160'>trace</a><span class="Delimiter">(</span><span class="Constant">2</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"jump "</span> << <a href='010core.cc.html#L232'>NUM</a><span class="Delimiter">(</span>offset<span class="Delimiter">)</span> << <a href='003trace.cc.html#L184'>end</a><span class="Delimiter">();</span> +<span id="L236" class="LineNr">236 </span> <span class="Conceal">¦</span> <a href='010core.cc.html#L23'>EIP</a> += offset<span class="Delimiter">;</span> <span id="L237" class="LineNr">237 </span> <span class="Delimiter">}</span> <span id="L238" class="LineNr">238 </span> <span class="Identifier">break</span><span class="Delimiter">;</span> <span id="L239" class="LineNr">239 </span><span class="Delimiter">}</span> @@ -305,7 +305,7 @@ if ('onhashchange' in window) { <span id="L241" class="LineNr">241 </span><span class="Delimiter">:(scenario jle_rel8_greater)</span> <span id="L242" class="LineNr">242 </span><span class="Special">% ZF = false;</span> <span id="L243" class="LineNr">243 </span><span class="Special">% SF = false;</span> -<span id="L244" class="LineNr">244 </span><span class="Special">% <a href='010core.cc.html#L31'>OF</a> = false;</span> +<span id="L244" class="LineNr">244 </span><span class="Special">% <a href='010core.cc.html#L33'>OF</a> = false;</span> <span id="L245" class="LineNr">245 </span><span class="Comment"># op ModRM SIB displacement immediate</span> <span id="L246" class="LineNr">246 </span> 7e <span class="PreProc">0</span><span class="Constant">5</span> <span class="Comment"># skip 1 instruction</span> <span id="L247" class="LineNr">247 </span> <span class="PreProc">0</span><span class="Constant">5</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="PreProc">0</span><span class="Constant">1</span> |