Reverse Engineering RET Homepage RET Members Reverse Engineering Projects Reverse Engineering Papers Reversing Challenges Reverser Tools RET Re-Search Engine Reverse Engineering Forum Reverse Engineering Links

Go Back   Reverse Engineering Team Board > Reverse Engineering Board > Reverse Code Engineering
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old Yesterday, 02:02 PM
CodeRipper CodeRipper is offline
Member
 
Join Date: Mar 2009
Location: Romania
Posts: 25
Default Bitwise Operators redefinitions

Bitwise Operators redefinitions

1. Bitwise NOT (~)
The bitwise NOT operator (~) inverts the bits of its operand:
if 1 then 0
if 0 then 1

we will not I if input is unchanged and N if input is inverted.

2. Bitwise AND (&)
the result of and will be 0 if any operand is 0
0 and ? = ? and 0 = 0
1 and 1 = 1

if one bit is 0 result 0
if one bit is 1 result the other bit


3. Bitwise OR (|)
the result of and will be 1 if any operand is 1
1 or ? = ? or 1 = 1
0 or 0 = 0

if one bit is 1 result 1
if one bit is 0 result the other bit

4. Bitwise XOR (^)
Same as xor except when 1 xor 1 = 0
if one bit is 0 input : I
if one bit is 1 inverted input: N
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump





Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.