I would like to do 3 Loops and each loop gives a Message , but without using IF .. Then
i did it in this way * Is it correct and Safe ... ? *
// in
ASM
Delphi-Quellcode:
var
Str:
string;
begin
Str := '
Just to popup a message without using IF Then';
try
Asm
PushAd
Xor al,al
@Loop:Cmp al,3
//xLoop //---> 3 loops
JE @ExitpRoc
PushAd
Push 0
Push 0
Push Str
Push 0
Call MessageBoxA
PopAd
Inc al
Jmp @Loop
@ExitpRoc:PopAd
End;
except
Exit;
end;
end;