about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/desugar.subx9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/desugar.subx b/apps/desugar.subx
index c73930cf..700b354a 100644
--- a/apps/desugar.subx
+++ b/apps/desugar.subx
@@ -1,4 +1,11 @@
-# Read .subx source and desugar programming constructs like %reg, and fcall()
+# Desugar a few kinds of syntax.
+#
+# 1.
+#   $ echo "ab %eax" |./subx run apps/desugar
+#   ab 3/mod 0/rm32
+#
+# 2.
+#   ...
 
 == code
 #   instruction                     effective address                                                   register    displacement    immediate