From ee73f5eb31e9dd5a185da097bd990ac94c3d282b Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 3 Dec 2018 17:31:35 -0800 Subject: 4829 Showing the error bit pattern explicitly makes it more clear that it's not possible to generate as a non-error value. --- html/subx/059read-byte.subx.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'html') diff --git a/html/subx/059read-byte.subx.html b/html/subx/059read-byte.subx.html index a3ebe17f..fd8af4bf 100644 --- a/html/subx/059read-byte.subx.html +++ b/html/subx/059read-byte.subx.html @@ -261,7 +261,7 @@ if ('onhashchange' in window) { 195 c3/return 196 197 test-read-byte-end-of-file: -198 # - call read-byte on an empty 'file', check that it returns -1 +198 # - call read-byte on an empty 'file', check that it returns 0xffffffff 199 # setup 200 # . clear-stream(_test-stream) 201 # . . push args @@ -286,10 +286,10 @@ if ('onhashchange' in window) { 220 e8/call read-byte/disp32 221 # . . discard args 222 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP -223 # check-ints-equal(EAX, -1, msg) +223 # check-ints-equal(EAX, 0xffffffff, msg) 224 # . . push args 225 68/push "F - test-read-byte-end-of-file"/imm32 -226 68/push -1/imm32 +226 68/push 0xffffffff/imm32 227 50/push-EAX 228 # . . call 229 e8/call check-ints-equal/disp32 -- cgit 1.4.1-2-gfad0