about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-07-31 17:37:09 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-31 17:37:09 -0700
commit34c86ff559ee75a4a37ad390ada82e4be0625e69 (patch)
tree34b0d4c8ee91572b4f501bfc606409c25d5e1517
parent129d812c2ed838c3aafdbcb8a24bcfe02c850a6d (diff)
downloadmu-34c86ff559ee75a4a37ad390ada82e4be0625e69.tar.gz
.
-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