summaryrefslogtreecommitdiff
path: root/mnemonics.h
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2017-01-14 19:07:49 -0600
committerBobby Bingham <koorogi@koorogi.info>2017-01-15 23:19:28 -0600
commit9acd6ce40559c59ca55899215aa9d7e781b5a8b7 (patch)
treef787d6c61ac2fd5c16f9219bc652f076ac8fdf39 /mnemonics.h
parentf91057644c1f1813bf1373b5158e6b658210d570 (diff)
nqdasm: Add disassembler
Diffstat (limited to 'mnemonics.h')
-rw-r--r--mnemonics.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mnemonics.h b/mnemonics.h
index 969926e..9ab6e8c 100644
--- a/mnemonics.h
+++ b/mnemonics.h
@@ -45,6 +45,8 @@ enum {
MNEM_JMP,
MNEM_ADDPC,
MNEM_NOP,
+
+ MNEM_LAST
};
struct operand {
@@ -55,6 +57,7 @@ struct operand {
struct mnemonic {
const char *mnem;
uint16_t bits;
+ uint16_t mask;
struct operand operands[3];
};