First, preface
Recently in the study of assembly language, using the reader evaluation of the very high Wang Shuang teacher written "assembly language" (third edition), in order to adapt to the current version of the Windows operating system, so the use of VMware virtual machine to build a pure DOS environment.
II. Tools needed
VMWARE-WORKSTATION-12, DOS system image file, assembler compiler MASM and connector link
Baidu Cloud Download Link: https://pan.baidu.com/s/1gfz4N67 Password: 02y1
Third, installation vmware-workstation-12
Fool installation, always click on the next step (although the online can also search the registration code, please support the genuine).
Iv. Building a DOS compilation environment
(1) Start the virtual machine and select "Create a new virtual machine";
(2) Select "Typical", next; "Install the operating system later", next;
(3) Select "Other" in the guest operating system, select "MS-DOS" in the version and the next step;
(4) Select the virtual machine name and installation location, the next step;
(5) Use the default settings, next. Complete
(6) Right-click on the newly created virtual machine and select "Settings".
(7) In "Hardware", click on the CD/DVD, select "Use ISO image file" on the right, click Browse to find the downloaded DOS71SCD extracted folder, there is a DOS installation image, select, click Open, and then OK.
(8) Turn on the virtual machine
(9) say the basic operation of VMware, when the mouse in the virtual machine operation, if you want to switch to its own operating system, you need to press Ctrl+alt. After startup, the following screen will be displayed, press ENTER;
(10) Use the default settings all the way "Next" and select "Reboot now" to restart the virtual machine.
(12) Reboot will prompt invalid system disk, which is the issue of BIOS startup settings, press Ctrl+alt+insert Restart the virtual machine, at the beginning of the logo of VMware Press F2 (hold the time, try several times), enter the BIOS settings, Right-click (→) switch to the boot bar, down arrow (↓) to CD-ROM drive (turn white to selected), and then press SHIFT and the plus sign (+) to move it to the top. to the right (→) switch to the exit bar, select "Exit Saving Changes", press two times to enter, save the settings and restart.
(13) After the restart is still press ENTER to enter the installation program, the previous options are almost the same, still the way "Next"
(14) Select "Yes", "Next", "Yes"
(15) Do not select "Install add-ons" (Select the option by pressing the space to deselect), "Next"
(+) "Yes", "OK"
(17) Select "Yes" for all
(18) Select "Enable both UMB and EMS"
(19) Select "Load both"
(20) Select "Use Default"
(21) Select "Continue"
(22) Select "OK"
(23) Then you will be prompted to restart, before restarting, follow the steps (6) (7) to enter the virtual machine's "CD/DVD" option, change the connection to use the physical drive, and then restart.
(24) After you see the boot interface, the installation is successful.
(25) in the fourth chapter of the book need to use MASM and link to compile the file, DOS itself does not bring the two software, we need to put MASM this folder into DOS. Turn off DOS first, then right-click on the settings, select "Hard Drive", and in the "hard drive utility" on the left, tap "map".
(26) Remove the option "open files in read-only mode" and click OK.
(27) This will automatically open the disk (if it is not open in my computer can find the disk), the MASM folder to copy in.
(28) Return to the virtual machine, click "Disconnect", OK.
(29) Start the virtual machine and test whether the MASM and link tools are available and ready to use.
V. End of
The environment was built.
Wang Shuang Assembly Language (third edition) environment construction (with PDF and tool download)