Request for multiply/divide routines.

Doug Pardee doug at terak.UUCP
Tue Mar 18 03:13:14 AEST 1986


> I am looking for two routines/algorithms:
> 
> 1.	multiply two 32-bit unsigned integers giving a 64-bit result
> 	stored in two 32-bit variables.

NS32000 Series assembler:

	MEID	OPND32,R0		;Result in R0 and R1

What?  C???  Oh.  I forgot that C compilers always produce code that is
at least as good as you can write by hand in assembler  :-)
-- 
Doug Pardee -- CalComp -- {elrond,savax,seismo,decvax,ihnp4}!terak!doug



More information about the Comp.lang.c mailing list