浏览代码

+ ait_tempalloc asm output for sdcc-sdasz80

git-svn-id: branches/z80@44523 -
nickysn 5 年之前
父节点
当前提交
574fea7e63
共有 1 个文件被更改,包括 5 次插入0 次删除
  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)+' '+
                     regallocstr[tai_regalloc(hp).ratype]);
               end;
+            ait_tempalloc :
+              begin
+                if (cs_asm_tempalloc in current_settings.globalswitches) then
+                  WriteTempalloc(tai_tempalloc(hp));
+              end;
             ait_section :
               begin
                 if tai_section(hp).sectype<>sec_none then