6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Thu May 09, 2024 9:55 am

All times are UTC




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Mon Mar 20, 2023 6:48 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8432
Location: Southern California
Quote:
I guess what is needed is immediate indirect addressing...like #(zpPointer),y

I'm not familiar with the particular assembler you're using; however, this may be your problem and be partly why others are saying it's not clear what you're trying to do.  "Immediate" (which is what the "#" means) and "indirect" never go together.  "Immediate" means the instruction's operand (ie, the byte of the instruction that follows the op code) is the actual data itself.  It is not an address of where to find the data, nor an address pointing to another address (which may be pre-indexed with X, or post-indexed with Y).

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


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 post attachments in this forum

Search for:
Jump to: