mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-06 13:31:55 +00:00
DBcc: add write-back.
This commit is contained in:
parent
860cc63e21
commit
4327af3760
@ -1109,7 +1109,11 @@ void Processor<BusHandler, dtack_is_implicit, permit_overrun, signal_will_perfor
|
|||||||
InstructionSet::M68k::Operation::DBcc
|
InstructionSet::M68k::Operation::DBcc
|
||||||
>(
|
>(
|
||||||
instruction_, operand_[0], operand_[1], status_, *static_cast<ProcessorBase *>(this));
|
instruction_, operand_[0], operand_[1], status_, *static_cast<ProcessorBase *>(this));
|
||||||
// Next state is set by complete_dbcc
|
|
||||||
|
// Just do the write-back here.
|
||||||
|
registers_[instruction_.reg(0)].w = operand_[0].w;
|
||||||
|
|
||||||
|
// Next state was set by complete_dbcc. Branch to it.
|
||||||
break;
|
break;
|
||||||
|
|
||||||
BeginState(DBcc_branch_taken):
|
BeginState(DBcc_branch_taken):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user