summaryrefslogtreecommitdiff
path: root/nqasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'nqasm.h')
-rw-r--r--nqasm.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/nqasm.h b/nqasm.h
index 3712849..d25911b 100644
--- a/nqasm.h
+++ b/nqasm.h
@@ -1,8 +1,19 @@
#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 *);