A company produced a large quantity of processors that have the attached datapath and its associated...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
A company produced a large quantity of processors that have the attached datapath and its associated control-word format. However, these processors due to a design error have the "MB select" stuck at "0" and thus no external "Constant in" can be defined. Typically, a "Constant in" is brought for implementing the DECREMENT and INCREMENT instructions, e.g. for an 8-bit processor the "Constant in" is the binary number of: 0 0 0 0 0 0 0 1 The company wishes to create a software solution and specifically to modify the Assembler so the assembly instructions, DECREMENT R2 and INCREMENT R2, can be performed despite the fact that a "Constant-in" cannot be brought from the outside. Note that the result of each of these two instructions should be the new content of register R2. Recall, that the assembler is a program that translates each assembly program instruction to a sequence of one or more control words, so the operation defined by each specific instruction can be executed. Your task is to create a sequence of control words using the attached format that would be generated by the Assembler for the instruction: DECREMENT R2. In addition to register R2 you may use register R3, if you need it. Registers R0 and R1 are reserved. Fill as many control words from the ones listed below as you think are needed; add more if necessary. Describe on the side the purpose for each control word. Note that MB select has stuck to 0. Destination Load A select enable select Destination Load A select enable select Destination Load A select enable select Destination Load A select enable select Destination Load A select enable select Destination Load A select enable select B select B select B select B select B select Opcode B select Opcode CIN CIN MB MD select select 0 Opcode CIN Opcode CIN Opcode Opcode CIN MB MD select select 0 b) Which of the above control words will need to be modified if the Assembler sees the instruction: INCREMENT R2 MB MD select select 0 MB MD select select 0 MD MB select select 0 CIN MB MD select select 0 Load enable Write D data D n D 0123 Decoder D D address 2 Destination select Bus A 01 MUX1 Load Constant in Inverters Load Destination select Load Load MB select- Bus B CIN 1 01 MUX2 Load enable n RO Adder R1 R2 R3 Bus A n 1 Comparator (=?) A select 0 MUX B Sum Carry AND Bus B OR A address A select 01 B select 0 3 Opcode 100 01 10 MUX 11 2 MUX3 n A data 2 Cout Opcode MD select B address B select CIN 0 2 MUX Bus D Register file B data n n Address out → Data out 0 MUX D MB select 0 MD select - Data in A company produced a large quantity of processors that have the attached datapath and its associated control-word format. However, these processors due to a design error have the "MB select" stuck at "0" and thus no external "Constant in" can be defined. Typically, a "Constant in" is brought for implementing the DECREMENT and INCREMENT instructions, e.g. for an 8-bit processor the "Constant in" is the binary number of: 0 0 0 0 0 0 0 1 The company wishes to create a software solution and specifically to modify the Assembler so the assembly instructions, DECREMENT R2 and INCREMENT R2, can be performed despite the fact that a "Constant-in" cannot be brought from the outside. Note that the result of each of these two instructions should be the new content of register R2. Recall, that the assembler is a program that translates each assembly program instruction to a sequence of one or more control words, so the operation defined by each specific instruction can be executed. Your task is to create a sequence of control words using the attached format that would be generated by the Assembler for the instruction: DECREMENT R2. In addition to register R2 you may use register R3, if you need it. Registers R0 and R1 are reserved. Fill as many control words from the ones listed below as you think are needed; add more if necessary. Describe on the side the purpose for each control word. Note that MB select has stuck to 0. Destination Load A select enable select Destination Load A select enable select Destination Load A select enable select Destination Load A select enable select Destination Load A select enable select Destination Load A select enable select B select B select B select B select B select Opcode B select Opcode CIN CIN MB MD select select 0 Opcode CIN Opcode CIN Opcode Opcode CIN MB MD select select 0 b) Which of the above control words will need to be modified if the Assembler sees the instruction: INCREMENT R2 MB MD select select 0 MB MD select select 0 MD MB select select 0 CIN MB MD select select 0 Load enable Write D data D n D 0123 Decoder D D address 2 Destination select Bus A 01 MUX1 Load Constant in Inverters Load Destination select Load Load MB select- Bus B CIN 1 01 MUX2 Load enable n RO Adder R1 R2 R3 Bus A n 1 Comparator (=?) A select 0 MUX B Sum Carry AND Bus B OR A address A select 01 B select 0 3 Opcode 100 01 10 MUX 11 2 MUX3 n A data 2 Cout Opcode MD select B address B select CIN 0 2 MUX Bus D Register file B data n n Address out → Data out 0 MUX D MB select 0 MD select - Data in
Expert Answer:
Answer rating: 100% (QA)
To solve this problem we need to create sequences of control words that will execute the DECREMENT R2 and INCREMENT R2 instructions despite the fact that the MB select has stuck at 0 and we cannot bri... View the full answer
Related Book For
Management Accounting Information for Decision-Making and Strategy Execution
ISBN: 978-0137024971
6th Edition
Authors: Anthony A. Atkinson, Robert S. Kaplan, Ella Mae Matsumura, S. Mark Young
Posted Date:
Students also viewed these programming questions
-
Faith works for a large corporation, which has a small loan program for employees. Faith takes out a $10,000 loan to cover the cost of medical expenses not covered by her insurance. After a year, it...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Case Study: Quick Fix Dental Practice Technology requirements Application must be built using Visual Studio 2019 or Visual Studio 2017, professional or enterprise. The community edition is not...
-
The following is the ending balances of accounts at December 31, 2018, for the Weismuller Publishing Company. Additional Information: 1. Prepaid expenses include $120,000 paid on December 31, 2018,...
-
The truck has mass M and a center of mass at G. Determine the greatest load it can pull if. (a) The truck has rear-wheel drive while the front wheels are free to roll, and? (b) The truck has...
-
Omega Co. has annual sales of $250,000, costs of goods sold of $168,000, and assets of $335,000. Accounts receivable are $82,600. What is the receivables turnover?
-
Look at the visualization titled "Changing Face of America" (the second visualization on the page). This is a new kind of visualization in which the total for each year is scaled to $100 %$, and the...
-
A hair dryer may be idealized as a circular duct through which a small fan draws ambient air and within which the air is heated as it flows over a coiled electric resistance wire. Surroundings, Tur...
-
XYZ Limited is a listed company on the Jamaica Stock Exchange. Its market capitalization as at December 3 1 , 2 0 1 5 was $ 5 5 0 m and the outstanding shares at the same date was 4 0 , 0 0 0 , 0 0 0...
-
1. Is anything unique about Chriss idea? Explain. 2. What is the first thing he should do to follow up on his idea? Explain. 3. When this is done, what else should Chris do? Outline a general course...
-
Image caption the expansion would be 32 million British pounds. The cash flows from the exchange rate is 2.12 Canadian dollars per British pound (CDNS/BPD). Interest Parity relationship holds
-
The process engineer at Strow bridge Metal Works has the choice of machining a particular part on either of two machines. Orders for this part are received regularly, but the order size varies. When...
-
True of False: If money is worth 5% compounded annually to you, then you should prefer to receive \($2\),750 today than to receive \($3\),500 five years from today.
-
Three proposals (P, Q, and R) are available for investment. Exactly one or two proposals must be chosen; Proposals P and Q are mutually exclusive. Proposal R is contingent on Proposal P being funded....
-
True or False: Every economic decision should be based on the time value of money.
-
RT is about to loan his granddaughter Cynthia \($20\),000 for 1 year. RTs TVOM, based upon his current investment earnings, is 12 percent, and he has no desire to loan money for a lower rate. Cynthia...
-
Differentiate between absorbent and non-absorbent cotton with resp preparation and one chemical test.
-
1. As a general strategy, would you recommend that Carl take an aggressive approach to capacity expansion or more of a wait-and-see approach? 2. Should Carl go with the option for one facility that...
-
What are the four measurement perspectives in the Balanced Scorecard?
-
Under what circumstances should both quantitative and qualitative performance measures be used to evaluate employee, work group, and divisional performance? Provide examples to support your answer.
-
Explain why the growing importance of intangible assets complements growing interest in the Balanced Scorecard.
-
The pendulum on a grandfather clock has a period of 2.00 s. If the clock is not wound, the pendulums amplitude begins to decay at a rate of 0.53% each pendulum period. a. What is the time constant of...
-
The motion of a nightingales wingtips can be modeled as simple harmonic motion. In one study, the tips of a birds wings were found to move up and down with an amplitude of 8.8 cm and a period of 0.82...
-
A block with a mass of 0.28 kg is attached to a horizontal spring. The block is pulled back from its equilibrium position until the spring exerts a force of 1.0 N on the block. When the block is...
Study smarter with the SolutionInn App