|
|
get around shl and shr
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: Signed shift of 32-bit int using 16-bit instructions? - comp.lang ...SAL and SHL are just two names for the same instruction. ... cx,bits_to_shift > shift: > sar dx,1 ;signed shr ... working on 64-bit integer routines to try to get around it. Finding global zone name from a non-global - comp.unix.solaris ...... though. > > -- > Kjetil T. Sure, I was thinking of sticking a wrapper around ... stored in /shr/global_name > > cat /shr/global_name > grid15 $ zonename shell $ cat /shr ... Allocating Memory in DOS - comp.lang.asm.x86(or just increment bx after the shr, but that could waste ... 000Fh ;bottom 4 bits shl ... comp ... stat function limit for ... 2GB ... how to get ... Math logic - comp.lang.asm.x86... of ms in 1 hour, rounded up mov edx, ((1 shl 32 ... mov [ebx+4],eax ;; Save min mov eax,ecx shr ecx,4 ... digits, so we can start by splitting the value around ... Extended-Precision Division - comp.lang.asm.x86There are faster divides around for special cases, but I ... divide once), multiply this value by a 2^n figure (SHL ... which then allow to replace the divide with SHR after ... top 10 uses for random data compression?? anyone? - comp ...THe counting argument is valid, trying to get around it is a fool's errand. ... It's very sharp today, I'll accompany subsequently or Haji will base the ... improve strlen - comp.lang.asm.x86... AT&T syntax but it should have the legs on any byte scanner around ... 80808080h jz lbl3 test ecx, 8080h jnz lbl4 shr ecx, 10h add eax, 2 lbl4: shl ... [comp.publish.cdrom] CD-Recordable FAQ, Part 1/4 - comp.publish ...Archive-name: cdrom/cd-recordable/part1 Posting-Frequency: monthly Last-modified: 2008/10/09 Version: 2.71 Send corrections and updates to And... SAY command on z/OS - Routine not found - comp.lang.rexx ...Have you TRIED to put quotes around the DSN? Commands are ... as "ALLOC FI(BLABLA) DA('"fully qualified dsn"') SHR ... ANSI terminal escape sequence regexp - comp.unix.shell ... Seashore - A Rocky Seashore Ecosystem :: Environmental Facts ...Molluscs of the rocky shore are mostly uni-vavled (one shell) snails, whilst those of the ... strong to be able to carry both the crab and the shell. It walks slowly around ... How do you get shoal shells in Pokemon RubyAnswer In the Shoal Cave, you may come across two exclusive items - the Shoal Salt and the Shoal Shell. There are about four of each at any given time in the cave and ... 7/18/2012 6:24:11 AM
|
|
|
|
|
|
|
|
|