diff --git a/tests/tbs/tb0193.pp b/tests/tbs/tb0193.pp index ba42677a0c..e2c312383f 100644 --- a/tests/tbs/tb0193.pp +++ b/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.