1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-08-13 00:25:26 +00:00

Merge pull request #1123 from TomHarte/StackRelative65816

65816: Fix perceived S in emulated stack-relative mode.
This commit is contained in:
Thomas Harte
2023-04-14 23:26:00 -04:00
committed by GitHub

View File

@@ -421,7 +421,7 @@ template <typename BusHandler, bool uses_ready_line> void Processor<BusHandler,
continue; continue;
case OperationConstructStackRelative: case OperationConstructStackRelative:
data_address_ = (registers_.s.full + instruction_buffer_.value) & 0xffff; data_address_ = (stack_address() + instruction_buffer_.value) & 0xffff;
data_address_increment_mask_ = 0x00'ff'ff; data_address_increment_mask_ = 0x00'ff'ff;
continue; continue;