diff options
| author | grischka <grischka> | 2009-11-14 20:05:22 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2009-11-14 20:05:22 +0100 |
| commit | 0a3bcb57f6260124656d88899dcca520f2023c09 (patch) | |
| tree | 3ed8499c2c3516f5ee9c0f8ebb3a49a9fdb4590a /i386-asm.h | |
| parent | c15e37edad604bdaa6fe7b21d031ccea162b2bad (diff) | |
| download | tinycc-0a3bcb57f6260124656d88899dcca520f2023c09.tar.gz tinycc-0a3bcb57f6260124656d88899dcca520f2023c09.tar.bz2 | |
fix 32bit asm
The new 16bit code was causing wrong 0x66 prefixes
in 32bit code.
The fix possibly breaks the feature on 16bit asm.
Diffstat (limited to 'i386-asm.h')
| -rw-r--r-- | i386-asm.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |
