hex.pointers.xor_byte_to_flip_ptr¶

xors (the byte hex[2:]) to the byte pointed by the memory-word hex.pointers.to_flip.
use after:  .pointers.set_flip_pointer ptr
does:       .xor *ptr, hex[:2]    (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_byte_to_flip_ptr hex { ... }

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

Complexity¶

  • Time: 10@+24

  • Space: 10@+152

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

Used by¶