浏览代码

* fixed handling of code 214

git-svn-id: trunk@3075 -
florian 19 年之前
父节点
当前提交
8ba4fcaad9
共有 1 个文件被更改,包括 7 次插入4 次删除
  1. 7 4
      compiler/x86/aasmcpu.pas

+ 7 - 4
compiler/x86/aasmcpu.pas

@@ -1831,9 +1831,14 @@ implementation
 {$endif x86_64}
 {$endif x86_64}
                 end;
                 end;
               end;
               end;
-            212,
-            214 :
+            212 :
               inc(len);
               inc(len);
+            214 :
+              begin
+                if rex=0 then
+                  inc(len);
+                rex:=rex or $48;
+              end;
             200,
             200,
             201,
             201,
             202,
             202,
@@ -2240,8 +2245,6 @@ implementation
 {$ifndef x86_64}
 {$ifndef x86_64}
                 Message(asmw_e_64bit_not_supported);
                 Message(asmw_e_64bit_not_supported);
 {$endif x86_64}
 {$endif x86_64}
-                bytes[0]:=$48;
-                objdata.writebytes(bytes,1);
               end;
               end;
             219 :
             219 :
               begin
               begin