Explorar el Código

* corrected volatile registers for avr

git-svn-id: branches/avr@17039 -
florian hace 14 años
padre
commit
dc0638c4d2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      compiler/avr/cpubase.pas

+ 1 - 1
compiler/avr/cpubase.pas

@@ -121,7 +121,7 @@ unit cpubase;
         {$i ravrdwa.inc}
       );
       { registers which may be destroyed by calls }
-      VOLATILE_INTREGISTERS = [RS_R18..RS_R27,RS_R30..RS_R31];
+      VOLATILE_INTREGISTERS = [RS_R0,RS_R1,RS_R8..RS_R27,RS_R30,RS_R31];
       VOLATILE_FPUREGISTERS = [];
 
     type