← all animations

BINARY ARITHMETIC

Add, subtract (via two's complement), and combine numbers bit by bit. Watch carries ripple from the least-significant bit upward.

A (unsigned / signed)
–
B (unsigned / signed)
–
Result (unsigned / signed)
–
Flags
carry 0   overflow 0