Hi George, > I want to know about the assemble code used for multiplication of a > floating point number .In sdcc if we compile a program containing > floating point multiplication .In the asm code it will call some > functions like PAGESEL __divsint, CALL __divsint it > doesnot gave an idea about which way the multiplication of a floating > point number is implemented.If any one knows the asm code used for pic
Grab the SDCC/pic/pic16 library sources, e.g. from some snapshot at http://sdcc.sf.net/snap.php , look into device/lib/pic16/libsdcc/float/ and/or device.lib/pic/libsdcc/, files fsmul.c (or rather fsdiv.c for division...). But wait, __divsint is used to DIVide Signed INTegers, no floating point here?!? These algorithms are locates in pic/libsdcc/_{mul,div}{u,s}{char,int,long}.c or pic16/libsdcc/{char,int,long}/*.c. > for floating point multiplication plz replay to me .It is urgent help > me Urgent, of course... as always... Regards, Raphael ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user