Find Jobs
Hire Freelancers

A simple C language code using Visual Studio

$10-30 USD

Closed
Posted over 10 years ago

$10-30 USD

Paid on delivery
You will learn how to generate assembly language from the compiler in your C program for more precise control. In this assignment, you will be asked to write a “math library” function. You will be writing the function in C or C++, and using the compiler to generate Assembly code (also called Object Code). Please consult the Help options in Visual Studio on how to generate the assembly code. There are switches during compile that can generate the assembly code for you (researching how to generate the assembly code from Visual Studio using Help and the Web is part of the assignment). You should use C/C++ for support tasks like defining local variables, returning a value from the function, etc. The IA-32 Architecture includes the floating point instructions needed to implement these functions. You will save yourself a lot of work if you carefully choose the right instructions. This is a large and powerful instruction set, and you should make use of that power instead of “re-inventing the wheel.” In other words, don’t spend a lot of time writing a lot of dumb code. Instead, spend your time thinking first, and you will be able to write a smaller amount of smart code. Loops are not necessary for any of these assignments, and your code should not include them. Do not implement a mathematical solution such as a power series. There is no need for something like this and doing all that unneccessary work will reflect poorly on your understanding of the instructions available in the IA-32 Architecture. Write a function named absD that returns the absolute value of its argument (the D indicates that the argument and return value are of type double). The function prototype is: double absD (double n); Submit your code as a03-yourname.c and also [login to view URL] (for the generated assembly file). Ensure you meet the coding guidelines and requirements. Iis is a simple task of 1 hour and I need it in 8 hours from now. Only those who are good at Assembly instructions must BID.
Project ID: 5175340

About the project

7 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
7 freelancers are bidding on average $32 USD for this job
User Avatar
Hello, I have successfully completed a number of similar projects on this site and can finish your project within an hour or so. I use VS C++ 2010 Thank you, Serge
$25 USD in 0 day
5.0 (133 reviews)
6.1
6.1
User Avatar
I could help you. . .
$66 USD in 1 day
5.0 (51 reviews)
5.6
5.6
User Avatar
Hello, We are a team of two Computer Science students in the final year that can provide you with the right solution. We like this proposal and the idea of this project. We can work a little on money if you consider this bid a little too much, but for the amount of time we think this is the right price. You are looking forward to your respons. CDE
$25 USD in 0 day
5.0 (2 reviews)
2.6
2.6
User Avatar
I can do your work......................................................................................................................................
$40 USD in 3 days
4.4 (1 review)
0.8
0.8
User Avatar
Have already implemented what you asked for (absolute value function using IA-32). Ready to send both .c code file and .asm immediately after you select my bid. Moreover I am going to tell you the steps I followed, so you can also learn.
$20 USD in 0 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$18 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
Jaipur, India
0.0
0
Member since Jul 29, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.