From 15a8cc45151580c2c19b4e5e5b392b4ff73e3c56 Mon Sep 17 00:00:00 2001 From: Aleksandar Andrejevic Date: Sat, 5 Oct 2013 20:12:08 +0000 Subject: [PATCH] [SOFT386] Set the opcode handler for the INS and OUTS instructions to be Soft386OpcodeIns and Soft386OpcodeOuts, respectively. svn path=/branches/ntvdm/; revision=60543 --- lib/soft386/opcodes.c | 8 ++++---- lib/soft386/opcodes.h | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/soft386/opcodes.c b/lib/soft386/opcodes.c index 9588ad4b4f8..bd66a07eb58 100644 --- a/lib/soft386/opcodes.c +++ b/lib/soft386/opcodes.c @@ -147,10 +147,10 @@ Soft386OpcodeHandlers[SOFT386_NUM_OPCODE_HANDLERS] = Soft386OpcodeImulModrmImm, Soft386OpcodePushByteImm, Soft386OpcodeImulModrmImm, - NULL, // TODO: OPCODE 0x6C NOT SUPPORTED - NULL, // TODO: OPCODE 0x6D NOT SUPPORTED - NULL, // TODO: OPCODE 0x6E NOT SUPPORTED - NULL, // TODO: OPCODE 0x6F NOT SUPPORTED + Soft386OpcodeIns, + Soft386OpcodeIns, + Soft386OpcodeOuts, + Soft386OpcodeOuts, Soft386OpcodeShortConditionalJmp, Soft386OpcodeShortConditionalJmp, Soft386OpcodeShortConditionalJmp, diff --git a/lib/soft386/opcodes.h b/lib/soft386/opcodes.h index cdbf5d3a5c4..a889df78190 100644 --- a/lib/soft386/opcodes.h +++ b/lib/soft386/opcodes.h @@ -153,5 +153,7 @@ SOFT386_OPCODE_HANDLER(Soft386OpcodeCmps); SOFT386_OPCODE_HANDLER(Soft386OpcodeStos); SOFT386_OPCODE_HANDLER(Soft386OpcodeLods); SOFT386_OPCODE_HANDLER(Soft386OpcodeScas); +SOFT386_OPCODE_HANDLER(Soft386OpcodeIns); +SOFT386_OPCODE_HANDLER(Soft386OpcodeOuts); #endif // _OPCODES_H_