_mulsi help!!!

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

_mulsi help!!!

vijay-25
hai
   i am doing a 32 bit multiplication   using _mulsi3 command and the  answer which i am getting in 0?!! is that anything i need to do to make it work.... ??
 i have pasted the code as well.
milagemultiplier and data received frm obd are declared as longint.
   __mulsi3 (__mulsi3 (MileageMultiplier , dataReceivedFromOBD), 0x1d14f8);
 
 
thanks a lot
vijay


Discover Yahoo!
Get on-the-go sports scores, stock quotes, news & more. Check it out!
Reply | Threaded
Open this post in threaded view
|

Re: _mulsi help!!!

Dmitry-2
hi Vijay,

>    i am doing a 32 bit multiplication   using _mulsi3 command and the
> answer which i am getting in 0?!! is that anything i need to do to make it
> work.... ?? i have pasted the code as well.
Yes, ... read docs ... :)

It says, that _mulsi3 _libraty_ call uses non-standard argument passing
scheme. Therefore _calling_ _mulsi3 might result in unpredictable return.

> milagemultiplier and data received frm obd are declared as longint.
>    __mulsi3 (__mulsi3 (MileageMultiplier , dataReceivedFromOBD), 0x1d14f8);
>

cheers,
~d
>
> thanks a lot
> vijay
>
>
> ---------------------------------
> Discover Yahoo!
>  Get on-the-go sports scores, stock quotes, news & more. Check it out!


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Mspgcc-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users