get around shl and shr

  • Follow


Hi im havin a problem in getting aroun shl and shr, i want to convert
a mantissa to FP format

;exponent is 3
mov ebx,31
sub ebx,exponent
shr eax,ebx

the last line is wrong, how to get around it, but still use 2 memory
operands!!!

0
Reply bujar 12/5/2008 6:32:00 PM

On Fri, 5 Dec 2008 10:32:00 -0800 (PST), "bujar.mamudi@gmail.com"
<spamtrap@crayne.org> wrote:

>Hi im havin a problem in getting aroun shl and shr, i want to convert
>a mantissa to FP format
>
>;exponent is 3
>mov ebx,31
>sub ebx,exponent
>shr eax,ebx
Second operand has to be in cl

>
>the last line is wrong, how to get around it, but still use 2 memory
>operands!!!
-- 
ArarghMail811 at [drop the 'http://www.' from ->] http://www.arargh.com
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html

To reply by email, remove the extra stuff from the reply address.

0
Reply ArarghMail811NOSPAM 12/5/2008 8:05:09 PM


1 Replies
185 Views

(page loaded in 0.058 seconds)

Similiar Articles:













7/18/2012 6:24:11 AM


Reply: