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