1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-25 11:17:26 +00:00

Completes 65816 addressing mode tests and corresponding fixes.

This commit is contained in:
Thomas Harte
2020-10-14 22:00:52 -04:00
parent e511d33a7c
commit 3c6adc1ff4
3 changed files with 64 additions and 5 deletions
@@ -360,8 +360,9 @@ template <typename BusHandler> void Processor<BusHandler>::run_for(const Cycles
continue;
case OperationConstructStackRelativeIndexedIndirect:
data_address_ = (instruction_buffer_.value + y()) & 0xffff;
data_address_ = data_bank_ + data_buffer_.value + y();
data_address_increment_mask_ = 0xff'ff'ff;
data_buffer_.clear();
continue;
case OperationConstructPER: