Hi guys,
I am trying set cursor postion in the screen and print a value.But this loop gives me a unlimited loop..can anyone help me to figure out whats wrng.?
mov ecx,5
L1:
mov XYPos.X, eax
mov XYPos.Y, ebx
INVOKE GetStdHandle, STD_OUTPUT_HANDLE
mov consoleHandle, eax
INVOKE SetConsoleCursorPosition, ConsoleHandle, XYPos
mov eax, 3
Call WriteDec
inc ebx
add edx, 3
loop l1