mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Don't include DBR in direct indexed indirect.
This commit is contained in:
parent
65140b341d
commit
3112376943
@ -345,10 +345,10 @@ template <typename BusHandler, bool uses_ready_line> void Processor<BusHandler,
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
case OperationConstructDirectIndexedIndirect:
|
case OperationConstructDirectIndexedIndirect:
|
||||||
data_address_ = registers_.data_bank + ((
|
data_address_ = (
|
||||||
((registers_.direct + registers_.x.full + instruction_buffer_.value) & registers_.e_masks[1]) +
|
((registers_.direct + registers_.x.full + instruction_buffer_.value) & registers_.e_masks[1]) +
|
||||||
(registers_.direct & registers_.e_masks[0])
|
(registers_.direct & registers_.e_masks[0])
|
||||||
) & 0xffff);
|
) & 0xffff;
|
||||||
data_address_increment_mask_ = 0x00'ff'ff;
|
data_address_increment_mask_ = 0x00'ff'ff;
|
||||||
|
|
||||||
if(!(registers_.direct&0xff)) {
|
if(!(registers_.direct&0xff)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user