How many bits are required in the instruction format

Assignment Help Other Engineering
Reference no: EM131008578

1. The instruction set architecture for a simple computer must support access to 64 KB of byte-addressable memory space and eight 16-bit general-purpose CPU registers.

a. If the computer has three-operand machine language instructions that operate on the contents of two different CPU registers to produce a result that is stored in a third register, how many bits are required in the instruction format for addressing registers?

b. If all instructions are to be 16 bits long, how many op codes are available for the three-operand, register operation instructions described above (neglecting, for the moment, any other types of instructions that might be required)?

c. Now assume (given the same 16-bit instruction size limitation) that, besides the instructions described in (a), there are a number of additional two-operand instructions to be implemented, for which one operand must be in a CPU register while the second operand may reside in a main memory location or a register. If possible, detail a scheme that allows for at least 50 register-only instructions of the type described in (a) plus at least 10 of these two-operand instructions. (Show how you would lay out the bit fields for each of the machine language instruction formats.) If this is not possible, explain in detail why not and describe what would have to be done to make it possible to implement the required number and types of machine language instructions.

2. Multiplication of two 4-bit numbers (as shown in Figure 1) can be implemented as a Wallace tree multiplier (as shown in Figure 2) by using carry saver adders.

1936_Multiplication.jpg

1346_Wallace tree.jpg

Figure. 2 The Wallace tree multiplier for 4-bit numbers

Show Figures 1 and 2 for the following multiplication of a 5-bit number and 4-bit number:

1031_Wallace tree1.png

3. Conversion from decimal fraction to binary fraction is accomplished by multiplying the number by 2, using the integer part of the product as the next digit (and then discarding the integer). For example

.625 × 2 = 1.25 .1(the integer part of this product is 1)
.25 × 2 = 0.50 .10(the integer part of this product is 0)
.50 × 2 = 1.00 .101(the integer part of this product is 1)

So, 0.625 can be represented by .101 in binary (.101 = 1/2 + 0/4 + 1/8 = .625)

Show how the decimal value -27.5625 would be represented in IEEE 754 single (32 bits) and double (64 bits) precision formats. (Reminder: single precision exponents are expressed in excess-127 notation, and double precision exponents are expressed in excess-1023 notation)

Reference no: EM131008578

Questions Cloud

Calculate the average velocity for the total flight : A light aircraft flies 120 km (E) in 0,80 h, then 40 km [W] in 0.20 h. Calculate the average speed for the total flight, and calculate the average velocity for the total flight
Find the equation of the least-squares cubic function : Construct a scatterplot of the data. What characteristics of the plot suggest that a cubic regression would be more appropriate for summarizing the relationship between sunshine index and cloud cover index than a linear or quadratic regression?
Give the x-values representing locations : Give the x-values representing locations where/may have relative extrema points. Set up an equation whose solution is the x-value guaranteed by the Mean Value Theorem on the interval [-1, 1].
What is agency theory : What is "agency theory?" How can setting the appropriate goals for the firm minimize the agency problem. Differentiate between profit maximization and wealth maximization
How many bits are required in the instruction format : The instruction set architecture for a simple computer must support access to 64 KB of byte-addressable memory space and eight 16-bit general-purpose CPU registers.
Independent or paired samples : For each of the following scenarios, say whether the data should be treated as independent or paired samples. Explain briefly. If paired, explain what the pairing involves.
Independent or paired samples : For each of the following scenarios, say whether the data should be treated as independent or paired samples. Explain briefly. If paired, explain what the pairing involves.
What is the amplitude of the given function : What is the amplitude of the function? What is the period of this function? If this graph represents a cosine function, then write an equation for the function.
Observations of commuter traffic : P-value. Have harsher penalties and ad campaigns increased seat-belt use among drivers and passengers? Observations of commuter traffic have failed to find evidence of a significant change compared with three years ago. Explain what the study's P-..

Reviews

Write a Review

Other Engineering Questions & Answers

  Refrigeration cycle and a two-stage compression

Consider a two-stage cascade refrigeration cycle and a two-stage compression refrigeration cycle with a flash chamber. Both cycles operate between the same pressure limits and use the same refrigerant. Which system would you favor? Why?

  Find the gauge pressure at a second point

At a certain point in a horizontal pipeline, the water's speed is 2.50 m/s and the gauge pressure is 1.80 X 104 Pa. Find the gauge pressure at a second point in the line if the cross-sectional area at the second point is twice that at the first.

  Construct the hilbert-transform image pair

Construct the Hilbert-transform image pair, based on the same phase-shift concept and evaluate the total energy of the image pair,and

  Develop a simple canvas animation of your own design

Develop a simple canvas animation of your own design. For example, you could rotate the four smaller solid circles around the red hollow circle using trigonometry (sin and cos)to locate the x,y coordinates of the circles at different angles.

  Working for the bahrain design company

As a Design Engineer working for the Bahrain Design Company. You are assigned to follow the design stages, in order to develop a marketing idea into a product design proposal.

  Digital signal processing

1. Explain in brief the design stages for digital IIR filters. Design a low pass IIR filter to meet the following specification.

  Iron loss and copper loss

What is the different between iron loss and copper loss?

  Sinusoidal voltage and current

Consider the sinusoidal voltage and current v(t) = 120 sin(120πt) V and i(t) = 20sin(120πt + 60o) A.

  How many 8-bit ports are there on the mc9s12dp256b

a how many pin connections are there on the mc9s12dp256b microcontroller chip?b how many 8-bit ports are there on the

  How many pounds of effort would be needed to lift

A fixed pulley system has 11 strands with only 10 supporting. How many pounds of effort would be needed to lift a 1800 lb weight?

  Acceleration of b relative

At a given instant in an airplane race, airplane A is flying horizontally in a straight line, and its speed is being increased at a rate of 6 m/s2. Airplane B is flying at the same altitude as airplane A and, as it rounds a pylon, is following a c..

  Explain the operation of a sliding vane compressor

Explain the need for an instrument air system and explain the operation of a Sliding vane compressor.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd