mirror of
https://github.com/TomHarte/CLK.git
synced 2025-04-19 20:37:34 +00:00
Fix the two 8bit-with-displacement effective address Calc steps.
This commit is contained in:
parent
c869eb1eec
commit
3811ab1b82
@ -1037,6 +1037,7 @@ void Processor<BusHandler, dtack_is_implicit, permit_overrun, signal_will_perfor
|
||||
|
||||
BeginState(CalcAddressRegisterIndirectWithIndex8bitDisplacement):
|
||||
effective_address_[next_operand_] = d8Xn(registers_[8 + instruction_.reg(next_operand_)].l);
|
||||
Prefetch(); // np
|
||||
IdleBus(1); // n
|
||||
state_ = post_ea_state_;
|
||||
break;
|
||||
@ -1072,6 +1073,7 @@ void Processor<BusHandler, dtack_is_implicit, permit_overrun, signal_will_perfor
|
||||
|
||||
BeginState(CalcProgramCounterIndirectWithIndex8bitDisplacement):
|
||||
effective_address_[next_operand_] = d8Xn(program_counter_.l - 2);
|
||||
Prefetch(); // np
|
||||
IdleBus(1); // n
|
||||
state_ = post_ea_state_;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user