Chapter 3: Q4E (page 237)
What is when these values represent unsigned 12-bit octal numbers? The result should be written in octal. Show your work.
Short Answer
The result of subtracting the octal number 3412 from 4365 is 753.
Chapter 3: Q4E (page 237)
What is when these values represent unsigned 12-bit octal numbers? The result should be written in octal. Show your work.
The result of subtracting the octal number 3412 from 4365 is 753.
All the tools & learning materials you need for study success - in one app.
Get started for freeCalculate the time necessary to perform a multiply using the approach given in Figure 3.3 and 3.4 if an integer is 8 bits wide and each step of the operation takes 4-time units. Assume that in step 1a an addition is always performed -either the multiplicand will be added, or a zero will be. Also assume that the registers have already been initialized (you are just counting how long it takes to do the multiplication loop itself). If this is being done in hardware, the shifts of the multiplicand and multiplier can be done simultaneously. If this is being done in software, they will have to be done one after the other. Solve for each case.
Question 3.2 [5] What is 5ED4 - 07A4 when these values represent signed 16- bit hexadecimal numbers stored in sign-magnitude format? The result should be written in hexadecimal. Show your work.
Question: Based on your answer to 3.38 and 3.39, is
Calculate the time necessary to perform a multiply using the approach described in the text (31 adders vertically) if an integer is 8 bits wide and an adder takes 4 time units.
As discussed in the text, one possible performance enhancement is to do a shift and add instead of actual multiplication. Since , for example, can be written , we can calculate by shifting 6 to the left 3 times and then adding 6 to that result. Show the best way to calculate using shifts and adds/subtracts. Assume both inputs are 8 bit unsigned integers.
What do you think about this solution?
We value your feedback to improve our textbook solutions.