home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / cpm / 943 < prev    next >
Encoding:
Text File  |  1992-07-22  |  2.3 KB  |  52 lines

  1. Newsgroups: comp.os.cpm
  2. Path: sparky!uunet!sun-barr!ames!daffodil!wyvern!alpha
  3. From: alpha@wyvern.twuug.com (Joe Wright)
  4. Subject: Re: Undocumented Z80 Opcodes
  5. Message-ID: <1992Jul23.033020.838@wyvern.twuug.com>
  6. Organization: Box 68621, Virginia Beach, 23455
  7. X-Newsreader: Tin 1.1 PL4
  8. References: <9207211456.AA03307@LL.MIT.EDU>
  9. Date: Thu, 23 Jul 1992 03:30:20 GMT
  10. Lines: 40
  11.  
  12. sage@LL.MIT.EDU (Jay Sage) writes:
  13. : Willy answered me with:
  14. : >> Both the '180 and '280 have expanded instruction sets that make use of
  15. : >> the so-called un-documented instructions, particularly in the ED-xx
  16. : >> group...
  17. : Thanks for the reply, but I did not completely understand it.  I knew, of
  18. : course, that the Z180 and Z280 had expanded instruction sets, and I would
  19. : have guessed that most if not all of the so-called undocumented Z80 opcodes
  20. : would have been used.  The question is, do none, some, or all of the
  21. : formerly undocumented codes work on the Z180 and Z280 chips as they do on
  22. : the Z80?  If some program authors made use of those undocumented opcodes,
  23. : will their programs no longer work properly?
  24. : -- Jay Sage
  25. Imposter? :)
  26. The Jay Sage I know has both Z80 and Z180 machines at hand.  My Jay would
  27. be answering these questions instead of posing them.  (Just kidding Jay.)
  28.  
  29. But the question of whether undocumented (read unsupported) opcodes work
  30. or not is moot.  If you use them on your Z80 machine and they work for
  31. you at 'your house' there is no reasonable assurance that they will work
  32. the same way on a Z80 at 'my house' (though they probably will).  And if
  33. they don't, there is nobody to complain to (except the author of the
  34. 'broken' code).  The Z180 began life as a Hitachi 64180 and has nothing
  35. in common architecturally with the Zilog Z80.  If any 'undocumented'
  36. Z80 ops produce the same results on a 180 it would be by accident rather
  37. than plan.  And you wouldn't actually use them in a program would you?
  38.  
  39. It is academically interesting I guess.  Somebody (not me) ought to 
  40. document the undocumented opcodes for both processors and compare the
  41. results.  Offer all results to the net and/or znode and rcpm systems
  42. and stand back.  There are still a few hackers out there who will test
  43. what you say and confirm or argue against your conclusions.  It might
  44. be fun.  But maybe not important.  You wouldn't use them!
  45.  
  46. -- 
  47. Joe Wright  alpha@wyvern.twuug.com    
  48.