Hi,
I can write the code as specified in your assignment. I normally use MASM32 and Visual Studio C++ 2010 for development. It can be either a VS project or a makefile.
Also, I believe there's certain mismatch in the assignment specification. It requests to use Irvine32 library for input/output while the assembly code is not supposed to have any input/output operations - this must be done in the C/C++ code. Though it's possible to use the Irvine library from either C or C++ code but it would be weird requirement. It's probably a copypaste leftover from other assignment.
Thank you,
Serge