Find Jobs
Hire Freelancers

MASM for Intel x86 processors Program $30 Budget

$10-30 USD

Abgeschlossen
Veröffentlicht vor etwa 8 Jahren

$10-30 USD

Bezahlt bei Lieferung
Programming Project In this programming project you will be given a C++ program that generates an array of pseudorandom integers, sorts the array, and then searches the array for a particular value. The C++ program uses the binary search algorithm to determine if the search value is one of the elements in the array. A binary search procedure is considered efficient. Your job is to write an assembly language procedure that also performs the binary search. The C++ program will time multiple searches performed by both the C++ code and your assembly language procedure and compare the result. If all goes as expected, your assembly language procedure should be faster than the C++ code. Chapter 13 of your text book contains a discussion of how to interface an assembly language procedure with a high-level programming language like C++. The author also provides an example of a C++ program linked with an assembly language procedure in the C:\Irvine\other examples folder. In addition, the author has provided batch files that will conveniently allow you to assemble the object code version of your assembly language procedure. You will need to link the object file to the existing C++ program files. Depending upon the version of Microsoft’s Visual Studio IDE, you will find these batch files and instructions for their use in either: Getting Started with MASM and Visual Studio 2012 OR Getting Started with MASM and Visual Studio 2013. Both can be found at the author’s web site: [login to view URL] Search for “Assembling without Linking” to get to this material quickly. The Visual Studio solution for the C++ program that you are to be given has been packaged and compressed into a file called “[login to view URL]”. Download the compressed file, [login to view URL], and unpack it into C:\Users\<your name>\Documents\Visual Studio 2012\Projects Look in the \...\Projects\ProjectFour folder for a file named “[login to view URL]”. The “.sln” file extension stands for solution. Double clicking on this file will start up the Visual Studio solution for ProjectFour and allow you to execute the C++ program. A “stub” assembly language procedure has been provided so that you can execute the C++ program to get a feel for how it works. Your job is to improve on the efficiency of the C++ compiled code. Look in the \...\Projects\ProjectFour\ProjectFour folder for the assembly language stub file named “[login to view URL]”. This file is your starting point for creating an assembly language version of the binary search routine. This project will provide you with the opportunity to: • Link an assembly language procedure to an existing C++ program. • Demonstrate your ability to work with a one-dimensional array. • Show that you can implement a while loop in assembly language. • Display your understanding of what an assembly language procedure is and how they can be used. • Provides a chance for you to show that you understand how to compare values and take conditional action based on the results. • Observe how assembly language procedures can be used to optimize.
Projekt-ID: 10327207

Über das Projekt

6 Vorschläge
Remote Projekt
Aktiv vor 8 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
Hi, I have read the assignment and I understand it. I indicate three days for completion just to be on the safe side. There are all chances that I can turn it around in one day. Sincerely, Serge
$30 USD in 3 Tagen
5,0 (173 Bewertungen)
6,2
6,2
6 Freelancer bieten im Durchschnitt $40 USD für diesen Auftrag
Avatar des Nutzers
Hello. I have large experience with MASM and Microsoft Visual Studio
$15 USD in 1 Tag
5,0 (2042 Bewertungen)
8,2
8,2
Avatar des Nutzers
4 years ago, when i'm at a community college, i took a class in assembly language using the same text book. It was a challenging class but i got an A. I think that can prove that I can do it. Best
$40 USD in 3 Tagen
0,0 (1 Bewertung)
2,2
2,2

Über den Kunden

Flagge von UNITED STATES
Denton, United States
5,0
17
Zahlungsmethode verifiziert
Mitglied seit Apr. 14, 2016

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.