hex.xor_byte_to_ptr (arity 2)ΒΆ
Effectively: hex.xor *ptr, hex[:2]
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 ptr, hex { ... }
Defined in hex/pointers/xor_to_pointer.fj β lines 45β48 (view on GitHub).
ComplexityΒΆ
Time:
w(0.5@+2) + 10@+24Space:
w(0.5@+14) + 10@+152
See the complexity glossary for what @, w, dw, dbit, n mean.
SourceΒΆ
Click to view the macro body
def xor_byte_to_ptr ptr, hex {
.pointers.set_flip_pointer ptr
.pointers.xor_byte_to_flip_ptr hex
}
Depends onΒΆ
Used byΒΆ
Example usesΒΆ
hex.pointers.xor_byte_to_ptr_and_incinhex/pointers/xor_to_pointer.fj
β Previous: hex.xor_hex_to_ptr/2
Next: hex.xor_hex_to_ptr/3 β