diff options
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r-- | opcodes/i386-opc.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index a2816a1..4c38e9e 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -437,6 +437,11 @@ enum FWait, /* quick test for string instructions */ IsString, + /* RegMem is for instructions with a modrm byte where the register + destination operand should be encoded in the mod and regmem fields. + Normally, it will be encoded in the reg field. We add a RegMem + flag to indicate that it should be encoded in the regmem field. */ + RegMem, /* quick test if branch instruction is MPX supported */ BNDPrefixOk, /* quick test if NOTRACK prefix is supported */ @@ -649,6 +654,7 @@ typedef struct i386_opcode_modifier unsigned int no_ldsuf:1; unsigned int fwait:1; unsigned int isstring:1; + unsigned int regmem:1; unsigned int bndprefixok:1; unsigned int notrackprefixok:1; unsigned int islockable:1; @@ -751,12 +757,6 @@ enum JumpAbsolute, /* String insn operand with fixed es segment */ EsSeg, - /* RegMem is for instructions with a modrm byte where the register - destination operand should be encoded in the mod and regmem fields. - Normally, it will be encoded in the reg field. We add a RegMem - flag to the destination register operand to indicate that it should - be encoded in the regmem field. */ - RegMem, /* Memory. */ Mem, /* BYTE size. */ @@ -828,7 +828,6 @@ typedef union i386_operand_type unsigned int shiftcount:1; unsigned int jumpabsolute:1; unsigned int esseg:1; - unsigned int regmem:1; unsigned int byte:1; unsigned int word:1; unsigned int dword:1; |