Jump to content
IGNORED

Noob question about forcing an addressing mode


TROGDOR

Recommended Posts

Atari Gurus,

 

I'm in the middle of writing a very hairy 2-line kernel, and I've come across an instance where I need to force a zero-page STA to take 4 cycles. I can do this by making the store absolute instead of zero-page, but is there a clean way to do this in DASM without having to specify the opcode bytes?

 

I've got:

 

STA Temp4

 

The ugly way to force this is:

 

.byte #$8D

.byte #Temp4

.byte #$00

 

Correct?

 

Thanks,

Edited by TROGDOR
Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...