diff --git a/Processors/65816/Implementation/65816Implementation.hpp b/Processors/65816/Implementation/65816Implementation.hpp index 9a8ab646d..19a4e5278 100644 --- a/Processors/65816/Implementation/65816Implementation.hpp +++ b/Processors/65816/Implementation/65816Implementation.hpp @@ -669,6 +669,16 @@ template void Processor::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 void Processor::run_for(const Cycles } break; // TODO: - // TRB, TSB, // STP, WAI, // RTL,