diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2017-01-14 19:07:49 -0600 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2017-01-15 23:19:28 -0600 |
commit | 9acd6ce40559c59ca55899215aa9d7e781b5a8b7 (patch) | |
tree | f787d6c61ac2fd5c16f9219bc652f076ac8fdf39 /mnemonics.h | |
parent | f91057644c1f1813bf1373b5158e6b658210d570 (diff) |
nqdasm: Add disassembler
Diffstat (limited to 'mnemonics.h')
-rw-r--r-- | mnemonics.h | 3 |
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]; }; |