HW HTMT C.00 đã chuyển đổi
HW HTMT C.00 đã chuyển đổi
2. If we use the numbers of bits above as numbers of address pins of memory. Give
these addresses.
There are 32, 64 and 128 lines
3. Give ranges of unsigned integers, signed integers (2’s comp.) from 6, 7 bits.
Part 3.
.5 Using 5 bits to represent each number, write the representations of 7 and —
7 in l's complement, signed magnitude, and 2's complement integers.
7: 00111
-7:11001
2.6 Write the 6-bit 2's complement representation of —32.
-32: 100000
2.7 Create a table showing the decimal values of all 4-bit 2's
complement numbers.
2.8 a. What is the largest positive number one can represent in an 8-bit
2's complement code? Write your result in binary and decimal.
Bin:11111111
Dec:255
b. What is the greatest magnitude negative number one can represent in
an 8-bit 2's complement code? Write your result in binary and decimal.
Bin:100000000
Dec:-256
c. What is the largest positive number one can represent in n-bit 2's
complement code? 2^(n-1) -1