

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


(a) 00110110
01001111
(b) 00110110
(c) 00101001
(d) 01111001
00000000 (or 10000000)
(e) 01111001
11110010 OVERFLOW (sum of two positive integers > 0 111 1111)
(f) 11111001
11110010 OVERFLOW (sum of two negative integers < 1 111 1111) We shall later study a quick, reliable method for detecting overflow.
(a) What is the largest 10-bit sign-magnitude number? 01 1111 1111 = 511
(b) What is the smallest (i.e., negative) 10-bit sign-magnitude number? 11 1111 1111= -
(c) What is the largest 10-bit 2’s complement number? 01 1111 1111 = 511
(d) What is the smallest 10-bit 2’s complement number? 10 0000 0000 = -
(e) How many different values can be represented with 12 bits? 4096