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 program compute salary by adding base tax

Compute by adding base tax for that salary range and product of percentage of excess and amount of salary over minimum salary for that range. Write a program which solves this problem.

  Define back-end and front-end applications.

Define procedures (subroutines) and functions and the difference between them.

  Create algorithm and flowchart for amount to be doubled

Create the algorithm and the corresponding flowchart which print out after how many years will this amount be doubled.

  Development of computer systems track citizens

To help counter terrorism, many countries are planning and development of computer systems that track large number of citizens and their actions.

  A fixed quantum of information packaged together

A fixed quantum of information packaged together with an IP address and other data for sending information over the internet

  Write a program to calculate the body fat of a person

One way to determine how healthy a person is by measuring the body fat of the person. Write a program to calculate the body fat of a person.

  Executive committee for alleviating it complexity

You are a consultant brought in by the executive committee to make recommendations for alleviating the "IT complexity" concerns of the executives at the company.

  Write down a program which compute the amounts of money

earl and larry each begin a full-time jobs in january 2013 and plan to retire in january 2061 after working for 48

  Create two global varibles to declare an empty array

Need to create two global varibles. The first currentTab, which will reference the current menu tab being dispalyed with a initial value of null, the second variable is maxZ which will store the z-index and it's initial value is 1.

  Do the second half as a completely separate loop

Do the second half as a completely separate loop. Remember you'll print out "n" number of stars on a line the same way whether you are doing the top half or the bottom half

  Write program to accept data for each student in school

Write the program which accepts data for each student in school- student ID, classroom number, and score on achievement test. Create program which lists total points scored for each of the 30 classrooms.

  Create at least three related tables in the database.

Create at least five useful queries. At least one of these queries should use a subquery and at least one of the queries should use an aggregate function.

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