Struct RegulatorDecay

Struct Documentation

struct sgpl::local::RegulatorDecay

Ages the regulator decay countdown of local jump table tags matching this instruction’s tag by the amount reg[arg_0].

When a regulator ages past a threshold, it is reset to default. If reg[arg_0] is negative, this operation can forestall decay.

Public Static Functions

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