diff --git a/src/arch/i386.h b/src/arch/i386.h index c5ba15e..ec918f2 100644 --- a/src/arch/i386.h +++ b/src/arch/i386.h @@ -15,6 +15,7 @@ +#include #include #include diff --git a/src/arch/i386.ins b/src/arch/i386.ins index 1b9090f..16d810e 100644 --- a/src/arch/i386.ins +++ b/src/arch/i386.ins @@ -318,6 +318,8 @@ /* CDQ 0x99 1 */ { "cdq", 0x99, OP1F, AOT_NONE, AOT_NONE, AOT_NONE }, #endif +/* DAS 0x2f 1 */ +{ "das", 0x2f, OP1F, AOT_NONE, AOT_NONE, AOT_NONE }, /* DEC 0x48 +rd 1 */ { "dec", 0x48, OP1F, OP_AX, AOT_NONE, AOT_NONE }, { "dec", 0x49, OP1F, OP_CX, AOT_NONE, AOT_NONE }, diff --git a/test/i386.S b/test/i386.S index 7ebaf4c..440b872 100644 --- a/test/i386.S +++ b/test/i386.S @@ -82,6 +82,7 @@ cmc /* f5 */ cpuid /* 0f a2 */ cdq /* 0x99 */ + das /* DEC */ dec %eax /* 48 */ dec %ecx /* 49 */