0101 Low-Level ALU Operations

Binary Arithmetic & Bitwise Calculator

Execute binary addition, subtraction with Two's Complement, multiplication, division, and bitwise logic operations (AND, OR, XOR, NOT, Bit-shifts).

Binary Operands
210
53
12 + 10 Bitmask XOR Shift Right 2
Binary Result (Base 2)
100000111
Decimal Value: 263 (0x107)
Hexadecimal
0x107
Octal
0407
Bit Count
9 Bits
๐Ÿ’ก Step-by-Step Execution:

210 + 53 = 263 → 11010010 + 00110101 = 100000111

Two's Complement & ALU Arithmetic

In modern CPU architectures (x86_64, ARM), all subtraction operations are performed via addition using two's complement: