diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-01-10 17:13:47 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-01-10 17:13:47 -0800 |
commit | 89bcb56717c86af44ce64f6e432d79836ae23a96 (patch) | |
tree | 76a98b5a9c716845d585965e98991833e9ce8003 /subx/059read-byte.subx | |
parent | 5a2e541c181d6ef75c31b98084f5c23551aa6d3a (diff) | |
download | mu-89bcb56717c86af44ce64f6e432d79836ae23a96.tar.gz |
4918
Diffstat (limited to 'subx/059read-byte.subx')
-rw-r--r-- | subx/059read-byte.subx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/059read-byte.subx b/subx/059read-byte.subx index fc583809..c62b035e 100644 --- a/subx/059read-byte.subx +++ b/subx/059read-byte.subx @@ -64,7 +64,7 @@ read-byte: # f : (address buffered-file) -> byte-or-eof/EAX e8/call clear-stream/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP - # . f->read must now be 0; update ECX + # . f->read must now be 0; update its cache at ECX 31/xor 3/mod/direct 1/rm32/ECX . . . 1/r32/ECX . . # clear ECX # . EAX = read(f->fd, stream = f+4) # . . push args |