home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!mips!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!hobbes.physics.uiowa.edu!iowasp.physics.uiowa.edu!syswtr
- From: syswtr@iowasp.physics.uiowa.edu
- Newsgroups: comp.os.cpm
- Subject: Re: Undocumented Z80 Opcodes
- Message-ID: <1992Jul23.091100.1@iowasp.physics.uiowa.edu>
- Date: 23 Jul 92 15:11:00 GMT
- References: <9207211456.AA03307@LL.MIT.EDU> <1992Jul23.033020.838@wyvern.twuug.com>
- Sender: news@space.physics.uiowa.edu
- Organization: Department of Physics and Astronomy, University of Iowa
- Lines: 21
- Nntp-Posting-Host: iowa4.physics.uiowa.edu
-
- In article <1992Jul23.033020.838@wyvern.twuug.com>, alpha@wyvern.twuug.com (Joe Wright) writes:
- > sage@LL.MIT.EDU (Jay Sage) writes:
- > : Willy answered me with:
- > :
- > : >> Both the '180 and '280 have expanded instruction sets that make use of
- > : >> the so-called un-documented instructions, particularly in the ED-xx
- > : >> group...
- > :
- > : Thanks for the reply, but I did not completely understand it. I knew, of
- > : course, that the Z180 and Z280 had expanded instruction sets, and I would
- > : have guessed that most if not all of the so-called undocumented Z80 opcodes
- > : would have been used. The question is, do none, some, or all of the
- > : formerly undocumented codes work on the Z180 and Z280 chips as they do on
- > : the Z80?
-
- As things turn out, the Hitachi '180 traps all unused opcodes. Undefined
- opcodes generate an interrupt (non-maskable, of course), set the trap bit
- in the ITC register, and vector to logical address zero (for MP/M and
- CP/M systems, this will simply end the program).
-
- Willy
-