#158969 - Dwedit - Mon Jun 23, 2008 3:35 pm
How do I read the user mode stack pointer from within an interrupt handler?
Edit: I see that libgba's IRQ handler switches to System mode before jumping to an IRQ handler, do I just switch to system mode to read SP?
Edit: looks like the question was moot because I was in system mode anyway... oh well.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."
Edit: I see that libgba's IRQ handler switches to System mode before jumping to an IRQ handler, do I just switch to system mode to read SP?
Edit: looks like the question was moot because I was in system mode anyway... oh well.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."