Re: newbie: MUL product
- From: Herbert Kleebauer <klee@xxxxxxxxx>
- Date: Thu, 29 Mar 2007 17:48:39 +0200
Brian wrote:
On Thu, 29 Mar 2007 17:04:48 +0200, Herbert Kleebauer <klee@xxxxxxxxx>
?????00000104: 66 f7 26 010e mulu.l val2,r0,r1|r0
What if my multiplier and multiplicand are both 32-bit to begin with,
and I'm in a 32 bit environment.
Are my options in that case as follows:
Define a QWORD (64-bit) "product" variable
move offset of product variable to register
copy edx (high dword) to offset of product variable
copy eax (low dword) to (offset + 4)
copy eax to product_variable
copy edx to product_variable+4
Don't know the MASM syntax, someting like:
mov dword ptr product_variable,eax
mov dword ptr product_variable+4,edx
Or in a readable way:
move.l r0,product_variable
move.l r1,product_variable+4
.
- Follow-Ups:
- Re: newbie: MUL product
- From: /\\\\o//\\annabee
- Re: newbie: MUL product
- References:
- newbie: MUL product
- From: Brian
- Re: newbie: MUL product
- From: Herbert Kleebauer
- Re: newbie: MUL product
- From: Brian
- newbie: MUL product
- Prev by Date: Re: newbie: MUL product
- Next by Date: Re: newbie: MUL product
- Previous by thread: Re: newbie: MUL product
- Next by thread: Re: newbie: MUL product
- Index(es):