瀏覽代碼

* fixed encoding of jcxz

git-svn-id: trunk@6398 -
Jonas Maebe 18 年之前
父節點
當前提交
9813a8708c
共有 4 個文件被更改,包括 6 次插入6 次删除
  1. 2 2
      compiler/i386/i386tab.inc
  2. 1 1
      compiler/x86/aasmcpu.pas
  3. 2 2
      compiler/x86/x86ins.dat
  4. 1 1
      compiler/x86_64/x8664tab.inc

+ 2 - 2
compiler/i386/i386tab.inc

@@ -2517,14 +2517,14 @@
     opcode  : A_JCXZ;
     ops     : 1;
     optypes : (ot_immediate,ot_none,ot_none);
-    code    : #212#1#227#40;
+    code    : #200#1#227#40;
     flags   : if_8086
   ),
   (
     opcode  : A_JECXZ;
     ops     : 1;
     optypes : (ot_immediate,ot_none,ot_none);
-    code    : #213#1#227#40;
+    code    : #201#1#227#40;
     flags   : if_386
   ),
   (

+ 1 - 1
compiler/x86/aasmcpu.pas

@@ -1749,6 +1749,7 @@ implementation
 {$endif x86_64}
                 end;
               end;
+            200,
             212 :
               inc(len);
             214 :
@@ -1759,7 +1760,6 @@ implementation
                 rex:=rex or $48;
 {$endif x86_64}
               end;
-            200,
             201,
             202,
             211,

+ 2 - 2
compiler/x86/x86ins.dat

@@ -855,11 +855,11 @@ void                  \324\1\xCF                      8086
 
 [JCXZ]
 (Ch_RECX, Ch_None, Ch_None)
-imm                   \324\1\xE3\50                   8086
+imm                   \310\1\xE3\50                   8086
 
 [JECXZ]
 (Ch_RECX, Ch_None, Ch_None)
-imm                   \325\1\xE3\50                   386
+imm                   \311\1\xE3\50                   386
 
 [JMP,jmpX]
 (Ch_ROp1, Ch_None, Ch_None)

+ 1 - 1
compiler/x86_64/x8664tab.inc

@@ -2503,7 +2503,7 @@
     opcode  : A_JCXZ;
     ops     : 1;
     optypes : (ot_immediate,ot_none,ot_none);
-    code    : #212#1#227#40;
+    code    : #200#1#227#40;
     flags   : if_8086
   ),
   (