Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!hellgate.utah.edu!helios.ee.lbl.gov!ncis.tis.llnl.gov!lll-winken!lll-lcc!rzh From: rzh@lll-lcc.UUCP (Roger Hanscom) Newsgroups: comp.os.cpm Subject: Re: Z80 Algorithms Message-ID: <2618@lll-lcc.UUCP> Date: 4 Oct 89 18:21:40 GMT Organization: Lawrence Livermore Labs, LCC, Livermore Ca Lines: 17 In <1306@gmdzi.UUCP>, Georg Wittig (wittig@gmdzi.UUCP) requests Z80 algorithms for 16- and 32-bit arithmetic, code conversion, etc. Georg- There's a pretty good book on the subject called "Z80 Assembly Language Routines" by Lance Leventhal and Winthrop Saville (Osborne/McGraw-Hill, Berkeley, 1983). I don't know if it's still in print (soft-bound), but perhaps you could find it in a good library?? It presents assembly language fragments with descriptive text in chapters with titles such as: "code conversion", "string manipulation", "arithmetic", "bit manipulation and shifts", etc. I can't vouch for the relative speed of these algorithms, but it certainly could be a good place to start! If you are interested in floating point arithmetic, there's not much here. You might then try looking at a dis-assembled BASIC or f.p. math libraries from a Z80 "C" compiler?? Any help with f.p. out there???? roger rzh@lll-lcc.llnl.gov