The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => 16 bit DOS Programming => Topic started by: xxxx on February 26, 2005, 06:53:48 AM

Title: assembly arimethic
Post by: xxxx on February 26, 2005, 06:53:48 AM
i understand that when u want do add a or subtract two data's that are more than a word long,u would have to process it one word at a time right?so what about multiplying and dividing data that is more than a word long???

thanks
Title: Re: assembly arimethic
Post by: Tedd on February 28, 2005, 12:59:16 PM
Yep, you still have to do it one 'word' at a time. Although the mul and div instructions do allow to use edx and eax stuck together to form a bigger 'word', but if your numbers get bigger than this, then you still need to do it as long-division/multiplication.