Browse Source

* corrected volatile registers for avr

git-svn-id: branches/avr@17039 -
florian 14 years ago
parent
commit
dc0638c4d2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/avr/cpubase.pas

+ 1 - 1
compiler/avr/cpubase.pas

@@ -121,7 +121,7 @@ unit cpubase;
         {$i ravrdwa.inc}
         {$i ravrdwa.inc}
       );
       );
       { registers which may be destroyed by calls }
       { 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 = [];
       VOLATILE_FPUREGISTERS = [];
 
 
     type
     type