It is currently Mon Oct 23, 2017 11:08 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Oct 06, 2006 1:22 pm 
Offline

Joined: Fri Jul 29, 2005 3:40 pm
Posts: 345
Location: near chicago
does the 6502 have an internal register for indirect addressing modes to store the pointer? also, is there an internal register to hold the address for the address bus?

matt


Top
 Profile  
 
PostPosted: Fri Oct 06, 2006 2:20 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19122
Location: NE Indiana, USA (NTSC)
mattmatteh wrote:
does the 6502 have an internal register for indirect addressing modes to store the pointer?

Yes. There has to be at least some register fed to the internal ALU to allow the effective address to be built up. Why do you need this? Are you doing a state-machine implementation of the 6502?

Quote:
also, is there an internal register to hold the address for the address bus?

How to answer this in the most helpful way depends on what you are trying to do.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 06, 2006 9:48 pm 
Offline

Joined: Fri Jul 29, 2005 3:40 pm
Posts: 345
Location: near chicago
the cpu core works in my emu, i was just making some changes and cleaning up some stuff. i figured the 6502 has those registers and i was going to match that in my code. i know the hardware doenst have to be exact, but i have those variables anyway.

i took a cpu design class several years ago, so i understand most/all of the 6502. just need to refresh some of it.

thanks matt


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours


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:  
Powered by phpBB® Forum Software © phpBB Group