Integer Representation and Binary Arithmetic


Integer Representation

Unsigned Integers

Signed Integers


Sign-Magnitude


1's Complement


2's Complement


Conversion of Byte Integer to Word

Conversion of Word Integer to Byte


Integer Arithmetic (1's Comp and 2's Comp)

Addition in 1's Comp

Addition in 2's Comp

Subtraction in 2's Comp


Overflow