Added the "in" instruction

This commit is contained in:
Pierre Pronchery 2011-04-20 00:35:04 +00:00
parent 50cef996e6
commit ccb676dc53
2 changed files with 13 additions and 0 deletions

View File

@ -589,6 +589,14 @@
{ "fnop", 0xd9d0, OP2F, AOT_NONE, AOT_NONE, AOT_NONE },
/* FWAIT 0x9b 1 */
{ "fwait", 0x9b, OP1F, AOT_NONE, AOT_NONE, AOT_NONE },
/* IN 0xe4 1 al imm8 */
{ "in", 0xe4, OP1F, OP_al, OP_S8, AOT_NONE },
/* IN 0xe5 1 AX imm8 */
{ "in", 0xe5, OP1F, OP_AX, OP_S8, AOT_NONE },
/* IN 0xec 1 al dx */
{ "in", 0xec, OP1F, OP_al, OP_dx, AOT_NONE },
/* IN 0xed 1 AX dx */
{ "in", 0xed, OP1F, OP_AX, OP_dx, AOT_NONE },
/* INC 0x40 +rd 1 */
{ "inc", 0x40, OP1F, OP_AX, AOT_NONE, AOT_NONE },
{ "inc", 0x41, OP1F, OP_CX, AOT_NONE, AOT_NONE },

View File

@ -240,6 +240,11 @@
fnclex
fninit
fwait
/* IN */
in %al, $0x43 /* e4 43 */
in %eax, $0x44 /* e5 44 */
in %al, %dx /* ec */
in %eax, %dx /* ed */
/* INC */
inc %eax /* 40 */
inc %ecx /* 41 */