Re:Parsing RISC-V assembly
by e19293001 on Monday October 26, 2020 @10:11PM
(#24903881)
Yes. If basic assembler.
No. If you're going to implement an assembler that supports constants and symbols which can be combined into expressions. And expressions can easily be parsed for example[0]:
No. If you're going to implement an assembler that supports constants and symbols which can be combined into expressions. And expressions can easily be parsed for example[0]:
Your code might be hard to read if you'll not create a parse tree for it.[0] - http://www.mmix.cs.hm.edu/doc/mmixal.pdf