Merely translating assembly code is easy. (Or you may reply that it does, but it's such a simple "parser" of binary data that it wouldn't make sense to use a classic parser for this.) For an assembler, you'll need a parser, and then its complexity will largely depend on what you really want to support in your assembler. Of course a disassembler alone (which was the original topic) doesn't require any kind of parser. But, in any case, it also depends on what exactly you want to implement. ![]() Now if OTOH, you master those tools, and are actually less inclined to write a parser yourself, then why not. ![]() ![]() then it's not just overkill, but also a huge waste of time IMHO. Unless you actually want to take such a project as an opportunity to learn lex/yacc/bison.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |