]> granicus.if.org Git - yasm/commitdiff
Revert previous commit until we can do this the right way (C2 iw is an
authorPeter Johnson <peter@tortall.net>
Fri, 27 Sep 2002 07:49:10 +0000 (07:49 -0000)
committerPeter Johnson <peter@tortall.net>
Fri, 27 Sep 2002 07:49:10 +0000 (07:49 -0000)
invalid opcode, it needs to be C2 or C3 iw).

svn path=/trunk/yasm/; revision=714

modules/arch/x86/x86id.re
src/arch/x86/x86id.re

index 712fb6d7bf7f6bd390a0ec07257d2fd11f42776e..31b6657cabb3903eedd6ccea4f924bf8ed0a3b00 100644 (file)
@@ -2172,7 +2172,7 @@ x86_check_identifier(unsigned long data[4], const char *id)
        /* Control transfer instructions (unconditional) */
        C A L L { RET_INSN(call, 0, CPU_Any); }
        J M P { RET_INSN(jmp, 0, CPU_Any); }
-       R E T { RET_INSN(retnf, 0xC3, CPU_Any); }
+       R E T { RET_INSN(onebyte, 0x00C3, CPU_Any); }
        R E T N { RET_INSN(retnf, 0xC2, CPU_Any); }
        R E T F { RET_INSN(retnf, 0xCA, CPU_Any); }
        E N T E R { RET_INSN(enter, 0, CPU_186); }
index 712fb6d7bf7f6bd390a0ec07257d2fd11f42776e..31b6657cabb3903eedd6ccea4f924bf8ed0a3b00 100644 (file)
@@ -2172,7 +2172,7 @@ x86_check_identifier(unsigned long data[4], const char *id)
        /* Control transfer instructions (unconditional) */
        C A L L { RET_INSN(call, 0, CPU_Any); }
        J M P { RET_INSN(jmp, 0, CPU_Any); }
-       R E T { RET_INSN(retnf, 0xC3, CPU_Any); }
+       R E T { RET_INSN(onebyte, 0x00C3, CPU_Any); }
        R E T N { RET_INSN(retnf, 0xC2, CPU_Any); }
        R E T F { RET_INSN(retnf, 0xCA, CPU_Any); }
        E N T E R { RET_INSN(enter, 0, CPU_186); }