Design an instruction set of a 16-bit CPU that has only 16 instructions. Please note that in an instruction set no two instructions can be identical. The length of the machine code for each of the instructions should be 16 bits .Consider instructions that belong to different formats .Make and state any necessary assumptions. Explain all the design decisions.
In addition to everything you would like to include in the report, please make sure to include a list of registers, instruction formats, explanation on why you have selected certain instructions and which registers an instruction use, etc.
Following are some key points that could be followed when working on the project.
Decide how many user-accessible registers the CPU is going to have. Decide which instructions the CPU is going to have.
Decide how each of the instructions is represented in machine code. (See Section 2.5 of the textbook for machine code representations of the instructions of LEGv8 processors.)
Understand how all of the above are done in the textbook for a 64-bit CPU. You may like to consider only the concepts presented in Chapter 2 of the textbook when working on the project.For a set of sample instructions, you may like to refer to pages 64-65 of the textbook.
The 16-bit CPU with only 16 instructions is not going to be a very useful one but that is okay; we want to learn how to design.
The report should be prepared using a word processor; it should not be handwritten.
Please feel free to communicate with your instructor if you have questions or need any assistance.
--------------------------------------------------------------------------
Clarification
The following two lines of code do not represent two different instructions. They are two examples of an instruction.
ADD X0, X2, X3 ADD X1, X2, X3
--------------------------------------------------------------------------
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of