hex.xor_byte_from_ptr¶
like: dst[:2] ^= *ptr
dst is a hex[2:]. ptr is a hex[:w/4] that holds an address, which we assume is dw-aligned.
Signature¶
def xor_byte_from_ptr dst, ptr < hex.pointers.read_byte { ... }
Defined in hex/pointers/xor_from_pointer.fj — lines 16–20 (view on GitHub).
Complexity¶
Time:
w(0.75@+ 5) + 7@+13Space:
w(0.75@+29) + 7@+48
See the complexity glossary for what @, w, dw, dbit, n mean.