#include #include "mnemonics.h" #include "nqasm.h" #include "lexer.h" #include "parser.h" void add_instruction(const struct instruction *i) { const struct mnemonic *m = &mnemonics[i->mnem]; printf("%04x\n", m->bits); } int main(int argc, char **argv) { yyparse(); return 0; }