From 0a3bcb57f6260124656d88899dcca520f2023c09 Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 14 Nov 2009 20:05:22 +0100 Subject: fix 32bit asm The new 16bit code was causing wrong 0x66 prefixes in 32bit code. The fix possibly breaks the feature on 16bit asm. --- i386-asm.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'i386-asm.h') diff --git a/i386-asm.h b/i386-asm.h index 034cfad..dfcaac8 100644 --- a/i386-asm.h +++ b/i386-asm.h @@ -74,8 +74,12 @@ ALT(DEF_ASM_OP2(btcw, 0x0fbb, 0, OPC_MODRM | OPC_WL, OPT_REGW, OPT_REGW | OPT_EA ALT(DEF_ASM_OP2(btcw, 0x0fba, 7, OPC_MODRM | OPC_WL, OPT_IM8, OPT_REGW | OPT_EA)) /* prefixes */ + DEF_ASM_OP0(addr16, 0x67) DEF_ASM_OP0(a32, 0x67) + + DEF_ASM_OP0(data16, 0x66) DEF_ASM_OP0(o32, 0x66) + DEF_ASM_OP0(lock, 0xf0) DEF_ASM_OP0(rep, 0xf3) DEF_ASM_OP0(repe, 0xf3) -- cgit v1.3.1