koadrobot/bits@0.1.2

License: GPL 3.0

Bit nodes. 0.0.1 [09.02.2019 ] : bit/ Set/ Clear/ Read/ Write/ Shift/ ShitLeft/ ShiftRight, and/ or/ not/ xor, sizeof 0.1.0 [11.02.2019 ] : First Released. 0.1.2: [23.02.2019]: Added info.
NodeDescription
aallNo description
bit(number)
Get Number that is N bit is set. shiftleft(1,N)
bit-and(number)
Computes bitwise AND of two or more number in integer_32. A resulting bit at a particular position is 1 only if corresponding bits of all inputs are 1.
bit-clear(number)
Clear (zero) bit of the number value. (0 is right, 31 is left) 31 is sign bit.
bit-not(number)
Computes bitwise NOT of a number. Also known as complement. A resulting bit at a particular position is 1 when input bit at the same position is 0, and vice versa.
bit-or(number)
Computes bitwise OR of two or more numbers. A resulting bit at a particular position is 0 only if all corresponding bits of inputs are 0.
bit-read(number)
Return bit state of the Input Byte Value. (zero or 1) (0 is right, 31 is left) 31 is sign bit.
bit-set(number)
Set (1) bit of the number value. (0 is right, 31 is left) 31 is sign bit.
bit-shift(number)
Shift right the number value. (0 is right, 30 is left) 31 is sign bit. Side is Shift Left = True, Right =False.
bit-shiftleft(number)
Shift left the number value. (0 is right, 30 is left) 31 is sign bit.
bit-shiftright(number)
Shift right the number value. (0 is right, 31 is left) 31 is sign bit.
bit-write(number)
Set bit of the number value by SIG. (0 is right, 30 is left) 31 is sign bit.
bit-xor(number)
Computes bitwise XOR of two or more numbers. A resulting bit at a particular position is 1 only if an odd number of corresponding bits of inputs is 1.
sizeof(number)
Size of Number in Byte.
To use the nodes in your project you should have the koadrobot/bits library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.