home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / cpm / 1622 < prev    next >
Encoding:
Text File  |  1993-01-23  |  1.1 KB  |  26 lines

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