Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Multiplication and Division Multiply 2 x 3 (0010 x 0011) Multiplier 0011 0011 0011 0001 0001 0001 Multiplicand 0000 0010 0000 0010 0000 0100 0000

image text in transcribed

image text in transcribed

Multiplication and Division Multiply 2 x 3 (0010 x 0011) Multiplier 0011 0011 0011 0001 0001 0001 Multiplicand 0000 0010 0000 0010 0000 0100 0000 0100 0000 0100 0000 1000 0000 1000 0000 1000 0001 0000 0001 0000 0001 0000 0010 0000 0010 0000 Step Initial values 1a: M01>prod prod+mcand 2: shift left multiplicand 3: shift right multiplier 1a: M0-1 => prod = prod + m cand 2: shift left multiplicand 3: shift right multiplier 1: M0:0 => no operation 2: shift left multiplicand 3: shift right multiplier 1: M0:0 => no operation 2: shift left multiplicand 3: shift right multiplier 0 0000 0010 0000 0010 0000 0010 0000 0110 0000 0110 0000 0110 0000 0110 0000 0110 0000 0110 0000 0110 0000 0110 0000 0110 Multiply 6 x 7 (0110 x 0111) Step Multiplier Multiplicand Initial values 1 or 1a 2: shift left multiplicand 3: shift right multiplier 1 or 1a 2: shift left multiplicand 3: shift right multiplier 1 or 1a 2: shift left multiplicand 3: shift right multiplier 1 or 1a 2: shift left multiplicand 3: shift right multiplier 0 Multiply 10 x 10 (1010 x 1010) Step Multiplier Multiplicand Initial values 1 or 1a 2: shift left multiplicand 3: shift right multiplier 1 or 1a 2: shift left multiplicand 3: shift right multiplier 1 or 1a 2: shift left multiplicand 3: shift right multiplier 1 or 1a 2: shift left multiplicand 3: shift right multiplier 0 Divide 7/2 (0111/0010) Remainder 0000 0111 Initial values 1: rem rem-div 0010 0000 0010 0000 0010 0000 0001 0000 0001 0000 0001 0000 0000 1000 0000 1000 0000 1000 0000 0100 0000 0100 0000 0100 0000 0010 0000 0010 0000 0010 0000 0001 0000 0111 0000 0111 3: shift right divisor 1: rem rem-div 2 0000 0111 0000 0111 3: shift right divisor 1: rem rem-div 3 3: shift right divisor 1: rem rem-div 2a: rem>-0sll Q, 00-1 3: shift right divisor 1: rem rem-div 2a: rem>-0sll Q, 00-1 3: shift right divisor 0000 0111 0000 0111 0000 0011 0000 0011 0000 0011 0000 0001 0000 0001 0000 0001 4 0001 0001 0001 0011 0011 5 Divide 12/3 (1100 /0011) Remainder Initial values 2 3 4 5

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

Modern Database Management

Authors: Fred R. McFadden, Jeffrey Slater, Mary B. Prescott

5th Edition

0805360549, 978-0805360547

More Books

Students also viewed these Databases questions