Jump to content
Sign in to follow this  
Heaven/TQA

Illegal opcode usefull?

Recommended Posts

just went through several lists of illegal opcodes for the atari800...

 

anybody using them? i mean f.e. LAX is straight forwared and understandable but for what are the rest usefull??? anybody has some examples where they might be a step forward in terms of quicker or less bytes used?

Share this post


Link to post
Share on other sites
i mean f.e. LAX is straight forwared and understandable but for what are the rest usefull??? anybody has some examples where they might be a step forward in terms of quicker or less bytes used?

:idea: Check the [stella] mailing list!

Share this post


Link to post
Share on other sites

One of the nice things about, e.g. DCP is that it supports address modes that DEC does not. DEC (foo),y is impossible but DCP (foo),y works fine, so it can be a quicker way of decrementing something if you don't care about the flags.

 

LAX works like this too - LDX (foo),y doesn't exist but LAX (foo),y does.

 

And of course there are times when you actually want to increment something and then subract it from A (ISB), but those are rare... :wink:

 

Anyway, you said you went through several lists, but this one is my favorite: http://atarihq.com/danb/files/64doc.txt, even if the explanations are a little cryptic...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...