Преглед на файлове

* mark the 8-bit versions of the registers as volatile when calling procedures/functions

git-svn-id: branches/z80@44628 -
nickysn преди 5 години
родител
ревизия
472ac716b7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      compiler/z80/cpubase.pas

+ 1 - 1
compiler/z80/cpubase.pas

@@ -106,7 +106,7 @@ unit cpubase;
         {$i rz80dwa.inc}
         {$i rz80dwa.inc}
       );
       );
       { registers which may be destroyed by calls }
       { registers which may be destroyed by calls }
-      VOLATILE_INTREGISTERS = [RS_A,RS_BC,RS_DE,RS_HL];
+      VOLATILE_INTREGISTERS = [RS_A,RS_B,RS_C,RS_D,RS_E,RS_H,RS_L];
       VOLATILE_FPUREGISTERS = [];
       VOLATILE_FPUREGISTERS = [];
 
 
     type
     type