Article View: comp.sources.d
Article #2151Re: Z80 -> 8080 converter
From: Jan Mikkelsen
Date: Sat, 17 Jan 1987 10:35
Date: Sat, 17 Jan 1987 10:35
22 lines
1591 bytes
1591 bytes
In article <175@herman.UUCP>, det@herman.UUCP (Derek Terveer) writes:
>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 is object compatible with the 8080, but *not* the other way
around! For examply, the Z80 has two 16 bit index registers, which the 8080
does not have, IX and IY. Now if a compiler is going to ignore two 16 bit
registers, it would not be a very good one. I very much double good Z80 code
could run unmodified on an 8080. Maybe a macro assembler, with macros for the
Z80 instructions in 8080 code?
Jan Mikkelsen.
ACSnet: janm@runx.oz JANET: runx.oz!janm@ukc
ARPA: janm%runx.oz@seismo.css.gov CSNET: janm@runx.oz
UUCP: {enea,hplabs,mcvax,prlb2,seismo,ubc-vision,ukc}!munnari!runx.oz!janm
I KNOW there is something I have forgotten .... Of cource! The witty remark!
Technical Details
Message-ID:
<605@runx.OZ>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!munnari!moncskermit!basser!metro!ipso!runx!janmReferences:
<249@rocksanne.UUCP> <175@herman.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!munnari!moncskermit!basser!metro!ipso!runx!janm From: janm@runx.OZ (Jan Mikkelsen) Newsgroups: comp.sources.d Subject: Re: Z80 -> 8080 converter Message-ID: <605@runx.OZ> Date: Sat, 17-Jan-87 05:35:53 EST Article-I.D.: runx.605 Posted: Sat Jan 17 05:35:53 1987 Date-Received: Sat, 24-Jan-87 13:48:01 EST References: <249@rocksanne.UUCP> <175@herman.UUCP> Reply-To: janm@runx.OZ (Jan Mikkelsen) Organization: RUNX Un*x Timeshare. Sydney, Australia. Lines: 22