From a46cfb13dabc225cd1aad9d1c6fb28955316f861 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 13 Aug 2018 15:00:45 -0700 Subject: 4516 --- subx/ex4.subx | 2 +- subx/ex6 | Bin 165 -> 166 bytes subx/ex6.subx | 6 +++--- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/subx/ex4.subx b/subx/ex4.subx index 59dd14e1..cd7003d3 100644 --- a/subx/ex4.subx +++ b/subx/ex4.subx @@ -35,7 +35,7 @@ b8/copy 1/imm32 # copy 1 to EAX cd/syscall 0x80/imm8 # int 80h -== 0x080490a7 +== 0x080490a7 # data segment 00 00 00 00 # space for read() to write to # vim:ft=subx:nowrap diff --git a/subx/ex6 b/subx/ex6 index dd2219bb..b897bc05 100755 Binary files a/subx/ex6 and b/subx/ex6 differ diff --git a/subx/ex6.subx b/subx/ex6.subx index 8f4f6b40..5d21f525 100644 --- a/subx/ex6.subx +++ b/subx/ex6.subx @@ -26,11 +26,11 @@ b8/copy 1/imm32 # copy 1 to EAX cd/syscall 0x80/imm8 # int 80h -== 0x08049093 +== 0x08049093 # data segment # size of string 0e 00 00 00 # string - 48 65 6c 6c 6f 2c 20 77 6f 72 6c 64 21 0a -# h e l l o , ␣ w o r l d ! newline + 48 65 6c 6c 6f 2c 20 77 6f 72 6c 64 21 0a 00 +# h e l l o , ␣ w o r l d ! newline null # vim:ft=subx:nowrap -- cgit 1.4.1-2-gfad0