0 Members and 1 Guest are viewing this topic.
Why did the Z80 producers leave some code operations undocumented? Did they not have time to "test" these instructions, did they come about accidentally in the design of the processor, or what?
Quote from: Hot_Dog on December 29, 2010, 09:39:46 amWhy did the Z80 producers leave some code operations undocumented? Did they not have time to "test" these instructions, did they come about accidentally in the design of the processor, or what?Did TI not want to release them?
First and probably the main reason, instructions that weren't originally in the instruction set worked predictably due to the logic that the Z80 performed. The Z80 is quite a logical chip, so under most circumstances, logic would dictate a few things that weren't intended. Like being able to load the high and low bytes of the IX/IY registers independently.
There's a couple of reasons I can suggest as to why they're undocumented.First and probably the main reason, instructions that weren't originally in the instruction set worked predictably due to the logic that the Z80 performed. The Z80 is quite a logical chip, so under most circumstances, logic would dictate a few things that weren't intended. Like being able to load the high and low bytes of the IX/IY registers independently.Well, I guess I don't have a second reason.There was a site that explained all this clearly, but it was on the Geocities thing that got shut down like last year or so. Wished I could've saved it.