I want to learn assembly, but not using windows gui api. (like a c program without winmain)

I could be wrong, but I thought Iczelion's tutorials were all about how to use winapi. I don't want this, because then I wouldn't be able to use asm on linux.

Know any tutorials or where I should start?
Posted on 2002-06-17 21:15:16 by monkey
here is a resource for assembly language in linux.

http://linuxassembly.org/
Posted on 2002-06-17 21:23:00 by smurf
monkey

asm is not portable like c. You can't write a program in asm that will compile for both linux and windows.
Posted on 2002-06-17 21:28:21 by Kudos
asm is not portable like c. You can't write a program in asm that will compile for both linux and windows.
The exception to this is if the linux and Windoze kernels are both running on the same family of processor, and you use only POSIX functions. Of course, there is still and exception to the exception i just mentioned, and that is that Windoze does not implement ALL the POSIX functions.

Posted on 2002-06-17 21:48:22 by sluggy
sluggy

Your correct conditional compiling would allow for the same source code to be compiled on both OS but if you rely on Windows apis for the windows code then then you may as well just write to seperate versions IMHO.
Posted on 2002-06-17 21:53:21 by Kudos
Kudos,
yes, personally i would write separately for each platform too. Possibly the only code that could be directly compiled on both platforms would be a communication type app that uses sockets and no GUI.
Posted on 2002-06-17 22:03:34 by sluggy
I know asm isn't portable. I just meant I wan't to program some console programs. Do you know any resources for this? Stuff like stdin/stdout, file i/o?
Posted on 2002-06-17 22:36:35 by monkey
Posted on 2002-06-17 23:04:45 by smurf