#11520 - simnav - Thu Oct 09, 2003 9:08 am
Hi to everybody !
I'm trying to write data to user bank registers when I'm in IRQ mode with this instruction:
ldmfd sp,{r1-r12}^
This should pop data from IRQ stack and store them in registers of USR mode. Is it wrong ? I ask you this because what happens with VisualBoy Emulator+Insignt debugger is that data are stored int IRQ bank and not in USR mode.
I don't think that is a emulator problem but is a error of mine, but where is the error ?
Thank you in advance.
simnav.
I'm trying to write data to user bank registers when I'm in IRQ mode with this instruction:
ldmfd sp,{r1-r12}^
This should pop data from IRQ stack and store them in registers of USR mode. Is it wrong ? I ask you this because what happens with VisualBoy Emulator+Insignt debugger is that data are stored int IRQ bank and not in USR mode.
I don't think that is a emulator problem but is a error of mine, but where is the error ?
Thank you in advance.
simnav.