diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-08-13 15:00:45 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-08-13 15:00:45 -0700 |
commit | a46cfb13dabc225cd1aad9d1c6fb28955316f861 (patch) | |
tree | 74ae3157b16de98537b175ba4ec4a02557e6a46e /subx | |
parent | ab2c7efd02b8a44fdfc1110ca28bf22dc9905304 (diff) | |
download | mu-a46cfb13dabc225cd1aad9d1c6fb28955316f861.tar.gz |
4516
Diffstat (limited to 'subx')
-rw-r--r-- | subx/ex4.subx | 2 | ||||
-rwxr-xr-x | subx/ex6 | bin | 165 -> 166 bytes | |||
-rw-r--r-- | 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 --- a/subx/ex6 +++ b/subx/ex6 Binary files differdiff --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 |