Question: I need urgent help with these 2 programs. One needs to be in assembly and one needs to be in C using codewarrior (Im not

I need urgent help with these 2 programs. One needs to be in assembly and one needs to be in C using codewarrior (Im not sure if there is a difference in this and other IDEs). I dont even know where to start with these 2.

Write an assembly program and a C program (in CodeWarrior) to calculate the value of following polynomial function:

f(x)=x-x^3/6+x^5/12 0 is equal to or less than x and x is less than or equal to 6

The value of x will be provided by a user through the DIP switches. Suggestion: Please use following formula to raise a number to the desirable power: x2 = x*x, x3 = x2*x and x5 = x2*x3. Please save every calculation result to memory.

For this project, your assembly program must:

Use MUL and IDIV instructions.

Use DS.B and DS.W to create variables with the right sizes to store and retrieve data.

Have a EQU section, a data section, and a code section

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!