Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!apple!oliveb!mipos3!cadev5!dbraun From: dbraun@cadev5.intel.com (Doug Braun ~) Newsgroups: comp.os.cpm Subject: Re: Z80 Algorithms Message-ID: <1111@mipos3.intel.com> Date: 16 Oct 89 16:59:45 GMT References: <8910132000.AA03993@rom.ecse.rpi.edu> Sender: news@mipos3.intel.com Reply-To: dbraun@cadev5.UUCP (Doug Braun ~) Organization: Corporate CAD, INTeL Corporation, Santa Clara, CA Lines: 30 In article <8910132000.AA03993@rom.ecse.rpi.edu> black@ROM.ECSE.RPI.EDU (Jerry Glomph Black) writes: > (Jurjen N.E. Bos) writes: >>Maybe somebody is interested in this: I can multiply to unsigned 8-bit numbers >>in 158 clockcycles. . . . > >Big deal! Use a 64180 (aka Z180) chip, has the MLT instruction, takes 17 >clock cycles, or 1.85 micro seconds. (By the way: it's a 2-byte instruction) > >Jerry Glomph Black, 8-bit terrorist Bigger deal!! Use a Z280 and do *16* bit multiplies (signed AND unsigned) in 25 or so clcok cycles. Also divide! (32 bits / 16 bits). Also 2-byte instructions. Unless you want to do something like: HL := DEHL DIV (IX+2345H) Doug Braun Intel Corp CAD 408 765-4279 / decwrl \ | hplabs | -| oliveb |- !intelca!mipos3!cadev4!dbraun | amd | \ qantel / or: dbraun@cadev4.intel.com