Browse Source

-rm BX from i8086's saved_stadard_registers array, as it interferes with returning int64 in ax:bx:cx:dx and it shouldn't be saved anyway

git-svn-id: trunk@24501 -
nickysn 12 years ago
parent
commit
d433408a7d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/i8086/cpubase.inc

+ 1 - 1
compiler/i8086/cpubase.inc

@@ -155,7 +155,7 @@
          This value can be deduced from the CALLED_USED_REGISTERS array in the
          GCC source.
       }
-      saved_standard_registers : array[0..3] of tsuperregister = (RS_BX,RS_SI,RS_DI,RS_BP);
+      saved_standard_registers : array[0..2] of tsuperregister = (RS_SI,RS_DI,RS_BP);
 
       saved_mm_registers : array[0..0] of tsuperregister = (RS_INVALID);
       {# Required parameter alignment when calling a routine declared as