NMI exception handler: Fix reserving too much RAM for registers

This commit is contained in:
Angus Gratton 2015-09-14 17:43:29 +10:00
parent 9ae2464258
commit d4e5af7f0b

View file

@ -78,7 +78,7 @@ NMIHandlerStack: /* stack space for NMI handler */
.skip 4*0x100 .skip 4*0x100
.LNMIHandlerStackTop: .LNMIHandlerStackTop:
NMIRegisterSaved: /* register space for saving NMI registers */ NMIRegisterSaved: /* register space for saving NMI registers */
.skip 4*(0x16 + 6) .skip 4*(16 + 6)
/* Save register relative to a0 */ /* Save register relative to a0 */
.macro SAVE_REG register, regnum .macro SAVE_REG register, regnum