Function bxor()

← Back to Module core



Module core → bxor()

Description

Perform bitwise XOR operation for the every bit of the given number x and y

bxor(x, y, bit_width = 32, unsigned = false)


Parameters


Return Value


Usage Example

a = bxor(5, 9, 8, true)   ' a = 12 -> Where 00000101 XOR 00001001 is 00001100 (12 in unsigned 8-bit)


Availability

This function is available on Dinfio version 3.1.06 or later