From 91dab3e1a499cac50abd146ce849d3dab94229ab Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 3 Dec 2018 12:03:23 -0800 Subject: 4824 --- html/subx/examples/ex7.subx.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'html/subx/examples/ex7.subx.html') diff --git a/html/subx/examples/ex7.subx.html b/html/subx/examples/ex7.subx.html index f22f852f..ad52cf1c 100644 --- a/html/subx/examples/ex7.subx.html +++ b/html/subx/examples/ex7.subx.html @@ -91,12 +91,12 @@ if ('onhashchange' in window) { 30 cd/syscall 0x80/imm8 31 # save stream 32 bb/copy-to-EBX Stream/imm32 - 33 89/copy 0/mod/indirect 3/rm32/EBX . . . 0/r32/EAX . . # copy EAX to *EBX + 33 89/copy 0/mod/indirect 3/rm32/EBX . . . 0/r32/EAX . . # copy EAX to *EBX 34 35 # syscall(write, Stream, "a", 1) 36 # . load stream 37 bb/copy-to-EBX Stream/imm32 - 38 8b/copy 0/mod/indirect 3/rm32/EBX . . . 3/r32/EBX . . # copy *EBX to EBX + 38 8b/copy 0/mod/indirect 3/rm32/EBX . . . 3/r32/EBX . . # copy *EBX to EBX 39 # . 40 b9/copy-to-ECX A/imm32 41 ba/copy-to-EDX 1/imm32/size @@ -106,7 +106,7 @@ if ('onhashchange' in window) { 45 # syscall(close, Stream) 46 # . load stream 47 bb/copy-to-EBX Stream/imm32 - 48 8b/copy 0/mod/indirect 3/rm32/EBX . . . 3/r32/EBX . . # copy *EBX to EBX + 48 8b/copy 0/mod/indirect 3/rm32/EBX . . . 3/r32/EBX . . # copy *EBX to EBX 49 # . 50 b8/copy-to-EAX 6/imm32/close 51 cd/syscall 0x80/imm8 @@ -119,12 +119,12 @@ if ('onhashchange' in window) { 58 cd/syscall 0x80/imm8 59 # . save Stream 60 bb/copy-to-EBX Stream/imm32 - 61 89/copy 0/mod/indirect 3/rm32/EBX . . . 0/r32/EAX . . # copy EAX to *EBX + 61 89/copy 0/mod/indirect 3/rm32/EBX . . . 0/r32/EAX . . # copy EAX to *EBX 62 63 # syscall(read, Stream, B, 1) 64 # . load stream 65 bb/copy-to-EBX Stream/imm32 - 66 8b/copy 0/mod/indirect 3/rm32/EBX . . . 3/r32/EBX . . # copy *EBX to EBX + 66 8b/copy 0/mod/indirect 3/rm32/EBX . . . 3/r32/EBX . . # copy *EBX to EBX 67 # . 68 b9/copy-to-ECX B/imm32 69 ba/copy-to-EDX 1/imm32/size @@ -134,7 +134,7 @@ if ('onhashchange' in window) { 73 # syscall(close, Stream) 74 # . load stream 75 bb/copy-to-EBX Stream/imm32 - 76 8b/copy 0/mod/indirect 3/rm32/EBX . . . 3/r32/EBX . . # copy *EBX to EBX + 76 8b/copy 0/mod/indirect 3/rm32/EBX . . . 3/r32/EBX . . # copy *EBX to EBX 77 # 78 b8/copy-to-EAX 6/imm32/close 79 cd/syscall 0x80/imm8 @@ -147,7 +147,7 @@ if ('onhashchange' in window) { 86 # syscall(exit, b) 87 # . load b 88 bb/copy-to-EBX B/imm32 - 89 8b/copy 0/mod/indirect 3/rm32/EBX . . . 3/r32/EBX . . # copy *EBX to EBX + 89 8b/copy 0/mod/indirect 3/rm32/EBX . . . 3/r32/EBX . . # copy *EBX to EBX 90 # 91 b8/copy-to-EAX 1/imm32/exit 92 cd/syscall 0x80/imm8 -- cgit 1.4.1-2-gfad0