diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-03-12 23:57:32 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-03-12 23:57:32 -0700 |
commit | fb056029e86b0c21d362d623a851a7c89c12ff8b (patch) | |
tree | 71f1ccbcb5294649b9ff9ad9bb85629e4a89cf9e /signal.c | |
parent | 4c0019ef1bf58ccb782e52bc3db5032e3df45e77 (diff) | |
download | txr-fb056029e86b0c21d362d623a851a7c89c12ff8b.tar.gz txr-fb056029e86b0c21d362d623a851a7c89c12ff8b.tar.bz2 txr-fb056029e86b0c21d362d623a851a7c89c12ff8b.zip |
asm: allow compound syntax reg operands.
In additon to the encoded notation like t13 and v013f,
we allow forms like (t 19) and (v 1 63) which
mean the same thing. These are a much more convenient
representation for a compiler.
* share/txr/stdlib/asm.tl (assembler parse-operand): Recognize
a compound expression as an operand, and handle via
parse-compound-operand function.
(parse-compound-operand): New function.
Diffstat (limited to 'signal.c')
0 files changed, 0 insertions, 0 deletions