mirror of
https://github.com/DavidBuchanan314/6502-emu.git
synced 2024-06-07 02:29:34 +00:00
default stack pointer value to 0xff
This commit is contained in:
parent
99aac0a85f
commit
db29c5cba6
|
@ -107,7 +107,7 @@ int main(int argc, char *argv[])
|
||||||
a = 0;
|
a = 0;
|
||||||
x = 0;
|
x = 0;
|
||||||
y = 0;
|
y = 0;
|
||||||
sp = 0;
|
sp = 0xFF;
|
||||||
sr = 0;
|
sr = 0;
|
||||||
pc = -RST_VEC; // negative implies indirect
|
pc = -RST_VEC; // negative implies indirect
|
||||||
while ((opt = getopt(argc, argv, "hvimfa:b:x:y:r:p:s:g:c:l:")) != -1) {
|
while ((opt = getopt(argc, argv, "hvimfa:b:x:y:r:p:s:g:c:l:")) != -1) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user