Struct JumpIfNot

Struct Documentation

struct sgpl::global::JumpIfNot

Conditionally jumps core to execute a new module.

Jumps the current core to a global anchor that matches the instruction tag if reg[arg_0] is zero. If reg[arg_1] is zero, resets registers.

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>&)