Appendix B

Use of DOS and DEBUG Commands for MASM

Note: The problem users now face is that the 64-bit Windows versions do not have DOS inbuilt into them. Thus, the 16-bit MASM will not run in the 64-bit versions of Windows Vista, Windows 7, and Windows 8. The solution for this is to install DosBox and use MASM in it. DosBox is an emulator for a PC with built-in DOS. It simulates a PC with an older operating system, and hence, DOS programs can run on it.

The steps are:

  1. Download DOSBox and install it.
  2. Go to the webresources of this book for a detailed guidance on how to use MASM on DOSBOX.
  3. Guidance for this is also available in many other sites on the web.

MASM 6.14 is an assembler (basically for x86 architecture) that runs under DOS, which ...

Get The x86 Microprocessors: 8086 to Pentium, Multicores, Atom and the 8051 Microcontroller, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.