Ok, Dmitry !
I will write one, but I need to know how parameters are passed to the
__muldi3,
and what registers can I clobber ?

Regards,
Oleg.

----- Original Message -----
From: "Dmitry" <[email protected]>
To: <[email protected]>
Sent: Friday, January 31, 2003 9:18 AM
Subject: Re: [Mspgcc-users] Missing "__muldi3" ...


> Ok then
> Can anybody write an assembly code for hardware multiplication for 64 bits
> integers?
>
> cheers,
> ~d
>
>
> On Thursday 30 January 2003 18:49, Oleg Skydan wrote:
> > Hello All,
> >
> > I am in a BIG trouble. The following program works only for MCU's
without
> > HW multiplyer.
> >
> > long long a,b,c;
> >
> > int main(void)
> > {
> > a=b*c;
> > }
> >
> >
> > And here is the GCC output:
> >
> > C:\DOCUME~2\Oleg\LOCALS~1\Temp/ccYlbaaa.o: In function `main':
> > C:\DOCUME~2\Oleg\LOCALS~1\Temp/ccYlbaaa.o(.text+0x26): undefined
reference
> > to `__muldi3'
> >
> > I use the latest win32 available (with update).
> >
> > Also, I (and I think many other MSPGCC users) will be thankful for
someone
> > to compile new
> > win32 MSPGCC build.
> >
> > All the best !
> > Oleg.
> >
> >
> >
> > -------------------------------------------------------
> > This SF.NET email is sponsored by:
> > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> > http://www.vasoftware.com
> > _______________________________________________
> > Mspgcc-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
> --
> /********************************************************************
>      ("`-''-/").___..--''"`-._     (\   Dimmy the Wild      UA1ACZ
>       `6_ 6  )   `-.  (     ).`-.__.`)  Enterprise Information Sys
>       (_Y_.)'  ._   )  `._ `. ``-..-'   Nevsky prospekt,   20 / 44
>     _..`--'_..-_/  /--'_.' ,'           Saint Petersburg,   Russia
>    (il),-''  (li),'  ((!.-'             +7 (812)  3468202, 5585314
>  ********************************************************************/
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld
http://www.vasoftware.com
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>


Reply via email to