
The Visual Studio will create the folder with the same project name automatically. Select “Place solution and project in the same directory” to prevent two nested folders with the same name. Set the save location to any preferred folder (I have precreated the folder C:\VSProj). So that, in the later step, we can save this project as a project template for further use. I’m not sure whether selecting other languages would work or not for assembly project. When prompting to select an installed language, I choose C++.

The Community 2019 edition is free of charge. Visual Studio 2019 could be downloaded from the site:

In these samples, I also demonstrate how to call the Win32 “MessageBox” API from the Assembly codes. The sample projects of MASM (both 64-bit Assembly and 32-bit Assembly) can be downloaded from the Github links below: The Sample Projects (for quick reference) I had compiled the knowledge from many sources and do many trial and error.

In this article, I will describe the steps required to set up an assembly project on the Visual Studio 2019. However there is no explicit assembly project template to choose from. The Microsoft Visual Studio come with the built-in Macro Assembler and provide many debugging capabilities (Register & Memory View, Breakpoints and Step over).
