Question: Design a processor pipeline for a simple calculator. The calculator can only add and subtract 8-bit numbers. Instructions are 16 bits long. Registers are only

Design a processor pipeline for a simple calculator. The calculator can only add and subtract 8-bit numbers.

Instructions are 16 bits long. Registers are only 8 bits long. Include enough capability so that your calculator

can execute a program that is stored in instruction memory on the calculator.

a. Design your own instruction set. There should be a very limited number of unique instructions, list them all.

b. Generate an assembly code using the instruction set your designed in part (a) which show how your calculator can compute the average of a set of numbers. (You dont need to consider the overflow scenario)

c. Find any issues related to RAW dependencies in your code for part (b).

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!