Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Computer Architecture:

1) Give the register transfer notation for a simple calculator, which supports the operations { +, -, *, /, &, |, ^, ~} on integers ranging from -65, 536 to 65, 535. Presume that the calculator is using an old version of the Intel architecture, with registers ax(ah and al), bx (bh and bl), cx (ch and cl), and dx (dh and dl). Upon using the * and / operations, which change the size of the operand the calculator stores the result's lower order bits in al (for a 16-bit result) or ax (for a 32-bit result), and the higher order bits in ah and dx respectively. For simplicity the format of operations will be the following: "mnemonic destination, source", therefore a typical operation "x <- x opcode y" would be seen as "opcode x, y". Furthermore, the following opcodes will be used:

a) How many bits do you need for the opcode?

b) How many bits do you need for the general purpose registers?

c) How many bits can the constant in the immediate/memory instructions have?

d) What is the optimum size of RAM for such calculator?

e) Describe the Instruction Register structure

f) Describe the decode stage:

g) Describe the execution stage of add, andi, mul, divi, and neg:

h) Describe the memory stage of load and store, and the write-back stage:

2) Identify and describe, in your own words, the five stages of the processor. Then use the diagram bellow to specify where each stage falls (use their abbreviations: IF, ID, EX, MEM, and WB).

931_Give the register transfer notation for a simple calculator.png

Computer Metrics:

3) Consider a comparison between two computers A and B, which is faster?

1447_Give the register transfer notation for a simple calculator1.png

4) Consider a comparison between two computers A and B, which is faster?

732_Give the register transfer notation for a simple calculator2.png

5) Given that you want to speed up a program which has 20% of the instructions parallelizable, give a reasonable amount of processors that the new computer should have, to obtain the best cost effective results. Hint: check how the speedup behaves for 2, 4, 8, 16, etc. processors.

6) Given that you want to speed up a program which has 80% of the instructions parallelizable, give a reasonable amount of processors that the new computer should have, to obtain the best cost effective results. Hint: check how the speedup behaves for 2, 4, 8, 16, etc. processors.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9131965

Have any Question?


Related Questions in Computer Engineering

To speed up memory access caching is typically used a

To speed up memory access, caching is typically used. A memory cache is a small but fast memory where data recently accessed is kept in anticipation of future references. When an access is made, if the data is in the cac ...

String problemfor each numerical value 0 1 2 9 0 lt number

String Problem For each numerical value 0, 1, 2, ...9 (0 Print the converted sentence both to the screen and to an output file. Your input file consists of a variable number of records. Each record is a sentence of lengt ...

How to design a java program that reads a sentence say s

How to design a Java program that reads a sentence, say s, consisting of lower-case words with .nextLine() method, identifies the words using .indexOf() and .substring() methods and saves them in String variables. Then t ...

Describe the definition of ransomware and what is wannacry

Describe the definition of ransomware. And what is wannacry threat?

Please help with anbspfunctionnbspcodesymbol to convert

Please help with a function  codeSymbol , to convert each mark to a symbol (A, B, C, D, E, F) and a code (7,6,5,4,3,2,1) according to the table below. And call it in the main function. Use the table below to determine th ...

What is a survey and pros and cons of using this method to

What is a Survey and pros and cons of using this method to collect data are? Have you done a survey? How successful were your results?

Question suppose we have a hash table which has the hash

Question : Suppose we have a hash table which has the hash function integer % 13. For Quadratic and Linear Probing, what sequence of 13 different integers > 0 (positive) would create a worst-case situation over the entir ...

We use typecasting when we want to cast a value of one type

We use typecasting when we want to cast a value of one type to a value of another type. Specifically, in this program, we want to convert a value of type double to a value of type int. Recall that Java lets you assign a ...

If sailsboro just paid a dividend of 2 per share amp

If Sailsboro just paid a dividend of $2 per share & dividends are expected to grow at 8%, 6%, and 5% for the next three years respectively. After that the dividends are expected to grow at a constant rate of 3% indefinit ...

Take the case in which all individuals are risk averse so

Take the case in which all individuals are risk averse, so that marginal costs slope down. In that case, why might it be optimal (socially efficient) for insurance take up to be less than 100%?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As