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@+12Space:
5@+76
See the complexity glossary for what @, w, dw, dbit, n mean.
Source¶
Click to view the macro body
def xor_hex_to_flip_ptr hex {
.xor_hex_to_flip_ptr hex, 0
}
Depends on¶
Used by¶
Example uses¶
hex.xor_hex_to_ptrinhex/pointers/xor_to_pointer.fjhex.write_hexinhex/pointers/write_pointers.fj
← Previous: hex.pointers.xor_byte_to_ptr_and_inc
Next: hex.pointers.xor_byte_to_flip_ptr →