diff options
Diffstat (limited to 'src/arch/x86/processor.c')
-rw-r--r-- | src/arch/x86/processor.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/x86/processor.c b/src/arch/x86/processor.c index 3ca14b9..4326294 100644 --- a/src/arch/x86/processor.c +++ b/src/arch/x86/processor.c @@ -253,6 +253,9 @@ void x86_register_instructions(asm_x86_processor *proc) register_opcode(proc->opcodes[X86_OP_NOP], 0x00, 0x90, "nop", read_instr_nop); + register_opcode(proc->opcodes[X86_OP_MOV_MOFFS_TO_AL], 0x66, 0xa0, "mov", read_instr_mov_moffs8_to_al); + register_opcode(proc->opcodes[X86_OP_MOV_MOFFS_TO_E_AX], 0x66, 0xa1, "mov", read_instr_mov_moffs1632_to_e_ax); + register_opcode(proc->opcodes[X86_OP_TEST_AL], 0x00, 0xa8, "test", read_instr_test_al); register_opcode(proc->opcodes[X86_OP_TEST_E_AX], 0x66, 0xa9, "test", read_instr_test_e_ax); @@ -387,6 +390,9 @@ void x86_print_instruction(const asm_x86_processor *proc, const asm_x86_instr *i break; case AOT_MEM: break; + case AOT_MOFFS: + x86_print_moffs_operand(ASM_INSTRUCTION(instr)->operands[i], opbuffer[i], 64, syntax); + break; } /* Impression globale finale */ |