Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cuae2!ihnp4!ihlpf!straka From: straka@ihlpf.UUCP Newsgroups: comp.sources.d Subject: Re: Z80 -> 8080 converter Message-ID: <945@ihlpf.UUCP> Date: Thu, 15-Jan-87 09:53:16 EST Article-I.D.: ihlpf.945 Posted: Thu Jan 15 09:53:16 1987 Date-Received: Fri, 16-Jan-87 07:02:36 EST References: <249@rocksanne.UUCP> <175@herman.UUCP> Organization: AT&T Bell Labs, Naperville, IL Lines: 20 > > I am look for a Z80 to 8080 program converter. My C compiler only comes with > I believe that z80 has a mere two instructions that 8080 doesn't have. > Therefore, most likely, your z80 program will run unchanged with the 8080 > assembler (I hope i'm right in this). (As long as the z80 code doesn't use > those two instructions that is) If my merory serves me correctly, the Z80 also has a *pair* of register sets that the user can toggle between, whereas the 8080 only has one set of registers. Also, the Z80 has a few auto-incrementing opcodes which help in block-mode data transfers. Perhaps the previous poster was referring to the difference between the 8080 and the 8085 (which *are* almost identical for 5v-only power supply and 2 (RIM? or similar) opcodes). I'm confident that the job could be done without a real lot of effort, but Z80 code is not downward compatible with 8080 code. Hope this helps. -- Rich Straka ihnp4!ihlpf!straka