Welcome to our latest new user
Sepa
! (Registered 2024-05-13)
You are not logged in -
nap
CSDb User Forums
Forums
>
C64 Coding
>
The stack and the stack pointer!
2007-06-29
09:08
Laxity
Registered: Aug 2005
Posts: 459
The stack and the stack pointer!
I'm writing a 6502/6510 emulator. I've implemented most of the works but have a problem with the stack. More precisely the stack pointer. The hardware stack, I know, is located at $0100 - $01ff, but where's the stack pointer?.. Is that kept internally in the CPU and not readable?
2007-06-29
09:27
WVL
Registered: Mar 2002
Posts: 886
it's internal to the cpu, just like a,x,y.
You can 'read' it using the TSX/TXS commands.
2007-06-29
09:33
Laxity
Registered: Aug 2005
Posts: 459
Right.. Thanks a bunch..
Refresh
Subscribe to this thread:
You need to be logged in to post in the forum.
Search the forum:
Search
All forums
C64 Coding
C64 Composing
C64 Pixeling
C64 Productions
CSDb Bug Reports
CSDb Discussions
CSDb Entries
CSDb Feedback
CSDb Info
CSDb moderators
CSDb Questions
CSDb V2 development
Messages to moderators
Requests
for
in
Writer & text
Text
Writer
All times are CET.
Search CSDb
All
Releases
Groups
Sceners
Events
BBS
SIDs
-------
Forum
Comments
Advanced
Users Online
t0m3000/BOOM!^ibex-c..
zoi/inversion
Tim/Silicon Limited
jmin
Spinball/Excess
psych
mutetus/Ald ^ Ons
fandenvoldsk
Knut Clausen/SHAPE/F..
iceout/Avatar/HF
Krill/Plush
Guests online: 125
Top Demos
1
13:37
(9.8)
2
Next Level
(9.8)
3
Mojo
(9.7)
4
Coma Light 13
(9.7)
5
Edge of Disgrace
(9.6)
6
Comaland 100%
(9.6)
7
Uncensored
(9.6)
8
No Bounds
(9.6)
9
Wonderland XIV
(9.6)
10
Bromance
(9.5)
Top onefile Demos
1
Party Elk 2
(9.7)
2
It's More Fun to Com..
(9.6)
3
Cubic Dream
(9.6)
4
Layers
(9.6)
5
Copper Booze
(9.5)
6
TRSAC, Gabber & Pebe..
(9.5)
7
Rainbow Connection
(9.5)
8
Dawnfall V1.1
(9.5)
9
Quadrants
(9.5)
10
Daah, Those Acid Pil..
(9.5)
Top Groups
1
Oxyron
(9.3)
2
Booze Design
(9.3)
3
Nostalgia
(9.3)
4
Censor Design
(9.3)
5
Crest
(9.3)
Top Organizers
1
Burglar
(9.9)
2
Sixx
(9.8)
3
hedning
(9.7)
4
Irata
(9.7)
5
MWS
(9.6)
Home
-
Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.027 sec.