A simple C language code using Visual Studio

Cerrado Publicado Nov 28, 2013 Pagado a la entrega
Cerrado Pagado a la entrega

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.

Time = 18 hrs from now

Assembler Programación en C Ensamblador x86/x64

Nº del proyecto: #5175340

Sobre el proyecto

7 propuestas Proyecto remoto Activo Jan 4, 2014

7 freelancers están ofertando un promedio de $32 por este trabajo

SUog

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 en 0 días
(133 comentarios)
6.1
oobretenov

I could help you. . Más

$66 USD en 1 día
(51 comentarios)
5.6
CDErrors

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 t Más

$25 USD en 0 días
(2 comentarios)
2.6
vivekgajera

I can do your work......................................................................................................................................

$40 USD en 3 días
(1 comentario)
0.8
agavranis

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 Más

$20 USD en 0 días
(0 comentarios)
0.0
umerblogger

A proposal has not yet been provided

$18 USD en 1 día
(0 comentarios)
0.0