diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-08-25 00:24:03 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-08-25 00:27:42 -0700 |
commit | d230393c924276a8bb3d9661dff688d5b07705ff (patch) | |
tree | 4aa4271d75e49db304d75f6e5684e2baf3bb3f8f /apps/desugar | |
parent | be063736d0cd1f4141dc595361b575605683269d (diff) | |
download | mu-d230393c924276a8bb3d9661dff688d5b07705ff.tar.gz |
parsing *(reg+reg)
Turns out there's an ambiguity even in this simple one-line language: when you see 'base+' you don't know whether the next token is the index or displacement. (Whereas a '-' would be unambiguous but is still not handled.) Fixing this ambiguity adds 15 instructions worth of complexity.
Diffstat (limited to 'apps/desugar')
-rwxr-xr-x | apps/desugar | bin | 43605 -> 44097 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/apps/desugar b/apps/desugar
index 8b1eb786..88ba5534 100755
--- a/apps/desugar
+++ b/apps/desugar
Binary files differ |