Question: Part I: Assembly Programming Part II: C Programming Requirement : You must demo your program on the EVBplus2 or Fox11 board. Goal : To become

Part I: Assembly Programming Part II: C Programming

Requirement: You must demo your program on the EVBplus2 or Fox11 board.

Goal: To become familiar with allocating memory for your program, gain experience in dealing with 8-bit numbers including signed numbers and 16-bit numbers, and understand and use some basic instructions such as arithmetic instructions.

Project: Please read Chapter 5 of your textbook, and then write an assembly program and a C program to calculate the value of following polynomial function:

Part I: Assembly Programming Part II: C Programming Requirement: You must demo

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. Please pay great attention to the issue of data size: Should a piece of data be stored in one byte or two bytes?

0 6 f(x)=x-6+120

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!