bug0227.pp 175 B

1234567891011
  1. function getheapsize:longint;assembler;
  2. var
  3. heapsize : longint;external name 'HEAPSIZE';
  4. asm
  5. movl HEAPSIZE,%eax
  6. end ['EAX'];
  7. begin
  8. writeln(getheapsize);
  9. end.