64 bit signed integer math routines for M68332

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

64 bit signed integer math routines for M68332

1,485 Views
idlebrain
Contributor I
Hi,
I need 64 bit signed integer math routines for M68332, manily I am looking for mod operator in assebly. I tried with ashware gcc to generate the assebly listing, But this generated a library function "moddi3". I could not get source code for 683XX port for this function.
 
If any one is having idea / sample code / algorithm please help me.
 
 
Thanks a million.
idlebrain
Labels (1)
0 Kudos
1 Reply

278 Views
ChrisJohns
Contributor I
Hello,

The code for that function comes from this file in GCC:

http://gcc.gnu.org/viewcvs/trunk/gcc/libgcc2.c?revision=136534&view=markup

It is a little complex so I hope it helps.

Regards
Chris
0 Kudos