Setting up Visual Studio for Assembly MASM
What is MASM ?
The Microsoft Macro Assembler (MASM) is an x86 assembler that uses the Intel syntax for MS-DOS and Microsoft Windows.
Let’s start
1. Create project
Create a new project -> Select Empty Project(C++)
2. Make the directory clean (Optional)
Delete Header Files And Source Files directory.
3. Create MASMTest.asm
Select project and right click -> Add -> New Item
4. Select Build Customization
Select project and right click -> Build Dependencies -> Build Customiztions
5. Set Item Type
Select MASMTest.asm and right click -> Properties
Select Microsoft Macro Assembler
6. Write test code
1 |
|
7. Run and Debug
Setting up Visual Studio for Assembly MASM
https://www.hardyhu.cn/2021/12/30/Setting-up-Visual-Studio-for-Assembly-MASM/