Jump to content
Sign in to follow this  
jbanes

DASM Weirdness

Recommended Posts

Does anyone know if accumulator mode addressing is supported by DASM? A simple example program like the following doesn't assemble due to "unresolved symbol" 'a':

 

	processor 6502
org $0000

asl a

 

Yet according to all the documentation I can find (example: here), accumulator addressing is supposed to be available on the ASL instruction. The LSR, ROL, and ROR instructions appear to be similarly affected. I'm using a recent Mac compile of DASM. (Whichever version that is; I can't find a reliable version number on it.) I've also tried it on Windows with the most recent version, and DASM simply fails to assemble it with the message, "More than 10 passes, something *must* be wrong!"

 

Any insight?

Share this post


Link to post
Share on other sites
Just remove the "a" :)

Aaaaah, I see.

 

The darn 'A' is redundant, but it didn't occur to me that the DASM authors might have taken that into account. Thanks! :)

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...