hex.pointers.xor_byte_to_ptr_and_incΒΆ

Effectively:  hex.xor *ptr, hex[:2]
ptr += dw
ptr is a hex[:w/4] that holds an address, which we assume is an hex-variable, which is dw-aligned.

SignatureΒΆ

def xor_byte_to_ptr_and_inc ptr, hex { ... }

Defined in hex/pointers/xor_to_pointer.fj β€” lines 84–87 (view on GitHub).

ComplexityΒΆ

  • Time: w(0.5@+2)  + 19@+38

  • Space: w(0.9@+17) + 15@+207

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

SourceΒΆ

Depends onΒΆ


← Previous: hex.pointers.xor_hex_to_ptr_and_inc Next: hex.pointers.xor_hex_to_flip_ptr/1 β†’