1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-05 10:28:58 +00:00

Improves exposition.

This commit is contained in:
Thomas Harte 2019-04-29 19:07:14 -04:00
parent 2c1d8fa18a
commit 52e3dece81

View File

@ -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.
// TODO: is an interrupt pending?
if(trace_flag_) {
// The user has set the trace bit in the status register.
active_program_ = nullptr;
active_micro_op_ = exception_micro_ops_;
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;
}
} else {
// The opcode fetched isn't valid.
active_program_ = nullptr;
active_micro_op_ = exception_micro_ops_;