mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-25 03:32:01 +00:00
Merge pull request #1123 from TomHarte/StackRelative65816
65816: Fix perceived S in emulated stack-relative mode.
This commit is contained in:
commit
9f198f6392
@ -421,7 +421,7 @@ template <typename BusHandler, bool uses_ready_line> void Processor<BusHandler,
|
||||
continue;
|
||||
|
||||
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;
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user