diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-07-31 17:37:09 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-07-31 17:37:09 -0700 |
commit | 34c86ff559ee75a4a37ad390ada82e4be0625e69 (patch) | |
tree | 34b0d4c8ee91572b4f501bfc606409c25d5e1517 | |
parent | 129d812c2ed838c3aafdbcb8a24bcfe02c850a6d (diff) | |
download | mu-34c86ff559ee75a4a37ad390ada82e4be0625e69.tar.gz |
.
-rw-r--r-- | apps/desugar.subx | 9 |
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 |