Updating the Irvine32 Library

Last Update: 6/1/2006

The Irvine32 library source code is designed to be used along with Assembly Language for Intel-Based Computers, 5/e, by Kip R. Irvine.

You may modify the source code files named Irvine32.asm and floatio.asm under the following conditions:

  • You do not remove Irvine's name and credits from the source code files.
  • The files are for private use only, and may not be copied, used, or included in any other published computer programming textbook.

Preparation Steps:

Step 1: Use Visual Studio 2005 or Visual C++ 2005 Express to open the Irvine32_Library.sln file, located in the Irvine32_Libary folder.

Step 2: Add an item named Assemble 32-bit to the External Tools section of the Tools menu. The entry under Command is the path to the ML.EXE file found in the vc\bin directory of your Visual Studio 2005 installation:

Step 3: Add an item named Update Irvine32 Library to the External Tools section of the Tools menu. The entry under Command is the path to the LIB.EXE file found in the vc\bin directory of your Visual Studio 2005 installation:

 

Modify the Source Code

Make a backup of the source file you plan to modify, in case you want to undo the changes!

Open the Irvine32.asm file or the floatio.asm file. Modify it as you wish, and save the file.

Build the Source Code

Make the modified .asm file the active window by selecting its title bar with the mouse.

Select the Assemble 32-bit command from the Tools menu. A command window should pop up, indicating the result of assembling the file. If syntax errors appear, fix the errors in your source and assemble again.The following shows a typical successful assembly:

Update the Irvine32 Library

Select the Update Irvine32 Library command from the Tools menu.Most likely, there will be no errors during this step. Here is the sample output:

Copy the update Irvine32.lib file to the c:\Irvine directory. (We assume you did not change the default location.)

If you have modified any of the include files, such as Irvine32.inc or SmallWin.inc, copy those to the c:\Irvine folder also.

You're all done!