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