浏览代码

* Xtense: prettify assembler output

git-svn-id: trunk@44352 -
florian 5 年之前
父节点
当前提交
2a8f2f3662
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      compiler/xtensa/agcpugas.pas

+ 4 - 1
compiler/xtensa/agcpugas.pas

@@ -151,7 +151,10 @@ unit agcpugas;
         s:=s+cond2str[taicpu(hp).condition];
       if taicpu(hp).ops<>0 then
         begin
-          sep:=#9;
+          if length(s)<5 then
+            sep:=#9#9
+          else
+            sep:=#9;
           for i:=0 to taicpu(hp).ops-1 do
             begin
                s:=s+sep+getopstr(taicpu(hp).oper[i]^);