I\'m using nasm to compile the following assembly. However the code crashes in the console under Windows.
C:\\>nasm -f win32 test.asm -o test.o
Although, this same program probably will run in WINE on Linux like a charm. :)
WINE doesn't prevent using Linux system calls from inside Windows PE binaries; the machine instructions run natively and WINE only provides DLL functions.