Fix handler address for FIV exception
This commit is contained in:
parent
483714c0d6
commit
5d4a422e61
|
@ -495,7 +495,7 @@ static int cpuException(VB *sim) {
|
||||||
sim->cpu.eipc = sim->cpu.pc;
|
sim->cpu.eipc = sim->cpu.pc;
|
||||||
sim->cpu.psw.ep = 1;
|
sim->cpu.psw.ep = 1;
|
||||||
sim->cpu.nextPC = 0xFFFF0000 |
|
sim->cpu.nextPC = 0xFFFF0000 |
|
||||||
((cause & 0xFFF0) == 0xFF60 ? 0xFF60 : cause & 0xFFF0);
|
((cause & 0xFFF0) == 0xFF70 ? 0xFF60 : cause & 0xFFF0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* All exceptions */
|
/* All exceptions */
|
||||||
|
|
Loading…
Reference in New Issue