Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Design a 4 - bit processor which consists of 4 data registers each of 4 bits and an instruction register ( IR ) of 7
Design a bit processor which consists of data registers each of bits and an instruction register IR of bits. The first bits of the instruction tells which operation is to be performed, the next bits signifies the first register and the last two bits signifies the second register.
II II I I
Operation Code bit register operand Rbit register operand R
The following operations are performed by the processor.
Operation Code Operation Performed Description
R A Load the contents of input A in to the register operand
R R Move the contents of register operand in to register operand
R R R Add the contents of register operand and register operand and load in register operand
R R R Subtract the contents of register operand from register operand and load in register operand
R R R Multiply the contents of register operand and register operand and load in register operand and As the result is of bits
R Ri Divide the register contents of register operand with i i is an input and load the result in register operand
R RR Logical And the contents of register operand and register operand and load in register operand
R R R Logical OR the contents of register operand and register operand and load in register operand
Inputs: Clock Pulse CPbits Instruction, A i
Output: Contents of each register
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started