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: 902
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 Development
CSDb Discussions
CSDb Entries
CSDb Feedback
CSDb Info
CSDb moderators
CSDb Questions
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
Ninja/The Dreams
MWR/Visdom
Peacemaker/CENSOR/Hi..
LightSide
DKT/Samar/sidDivers
astaroth/TRSI
kbs/Pht/Lxt
t0m3000/hf^boom!^ibx
Guests online: 116
Top Demos
1
Next Level
(9.7)
2
13:37
(9.7)
3
Mojo
(9.7)
4
Coma Light 13
(9.6)
5
Edge of Disgrace
(9.6)
6
What Is The Matrix 2
(9.6)
7
The Demo Coder
(9.6)
8
Uncensored
(9.6)
9
Comaland 100%
(9.6)
10
Wonderland XIV
(9.6)
Top onefile Demos
1
No Listen
(9.6)
2
Layers
(9.6)
3
Cubic Dream
(9.6)
4
Party Elk 2
(9.6)
5
Copper Booze
(9.6)
6
Dawnfall V1.1
(9.5)
7
Rainbow Connection
(9.5)
8
Onscreen 5k
(9.5)
9
Morph
(9.5)
10
Libertongo
(9.5)
Top Groups
1
Performers
(9.3)
2
Booze Design
(9.3)
3
Oxyron
(9.3)
4
Censor Design
(9.3)
5
Triad
(9.3)
Top Organizers
1
Burglar
(9.9)
2
Sixx
(9.8)
3
hedning
(9.7)
4
Irata
(9.7)
5
Tim
(9.7)
Home
-
Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.035 sec.