hex/logics.fj¶
———- Logical Macros:
Macros¶
hex¶
hex.xor/2—dst ^= srchex.xor/3—dst[:n] ^= src[:n]hex.exact_xor—{d3,d2,d1,d0} ^= srchex.xor_zero/2—dst ^= srchex.xor_zero/3—dst[:n] ^= src[:n]hex.double_xor—dst1 ^= srchex.address_and_variable_xor—address(bit_address) ^= srchex.double_exact_xor—{t3,t2,t1,t0} ^= srchex.address_and_variable_double_xor—address1(bit_address) ^= srchex.quadrupled_exact_xor—{q3,q2,q1,q0} ^= srchex.not/1—hex = !hex (15-hex)hex.not/2—x[:n] = !x[:n]hex.or/2—dst |= srchex.or/3—dst[:n] |= src[:n]hex.and/2—dst &= srchex.and/3—dst[:n] &= src[:n]
hex.or¶
hex.or.init— Its 8-bits are expected to be {src<<4 | dst} at the jump to it (for the src,dst hexes of the or operation).
hex.and¶
hex.and.init— Its 8-bits are expected to be {src<<4 | dst} at the jump to it (for the src,dst hexes of the and operation).