Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#11

Re: Compiler ändert asm Code ?

  Alt 14. Sep 2009, 13:45
Hi,

Zitat:
wird daraus ...

Delphi-Quellcode:
003A5C60 G> $ 55 push ebp
003A5C61 . 8BEC mov ebp, esp
003A5C63 . 89FF mov edi, edi
003A5C65 . FF25 70FF3A00 jmp near dword ptr [3AFF70]
Ich weiß nicht warum das noch niemand so direkt gesagt hat. Aber der Compiler ändert gar nichts

Das

Delphi-Quellcode:
push ebp
mov ebp, esp
gehört zu der stdcall Aufrufkonvention und wird vom compiler automatisch erzeugt. Also das hat schon alles so seine Richtigkeit
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat