I need help with the second part of this question. Part One: Completed Processor
ID: 3681174 • Letter: I
Question
I need help with the second part of this question.
Part One: Completed Processor architecture and instruction set:
A.Determine the processor components and the characteristics for each component. Components may be any internal hardware that your proposed processor may have, such as a special arithmetic unit. .
Answer:Processor components and the characteristics Processor is basically the heart of the computer unit. Its monitor and control all the internal and extarnal devices of computer unit. Important parts of CPU are:
1. ALU : Its stand for arithmatic and logic unit, its used for perfroming all the arithmatical and logic operations , inside the computer system.
2. Control Unit: Its basically tells ALU, what to do with the data receive from input devices, how to show the resultant data to the end users. Its used to maintain order and directs the operations inside the computer systems.
B.Determine how many registers there are in your computer architecture. You have to specify how many registers are in your proposed processor, their names, and their sizes. You may have three registers A, B, and C. Each register is 8 bits. You do not have to stick with the MIPS structure given in the course.
Answer: In my proposed processor, we have 32 registers. 12 A-Type and 10, 10 B and C Type Answer: In my proposed processor, we have 32 registers. 12 A-Type and 10, 10 B and C Type
C.Determine the instructions that your proposed processor can handle. You have the freedom to determine how many instructions your proposed processor can handle. You have to have more than ten instructions. Your instructions can be anything, including instructions such as add, sub, and mul.
Answer: Instructions that your proposed processor can handle: instructions are gives below:
1) Read and write data from harware devices
2) Copy data from one to another memory location
3) transfer data
4) Perform airthmetical operations
5) perform bitwise operations
6) compare two values
7)saving registers on stack
8) complicated arithmatical operations
9) handling input devices
10) handling output devices
D.Determine the instruction size.
Determine the size of your proposed instruction set. You may choose to have a varying or fixed instruction set size. Discuss why you selected that type of instruction set.
Answer: There are various parts in the instructions, they are as follows: 1) opcode 2) destination registers 3) source registers 4) shift amount 5) function
Part 2: HELP!
Instruction type and format:
Determine how many instruction types your processor will support.
The instruction types can be R-type for arithmetic, J-type for jump, or any other types you would like. You may have one type or more. Determine the format of each type. • For each instruction type, determine the size and the format. You may use the same format for all types, or different formats for each. For each format, determine how many fields it has, and the size of each field. For example, you may have three fields with each field being six bits. That will give you an eighteen bit instruction. The first field may be the op-code, the second field may be the source register, and the third field may be the destination register.
Determine the format of each type.
For each instruction type, determine the size and the format. You may use the same format for all types, or different formats for each. For each format, determine how many fields it has, and the size of each field. For example, you may have three fields with each field being six bits. That will give you an eighteen bit instruction. The first field may be the op-code, the second field may be the source register, and the third field may be the destination register.
Explanation / Answer
PART:2
There are various types of instructions that our processor supports, These instructions are given
below: These below given instructions are fixed widht 32 bit instructions.
1. J-Type Instructions: Its basically refer to the jump type instructions. Format of the instruction is as follows:
B25 to B0 ---> Target
B26 to B31 ---> opcode (refer to operation code)
2. R-Type Instructions: Its basically refer to register type instructions. Its one of the complex type and the format of instruction
is as follow:
B5 to B0 ----> Function ( refer to the operation)
B6 to B10 ---> Shift (refer to amount of shift)
B11 to B15 ---> Register d ( Its first source register)
B16 to B20 ---> Register t (Its a second source register)
B21 to B25 ---> Register s ( its a destination register having result of operations)
B26 to B31 ---> opcode (refer to operation code)
3. I-Type Instructions: Its basically refer to the immediate type instructions. Its instruction format is given below:
B15 to B0 ----> Immediate
B16 to B20 ---> Register t
B21 to B25 ---> Register s
B26 to B31 ---> opcode (refer to operation code)