default stack pointer value to 0xff

This commit is contained in:
Rob McMullen 2017-12-19 18:33:41 -08:00
parent 99aac0a85f
commit db29c5cba6
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ int main(int argc, char *argv[])
a = 0;
x = 0;
y = 0;
sp = 0;
sp = 0xFF;
sr = 0;
pc = -RST_VEC; // negative implies indirect
while ((opt = getopt(argc, argv, "hvimfa:b:x:y:r:p:s:g:c:l:")) != -1) {