Hero
July 30th, 2004, 02:04
Hi All
I'm trying to write a piece of Assembly code in Delphi.I know I should
do this by asm keyword.I want to return Flags value to a
variable.I use the following code in the start of my Main project file:
var
Flags
Word;
begin
asm
Pushf
Pop Flags
end;
......
end.
But this code make nothing for me and only hide caption bar and Border
of Main form.
why?How I can Do this?
sincerely yours
I'm trying to write a piece of Assembly code in Delphi.I know I should
do this by asm keyword.I want to return Flags value to a
variable.I use the following code in the start of my Main project file:
var
Flags

begin
asm
Pushf
Pop Flags
end;
......
end.
But this code make nothing for me and only hide caption bar and Border
of Main form.
why?How I can Do this?
sincerely yours