tb0072.pp 570 B

123456789101112131415161718192021222324252627282930313233343536
  1. { Old file: tbs0079.pp }
  2. { Shows problems with stackframe with assembler keyword OK 0.99.1 (CEC) }
  3. { This test does not really
  4. give a good result
  5. because you need to look into
  6. the assembler to see if there is an error or not :( PM }
  7. {$ifdef CPUI386}
  8. {$asmmode intel}
  9. {$endif CPUI386}
  10. procedure nothing(x,y: longint);assembler;
  11. {$ifdef CPUI386}
  12. asm
  13. mov eax,x
  14. mov ebx,y
  15. end;
  16. {$endif CPUI386}
  17. {$ifdef CPU68K}
  18. asm
  19. move.l x,d0
  20. move.l y,d1
  21. end;
  22. {$endif CPU68K}
  23. {procedure nothing(x,y: longint);
  24. begin
  25. asm
  26. mov eax,x
  27. mov ebx,y
  28. end;
  29. end; }
  30. Begin
  31. end.