소스 검색

* 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}
       );
       { 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 = [];
 
     type