mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-12 15:31:09 +00:00
Fix RTE.
This commit is contained in:
parent
269263eecf
commit
c8ede400eb
@ -2015,13 +2015,14 @@ void Processor<BusHandler, dtack_is_implicit, permit_overrun, signal_will_perfor
|
|||||||
SetupDataAccess(Microcycle::Read, Microcycle::SelectWord);
|
SetupDataAccess(Microcycle::Read, Microcycle::SelectWord);
|
||||||
SetDataAddress(registers_[15].l);
|
SetDataAddress(registers_[15].l);
|
||||||
|
|
||||||
|
registers_[15].l += 2;
|
||||||
Access(program_counter_.high);
|
Access(program_counter_.high);
|
||||||
registers_[15].l += 2;
|
registers_[15].l += 2;
|
||||||
Access(program_counter_.low);
|
Access(program_counter_.low);
|
||||||
registers_[15].l += 2;
|
|
||||||
|
|
||||||
|
registers_[15].l -= 4;
|
||||||
Access(temporary_value_.low);
|
Access(temporary_value_.low);
|
||||||
registers_[15].l += 2;
|
registers_[15].l += 6;
|
||||||
status_.set_status(temporary_value_.w);
|
status_.set_status(temporary_value_.w);
|
||||||
|
|
||||||
Prefetch();
|
Prefetch();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user