From 9e03e2bd37dc440eeb62783378f11d718bab160f Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 4 Dec 2018 10:18:02 -0800 Subject: 4837 Let's standardize to use opcode 39 rather than 3b by default. --- html/subx/apps/crenshaw2-1.subx.html | 2 +- html/subx/apps/crenshaw2-1b.subx.html | 2 +- subx/apps/crenshaw2-1 | Bin 6980 -> 6980 bytes subx/apps/crenshaw2-1.subx | 2 +- subx/apps/crenshaw2-1b | Bin 7541 -> 7541 bytes 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) { 260 # EDX = out->length 261 8b/copy 1/mod/*+disp8 7/rm32/EDI . . . 2/r32/EDX 8/disp8 . # copy *(EDI+8) to EDX 262 # if out->write >= out->length error -263 3b/compare 3/mod/direct 1/rm32/ECX . . . 2/r32/EDX . . # compare EDX with ECX +263 39/compare 3/mod/direct 2/rm32/EDX . . . 1/r32/ECX . . # compare EDX with ECX 264 7d/jump-if-lesser $get-num:stage2/disp8 265 # . error(ed, err, msg) # TODO: show full number 266 # . . push args 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) { 266 8b/copy 1/mod/*+disp8 7/rm32/EDI . . . 2/r32/EDX 8/disp8 . # copy *(EDI+8) to EDX 267 $get-num:loop: 268 # if out->write >= out->length error -269 3b/compare 3/mod/direct 1/rm32/ECX . . . 2/r32/EDX . . # compare EDX with ECX +269 39/compare 3/mod/direct 2/rm32/EDX . . . 1/r32/ECX . . # compare EDX with ECX 270 7d/jump-if-lesser $get-num:loop-stage2/disp8 271 # . error(ed, err, msg) # TODO: show full number 272 # . . push args diff --git a/subx/apps/crenshaw2-1 b/subx/apps/crenshaw2-1 index 5092e428..75cf52eb 100755 Binary files a/subx/apps/crenshaw2-1 and b/subx/apps/crenshaw2-1 differ diff --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 Binary files a/subx/apps/crenshaw2-1b and b/subx/apps/crenshaw2-1b differ diff --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 -- cgit 1.4.1-2-gfad0