hex.pointers.xor_hex_to_flip_ptr (arity 1)

xors (the parameter hex) to the hex pointed by the memory-word hex.pointers.to_flip.
use after: .pointers.set_flip_pointer ptr
does: .xor *ptr, hex (as it uses the address in to_flip)
It assumes that the value in the memory-word to_flip is a dw-aligned address to an hex-variable.

Signature

def xor_hex_to_flip_ptr hex { ... }

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

Complexity

  • Time: 5@+12

  • Space: 5@+76

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

Source

Depends on

Used by

Example uses


← Previous: hex.pointers.xor_byte_to_ptr_and_inc Next: hex.pointers.xor_byte_to_flip_ptr