From 96a6bac52d6f4a67932e54d25166bf7961718e9d Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 7 Jan 2019 13:36:15 -0800 Subject: 4914 --- html/subx/062write-byte.subx.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html/subx/062write-byte.subx.html') diff --git a/html/subx/062write-byte.subx.html b/html/subx/062write-byte.subx.html index 606e12fe..f53db7ba 100644 --- a/html/subx/062write-byte.subx.html +++ b/html/subx/062write-byte.subx.html @@ -127,11 +127,11 @@ if ('onhashchange' in window) { 66 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP 67 $write-byte:to-stream: 68 # write to stream - 69 # f->data[f->read] = LSB(n) + 69 # f->data[f->write] = LSB(n) 70 31/xor 3/mod/direct 0/rm32/EAX . . . 0/r32/EAX . . # clear EAX 71 8a/copy-byte 1/mod/*+disp8 5/rm32/EBP . . . 0/r32/AL 0xc/disp8 . # copy byte at *(EBP+12) to AL 72 88/copy-byte 1/mod/*+disp8 4/rm32/sib 7/base/EDI 1/index/ECX . 0/r32/AL 0x10/disp8 . # copy AL to *(EDI+ECX+16) - 73 # ++f->read + 73 # ++f->write 74 ff 0/subop/increment 1/mod/*+disp8 7/rm32/EDI . . . . 4/disp8 . # increment *(EDI+4) 75 $write-byte:end: 76 # . restore registers -- cgit 1.4.1-2-gfad0