From 50e67fb3e640a9e6e1260ca984582c9a9b8d5375 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Sat, 14 Jan 2017 14:44:18 -0600 Subject: nqasm: Handle register and register indirect arguments --- nqasm.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'nqasm.h') 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 *); -- cgit v1.2.3