Microprocessors / MASM assembler and linker
See attached files
Introduction
The purpose of this experiment is to use the MASM assembler and linker to convert your 80x86 assembly language source files into executable code, such as .EXE and .COM files.
Procedure
1. This laboratory requires MASM 6.11 or later to be installed. If you are using a different assembler and linker, you must make whatever appropriate changes to the source files and command syntax as necessary.
2. Enter and save the following source file, called TEST.ASM. Save it in the root directory of drive C unless you have a different working directory for your files.
3. Open a DOS window and navigate to the directory where TEST.ASM is stored. If you saved TEST.ASM in the root of drive C, enter
C:
CD \
to get to the root directory. If, for example, you saved TEST.ASM in the directory C:\MYFILES, then use
C:
CD \MYFILES
to get into the MYFILES directory.
4. Enter the following command to assemble and link TEST.ASM:
ML /Fl TEST.ASM
This will create TEST.LST (the list file), and TEST.EXE (the executable code). Important: After the /F is a little l, not the number 1. If you use a little f or a big L you will get an error.
5. Run the TEST.EXE program to verify it has been created. Submit the .LST file with your lab writeup.
6. Choose three programs from the book (they are available on the companion CD) and create EXE files from them. Execute the programs and describe the results.
7. Write a one-page summary of what you learned during the laboratory.
11 years ago 15
Purchase the answer to view it
- lab3.zip
- for tutor beth
- Perceptual Map Presentation Please make sure you put in references and speaker notes Review "perceptual mapping" located on the Week 2 ERR page. Review the example perceptual map in Exhibit 4-14 in Ch. 4 of Basic Marketing. Select an industry with many co
- Consumer Behavior Unit 2 Question 3 Begin each writing assignment by identifying the question number you are answering followed by the actual question itself (in bold type). Use a standard essay format for responses to all questions (i.e., an introduction
- writing essay
- Operation Management
- ACC 205 Week 1 Exercise 5 Transaction analysis and statement preparation
- Chjs week 4 program report •Juvenile Delinquency
- Network Security
- 5 important points - must cover all
- In a 2-page essay, write a position paper on whether correctional officers should be the same gender as the inmates in the facility to which they are assigned. Students should support their position with at least one “real-life” example. Finally, students