Need to design a 4 bit processor with the following instructions given. Design a 4-bit processor which
Fantastic news! We've Found the answer you've been seeking!
Question:
Need to design a 4 bit processor with the following instructions given.
Transcribed Image Text:
Design a 4-bit processor which consists of 4 data registers each of 4 bits and an instruction register (IR) of 7 bits. The first 3 bits of the instruction tells which operation is to be performed, the next 2 bits signifies the first register and the last two bits signifies the second register. Operation Code 4-bit register operand 1(R1) 4-bit register operand 2 (R2) The following operations are performed by the processor. Operation Operation Description Code Performed 000 R1-A Load the contents of input A in to the register operand 1. 001 R1 = R2 Move the contents of register operand 2 in to register operand 1. Add the contents of register operand 1 and register operand 2 and load in register operand 1. 010 R1 = R1+ R2 011 R1 R1 - R2 Subtract the contents of register operand 2 from register operand 1 and load in register operand 1. Multiply the contents of register operand 1 and register operand 2 and load in register operand 1 and 2. (As the result is of 8 bits) 100 R1- RI R2 101 R1- R1/2 Divide the register contents of register operand 1 with 2 (1is an input) and load the result in register operand 1. 110 R1=R1 2 Multiply the register contents of register operand 1 with 2 (i is an input) and load the result in register operand 1. 111 R1 - R1 + R2 Logical OR the contents of register operand 1 and register operand 2 and load in register operand 1. Inputs: Clock Pulse (CP), 7-bits Instruction, A, i Output: Contents of each register Design a 4-bit processor which consists of 4 data registers each of 4 bits and an instruction register (IR) of 7 bits. The first 3 bits of the instruction tells which operation is to be performed, the next 2 bits signifies the first register and the last two bits signifies the second register. Operation Code 4-bit register operand 1(R1) 4-bit register operand 2 (R2) The following operations are performed by the processor. Operation Operation Description Code Performed 000 R1-A Load the contents of input A in to the register operand 1. 001 R1 = R2 Move the contents of register operand 2 in to register operand 1. Add the contents of register operand 1 and register operand 2 and load in register operand 1. 010 R1 = R1+ R2 011 R1 R1 - R2 Subtract the contents of register operand 2 from register operand 1 and load in register operand 1. Multiply the contents of register operand 1 and register operand 2 and load in register operand 1 and 2. (As the result is of 8 bits) 100 R1- RI R2 101 R1- R1/2 Divide the register contents of register operand 1 with 2 (1is an input) and load the result in register operand 1. 110 R1=R1 2 Multiply the register contents of register operand 1 with 2 (i is an input) and load the result in register operand 1. 111 R1 - R1 + R2 Logical OR the contents of register operand 1 and register operand 2 and load in register operand 1. Inputs: Clock Pulse (CP), 7-bits Instruction, A, i Output: Contents of each register
Expert Answer:
Related Book For
Posted Date:
Students also viewed these computer network questions
-
You need to design a questionnaire about Using Social Media in Public Relations Management, how it impacts the business successful and service development, considering the business of Emirates...
-
You need to design a 60.0-Hz ac generator that has a maximum emf of 5500 V. The generator is to contain a 150-turn coil that has an area per turn of 0.85 m2. What should be the magnitude of the...
-
For your science fair project you need to design a diffraction grating that will disperse the visible spectrum (400700 nm) over 30.0 in first order. a. How many lines per millimeter does your grating...
-
If two krypton atoms are held together by a stabilization energy of 1.005 kJ/mol at what temperature would you expect these atoms to transition from bound to unbound? Show your thought process for...
-
It is desired to check the calibration of a scale by weighing a standard 10 g weight 100 times. Let be the population mean reading on the scale, so that the scale is in calibration if = 10. A test...
-
Which line style was required to be selected in the Type Selector, in the Properties Palette, for all the linework in this Lesson?
-
Centroid of a semicircular disc or radius \(R\) can be given as: (a) \(\bar{X}=0 ; \bar{Y}=\frac{3 R}{4 \pi}\) (b) \(\bar{X}=0 ; \bar{Y}=\frac{4 R}{3 \pi}\) (c) \(\bar{X}=\frac{4 R}{3 \pi} ;...
-
Decentralization divides company operations into various reporting units. Most decentralized subunits can be described as one of four different types of responsibility centers. Requirements 1....
-
Data entry then versus now?
-
Marider Industries makes two types of windbreaker jackets: one for spring and one for winter. Marider uses a traditional costing system and is considering switching to an Activity-Based Costing...
-
On September 30, 2024, the Techno Corporation issued 8% stated rate bonds with a face amount of $200 million. The bonds mature on September 30, 2044 (20 years). The market rate of interest for...
-
How do classical and contemporary social theorists conceptualize the intricate interplay between agency and structure in shaping human behavior and societal dynamics ?
-
We will delve into the profound significance of sustainability issues that are impacting the world of business and development. As we embark on our journey through the realm of green finance, it's...
-
Define the term Biological Psychology. Explain why it may be important to study biology in a psychology course? Include how can biology affect behavior. Include how can biology affect cognition
-
Give an example of how your political, networking and negotiating skills could contribute towards your working conditions.
-
How is the KM system of NASA different from other KM systems that you have studied within the chapter? How is it similar?
-
The figure shows a spring loaded plunger (spring constant k = 100lb/in that's used to launch a block A to the other side of the hump at C where the radius of curvature is 8 ft. Point C is at height H...
-
14. In testing the existence assertion, an auditor ordinarily works from the a. Financial statements to the accounting records. b. General journal to the general ledger. c. Supporting evidence to the...
-
A constant-volume gas thermometer (see Figures 12.3 and 12.4) has a pressure of 5.00 103 Pa when the gas temperature is 0.00 oC. What is the temperature (in oC) when the pressure is 2.00 103 Pa?
-
A circuit contains a resistor in series with a capacitor, the series combination being connected across the terminals of a battery, as in Figure 20.37a. The time constant for charging the capacitor...
-
From a cliff that is 9.5 m above a lake, a young woman (mass = 41 kg) jumps from rest, straight down into the water. At the instant she strikes the water, what is her de Broglie wavelength?
-
Kronenberger Burgoyne, LLP, was a law firm with two equity partners who agreed to equal ownership as of 2009. Before 2009, Kronenberger had owned a majority interest in the firm, and when, in 2011,...
-
Taj Mahabub was the founder and CEO of GenAudio, a Colorado-based audio technology company. GenAudio had struggled financially practically since its formation, and Mahabub wished to secure a...
-
Plaintiffs purchased stock warrants (rights to purchase) for blocks of Osborne Computer Corp., the manufacturer of the first mass-market portable personal computer. Because of inability to produce a...
Study smarter with the SolutionInn App