#ifndef NQ_NQASM_H #define NQ_NQASM_H #define ARG_INTEGER 0 #define ARG_LABEL 1 struct argument { int type; union { long value; char *label; }; }; struct arguments { struct argument args[3]; }; struct instruction { int mnem; struct arguments args; }; void add_instruction(const struct instruction *); void add_label(const char *); #endif