From 9acd6ce40559c59ca55899215aa9d7e781b5a8b7 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Sat, 14 Jan 2017 19:07:49 -0600 Subject: nqdasm: Add disassembler --- mnemonics.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mnemonics.h') 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]; }; -- cgit v1.2.3