问题
The question is pretty simple, yet I can't seem to find how to do it: how do I write to StdOut in Windows/FASM?
There does not seem to be any documentation online. Ideas?
回答1:
There are a few options...
1) Use the WinAPI. This is either WriteConsole OR by using CreateFile with the filename as CON and then using WriteFile
2) Using msvcrt, and printf as you would in a c program.
来源:https://stackoverflow.com/questions/7263097/how-to-write-to-stdout-in-windows-and-fasm