Search the web
Sign In
New User? Sign Up
vmu-dev · The VMU Development list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: [vmu] Re: Division   Message List  
Reply | Forward Message #447 of 1156 |
Richard Munn wrote:
>
> Hello MORB
>
> On 04-Aug-00, you wrote:
>
> > Hi,
> >
> > for my current vmu project, I need to divide a 24 bits number by a 16
> > bits number (otherwise, it's too imprecise and gives crapy results), and
> > I wonder how to do this by using the DIV instruction (which divides a 16
> > bits number by a 8 bits number)...
> >
> > I figured easily how to do multiplications of 16 bits (or more) values,
> > because I remember how to do a multiplication by hand, but I can't
> > remember at all how division works :(
> >
> > If somebody could help...

>
> I have no idea if this will be of any help to you, but as you said you
> managed to program long multiplication since you remembered how to do it
> manually, then maybe it will be useful

Thanks. Anyway, one of my colleague have explained me the division in
the meantime :) In fact, despite you can easily split an addition or a
multiplication into several multiplications/additions, it's not so easy
with divisions... I will have to do it completely 'by hand', or find
wome workaround to have good looking results...

--
Antoine 'MORB' Chavasse / CdBS Software



Mon Aug 7, 2000 8:14 am

MORB@...
Send Email Send Email

Forward
Message #447 of 1156 |
Expand Messages Author Sort by Date

... Thanks. Anyway, one of my colleague have explained me the division in the meantime :) In fact, despite you can easily split an addition or a multiplication...
MORB
MORB@...
Send Email
Aug 7, 2000
8:11 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help