### Author Topic: What are steps for multiplication by repeated addition?  (Read 602 times)

#### xcbart

• Regular Member
• Posts: 8
##### What are steps for multiplication by repeated addition?
« on: May 21, 2019, 01:23:29 AM »

Hi everyone,

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

#### jj2007

• Member
• Posts: 9994
• Assembler is fun ;-)
##### Re: What are steps for multiplication by repeated addition?
« Reply #1 on: May 21, 2019, 01:25:57 AM »
a=b*c: move c into b, then repeat addition of c n-1 times.

#### FORTRANS

• Member
• Posts: 1063
##### Re: What are steps for multiplication by repeated addition?
« Reply #2 on: May 21, 2019, 03:49:13 AM »
Hi,

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

Cheers,

Steve

#### i Z !

• Member
• Posts: 82
##### Re: What are steps for multiplication by repeated addition?
« Reply #3 on: May 21, 2019, 06:01:45 AM »
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...
I bit a bit,
got bites from bytes.
I'll ram'em back in their RAM
and machine-gun the shit out of their f*in machine...

Try out my Automatized ASM Editor for Windows 10 for 30 days. Also visit ace-web.space!