summaryrefslogtreecommitdiff
path: root/nqasm.h
blob: 232c41b8e59cf81a7b9463c84748dc7eec044ccd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef NQ_NQASM_H
#define NQ_NQASM_H

struct argument {
	union {
		int value;
	};
};

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