News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

What are steps for multiplication by repeated addition?

Started by xcbart, May 21, 2019, 01:23:29 AM

Previous topic - Next topic

xcbart


Hi everyone,

I'm not asking for a code. I just need someone to tell the steps in plain English.
Thank you

jj2007

a=b*c: move c into b, then repeat addition of c n-1 times.

FORTRANS

Hi,

   Seven times five is equal to five plus five plus five plus five plus
five plus five plus five.

Cheers,

Steve

i Z !

Let's say you're multiplying 00000011 and 00010110 :

result = 00000110 + 00001100 + 00110000

As you can see you only replace each 1 in the second number with the whole first number and sum them together. This would be my approach however...