From 333525360b22f3d3ea31db46a4d2f1b4edbfebdb Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 26 Aug 2019 11:55:26 -0700 Subject: 5592 - switch register names to lowercase --- html/066print-int.subx.html | 242 ++++++++++++++++++++++---------------------- 1 file changed, 121 insertions(+), 121 deletions(-) (limited to 'html/066print-int.subx.html') diff --git a/html/066print-int.subx.html b/html/066print-int.subx.html index 40071775..796669cc 100644 --- a/html/066print-int.subx.html +++ b/html/066print-int.subx.html @@ -66,57 +66,57 @@ if ('onhashchange' in window) { 5 # . op subop mod rm32 base index scale r32 6 # . 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes 7 - 8 to-hex-char: # in/EAX : nibble -> out/EAX : byte - 9 # no error checking; accepts argument in EAX - 10 # if (EAX <= 9) return EAX + '0' - 11 3d/compare-EAX-with 0x9/imm32/9 + 8 to-hex-char: # in/eax : nibble -> out/eax : byte + 9 # no error checking; accepts argument in eax + 10 # if (eax <= 9) return eax + '0' + 11 3d/compare-eax-with 0x9/imm32/9 12 7f/jump-if-greater $to-hex-char:else/disp8 - 13 05/add-to-EAX 0x30/imm32/0 + 13 05/add-to-eax 0x30/imm32/0 14 c3/return 15 $to-hex-char:else: - 16 # otherwise return EAX + 'a' - 10 - 17 05/add-to-EAX 0x57/imm32/a-10 + 16 # otherwise return eax + 'a' - 10 + 17 05/add-to-eax 0x57/imm32/a-10 18 c3/return 19 20 append-byte-hex: # f : (address stream), n : int -> <void> 21 # . prolog - 22 55/push-EBP - 23 89/copy 3/mod/direct 5/rm32/EBP . . . 4/r32/ESP . . # copy ESP to EBP + 22 55/push-ebp + 23 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp 24 # . save registers - 25 50/push-EAX + 25 50/push-eax 26 # AL = convert upper nibble to hex - 27 8b/copy 1/mod/*+disp8 5/rm32/EBP . . . 0/r32/EAX 0xc/disp8 . # copy *(EBP+12) to EAX - 28 c1/shift 5/subop/logic-right 3/mod/direct 0/rm32/EAX . . . . . 4/imm8 # shift EAX right by 4 bits, while padding zeroes - 29 25/and-EAX 0xf/imm32 + 27 8b/copy 1/mod/*+disp8 5/rm32/ebp . . . 0/r32/eax 0xc/disp8 . # copy *(ebp+12) to eax + 28 c1/shift 5/subop/logic-right 3/mod/direct 0/rm32/eax . . . . . 4/imm8 # shift eax right by 4 bits, while padding zeroes + 29 25/and-eax 0xf/imm32 30 # . AL = to-hex-char(AL) 31 e8/call to-hex-char/disp32 32 # append-byte(f, AL) 33 # . . push args - 34 50/push-EAX - 35 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 8/disp8 . # push *(EBP+8) + 34 50/push-eax + 35 ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 8/disp8 . # push *(ebp+8) 36 # . . call 37 e8/call append-byte/disp32 38 # . . discard args - 39 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP + 39 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp 40 # AL = convert lower nibble to hex - 41 8b/copy 1/mod/*+disp8 5/rm32/EBP . . . 0/r32/EAX 0xc/disp8 . # copy *(EBP+12) to EAX - 42 25/and-EAX 0xf/imm32 + 41 8b/copy 1/mod/*+disp8 5/rm32/ebp . . . 0/r32/eax 0xc/disp8 . # copy *(ebp+12) to eax + 42 25/and-eax 0xf/imm32 43 # . AL = to-hex-char(AL) 44 e8/call to-hex-char/disp32 45 # append-byte(f, AL) 46 # . . push args - 47 50/push-EAX - 48 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 8/disp8 . # push *(EBP+8) + 47 50/push-eax + 48 ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 8/disp8 . # push *(ebp+8) 49 # . . call 50 e8/call append-byte/disp32 51 # . . discard args - 52 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP + 52 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp 53 $append-byte-hex:end: 54 # . restore registers - 55 58/pop-to-EAX + 55 58/pop-to-eax 56 # . epilog - 57 89/copy 3/mod/direct 4/rm32/ESP . . . 5/r32/EBP . . # copy EBP to ESP - 58 5d/pop-to-EBP + 57 89/copy 3/mod/direct 4/rm32/esp . . . 5/r32/ebp . . # copy ebp to esp + 58 5d/pop-to-ebp 59 c3/return 60 61 test-append-byte-hex: @@ -128,7 +128,7 @@ if ('onhashchange' in window) { 67 # . . call 68 e8/call clear-stream/disp32 69 # . . discard args - 70 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP + 70 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp 71 # append-byte-hex(_test-stream, 0xa) # exercises digit, non-digit as well as leading zero 72 # . . push args 73 68/push 0xa/imm32 @@ -136,7 +136,7 @@ if ('onhashchange' in window) { 75 # . . call 76 e8/call append-byte-hex/disp32 77 # . . discard args - 78 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP + 78 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp 79 # check-stream-equal(_test-stream, "0a", msg) 80 # . . push args 81 68/push "F - test-append-byte-hex"/imm32 @@ -145,50 +145,50 @@ if ('onhashchange' in window) { 84 # . . call 85 e8/call check-stream-equal/disp32 86 # . . discard args - 87 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP + 87 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 0xc/imm32 # add to esp 88 # . end 89 c3/return 90 91 # print the hex representation for the lowest byte of a number 92 print-byte-buffered: # f : (address buffered-file), n : int -> <void> 93 # . prolog - 94 55/push-EBP - 95 89/copy 3/mod/direct 5/rm32/EBP . . . 4/r32/ESP . . # copy ESP to EBP + 94 55/push-ebp + 95 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp 96 # . save registers - 97 50/push-EAX + 97 50/push-eax 98 # AL = convert upper nibble to hex - 99 8b/copy 1/mod/*+disp8 5/rm32/EBP . . . 0/r32/EAX 0xc/disp8 . # copy *(EBP+12) to EAX -100 c1/shift 5/subop/logic-right 3/mod/direct 0/rm32/EAX . . . . . 4/imm8 # shift EAX right by 4 bits, while padding zeroes -101 25/and-EAX 0xf/imm32 + 99 8b/copy 1/mod/*+disp8 5/rm32/ebp . . . 0/r32/eax 0xc/disp8 . # copy *(ebp+12) to eax +100 c1/shift 5/subop/logic-right 3/mod/direct 0/rm32/eax . . . . . 4/imm8 # shift eax right by 4 bits, while padding zeroes +101 25/and-eax 0xf/imm32 102 # . AL = to-hex-char(AL) 103 e8/call to-hex-char/disp32 104 # write-byte-buffered(f, AL) 105 # . . push args -106 50/push-EAX -107 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 8/disp8 . # push *(EBP+8) +106 50/push-eax +107 ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 8/disp8 . # push *(ebp+8) 108 # . . call 109 e8/call write-byte-buffered/disp32 110 # . . discard args -111 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP +111 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp 112 # AL = convert lower nibble to hex -113 8b/copy 1/mod/*+disp8 5/rm32/EBP . . . 0/r32/EAX 0xc/disp8 . # copy *(EBP+12) to EAX -114 25/and-EAX 0xf/imm32 +113 8b/copy 1/mod/*+disp8 5/rm32/ebp . . . 0/r32/eax 0xc/disp8 . # copy *(ebp+12) to eax +114 25/and-eax 0xf/imm32 115 # . AL = to-hex-char(AL) 116 e8/call to-hex-char/disp32 117 # write-byte-buffered(f, AL) 118 # . . push args -119 50/push-EAX -120 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 8/disp8 . # push *(EBP+8) +119 50/push-eax +120 ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 8/disp8 . # push *(ebp+8) 121 # . . call 122 e8/call write-byte-buffered/disp32 123 # . . discard args -124 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP +124 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp 125 $print-byte-buffered:end: 126 # . restore registers -127 58/pop-to-EAX +127 58/pop-to-eax 128 # . epilog -129 89/copy 3/mod/direct 4/rm32/ESP . . . 5/r32/EBP . . # copy EBP to ESP -130 5d/pop-to-EBP +129 89/copy 3/mod/direct 4/rm32/esp . . . 5/r32/ebp . . # copy ebp to esp +130 5d/pop-to-ebp 131 c3/return 132 133 test-print-byte-buffered: @@ -200,16 +200,16 @@ if ('onhashchange' in window) { 139 # . . call 140 e8/call clear-stream/disp32 141 # . . discard args -142 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP +142 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp 143 # . clear-stream(_test-buffered-file+4) 144 # . . push args -145 b8/copy-to-EAX _test-buffered-file/imm32 -146 05/add-to-EAX 4/imm32 -147 50/push-EAX +145 b8/copy-to-eax _test-buffered-file/imm32 +146 05/add-to-eax 4/imm32 +147 50/push-eax 148 # . . call 149 e8/call clear-stream/disp32 150 # . . discard args -151 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP +151 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp 152 # print-byte-buffered(_test-buffered-file, 0xa) # exercises digit, non-digit as well as leading zero 153 # . . push args 154 68/push 0xa/imm32 @@ -217,14 +217,14 @@ if ('onhashchange' in window) { 156 # . . call 157 e8/call print-byte-buffered/disp32 158 # . . discard args -159 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP +159 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp 160 # flush(_test-buffered-file) 161 # . . push args 162 68/push _test-buffered-file/imm32 163 # . . call 164 e8/call flush/disp32 165 # . . discard args -166 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP +166 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp 167 # check-stream-equal(_test-stream, "0a", msg) 168 # . . push args 169 68/push "F - test-print-byte-buffered"/imm32 @@ -233,66 +233,66 @@ if ('onhashchange' in window) { 172 # . . call 173 e8/call check-stream-equal/disp32 174 # . . discard args -175 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP +175 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 0xc/imm32 # add to esp 176 # . end 177 c3/return 178 179 print-int32: # f : (address stream), n : int -> <void> 180 # pseudocode: 181 # write(f, "0x") -182 # ECX = 28 +182 # ecx = 28 183 # while true -184 # if (ECX < 0) break -185 # EAX = n >> ECX -186 # EAX = EAX & 0xf +184 # if (ecx < 0) break +185 # eax = n >> ecx +186 # eax = eax & 0xf 187 # append-byte(f, AL) -188 # ECX -= 4 +188 # ecx -= 4 189 # 190 # . prolog -191 55/push-EBP -192 89/copy 3/mod/direct 5/rm32/EBP . . . 4/r32/ESP . . # copy ESP to EBP +191 55/push-ebp +192 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp 193 # . save registers -194 50/push-EAX -195 51/push-ECX -196 # ECX = 28 -197 b9/copy-to-ECX 0x1c/imm32 +194 50/push-eax +195 51/push-ecx +196 # ecx = 28 +197 b9/copy-to-ecx 0x1c/imm32 198 $print-int32:print-hex-prefix: 199 # write(f, "0x") 200 # . . push args 201 68/push "0x"/imm32 -202 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 8/disp8 . # push *(EBP+8) +202 ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 8/disp8 . # push *(ebp+8) 203 # . . call 204 e8/call write/disp32 205 # . . discard args -206 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP +206 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp 207 $print-int32:loop: -208 # if (ECX < 0) break -209 81 7/subop/compare 3/mod/direct 1/rm32/ECX . . . . . 0/imm32 # compare ECX +208 # if (ecx < 0) break +209 81 7/subop/compare 3/mod/direct 1/rm32/ecx . . . . . 0/imm32 # compare ecx 210 7c/jump-if-lesser $print-int32:end/disp8 -211 # EAX = n >> ECX -212 8b/copy 1/mod/*+disp8 5/rm32/EBP . . . 0/r32/EAX 0xc/disp8 . # copy *(EBP+12) to EAX -213 d3/>>ECX 5/subop/pad-zeroes 3/mod/direct 0/rm32/EAX . . . . . . # shift EAX right by ECX bits, padding zeroes -214 # EAX = to-hex-char(AL) -215 25/and-EAX 0xf/imm32 +211 # eax = n >> ecx +212 8b/copy 1/mod/*+disp8 5/rm32/ebp . . . 0/r32/eax 0xc/disp8 . # copy *(ebp+12) to eax +213 d3/>>ecx 5/subop/pad-zeroes 3/mod/direct 0/rm32/eax . . . . . . # shift eax right by ecx bits, padding zeroes +214 # eax = to-hex-char(AL) +215 25/and-eax 0xf/imm32 216 e8/call to-hex-char/disp32 217 # append-byte(f, AL) 218 # . . push args -219 50/push-EAX -220 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 8/disp8 . # push *(EBP+8) +219 50/push-eax +220 ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 8/disp8 . # push *(ebp+8) 221 # . . call 222 e8/call append-byte/disp32 223 # . . discard args -224 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP -225 # ECX -= 4 -226 81 5/subop/subtract 3/mod/direct 1/rm32/ECX . . . . . 4/imm32 # subtract from ECX +224 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp +225 # ecx -= 4 +226 81 5/subop/subtract 3/mod/direct 1/rm32/ecx . . . . . 4/imm32 # subtract from ecx 227 eb/jump $print-int32:loop/disp8 228 $print-int32:end: 229 # . restore registers -230 59/pop-to-ECX -231 58/pop-to-EAX +230 59/pop-to-ecx +231 58/pop-to-eax 232 # . epilog -233 89/copy 3/mod/direct 4/rm32/ESP . . . 5/r32/EBP . . # copy EBP to ESP -234 5d/pop-to-EBP +233 89/copy 3/mod/direct 4/rm32/esp . . . 5/r32/ebp . . # copy ebp to esp +234 5d/pop-to-ebp 235 c3/return 236 237 test-print-int32: @@ -304,7 +304,7 @@ if ('onhashchange' in window) { 243 # . . call 244 e8/call clear-stream/disp32 245 # . . discard args -246 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP +246 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp 247 # print-int32(_test-stream, 0x8899aa) 248 # . . push args 249 68/push 0x8899aa/imm32 @@ -312,7 +312,7 @@ if ('onhashchange' in window) { 251 # . . call 252 e8/call print-int32/disp32 253 # . . discard args -254 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP +254 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp 255 # check-stream-equal(_test-stream, "0x008899aa", msg) 256 # . . push args 257 68/push "F - test-print-int32"/imm32 @@ -321,66 +321,66 @@ if ('onhashchange' in window) { 260 # . . call 261 e8/call check-stream-equal/disp32 262 # . . discard args -263 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP +263 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 0xc/imm32 # add to esp 264 # . end 265 c3/return 266 267 print-int32-buffered: # f : (address buffered-file), n : int -> <void> 268 # pseudocode: 269 # write-buffered(f, "0x") -270 # ECX = 28 +270 # ecx = 28 271 # while true -272 # if (ECX < 0) break -273 # EAX = n >> ECX -274 # EAX = EAX & 0xf +272 # if (ecx < 0) break +273 # eax = n >> ecx +274 # eax = eax & 0xf 275 # write-byte-buffered(f, AL) -276 # ECX -= 4 +276 # ecx -= 4 277 # 278 # . prolog -279 55/push-EBP -280 89/copy 3/mod/direct 5/rm32/EBP . . . 4/r32/ESP . . # copy ESP to EBP +279 55/push-ebp +280 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp 281 # . save registers -282 50/push-EAX -283 51/push-ECX -284 # ECX = 28 -285 b9/copy-to-ECX 0x1c/imm32 +282 50/push-eax +283 51/push-ecx +284 # ecx = 28 +285 b9/copy-to-ecx 0x1c/imm32 286 $print-int32-buffered:print-hex-prefix: 287 # write-buffered(f, "0x") 288 # . . push args 289 68/push "0x"/imm32 -290 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 8/disp8 . # push *(EBP+8) +290 ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 8/disp8 . # push *(ebp+8) 291 # . . call 292 e8/call write-buffered/disp32 293 # . . discard args -294 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP +294 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp 295 $print-int32-buffered:loop: -296 # if (ECX < 0) break -297 81 7/subop/compare 3/mod/direct 1/rm32/ECX . . . . . 0/imm32 # compare ECX +296 # if (ecx < 0) break +297 81 7/subop/compare 3/mod/direct 1/rm32/ecx . . . . . 0/imm32 # compare ecx 298 7c/jump-if-lesser $print-int32-buffered:end/disp8 -299 # EAX = n >> ECX -300 8b/copy 1/mod/*+disp8 5/rm32/EBP . . . 0/r32/EAX 0xc/disp8 . # copy *(EBP+12) to EAX -301 d3/>>ECX 5/subop/pad-zeroes 3/mod/direct 0/rm32/EAX . . . . . . # shift EAX right by ECX bits, padding zeroes -302 # EAX = to-hex-char(AL) -303 25/and-EAX 0xf/imm32 +299 # eax = n >> ecx +300 8b/copy 1/mod/*+disp8 5/rm32/ebp . . . 0/r32/eax 0xc/disp8 . # copy *(ebp+12) to eax +301 d3/>>ecx 5/subop/pad-zeroes 3/mod/direct 0/rm32/eax . . . . . . # shift eax right by ecx bits, padding zeroes +302 # eax = to-hex-char(AL) +303 25/and-eax 0xf/imm32 304 e8/call to-hex-char/disp32 305 # write-byte-buffered(f, AL) 306 # . . push args -307 50/push-EAX -308 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 8/disp8 . # push *(EBP+8) +307 50/push-eax +308 ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 8/disp8 . # push *(ebp+8) 309 # . . call 310 e8/call write-byte-buffered/disp32 311 # . . discard args -312 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP -313 # ECX -= 4 -314 81 5/subop/subtract 3/mod/direct 1/rm32/ECX . . . . . 4/imm32 # subtract from ECX +312 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp +313 # ecx -= 4 +314 81 5/subop/subtract 3/mod/direct 1/rm32/ecx . . . . . 4/imm32 # subtract from ecx 315 eb/jump $print-int32-buffered:loop/disp8 316 $print-int32-buffered:end: 317 # . restore registers -318 59/pop-to-ECX -319 58/pop-to-EAX +318 59/pop-to-ecx +319 58/pop-to-eax 320 # . epilog -321 89/copy 3/mod/direct 4/rm32/ESP . . . 5/r32/EBP . . # copy EBP to ESP -322 5d/pop-to-EBP +321 89/copy 3/mod/direct 4/rm32/esp . . . 5/r32/ebp . . # copy ebp to esp +322 5d/pop-to-ebp 323 c3/return 324 325 test-print-int32-buffered: @@ -392,16 +392,16 @@ if ('onhashchange' in window) { 331 # . . call 332 e8/call clear-stream/disp32 333 # . . discard args -334 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP +334 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp 335 # . clear-stream(_test-buffered-file+4) 336 # . . push args -337 b8/copy-to-EAX _test-buffered-file/imm32 -338 05/add-to-EAX 4/imm32 -339 50/push-EAX +337 b8/copy-to-eax _test-buffered-file/imm32 +338 05/add-to-eax 4/imm32 +339 50/push-eax 340 # . . call 341 e8/call clear-stream/disp32 342 # . . discard args -343 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP +343 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp 344 # print-int32-buffered(_test-buffered-file, 0x8899aa) 345 # . . push args 346 68/push 0x8899aa/imm32 @@ -409,14 +409,14 @@ if ('onhashchange' in window) { 348 # . . call 349 e8/call print-int32-buffered/disp32 350 # . . discard args -351 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP +351 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp 352 # flush(_test-buffered-file) 353 # . . push args 354 68/push _test-buffered-file/imm32 355 # . . call 356 e8/call flush/disp32 357 # . . discard args -358 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP +358 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp 359 +-- 18 lines: #? # dump line ----------------------------------------------------------------------------------------------------------------------------- 377 # check-stream-equal(_test-stream, "0x008899aa", msg) 378 # . . push args @@ -426,7 +426,7 @@ if ('onhashchange' in window) { 382 # . . call 383 e8/call check-stream-equal/disp32 384 # . . discard args -385 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP +385 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 0xc/imm32 # add to esp 386 # . end 387 c3/return 388 -- cgit 1.4.1-2-gfad0