summaryrefslogtreecommitdiff
path: root/nqasm.h
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2017-01-18 19:20:20 -0600
committerBobby Bingham <koorogi@koorogi.info>2017-01-18 19:20:20 -0600
commit1e0d0202e614f398f491624c84ae9a8309fa2f96 (patch)
tree1000df0a8eb39453ac48a14809dd250230f67e6c /nqasm.h
parent2e0de3cc53d031ac2fa48eddc9a472b0e4c34a45 (diff)
nqasm: allow "." to refer to current pc in immediate operand
Diffstat (limited to 'nqasm.h')
-rw-r--r--nqasm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nqasm.h b/nqasm.h
index f2e036d..0bc51f7 100644
--- a/nqasm.h
+++ b/nqasm.h
@@ -3,6 +3,7 @@
#define ARG_INTEGER 0
#define ARG_LABEL 1
+#define ARG_PC 2
struct argument {
int type;