Browse Source

+ ait_tempalloc asm output for sdcc-sdasz80

git-svn-id: branches/z80@44523 -
nickysn 5 years ago
parent
commit
574fea7e63
1 changed files with 5 additions and 0 deletions
  1. 5 0
      compiler/z80/agsdasz80.pas

+ 5 - 0
compiler/z80/agsdasz80.pas

@@ -534,6 +534,11 @@ unit agsdasz80;
                   writer.AsmWriteLn(#9#9+asminfo^.comment+'Register '+std_regname(tai_regalloc(hp).reg)+' '+
                   writer.AsmWriteLn(#9#9+asminfo^.comment+'Register '+std_regname(tai_regalloc(hp).reg)+' '+
                     regallocstr[tai_regalloc(hp).ratype]);
                     regallocstr[tai_regalloc(hp).ratype]);
               end;
               end;
+            ait_tempalloc :
+              begin
+                if (cs_asm_tempalloc in current_settings.globalswitches) then
+                  WriteTempalloc(tai_tempalloc(hp));
+              end;
             ait_section :
             ait_section :
               begin
               begin
                 if tai_section(hp).sectype<>sec_none then
                 if tai_section(hp).sectype<>sec_none then