Hex Editor - Binary File Editing Software for Windows
Bitwise operations include NOT, OR, AND and XOR. The first operation does not require an operand, while all others require the operand of a given size. More information is provided in the table below (in the table below x is a variable containg currently processing value):
|NOT||N/A||x = ~x|
|OR||a||x = x | a|
|AND||a||x = x & a|
|XOR||a||x = x ^ a|
When you execute a bitwise operation, the following dialog appears:
The operation you executed is automatically selected, but you can change it if you like.
If the chosen operation requires an operand, select its type and enter its value.
You can use a pattern for a bitwise operation (except for NOT). In this case, the operation iterates through each byte (or word etc., depending on view type) as the operation is applied to the selection.
Non-byte size operands are always aligned.