Question

In: Computer Science

Towards the end of the chapter (p. 160-161), examples of deriving control signals are given. Table...

Towards the end of the chapter (p. 160-161), examples of deriving control signals are given. Table 5-6 lists out the "actions" to fetch/decode/execute each CPU instruction.

List out the control signals given when a CPU instruction is being executed. For example, when each of the instructions X, Y, and Z is being executed, the control unit gives a set of signals at different time T:
X: at T4: A0 A1 C0
at T5, A1 B0
(function/inst X and at T4: signals A0 A1 C0 are given
function/inst X and at T5, signals A1 B0 are given)

Y: at T3, signals B1 C0
at T4, signals A1 B1 C1

Z: at T4: signals A0 C1
at T5, signals A1 B0 C0

Then, each signal is given when:
A0 = X T4 + Z T4 = (X+Z) T4
A1 = X T4 + X T5 + Y T4 + Z T5 = (X+Y) T4 + (X+Z) T5
B0 = X T5 + Z T5 = (X+Z) T5
B1 = Y T3 + Y T4 = Y (T3+T4)
C0 = X T4 + Y T3 + Z T5
C1 = Y T4 + Z T4 (Y+Z) T4

Q1. For the Fetch, Decode, and Indirect steps (T0 through T3) list out signals like the above. First list out signals used in Fetch, Decode, then Indirect. Then for each signal, list its timing definition.
(There should be 8 different signals appeared 12 times.)
(10 pts)

Q2. For signals used to execute 7 different memory-reference
instructions, sort them out the same way as above. First
by instruction name, then by signal name.
Order the listing alphabetically. (10 pts)

Q3. What is interrupt-handling and why is it useful for operation of I/O devices? (2 pts)

Solutions

Expert Solution

Solution:

1. To fetch and decode an instruction.

  • Listing out the signals first

  • Then for every signal, we list the timing definition and ordering the list alphabetically

2.  To execute 7 memory reference instructions and sort them by signal name

  • To execute 7 memory reference instructions and sort list alphabetically

3. Interrupt handling

1. An Interrupt handling is also termed as an interrupt service routine (ISR),

2. It is a special code piece associated with an explicit interrupt condition.

3. Interrupt handlers (IH) are initialized by software interrupts, software exceptions, or hardware interrupts. 4. They are employed to implement transitions between the protected modes of operations like system calls

or to implement device drivers.

Use of interrupt handling

1. Give better performance when there is a busy polling.

2. Especially used in the Input/output of the computer organization,

3. Interrupt service routines can channel the operating system security when the critical privileged kernel

code executes only through the interrupts.

**Fell free to ask any queries in the comment section. I am happy to help. if you like our work, please upvote**


Related Solutions

Question 1: Monopoly A monopoly’s demand function is given by: D;P=160-2Q. It’s costs are given by:...
Question 1: Monopoly A monopoly’s demand function is given by: D;P=160-2Q. It’s costs are given by: AC=MC=40. Calculate the firm’s profit. Based on a. illustrate this market, including all intercepts, and calculate the deadweight loss caused by the monopolisation of this market. The profit function for a second monopoly is given by: π=600Q-2Q3-1000. Calculate the firm’s fixed costs. Using the profit function in c. calculate the firms profit if it firm produces 17 units. Using the profit function in c....
what are typical EXAMPLES of P only control in the chemical industry (beside surge tanks) and...
what are typical EXAMPLES of P only control in the chemical industry (beside surge tanks) and why are they used in these processes
Consider the cost schedule given in the following table and P = $26 for a perfectly...
Consider the cost schedule given in the following table and P = $26 for a perfectly competitive firm:             Output Total Variable Costs                 Total Costs (STC)             0                                  $0                                $30             1                                  20                                50             2                                  30                                60             3                                  48                                78             4                                  90                                120             5                                  170                              200 Draw three separate graphs using the SATC, AVC, and SMC curves, and on each one indicate (i) the profit maximizing level of output, (ii) the profit/loss per unit, (iii) the...
What are some examples, other than those given in the chapter, of technological change that has...
What are some examples, other than those given in the chapter, of technological change that has caused unemployment? And what are some examples of new technologies that have created jobs? How do you think you might measure the net impact of technological change on overall employment and GDP in the United States?
Consider the streams of income given in the following​ table: Income Stream   End of Year A...
Consider the streams of income given in the following​ table: Income Stream   End of Year A B 1 $5,000   $2,000 2 $4,000   $3,000 3 $3,000   $4,000 4 $2,000   $5,000 Total $14,000   $14,000 a.Find the present value of each income​ stream, using a discount rate of 1%,then repeat those calculations using a discount rate of 8 % b. Compare the calculated present values and discuss them in light of the fact that the undiscounted total income amounts to $14,000 in each...
Given the sample information in the following table regarding public opinion on gun control. Opinion on...
Given the sample information in the following table regarding public opinion on gun control. Opinion on Gun Control Party Affiliation Favor Oppose No Opinion Total Democrats 90 98 46 234 Republicans 90 54 10 154 Total 180 152 56 388
The table given below summarizes the 2019 income statement and end-year balance sheet of Drake’s Bowling...
The table given below summarizes the 2019 income statement and end-year balance sheet of Drake’s Bowling Alleys. Drake’s financial manager forecasts a 10% increase in sales and costs in 2020. The ratio of sales to average assets is expected to remain at 0.40. Interest is forecasted at 5% of debt at the start of the year. At the end of 2018 debt was $2,400,000 and assets were $6,960,000. (10 points) Income Statement $ in thousands Sales $ 2,900 (40% of...
1. The table given below summarizes the 2019 income statement and end-year balance sheet of Drake’s...
1. The table given below summarizes the 2019 income statement and end-year balance sheet of Drake’s Bowling Alleys. Drake’s financial manager forecasts a 10% increase in sales and costs in 2020. The ratio of sales to average assets is expected to remain at 0.40. Interest is forecasted at 5% of debt at the start of the year. At the end of 2018 debt was $2,400,000 and assets were $6,960,000. (10 points) Income Statement $ in thousands Sales $ 2,900 (40%...
The table given below summarizes the 2019 income statement and end-year balance sheet of Drake’s Bowling...
The table given below summarizes the 2019 income statement and end-year balance sheet of Drake’s Bowling Alleys. Drake’s financial manager forecasts a 10% increase in sales and costs in 2020. The ratio of sales to average assets is expected to remain at 0.40. Interest is forecasted at 5% of debt at the start of the year. At the end of 2018 debt was $2,400,000 and assets were $6,960,000. Income Statement $ in thousands Sales $ 2,900 (40% of average assets)...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT