From c6f522007de6f96e79d52ae9db2e23333c318c8f Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 30 Nov 2018 20:01:41 -0800 Subject: 4811 --- html/subx/057stop.subx.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'html/subx/057stop.subx.html') diff --git a/html/subx/057stop.subx.html b/html/subx/057stop.subx.html index a9f29155..1f859d12 100644 --- a/html/subx/057stop.subx.html +++ b/html/subx/057stop.subx.html @@ -23,6 +23,7 @@ body { font-size:12pt; font-family: monospace; color: #aaaaaa; background-color: .LineNr { color:#444444; } .subxS1Comment { color:#2d8cff; } .CommentedCode { color: #6c6c6c; } +.Constant { color:#00a0a0; } .SpecialChar { color: #ff0000; } --> @@ -101,7 +102,7 @@ if ('onhashchange' in window) { 41 e8/call run-tests/disp32 # 'run-tests' is a function created automatically by SubX. It calls all functions that start with 'test-'. 42 #? e8/call test-stop-skips-returns-on-exit/disp32 43 # syscall(exit, Num-test-failures) - 44 8b/copy 0/mod/indirect 5/rm32/.disp32 . . 3/r32/EBX Num-test-failures/disp32 # copy *Num-test-failures to EBX + 44 8b/copy 0/mod/indirect 5/rm32/.disp32 . . 3/r32/EBX Num-test-failures/disp32 # copy *Num-test-failures to EBX 45 b8/copy-to-EAX 1/imm32 46 cd/syscall 0x80/imm8 47 @@ -210,7 +211,7 @@ if ('onhashchange' in window) { 150 # check that _test-stop-1 tried to call exit(1) 151 # check-ints-equal(ed->value, 2, msg) # i.e. stop was called with value 1 152 # . . push args -153 68/push "F - test-stop-skips-returns-on-exit"/imm32 +153 68/push "F - test-stop-skips-returns-on-exit"/imm32 154 68/push 2/imm32 155 # . . push ed->value 156 ff 6/subop/push 1/mod/*+disp8 0/rm32/EAX . . . . 4/disp8 . # push *(EAX+4) @@ -238,7 +239,7 @@ if ('onhashchange' in window) { 178 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP 179 # signal test failed: check-ints-equal(1, 0, msg) 180 # . . push args -181 68/push "F - test-stop-skips-returns-on-exit"/imm32 +181 68/push "F - test-stop-skips-returns-on-exit"/imm32 182 68/push 0/imm32 183 68/push 1/imm32 184 # . . call -- cgit 1.4.1-2-gfad0