Download Install MASM32 Assembly environment
Official Download Station: MASM32
Environment variable Configuration
Configure the masmhome variable with a value of Masm32 for the installation directory:
Configuring the include and Lib variables
include: %masmhome%\include;
Lib: %masmhome%\lib;
Configure the Path variable, followed by the following statement after the original variable, note that if there is no '; ' Be sure to add it manually, and then add the statement.
path Plus statement:%masmhome%/bin;%masmhome%;
EditPlus Configuration
-
Configure compilation function
-
Configure link features (Windows link mode for main link Windows window programs)
Note: The third text box parameter bar is written with the following:/subsystem:windows/libpath:e/masm32/lib $ (filenamenoext). obj (where e/ Masm32/lib Replace with your own installation directory)
-
Configure link functionality (console link mode for primary link console program)
Note: The third text box parameter bar is written on:/subsystem:console/libpath:e/masm32/lib $ (filenamenoext). obj (where E/masm32/lib is replaced with its own installation directory)
-
Configure run function
-
Configure Auto-complete and Code highlighting features
Profile Web site Recommendation: Link 1 (find MASM)
li>
Create sample file run
.386.model flat,stdcalloption casemap:none;Include Files Defineinclude windows.inc include kernel32.inc include user32.incincludelib kernel32.lib includelib user32.lib;Data Segment.data szCaption db 'Tip',0 szText db 'HelloWorld',0 ;CodeSegment.code start: invoke MessageBox,NULL,offset szText,offset szCaption,MB_OK invoke ExitProcess,NULLend start
Win10 + MASM32 + EditPlus assembly language Programming environment settings