Fix handler address for FIV exception

This commit is contained in:
Simon Gellis 2025-08-15 00:07:04 -04:00
parent 483714c0d6
commit 5d4a422e61
1 changed files with 1 additions and 1 deletions

View File

@ -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 & 0xFFF0) == 0xFF70 ? 0xFF60 : cause & 0xFFF0);
}
/* All exceptions */