diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-04-05 23:03:18 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-04-05 23:03:18 -0700 |
commit | 615a7e957535dabeac826674859e33a01ed2bab4 (patch) | |
tree | 3f37be029105c6d51d364d5f6310977b31747bb2 /subx/061read-byte.subx | |
parent | 688a3d717e87994e311d4db73fe82d1217ec62dc (diff) | |
download | mu-615a7e957535dabeac826674859e33a01ed2bab4.tar.gz |
5059
Diffstat (limited to 'subx/061read-byte.subx')
-rw-r--r-- | subx/061read-byte.subx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/061read-byte.subx b/subx/061read-byte.subx index cb068869..7503818f 100644 --- a/subx/061read-byte.subx +++ b/subx/061read-byte.subx @@ -74,7 +74,7 @@ read-byte: # f : (address buffered-file) -> byte-or-Eof/EAX # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP # if (EAX == 0) return 0xffffffff - 81 7/subop/compare 3/mod/direct 0/rm32/EAX . . . . . 0/imm32 # compare EAX + 3d/compare-EAX-and 0/imm32 75/jump-if-not-equal $read-byte:from-stream/disp8 b8/copy-to-EAX 0xffffffff/imm32/Eof eb/jump $read-byte:end/disp8 |