Question

In: Computer Science

PLEASE ANSWER WITHIN 30 MINUTES!! Consider a simple instruction ADD C,D (c+d). i. Write down the...

PLEASE ANSWER WITHIN 30 MINUTES!!

Consider a simple instruction ADD C,D (c+d). i. Write down the instruction format of above instruction and which operand address will be use to implement this instruction?

ii. What will be the role of microprograming while executing the instruction?

iii. What type of parallel processor system will use in it?

iv. Draw a diagram that represents the solution when an interrupt is occurred during execution of “a+b” instruction.

v. If you are supposed to use pipeline architecture for executing above instruction then what steps will be required to execute the instruction?

Solutions

Expert Solution

Ans i)

A:=B

mov eax, [n1]

mov ebx, [n2]

A:=A+B

add eax,ebx

ii)

Micro programming is Control unit programming.

A control unit is implemented in either hardwired or microprogram. A hardwired control unit is a large FSM (finite state machine) sending control signals to data path. A microprogrammed control unit is a complex programmable unit that outputs control signals to data path according to its microprogram.

iii) It basically have multiple types of parallel processing , most commonly SIMD is used i.e single instruction multiple data which means that it will work on the same process but with different data sets.

iv)

v)

In this a stream of instructions can be executed by overlapping fetch, decode and execute phases of an instruction cycle. This type of technique is used to increase the throughput of the computer system.

An instruction pipeline reads instruction from the memory while previous instructions are being executed in other segments of the pipeline. Thus we can execute multiple instructions simultaneously. The pipeline will be more efficient if the instruction cycle is divided into segments of equal duration.


Related Solutions

Please check it out within 30 minutes. Please provide explanation or working so I can check...
Please check it out within 30 minutes. Please provide explanation or working so I can check with my answer. Question: In a study of the system, Cl2(g) + Br2(g) 2BrCl(g), several different reaction mixtures were prepared, placed in a 15.00 × 10–3 m3 container, and allowed to reach equilibrium at 350 K. Despite having different starting compositions, three of the four mixtures had an identical composition at equilibrium. Which one of the systems has a different equilibrium composition than the...
(i) Consider a simple linear regression yi = β0 + β1xi + ui Write down the...
(i) Consider a simple linear regression yi = β0 + β1xi + ui Write down the formula for the estimated standard error of the OLS estimator and the formula for the White heteroskedasticity-robust standard error on the estimated coefficient bβ1. (ii) What is the intuition for the White test for heteroskedasticity? (You do not need to describe how the test is implemented in practice.)
Please write in C++ as simple as possible I want you to create a Book Class...
Please write in C++ as simple as possible I want you to create a Book Class for a bookstore. I am not going to tell you what variables should go into it, that is for you to figure out (but you should have at least 5+). And then you must create a UML with all the variables and methods (like: the getters and setters, a default constructor, and a constructor that takes all the variables and finally the printValues() )....
For the two preferences described below, please answer the following questions. (i) Write down a utility...
For the two preferences described below, please answer the following questions. (i) Write down a utility function that is consistent with the description of the preference. (ii) Draw indifference curve maps for the individual. Label both axis. Indicate marginal rate of substitution on your graph and whether it is diminishing. (iii) Obtain the demand function for both good x and y. (iv) Describe how an increase in income would affect John and Mary’s consumption bundles. John and Mary’s preferences are...
please, I need it with 30 minutes . can someone solve this ASAP and post ,...
please, I need it with 30 minutes . can someone solve this ASAP and post , I really appreciate. 4. "Machine A has an immediate cost of $15,000, and it will earn a net income of $4300 per year for a total of 7 years. Machine B has an immediate cost of $17,000, and it will earn a net income of $4400 per year for a total of 35 years. Assume that Machine A can continually be replaced at the...
Consider the following C code: (10 marks) // write a MIPS instruction to initialize s0 to...
Consider the following C code: // write a MIPS instruction to initialize s0 to 6 t0 = ((s03 - 93)2 + s0 ) << 2 t1 = t0 / 4 Q2.1: Write a MIPS program that performs the operation of the above C program. Q2.2: What is the value of $t0 and $t1 after running your MIPS program (write your answer in a comment at the end of the code). Submit your answer to Q2 in a file named A2_Q2.asm
Please answer as soon as possible, I will upvote if it is answered in 40 minutes....
Please answer as soon as possible, I will upvote if it is answered in 40 minutes. Suppose that a bond portfolio with a duration of 5 years is hedged using a futures contract in which the underlying asset has a duration of 14 years. What is likely to be the impact on the hedge of the fact that the 14-year rate is less volatile than the 5-year rate?
Please use c++ and follow the instruction, I really want to fully understand this question and...
Please use c++ and follow the instruction, I really want to fully understand this question and I will use your code to check where I made mistake (Do not skip steps). I have written my own code which has tons of errors, and I am so confused about this lab. I need help. Lab 6.4 – C++ and Functions – Math Test Critical Review A value-returning function is a function that returns a value back to the part of the...
PLEASE PROVIDE A DETAILED ANSWER You are 30 minutes into a job interview for your dream...
PLEASE PROVIDE A DETAILED ANSWER You are 30 minutes into a job interview for your dream job—one where your college education and experience can really be applied. So far everything is going well. However, the interviewer's next question catches your breath and causes you to pause before you answer—" If I were to examine your social media postings, would I find anything that is embarrassing about you or that might indicate that you engaged in any illegal activities?" What would...
I have A B and C answered I only need the answer to D and E....
I have A B and C answered I only need the answer to D and E. I have included the correct answers for A B and C Problem 8-41 (LO. 2, 3, 9) Lori, who is single, purchased 5-year class property for $200,000 and 7-year class property for $400,000 on May 20, 2016. Lori expects the taxable income derived from her business (without regard to the amount expensed under § 179) to be about $800,000. Lori wants to elect immediate...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT