hex.push_hexΒΆ
Effectively: stack[++sp] = hex
Pushes the given hex to the next cell in the stack. Increments sp.
SignatureΒΆ
def push_hex hex < hex.pointers.sp { ... }
Defined in hex/pointers/stack.fj β lines 59β62 (view on GitHub).
ComplexityΒΆ
Time:
w(0.75@+ 5) + 20@+ 39Space:
w(1.13@+32) + 16@+167
See the complexity glossary for what @, w, dw, dbit, n mean.
SourceΒΆ
Click to view the macro body
def push_hex hex < hex.pointers.sp {
.sp_inc
.write_hex hex.pointers.sp, hex
}
Depends onΒΆ
β Previous: hex.pop_ret_address
Next: hex.push_byte β