diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2017-01-18 18:55:22 -0600 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2017-01-18 18:55:22 -0600 |
commit | 619c5cc4ab4bd94f9b270a9868bb5f08ffd76acb (patch) | |
tree | 5d58bf4f4cc66621f5327edb30ba593c72b4c5da /nqasm.h | |
parent | 17d11b2e0af9cbbe9e2c02c4d1a3d2cb4509701e (diff) |
nqasm: allow specifying labels for operands
Diffstat (limited to 'nqasm.h')
-rw-r--r-- | nqasm.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,9 +1,14 @@ #ifndef NQ_NQASM_H #define NQ_NQASM_H +#define ARG_INTEGER 0 +#define ARG_LABEL 1 + struct argument { + int type; union { - int value; + long value; + char *label; }; }; |