tags:

views:

177

answers:

2

I want to program in NASM assembly language. I have NASM 2.07 and Borland C++ compiler 5.0 (bcc32). My OS is Windows 7. I do not know how to do input and output with NASM in Windows platform. Please can you help me?

+1  A: 

The easiest way is to call the Win32 functions, accessible by linking the kernel32 libs (IIRC).

Joel
+1  A: 

If you are this new to NASM, I would suggest not using Borland C++ 5.0. I have a toolkit on my website here that is a complete tool-chain for win32 programming.

You modify main.asm, and run make.bat to compile and link it. It doesn't get any easier than this. The package comes with documentation and an e-book on NASM programming.

Website is down for now, if you need a copy, reply here and I will e-mail it to you.

Präriewolf