Ver Fonte

+ added sparc code

florian há 21 anos atrás
pai
commit
18ab96362b
1 ficheiros alterados com 5 adições e 1 exclusões
  1. 5 1
      tests/tbs/tb0193.pp

+ 5 - 1
tests/tbs/tb0193.pp

@@ -23,7 +23,11 @@ end ['D0'];
        lwz r3, heapsize@l(r3)
 end;
 {$endif cpupowerpc}
-
+{$ifdef cpusparc}
+       sethi   %hi(heapsize),%i0
+       or      %i0,%lo(heapsize),%i0
+end;
+{$endif cpusparc}
 begin
   writeln(getheapsize);
 end.