How to Install and Configure Visual Studio for Assembly MASM (Irvine32.lib)

Soban Malik
3 min readMar 2, 2024

--

Download the visual studio 2022 from the website (Link):

https://visualstudio.microsoft.com/downloads/

Download the library for assembly language (Irvine) from GitHub:

https://github.com/meixinchoy/Irvine-library

Configuring:

Open the Visual Studio and create the new project :

After selecting the Empty Project and clicking next then Select the path and click to create :

Deleting the following file:

Go to project2 (whatever you named your project) and left-click to add the new item(project2 → Add →New item → C++File(.cpp):

Then Change the file extension .cpp to .asm and click to add :

Again click on the project and check the following dependencies:

Now go to the properties and follow the steps:

Before writing a path u must verify the path and check that there is a only single folder of Irvine (Not Irvine →Irvine):

Write the path of the Irvine lib(Properties →linker →general →Addational library directories →apply):

Input → additional dependencies →(Irvine32.lib) →apply:

Edit it to add additional libraries:

Copy all the libraries from the Evaluated value :

and paste it and click ok:

Insert the ; (semicolon) and click to apply:

Now go to the source.asm → properties and select the Microsoft macro assembler:

Microsoft Marco Assembler →inculde paths →C:\Irvine :

Set up by *86:

After configuring it then Run the program :

Conclusion:

  1. Download and install Visual Studio.
  2. Add Irvine32.lib to the project’s linker input settings.
  3. Set the MASM assembly file properties to use MASM as the assembler.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Soban Malik
Soban Malik

No responses yet

Write a response