The purpose of this experiment is to use the masm

Assignment Help Programming Languages
Reference no: EM13992869

The Intel Family of Microprocessors

James L. Antonakos

Lab #3: Assembling and Linking

Reference: Chapter 4

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.

Reference no: EM13992869

Questions Cloud

Write a program to declare a class person : Write a program to declare a class 'person' with members name, age and address. Derive a class employee from person having member salary and designation. Input the data for two employees and display it.
Explain what can go wrong in resource management on c++ : Explain What can go wrong in resource management on c++?
Network programming : From where does the template class derived from in network programming?(
What is the difference between a source file and an object : What is the difference between a source file and an object file?
The purpose of this experiment is to use the masm : 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.
List all web based programming languages : 1. List all web based programming languages 2. What does server side scripting mean.? 3. What is front end scripting.
Write a procedure to find no of words in a given string : Write a procedure to find no of words in a given string assume that two words are seperated by more than one space Eg.
What is the kinetic energy k of the two-car system : Two cars of equal mass m collide at an intersection. What is the kinetic energy K of the two-car system immediately after the collision?
Is the data qualitative or quantitative : a. Identify the following for the data collected: i. population ii. sample iii. Is the data qualitative or quantitative? If quantitative is the data discrete or continuous? iv. What is the level of measurement are the data?

Reviews

Write a Review

Programming Languages Questions & Answers

  Write the standard sql query to retrieve names

write the standard SQL query to retrieve the Name and Phone Number of customers whose name begins with 'S'.

  Distinguishing web pages or web servers for task

Distinguish between any Web pages or Web servers you would use for this task.

  Create application to generate a series of random numbers

Create the application to generate a series of 100 random numbers in the range of 1 through 1000. Save the series of numbers in a file.

  Use the concepts of file reading

This program requires you to use the concepts of file reading, parallel arrays and sorting. Your program should read the string content into a string array and the integer content into an integer array

  Validation and test documentation

The final project consists of a currency conversion application. This application-similar to simple, practical programs on many travel or financial Web sites-includes the following elements: Validation and test documentation

  Design and run a program that takes a numerical score

Design and run a program that takes a numerical score and outputs a letter grade. Precise numeral scores and letter grades are listed show.

  Traditional versus object-oriented design

Compare the object-oriented approach to design to the traditional approach. Give your opinion on whether or not you believe there are certain projects where one design approach might be better that the other. If so, provide an example of one (1) s..

  Determine the number of days in the current month

The second should accept two values, determine the modulus and return the value, which the calling statement should then print out.

  Write procedure to scan string for first occurrence

Write procedure called Str_nextword to scan string for first occurrence of a certain delimiter character and replaces the delimiter with a null byte.

  Write ipo steps and detailed pseudo code for program

Write IPO steps and detailed pseudo code for program which will ask user to enter restaurant meal cost. The program should then compute the tax, tip on the restaurant bill,

  Compute and display total number of votes received

Display the table with appropriate labels for the rows and columns. Compute and display the total number of votes received by each candidate and the percentage of the total votes cast.

  Create default constructor which invokes superclass

Create a (default) constructor which invokes superclass constructor with value 3 (law school is typically a three year program).

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd