Compilation subtraction procedure for the 5th edition of Intel Assembler

Source: Internet
Author: User

The first step:

Installing virtual machines 32-bit XP system + RADASM software

Step Two:

Download the relevant source code and library files in the 5th edition of the Intel assembly language Program design http://kipirvine.com/asm/examples/index.htm will download IrvineExamplesVS2008, extract the INC And Lib files are placed in the Radasm directory Note: If the path cannot be found, the compilation error will prompt you,
C:\radasm\masm32\bin\ml. exe/c/coff/cp/nologo/i"C:\RadASM\Masm32\Include""testsub2.asm  "assembling: Ms.

Step three: Open Radasm, create a new console Project step fourth: Edit the Code
1INCLUDE Irvine32.Inc2 includelib Irvine32.lib3 includelib Kernel32.lib4 includelib User32.lib5 6 . Code7 8 Main PROC9     moveax,1000hTen     Addeax,4000h One     Subeax,2000h A     PagerDumpregs - Exit - main ENDP theEND Main

Compile execution:

Compilation subtraction procedure for the 5th edition of Intel Assembler

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.