home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.cpm
- Path: sparky!uunet!cs.utexas.edu!asuvax!ukma!news!wyvern!waggen!alpha
- From: alpha@waggen.twuug.com (Joe Wright)
- Subject: Re: 8080/8085/Z80 Code Identifier
- Message-ID: <1993Jan23.000635.1843@waggen.twuug.com>
- Organization: ALPHA, Box 68621, Va. Beach, VA 23455
- X-Newsreader: TIN [version 1.1 PL8]
- References: <2411@sousa.tay.dec.com>
- Date: Sat, 23 Jan 1993 00:06:35 GMT
- Lines: 14
-
- Strong datatypes for weak minds. (secrist@msdsws.enet.dec.com) wrote:
-
- : Not that it'd be hard to write, but does anybody have some code you
- : can feed a random .COM file to and have it tell you whether or not it's
- : pure 8080, 8085, or Z80 code ?
-
- I don't suppose so. You can run the target code through a disassembler
- and see what you get. If you are sure you are in code and see JR to
- a reasonable address, it's Z80 code. If you see only JP (JMP) instructions
- is is probably 8080 code. 8085 is identical to 8080 code except for
- the SIM/RIM instructions (8085). Most CP/M applications are written
- in 8080 code so as to function equally well on 8080/8085/Z80 cpu's.
- --
- Joe Wright alpha@waggen.twuug.com "Jose' can you C?"
-