Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Computer Arithmetic Assume we have a 16-bit Arithmetic Logic Unit. List the inputs and outputs in binary for the ALU if we are using it

Computer Arithmetic Assume we have a 16-bit Arithmetic Logic Unit. List the inputs and outputs in binary for the ALU if we are using it to determine if X = 1810 < Y = 2510. Remember: the ALU has three inputs and three outputs. The selection value will be 112 for Set on Less Than. Use 16 bits or 1 bit to represent the remaining inputs and outputs as appropriate. Inputs are X (16 bit), Y (16 bit), Selection Value (11_2) which is already specified. Outputs are Zero (1 bit), Result (16 bit), Overflow (1 bit) As long as you provide inputs (X, Y), and outputs (Zero, Result, Overflow), you get full credit. b) Compare and contrast the third multiplication algorithm with Booths Algorithm for the following 8-bit numbers. Use A = 0001 00112 for the multiplier and B = 0011 11102 for the multiplicand. Determine AxB using each algorithm. Which algorithm uses more arithmetic operations? Which algorithm is more efficient for AxB? Recall that shifts are more efficient than adds. c) Suppose you are constructing a 3-bit ripple counter using three D flip-flops and some selection of gates. The inputs to the system are Reset (sets every output to zero) and Inc (a signal to increment the counter). The outputs are the value of the counter C2C1C0. When the counter has the value 7 and is incremented, it should become zero. Draw the D flip-flop and logic gates for C2 (the most significant bit) only. You may use a block diagram for the D flip-flop.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions

Question

What is operatiing system?

Answered: 1 week ago

Question

8. How would you explain your decisions to the city council?

Answered: 1 week ago