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?
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?
monkey
asm is not portable like c. You can't write a program in asm that will compile for both linux and windows.
asm is not portable like c. You can't write a program in asm that will compile for both linux and windows.
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.
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.
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.
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.
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?
hi monkey,
here's a few links to other threads on the message board that can be helpful.
http://www.asmcommunity.net/board/index.php?topic=5013
http://www.asmcommunity.net/board/index.php?topic=4932&highlight=console
http://www.asmcommunity.net/board/index.php?topic=3816&highlight=console
http://www.asmcommunity.net/board/index.php?topic=3739&highlight=console
you can find alot more by using the search button at the top.
here's a few links to other threads on the message board that can be helpful.
http://www.asmcommunity.net/board/index.php?topic=5013
http://www.asmcommunity.net/board/index.php?topic=4932&highlight=console
http://www.asmcommunity.net/board/index.php?topic=3816&highlight=console
http://www.asmcommunity.net/board/index.php?topic=3739&highlight=console
you can find alot more by using the search button at the top.