I program using masm to make 32 bit programs.

I need help converting some C code to assembly.

Could someone help me?


Writing a 32-bit program in assembly language is a very difficult task. Just converting the c code to assembly is not enough because there is a lot of work that the program does before main() is ever called, such as switching the computer from real to protected mode, building the environment and command line argument arrays, and initializing global data. So you need to learn how to do all that before you can even think of converting the c code to assembly.