Browse Source

+ added sparc code

florian 21 years ago
parent
commit
18ab96362b
1 changed files with 5 additions and 1 deletions
  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.