1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-19 08:31:11 +00:00

Takes a short at TSB and TRB.

Three to go.
This commit is contained in:
Thomas Harte 2020-10-10 22:00:17 -04:00
parent b8848d8580
commit 0619e49eac

View File

@ -669,6 +669,16 @@ template <typename BusHandler> void Processor<BusHandler>::run_for(const Cycles
flags_.set_z(data_buffer_.value & a_.full, m_shift_); flags_.set_z(data_buffer_.value & a_.full, m_shift_);
break; break;
case TRB:
flags_.set_z(data_buffer_.value & a_.full, m_shift_);
data_buffer_.value &= ~a_.full;
break;
case TSB:
flags_.set_z(data_buffer_.value & a_.full, m_shift_);
data_buffer_.value |= a_.full;
break;
// //
// Branches. // Branches.
// //
@ -807,7 +817,6 @@ template <typename BusHandler> void Processor<BusHandler>::run_for(const Cycles
} break; } break;
// TODO: // TODO:
// TRB, TSB,
// STP, WAI, // STP, WAI,
// RTL, // RTL,