2
0
Эх сурвалжийг харах

* fixed handling of code 214

git-svn-id: trunk@3075 -
florian 19 жил өмнө
parent
commit
8ba4fcaad9

+ 7 - 4
compiler/x86/aasmcpu.pas

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