TRAP shall not update MMR1

This commit is contained in:
folkert van heusden 2024-04-12 21:09:43 +02:00
parent 74f3a4d949
commit 3886e216f0
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

View file

@ -1703,10 +1703,8 @@ void cpu::trap(uint16_t vector, const int new_ipl, const bool is_interrupt)
b->clearMMR1(); b->clearMMR1();
before_psw = getPSW(); before_psw = getPSW();
b->addToMMR1(-2, 6);
before_pc = getPC(); before_pc = getPC();
b->addToMMR1(-2, 6);
// TODO set MMR2? // TODO set MMR2?
} }