Template Class ReadOwnState

Class Documentation

template<typename DishSpec>
class dish2::ReadOwnState

Reads a target readable state 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>&, const typename SgplSpec::peripheral_t &peripheral) noexcept
std::string name()
size_t prevalence()
template<typename SgplSpec>
auto descriptors(const sgpl::Instruction<SgplSpec> &inst)
template<typename SgplSpec>
auto categories(const sgpl::Instruction<SgplSpec> &inst)