system.pp 289 B

123456789101112131415161718192021222324
  1. unit system;
  2. {$ASMMODE intel}
  3. interface
  4. type
  5. HRESULT = LongInt;
  6. implementation
  7. procedure fpc_Initialize_Units;[public,alias:'FPC_INITIALIZEUNITS']; compilerproc;
  8. begin
  9. end;
  10. procedure do_exit;[Public,Alias:'FPC_DO_EXIT'];
  11. begin
  12. asm
  13. mov ax, 4c00h
  14. int 21h
  15. end;
  16. end;
  17. end.