diff options
Diffstat (limited to 'arch/dummy')
| -rw-r--r-- | arch/dummy/arch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/dummy/arch.c b/arch/dummy/arch.c index 20fc49d..278754f 100644 --- a/arch/dummy/arch.c +++ b/arch/dummy/arch.c @@ -124,8 +124,8 @@ void arch_validate_proc(const struct Core *core, uint64_t pix) { wchar_t arch_symbol(uint8_t inst) { switch (inst) { -#define INST(index, label, mnemonic, symbol) case index: return symbol; - INST_SET +#define INST(core, pref, index, label, mnemonic, symbol) case index: return symbol; + INST_SET(core, pref) #undef INST } @@ -135,8 +135,8 @@ wchar_t arch_symbol(uint8_t inst) { const char *arch_mnemonic(uint8_t inst) { switch (inst) { -#define INST(index, label, mnemonic, symbol) case index: return mnemonic; - INST_SET +#define INST(core, pref, index, label, mnemonic, symbol) case index: return mnemonic; + INST_SET(core, pref) #undef INST } |
