1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-30 22:29:56 +00:00

Fix destination decrement.

This commit is contained in:
Thomas Harte 2022-05-19 15:22:59 -04:00
parent ce7f94559b
commit 7ef526e2d3

View File

@ -806,7 +806,7 @@ void Processor<BusHandler, dtack_is_implicit, permit_overrun, signal_will_perfor
SetDataAddress(registers_[8 + instruction_.reg(0)].l);
Access(operand_[0].low); // nr
registers_[8 + instruction_.reg(1)].l -= byte_word_increments[1][instruction_.reg(1)];
registers_[8 + instruction_.reg(1)].l -= byte_word_increments[0][instruction_.reg(1)];
SetDataAddress(registers_[8 + instruction_.reg(1)].l);
Access(operand_[1].low); // nr