mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-28 07:29:45 +00:00
Improves exposition.
This commit is contained in:
parent
2c1d8fa18a
commit
52e3dece81
@ -121,7 +121,9 @@ template <class T, bool dtack_is_implicit, bool signal_will_perform> void Proces
|
|||||||
// no instruction was ongoing. Either way, do a standard instruction operation.
|
// no instruction was ongoing. Either way, do a standard instruction operation.
|
||||||
|
|
||||||
// TODO: is an interrupt pending?
|
// TODO: is an interrupt pending?
|
||||||
|
|
||||||
if(trace_flag_) {
|
if(trace_flag_) {
|
||||||
|
// The user has set the trace bit in the status register.
|
||||||
active_program_ = nullptr;
|
active_program_ = nullptr;
|
||||||
active_micro_op_ = exception_micro_ops_;
|
active_micro_op_ = exception_micro_ops_;
|
||||||
populate_trap_steps(9, get_status());
|
populate_trap_steps(9, get_status());
|
||||||
@ -163,6 +165,7 @@ template <class T, bool dtack_is_implicit, bool signal_will_perform> void Proces
|
|||||||
active_micro_op_ = active_program_->micro_operations;
|
active_micro_op_ = active_program_->micro_operations;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
// The opcode fetched isn't valid.
|
||||||
active_program_ = nullptr;
|
active_program_ = nullptr;
|
||||||
active_micro_op_ = exception_micro_ops_;
|
active_micro_op_ = exception_micro_ops_;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user