Hi forevernoob,
Welcome to the forum.
The problem is a simple one. The code you show is for Linux. I'm not good at 64 bit code and haven't run Windows since win 98 was current, so I can't help you much. The code you want for Windows will include things like:
extern getstdhandle
extern writefile
extern exitprocess
That doesn't include any code, but may help you identify code that will wprk fpr you. I don't know why this keeps happening, but you're not the first one tp have had this exact problem.
I may be able to find an example for Windows... although perhaps not a tutorial..
Best,
Frank
P.S. Well that was easy. Very next topic. Not exactly the code I had in mind, but it should get you started.
Topic: NASM tutorial for Windows (7+), console and windows (Read 19616 times)