diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-12-04 10:18:02 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-12-04 10:19:18 -0800 |
commit | 9e03e2bd37dc440eeb62783378f11d718bab160f (patch) | |
tree | 8b6c7ebe2f709c174b7cefed2855b689ffe619ba | |
parent | ca0a598c877a66f03b2dd5301c5d1d6341c12e19 (diff) | |
download | mu-9e03e2bd37dc440eeb62783378f11d718bab160f.tar.gz |
4837
Let's standardize to use opcode 39 rather than 3b by default.
-rw-r--r-- | html/subx/apps/crenshaw2-1.subx.html | 2 | ||||
-rw-r--r-- | html/subx/apps/crenshaw2-1b.subx.html | 2 | ||||
-rwxr-xr-x | subx/apps/crenshaw2-1 | bin | 6980 -> 6980 bytes | |||
-rw-r--r-- | subx/apps/crenshaw2-1.subx | 2 | ||||
-rwxr-xr-x | subx/apps/crenshaw2-1b | bin | 7541 -> 7541 bytes | |||
-rw-r--r-- | subx/apps/crenshaw2-1b.subx | 2 |
6 files changed, 4 insertions, 4 deletions
diff --git a/html/subx/apps/crenshaw2-1.subx.html b/html/subx/apps/crenshaw2-1.subx.html index 7ef9df58..3ebe75c1 100644 --- a/html/subx/apps/crenshaw2-1.subx.html +++ b/html/subx/apps/crenshaw2-1.subx.html @@ -326,7 +326,7 @@ if ('onhashchange' in window) { <span id="L260" class="LineNr">260 </span> <span class="subxComment"># EDX = out->length</span> <span id="L261" class="LineNr">261 </span> 8b/copy 1/mod/*+disp8 7/rm32/EDI <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> 2/r32/EDX 8/disp8 <span class="CommentedCode"> . </span> <span class="subxComment"># copy *(EDI+8) to EDX</span> <span id="L262" class="LineNr">262 </span> <span class="subxComment"># if out->write >= out->length error</span> -<span id="L263" class="LineNr">263 </span> 3b/compare 3/mod/direct 1/rm32/ECX <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> 2/r32/EDX <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="subxComment"># compare EDX with ECX</span> +<span id="L263" class="LineNr">263 </span> 39/compare 3/mod/direct 2/rm32/EDX <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> 1/r32/ECX <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="subxComment"># compare EDX with ECX</span> <span id="L264" class="LineNr">264 </span> 7d/jump-if-lesser $get-num:stage2/disp8 <span id="L265" class="LineNr">265 </span> <span class="subxS1Comment"># . error(ed, err, msg) # TODO: show full number</span> <span id="L266" class="LineNr">266 </span> <span class="subxS2Comment"># . . push args</span> diff --git a/html/subx/apps/crenshaw2-1b.subx.html b/html/subx/apps/crenshaw2-1b.subx.html index ca740424..0210158b 100644 --- a/html/subx/apps/crenshaw2-1b.subx.html +++ b/html/subx/apps/crenshaw2-1b.subx.html @@ -332,7 +332,7 @@ if ('onhashchange' in window) { <span id="L266" class="LineNr">266 </span> 8b/copy 1/mod/*+disp8 7/rm32/EDI <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> 2/r32/EDX 8/disp8 <span class="CommentedCode"> . </span> <span class="subxComment"># copy *(EDI+8) to EDX</span> <span id="L267" class="LineNr">267 </span><span class="Constant">$get-num:loop</span>: <span id="L268" class="LineNr">268 </span> <span class="subxComment"># if out->write >= out->length error</span> -<span id="L269" class="LineNr">269 </span> 3b/compare 3/mod/direct 1/rm32/ECX <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> 2/r32/EDX <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="subxComment"># compare EDX with ECX</span> +<span id="L269" class="LineNr">269 </span> 39/compare 3/mod/direct 2/rm32/EDX <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> 1/r32/ECX <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="subxComment"># compare EDX with ECX</span> <span id="L270" class="LineNr">270 </span> 7d/jump-if-lesser $get-num:loop-stage2/disp8 <span id="L271" class="LineNr">271 </span> <span class="subxS1Comment"># . error(ed, err, msg) # TODO: show full number</span> <span id="L272" class="LineNr">272 </span> <span class="subxS2Comment"># . . push args</span> diff --git a/subx/apps/crenshaw2-1 b/subx/apps/crenshaw2-1 index 5092e428..75cf52eb 100755 --- a/subx/apps/crenshaw2-1 +++ b/subx/apps/crenshaw2-1 Binary files differdiff --git a/subx/apps/crenshaw2-1.subx b/subx/apps/crenshaw2-1.subx index a9838b65..25926b0e 100644 --- a/subx/apps/crenshaw2-1.subx +++ b/subx/apps/crenshaw2-1.subx @@ -260,7 +260,7 @@ $get-num:main: # EDX = out->length 8b/copy 1/mod/*+disp8 7/rm32/EDI . . . 2/r32/EDX 8/disp8 . # copy *(EDI+8) to EDX # if out->write >= out->length error - 3b/compare 3/mod/direct 1/rm32/ECX . . . 2/r32/EDX . . # compare EDX with ECX + 39/compare 3/mod/direct 2/rm32/EDX . . . 1/r32/ECX . . # compare EDX with ECX 7d/jump-if-lesser $get-num:stage2/disp8 # . error(ed, err, msg) # TODO: show full number # . . push args diff --git a/subx/apps/crenshaw2-1b b/subx/apps/crenshaw2-1b index 43f62080..b37c0b92 100755 --- a/subx/apps/crenshaw2-1b +++ b/subx/apps/crenshaw2-1b Binary files differdiff --git a/subx/apps/crenshaw2-1b.subx b/subx/apps/crenshaw2-1b.subx index 14f93c5f..d692d154 100644 --- a/subx/apps/crenshaw2-1b.subx +++ b/subx/apps/crenshaw2-1b.subx @@ -266,7 +266,7 @@ $get-num:main: 8b/copy 1/mod/*+disp8 7/rm32/EDI . . . 2/r32/EDX 8/disp8 . # copy *(EDI+8) to EDX $get-num:loop: # if out->write >= out->length error - 3b/compare 3/mod/direct 1/rm32/ECX . . . 2/r32/EDX . . # compare EDX with ECX + 39/compare 3/mod/direct 2/rm32/EDX . . . 1/r32/ECX . . # compare EDX with ECX 7d/jump-if-lesser $get-num:loop-stage2/disp8 # . error(ed, err, msg) # TODO: show full number # . . push args |