Still adding instructions to the i386 architecture
This commit is contained in:
parent
42844556a3
commit
8fa2c99d09
@ -250,7 +250,7 @@
|
||||
{ "bts", 0x0fba, OP2F, OP_RMW_RW+5,OP_S8, AOT_NONE },
|
||||
/* CALL */
|
||||
/* FIXME implement */
|
||||
#if defined(ARCH_i386_real) /* i386 in real mode */
|
||||
#if defined(ARCH_i386_real)
|
||||
/* CBW 0x98 1 */
|
||||
{ "cbw", 0x98, OP1F, AOT_NONE, AOT_NONE, AOT_NONE },
|
||||
#else
|
||||
@ -267,5 +267,18 @@
|
||||
{ "clts", 0x0f06, OP2F, AOT_NONE, AOT_NONE, AOT_NONE },
|
||||
/* CMC 0xf5 1 */
|
||||
{ "cmc", 0xf5, OP1F, AOT_NONE, AOT_NONE, AOT_NONE },
|
||||
/* CMOVcc */
|
||||
/* FIXME implement */
|
||||
/* CMP */
|
||||
/* FIXME implement */
|
||||
/* CPUID 0x0fa2 2 */
|
||||
{ "cpuid", 0x0fa2, OP2F, AOT_NONE, AOT_NONE, AOT_NONE },
|
||||
#if defined(ARCH_i386_real)
|
||||
/* CWD 0x99 1 */
|
||||
{ "cwd", 0x99, OP1F, AOT_NONE, AOT_NONE, AOT_NONE },
|
||||
#else
|
||||
/* CDQ 0x99 1 */
|
||||
{ "cdq", 0x99, OP1F, AOT_NONE, AOT_NONE, AOT_NONE },
|
||||
#endif
|
||||
/* NOP */
|
||||
{ "nop", 0x90, OP1F, AOT_NONE, AOT_NONE, AOT_NONE },
|
||||
|
11
test/i386.S
11
test/i386.S
@ -74,17 +74,12 @@
|
||||
bts [%eax], %ecx /* 0f ab 08 */
|
||||
bts %eax, $0x42 /* 0f ba e8 42 */
|
||||
bts [%eax], $0x42 /* 0f ba 28 42 */
|
||||
/* CWDE */
|
||||
cwde /* 98 */
|
||||
/* CLC */
|
||||
clc /* f8 */
|
||||
/* CLD */
|
||||
cld /* fc */
|
||||
/* CLI */
|
||||
cli /* fa */
|
||||
/* CLTS */
|
||||
clts /* 0f 06 */
|
||||
/* CMC */
|
||||
cmc /* f5 */
|
||||
/* NOP */
|
||||
nop
|
||||
cpuid /* 0f a2 */
|
||||
cdq /* 0x99 */
|
||||
nop /* 0x90 */
|
||||
|
Loading…
Reference in New Issue
Block a user