From 707935d0a83446380abee0c6477328166841793e Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 4 Dec 2018 12:12:18 -0800 Subject: 4839 --- html/subx/055trace.subx.html | 4 ++-- subx/055trace.subx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/html/subx/055trace.subx.html b/html/subx/055trace.subx.html index c0bcedf5..03af8e3c 100644 --- a/html/subx/055trace.subx.html +++ b/html/subx/055trace.subx.html @@ -395,13 +395,13 @@ if ('onhashchange' in window) { 329 # ECX = inend 330 8b/copy 1/mod/*+disp8 4/rm32/sib 5/base/EBP 4/index/none . 1/r32/ECX 0x14/disp8 . # copy *(EBP+20) to ECX 331 $_append-4:loop: -332 # if ESI/src >= ECX/srcend break +332 # if ESI/in >= ECX/inend break 333 39/compare 3/mod/direct 6/rm32/ESI . . . 1/r32/ECX . . # compare ESI with ECX 334 7d/jump-if-greater-or-equal $_append-4:end/disp8 335 # if EDI/out >= EDX/outend break (for now silently ignore filled up buffer) 336 39/compare 3/mod/direct 7/rm32/EDI . . . 2/r32/EDX . . # compare EDI with EDX 337 7d/jump-if-greater-or-equal $_append-4:end/disp8 -338 # copy one byte from ESI/src to EDI/out +338 # copy one byte from ESI/in to EDI/out 339 8a/copy-byte 0/mod/indirect 6/rm32/ESI . . . 3/r32/BL . . # copy byte at *ESI to BL 340 88/copy-byte 0/mod/indirect 7/rm32/EDI . . . 3/r32/BL . . # copy byte at BL to *EDI 341 # updates diff --git a/subx/055trace.subx b/subx/055trace.subx index f502f18a..d3a2d698 100644 --- a/subx/055trace.subx +++ b/subx/055trace.subx @@ -329,13 +329,13 @@ _append-4: # out : address, outend : address, in : address, inend : address -> # ECX = inend 8b/copy 1/mod/*+disp8 4/rm32/sib 5/base/EBP 4/index/none . 1/r32/ECX 0x14/disp8 . # copy *(EBP+20) to ECX $_append-4:loop: - # if ESI/src >= ECX/srcend break + # if ESI/in >= ECX/inend break 39/compare 3/mod/direct 6/rm32/ESI . . . 1/r32/ECX . . # compare ESI with ECX 7d/jump-if-greater-or-equal $_append-4:end/disp8 # if EDI/out >= EDX/outend break (for now silently ignore filled up buffer) 39/compare 3/mod/direct 7/rm32/EDI . . . 2/r32/EDX . . # compare EDI with EDX 7d/jump-if-greater-or-equal $_append-4:end/disp8 - # copy one byte from ESI/src to EDI/out + # copy one byte from ESI/in to EDI/out 8a/copy-byte 0/mod/indirect 6/rm32/ESI . . . 3/r32/BL . . # copy byte at *ESI to BL 88/copy-byte 0/mod/indirect 7/rm32/EDI . . . 3/r32/BL . . # copy byte at BL to *EDI # updates -- cgit 1.4.1-2-gfad0