big numbers mul

Please support our Assembly advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jan 2009
Posts: 2
Reputation: akb_behnam is an unknown quantity at this point 
Solved Threads: 0
akb_behnam akb_behnam is offline Offline
Newbie Poster

big numbers mul

 
0
  #1
Jan 13th, 2009
Hi
I am new in assembley and I need a sample source or a tutorial about mul of big numbers

for example 10 disigts * 10 digits.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 751
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: big numbers mul

 
0
  #2
Jan 13th, 2009
And?

The tutorial is "can you do this on paper"?
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 2
Reputation: akb_behnam is an unknown quantity at this point 
Solved Threads: 0
akb_behnam akb_behnam is offline Offline
Newbie Poster

Re: big numbers mul

 
0
  #3
Jan 14th, 2009
Yes I can
What do you do mean ?
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 751
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: big numbers mul

 
0
  #4
Jan 14th, 2009
So write the steps out on paper, and think about turning it into operations you can implement on a computer.

  1. 13
  2. *57
So you start with 3*7, result is 21. The 1 is one part of the result, which you do something with, and the 2 is another part of the result which you do something else with.

Throw in a couple of loops, and you're nearly there.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 28
Reputation: badbloodyeyez is an unknown quantity at this point 
Solved Threads: 0
badbloodyeyez badbloodyeyez is offline Offline
Light Poster

Re: big numbers mul

 
0
  #5
Jan 14th, 2009
An example of such case would be

MOV A,#25H
MOV B,#65H
MUL AB

where A has 25H and B has 65H and just use the MUL function to multiply both but you must only use A and B registers. The results will be saved in register A.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Assembly Forum


Views: 890 | Replies: 4
Thread Tools Search this Thread



Tag cloud for Assembly
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC