hex.pop_hex

Effectively:  hex = stack[sp--]
Pops the current stack cell (only the least-significant-hex of it) into the given hex. Decrements sp.
hex is only an output parameter.

Signature

def pop_hex hex < hex.pointers.sp { ... }

Defined in hex/pointers/stack.fj — lines 95–98 (view on GitHub).

Complexity

  • Time: w(0.75@+ 5) + 16@+ 36

  • Space: w(1.13@+32) + 12@+115

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

Source

Depends on


← Previous: hex.push Next: hex.pop_byte