Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!ihnp4!houxm!hjuxa!catnip!ben From: ben@catnip.UUCP Newsgroups: comp.sources.d Subject: Re: Z80 -> 8080 converter Message-ID: <445@catnip.UUCP> Date: Fri, 16-Jan-87 00:36:38 EST Article-I.D.: catnip.445 Posted: Fri Jan 16 00:36:38 1987 Date-Received: Sat, 17-Jan-87 04:58:09 EST References: <249@rocksanne.UUCP> <175@herman.UUCP> Reply-To: ben@catnip.UUCP (Bennett Broder) Organization: The Broder Residence, Holmdel, NJ 07733 Lines: 22 Keywords: Z80 8080 converter In article <175@herman.UUCP> det@herman.UUCP (Derek Terveer) writes: >In article <249@rocksanne.UUCP>, stein@rocksanne.UUCP (Adam Stein) writes: >> I am look for a Z80 to 8080 program converter. My C compiler only comes with >> an 8080 assembler. This is for a TRS-80 Model 4. I don't care what language >> it's written in. I would appreciate any help on this. > >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) The Z80 and 8080 use the same op-codes and very nearly compatible (except for a couple of new instructions on the Z80), but the assembly language for the two chips is quite different. I am not sure why Zilog decided to change the mnemonics (sp?), but they did. -- Ben Broder {ihnp4,decvax} !hjuxa!catnip!ben {houxm,clyde}/