The MASM Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
MASM32 Downloads
Home
Help
Search
Login
Register
The MASM Forum
»
Miscellaneous
»
Irvine Book Questions.
»
What are steps for multiplication by repeated addition?
« previous
next »
Print
Pages: [
1
]
Author
Topic: What are steps for multiplication by repeated addition? (Read 2977 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
Logged
jj2007
Member
Posts: 13635
Assembly 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.
Logged
Masm32 Tips, Tricks and Traps
FORTRANS
Member
Posts: 1226
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
Logged
i Z !
Member
Posts: 125
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...
Logged
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
silverfox.systems/ace
!
Print
Pages: [
1
]
« previous
next »
The MASM Forum
»
Miscellaneous
»
Irvine Book Questions.
»
What are steps for multiplication by repeated addition?