Sfoglia il codice sorgente

+ use a virtual zero page address register for frame pointer register

Nikolay Nikolov 1 anno fa
parent
commit
eb1c3a82ae
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      compiler/mos6502/cpubase.pas

+ 2 - 2
compiler/mos6502/cpubase.pas

@@ -202,8 +202,8 @@ unit cpubase;
       NR_STACK_POINTER_REG = NR_S;
       RS_STACK_POINTER_REG = RS_S;
       { Frame pointer register }
-      RS_FRAME_POINTER_REG = RS_INVALID;
-      NR_FRAME_POINTER_REG = NR_INVALID;
+      RS_FRAME_POINTER_REG = RS_RZW187;
+      NR_FRAME_POINTER_REG = NR_RZW187;
       { Register for addressing absolute data in a position independant way,
         such as in PIC code. The exact meaning is ABI specific. For
         further information look at GCC source : PIC_OFFSET_TABLE_REGNUM