mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-29 12:50:28 +00:00
Fix perceives S in emulated stack-relative mode.
This commit is contained in:
parent
363fd0f781
commit
107cb18df4
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user