How can I make a masm project in Visual Studio? I remember doing this in class a while back, but I’ve since forgotten, and Google is only getting me inline assembly.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Start with the Win32 Console mode project template. Delete the .cpp files. Right-click the project in the Solution Explorer window, Custom Build Rules, check Microsoft Macro Assembler. In VS2015 use Build Dependencies, Build Customizations, check masm.
Add a new .asm file by right-clicking the Source Files node, Add, Code, C++ File, be sure to use the .asm extension. In the property window change the File Type to C/C++ Code so it gets passed to the linker.
Linker settings, Manifest file, Generate = No. With these settings I could build and debug this sample .asm file: