Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site terak.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!decwrl!pyramid!hplabs!hao!noao!terak!doug From: doug@terak.UUCP (Doug Pardee) Newsgroups: net.lang.c Subject: Re: Request for multiply/divide routines. Message-ID: <1093@terak.UUCP> Date: Mon, 17-Mar-86 12:13:14 EST Article-I.D.: terak.1093 Posted: Mon Mar 17 12:13:14 1986 Date-Received: Fri, 21-Mar-86 04:24:40 EST References: <695@tymix.UUCP> Organization: Calcomp Display Products Division, Scottsdale, AZ, USA Lines: 13 > 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