about summary refs log tree commit diff stats
path: root/071read-line.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-08-25 00:24:03 -0700
committerKartik Agaram <vc@akkartik.com>2019-08-25 00:27:42 -0700
commitd230393c924276a8bb3d9661dff688d5b07705ff (patch)
tree4aa4271d75e49db304d75f6e5684e2baf3bb3f8f /071read-line.subx
parentbe063736d0cd1f4141dc595361b575605683269d (diff)
downloadmu-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 '071read-line.subx')
0 files changed, 0 insertions, 0 deletions