Solution using Binary Subtraction: Solution using Two's Complement:
Two's complement of the number (00100101)bis:
Calculating (10111011)b-(00100101)b is the same as adding (10111011)b and two's complement of the number (00100101)b: Task 1.1.3.2
Calculate (78)d - (116)d.
Solution using Two's Complement:
(116)d = (01110100)b
(78)d = (01001110)b
Two's complement of the number (01110100)b is:
Ústav automatizace a měřicí techniky, VUT v Brně
Kolejní 2906/4, 612 00 Brno, Czech Republic