about summary refs log tree commit diff stats
path: root/subx/ex4.subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx/ex4.subx')
-rw-r--r--subx/ex4.subx4
1 files changed, 4 insertions, 0 deletions
diff --git a/subx/ex4.subx b/subx/ex4.subx
index 256f47a5..af0ef419 100644
--- a/subx/ex4.subx
+++ b/subx/ex4.subx
@@ -1,4 +1,8 @@
 ## read a character from stdin, save it to a global, write it to stdout
+#
+# To run:
+#   $ subx translate ex4.subx ex4
+#   $ subx run ex4
 
 == 0x08048074  # code segment, after leaving room for ELF header and segment headers
 # opcode        ModR/M                    SIB                   displacement    immediate