Constant REPE

Source
pub const REPE: Constraint;
Expand description

§RepeatEnd

0x0A: REPE

Increment or decrements the top counter on the repeat stack. If the counter is counting up and counter == limit - 1 then this pops the counter and continues with the program. If the counter is counting down and the counter is 0 then this pops the counter and continues with the program. If it is < limit - 1 or > 0 respectively then the program jumps to the last Repeat

§Panics

  • If there is no counter on the repeat stack.
  • If there is no repeat registered to return to.