hex.push_byteΒΆ
Effectively: stack[++sp] = byte[:2]
Pushes the given byte to the next cell in the stack. Increments sp.
byte is a hex[:2].
SignatureΒΆ
def push_byte byte < hex.pointers.sp { ... }
Defined in hex/pointers/stack.fj β lines 69β72 (view on GitHub).
ComplexityΒΆ
Time:
w(0.75@+ 5) + 26@+ 51Space:
w(1.13@+32) + 22@+255
See the complexity glossary for what @, w, dw, dbit, n mean.
SourceΒΆ
Click to view the macro body
def push_byte byte < hex.pointers.sp {
.sp_inc
.write_byte hex.pointers.sp, byte
}
Depends onΒΆ
β Previous: hex.push_hex
Next: hex.push β