I was wondering if anyone knows how to pause the console in ASM? like with system("pause");
I was wondering if anyone knows how to pause the console in ASM? like with system("pause");
In school when we programmed for the 68k we used system calls something like
Donīt know if it helps ...Code://function similar to getch in c trap #15 dc.w 3
I assume you mean 16 bit assembly for DOS?
Will wait until you press a key and then continue.Code:mov ah, 01 int 21h
> I assume you mean 16 bit assembly for DOS?
Except his apparent compilers can't generate 16 bit code.
The point seems moot, since I doubt there's anything which could be done in ASM which could not be done with the win32 console API.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Yeah which is why I assumed.Originally Posted by Salem