Hello,
Is there any pattern to the z80 opcodes?
SirCmpwn wrote:
Hello,
Is there any pattern to the z80 opcodes?
Absolutely. They're designed to trigger certain series of logic gates deep within the z80's core that designate how the subsequent bytes are treated. To go into how exactly they're laid out, though, is probably somewhat outside the scope of your project, whatever it happens to be. Can you specify what your purpose is?
I'm working on the tiDE emulator. Trust me, it's within the scope of my project Wink
Cool Very Happy Can't wait to do beta testing Smile
SirCmpwn wrote:
I'm working on the tiDE emulator. Trust me, it's within the scope of my project Wink
Aight, then give me a chance to get home and pop open tasm80.tab, and we'll see what we can figure out.
Thanks.
One of the simplest way to decode the opcodes is to use the rules documented here. For speed you may wish to use a large switch block or table of function pointers.
benryves wrote:
One of the simplest way to decode the opcodes is to use the rules documented here. For speed you may wish to use a large switch block or table of function pointers.
Ah, that's exactly the kind of analysis I was going to do myself. Nice find, Benryves.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement