From 4c37b3e91b3e9c891c22379f029c42abc38e408c Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 28 Oct 2018 13:41:53 -0700 Subject: 4734 --- html/subx/057stop.subx.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'html/subx/057stop.subx.html') diff --git a/html/subx/057stop.subx.html b/html/subx/057stop.subx.html index 9e0d3fbb..a985e710 100644 --- a/html/subx/057stop.subx.html +++ b/html/subx/057stop.subx.html @@ -153,8 +153,8 @@ if ('onhashchange' in window) { 96 # exit(value) if ed->target == 0 97 81 7/subop/compare 0/mod/indirect 0/rm32/EAX . . . . . 0/imm32 # compare *EAX 98 75/jump-if-not-equal $stop:fake/disp8 - 99 # syscall(exit, ed->value) -100 8b/copy 1/mod/*+disp8 0/rm32/EAX . . . 3/r32/EBX 4/disp8 . # copy *(EAX+4) to EBX + 99 # syscall(exit, value) +100 8b/copy 1/mod/*+disp8 4/rm32/sib 4/base/ESP 4/index/none . 3/r32/EBX 8/disp8 . # copy *(ESP+8) to EBX 101 b8/copy-to-EAX 1/imm32 102 cd/syscall 0x80/imm8 103 $stop:fake: @@ -191,12 +191,12 @@ if ('onhashchange' in window) { 134 # discard args 135 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP 136 # call _test-stop-1(ed) -137 # push arg +137 # push args 138 50/push-EAX 139 # call 140 e8/call _test-stop-1/disp32 141 ## registers except ESP may be clobbered at this point -142 # restore arg +142 # restore args 143 58/pop-to-EAX 144 # check that _test-stop-1 tried to call exit(1) 145 # check-ints-equal(ed->value, 2, msg) # i.e. stop was called with value 1 @@ -220,12 +220,12 @@ if ('onhashchange' in window) { 163 55/push-EBP 164 89/copy 3/mod/direct 5/rm32/EBP . . . 4/r32/ESP . . # copy ESP to EBP 165 # _test-stop-2(ed) -166 # push arg +166 # push args 167 ff 6/subop/push 1/mod/*+disp8 4/rm32/sib 5/base/EBP 4/index/none . . 8/disp8 . # push *(EBP+8) 168 # call 169 e8/call _test-stop-2/disp32 170 ## should never get past this point -171 # discard arg +171 # discard args 172 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP 173 # signal test failed: check-ints-equal(1, 0, msg) 174 # push args -- cgit 1.4.1-2-gfad0