about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx')
-rw-r--r--subx/ex4.subx2
-rwxr-xr-xsubx/ex6bin165 -> 166 bytes
-rw-r--r--subx/ex6.subx6
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