HW4-sol - Operation Multiplicand Product next? 0. initial...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1 CSE 341: Computer Organization Spring 2011 Solution to HW #4 Problem 1. Problem 2. Problem 3.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2
Background image of page 2
3 3.4.3. Since the solution is not unique, no solution is provided. You can go over the flow chart and develop the code on your own. Problem 4. Perform the binary multiplication of 5 X 7 using Booth's algorithm. Show the steps.
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Operation Multiplicand Product next? 0. initial value 0101 0000 0111 0 10 -> sub 1a. P = P - m 1011 + 1011 1011 0111 0 shift P (sign ext) 1b. 0101 1101 1011 1 11 -> nop, shift 2. 0101 1110 1101 1 11 -> nop, shift 3. 0101 1111 0110 1 01 -> add 4a. 0101 + 0101 0100 0110 1 shift 4b. 0101 0010 0011 0 done...
View Full Document

Page1 / 3

HW4-sol - Operation Multiplicand Product next? 0. initial...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online