& bit-wise 'and % bit-wise 'or’ ! bit'-wise 'exclusive or' XOR same as “!” LSH left shift RSH right shift @ address of The first three compare numbers bit by bit and return a result dependent on the operator, as seen below. Table 1:Bit-Wise AND & compare the Bit A Bit B Result two bits, returning 0 0 0 a value based on 0 1 0 this table. 1 0 0 1 1 1 Example: 5 & 39 --- 00000101 (equals 5 decinial) 00100111 (equalH 39 decimal) & ------------ 00000101 (result of & is 5) Table 2:Bit-Wise OR % returns a value Bit A Bit B Result dependent on 0 0 0 this table. 0 1 1 1 0 1 1 1 1 Example: 5 % 39 -- 00000101 (5) 00100111 (39) %------------- 00100111 (result of % is 39) Table 3:Bit Wise XOR ! returns a value Bit A Bit B Result based on this 0 0 0 table. 0 1 1
& bit-wise 'and % bit-wise 'or’ ! bit'-wise 'exclusive or' XOR same as “!” LSH left shift RSH right shift @ address of The first three compare numbers bit by bit and return a result dependent on the operator, as seen below. Table 1:Bit-Wise AND & compare the two bits, returning a value based on this table. Bit A Bit B Result 0 0 0 0 1 0 1 0 0 1 1 1 Example: 5 & 39 --- 00000101 (equals 5 decinial) 00100111 (equalH 39 decimal) & ------------ 00000101 (result of & is 5) Table 2:Bit-Wise OR % returns a value dependent on this table. Bit A Bit B Result 0 0 0 0 1 1 1 0 1 1 1 1 Example: 5 % 39 -- 00000101 (5) 00100111 (39) %------------- 00100111 (result of % is 39) Table 3:Bit Wise XOR ! returns a value based on this table. Bit A Bit B Result 0 0 0 0 1 1
ACTION_REF_MANUAL.docx