Win10 + MASM32 + EditPlus assembly language Programming environment settings

Source: Internet
Author: User

Download Install MASM32 Assembly environment

Official Download Station: MASM32

Environment variable Configuration
    1. Configure the masmhome variable with a value of Masm32 for the installation directory:




    2. Configuring the include and Lib variables
      include: %masmhome%\include;
      Lib: %masmhome%\lib;







    3. 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
    1. Configure compilation function




    2. 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)




    3. 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)




    4. Configure run function




    5. Configure Auto-complete and Code highlighting features

      Profile Web site Recommendation: Link 1 (find MASM)







    6. 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  


    • Run picture


Win10 + MASM32 + EditPlus assembly language Programming environment settings

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.