summaryrefslogtreecommitdiff
path: root/mnemonics.h
diff options
context:
space:
mode:
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];
};