1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-05 10:28:58 +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_);
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.
//
@ -807,7 +817,6 @@ template <typename BusHandler> void Processor<BusHandler>::run_for(const Cycles
} break;
// TODO:
// TRB, TSB,
// STP, WAI,
// RTL,