Autor Beitrag
Lupin003
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18



BeitragVerfasst: Fr 19.12.03 20:17 
Warum funktioniert diese simple Funktion nicht?

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
function somethin():byte;
begin
 asm
  xor eax, eax
  mov al, 200
 end;
end;


schaut eigentlich ganz einfach aus, oder? Wenn man sich die CPU ansicht anschaut scheint delphi da immer noch ein "mov eax, edx" ein zu schieben - warum?


Moderiert von user profile icontommie-lie: Delphi-Tags hinzugefügt

_________________
n00b alarm ;P
AndyB
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1173
Erhaltene Danke: 14


RAD Studio XE2
BeitragVerfasst: Fr 19.12.03 20:42 
Lass mal das umschließende "begin - end" weg.

_________________
Ist Zeit wirklich Geld?