News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

assembly arimethic

Started by xxxx, February 26, 2005, 06:53:48 AM

Previous topic - Next topic

xxxx

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

Tedd

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.
No snowflake in an avalanche feels responsible.