Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SP=0xFFFF Interrupt Enable Register #2

Open
ericcee opened this issue Jun 14, 2021 · 0 comments
Open

SP=0xFFFF Interrupt Enable Register #2

ericcee opened this issue Jun 14, 2021 · 0 comments

Comments

@ericcee
Copy link

ericcee commented Jun 14, 2021

ld sp, $FFFF ; set the stack pointer to RAMEND, the stack will grow toward $0

You are setting the Stack Pointer to the Interrupt Enable Register.
You should change it to 0xFFFE.

@ericcee ericcee changed the title SP=0xFFFF Interrupt Flag Register SP=0xFFFF Interrupt Enable Register Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant