Template Class ReadNeighborState

Class Documentation

template<typename DishSpec>
class dish2::ReadNeighborState

Reads a target readable state from the neighboring cell and stores it into reg[arg_0].

To determine the target readable state, interprets the first bits of the instruction tag as an unsigned integer then calculates the remainder of integer division by the number of readable states.

Public Static Functions

template<typename SgplSpec>
void run(sgpl::Core<SgplSpec> &core, const sgpl::Instruction<SgplSpec> &inst, const sgpl::Program<SgplSpec>&, typename SgplSpec::peripheral_t &peripheral) noexcept
std::string name()
size_t prevalence()
template<typename SgplSpec>
auto descriptors(const sgpl::Instruction<SgplSpec> &inst)
template<typename Spec>
std::set<std::string> categories(const sgpl::Instruction<Spec>&)