hex.if_flags¶

if flags&(1<<hex) is true:
jump to l1;
else jump to l0.

flags (constant): 16 bit constant; bit i indicates whether to jump to l0/l1 when hex=i.

Signature¶

def if_flags hex, flags, l0, l1 @ switch, clean, return, finish { ... }

Defined in hex/cond_jumps.fj — lines 12–26 (view on GitHub).

Complexity¶

  • Time: @-1

  • Space: @+15

See the complexity glossary for what @, w, dw, dbit, n mean.

Used by¶