mirror of
https://github.com/TomHarte/CLK.git
synced 2025-04-09 00:37:27 +00:00
Corrects return address for TRAP.
This commit is contained in:
parent
ef33b004f9
commit
a90f12dab7
@ -701,6 +701,9 @@ template <class T, bool dtack_is_implicit> void Processor<T, dtack_is_implicit>:
|
||||
precomputed_addresses_[1] = address_[7].full - 6;
|
||||
precomputed_addresses_[2] = address_[7].full - 4;
|
||||
address_[7].full -= 6;
|
||||
|
||||
// The program counter to push is actually one slot ago.
|
||||
program_counter_.full -= 2;
|
||||
} break;
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user