Question

In: Computer Science

Represent -60 in binary using 8-bit signed magnitude. Add the following unsigned 8 bit binary numbers...

Represent -60 in binary using 8-bit signed magnitude.

Add the following unsigned 8 bit binary numbers as shown. 01110101 + 00111011

Add the following unsigned 8 bit binary numbers as shown. 01000100 + 10111011

Solutions

Expert Solution

1)
-60
------
This is negative. so, follow these steps to convert this to various binary formats.
Divide 60 successively by 2 until the quotient is 0
60/2 = 30, remainder is 0
30/2 = 15, remainder is 0
15/2 = 7, remainder is 1
7/2 = 3, remainder is 1
3/2 = 1, remainder is 1
1/2 = 0, remainder is 1
Read remainders from the bottom to top as 111100
Adding 2 zeros on left hand side of this number to make this of length 8
So, 60 in normal binary format is 00111100
sign-magnitude:
-----------------
set 1 as left most bit, since this number is negative.
so, 00111100 becomes 10111100
=====================================
||    sign-magnitude: 10111100    ||
=====================================

2)
Adding 01110101 and 00111011 in binary
    01110101
    00111011
-------------
    10110000
-------------
so, 01110101 + 00111011 is 10110000

3)
Adding 01000100 and 10111011 in binary
    01000100
    10111011
-------------
    11111111
-------------
so, 01000100 + 10111011 is 11111111

Related Solutions

Represent the following numbers in binary 8-bit representation using singed magnitude, one's complement, two's complement, and...
Represent the following numbers in binary 8-bit representation using singed magnitude, one's complement, two's complement, and excess-127 representations: a) 48 b) -35
1. Please convert the following decimal numbers to 8-bit binary sign magnitude and to 8-bit 2’s...
1. Please convert the following decimal numbers to 8-bit binary sign magnitude and to 8-bit 2’s complement. Please show your work if there are multiple steps. Sign Magnitude 2’s complement a. +67 b. +40 c. -28 d. -40
Assuming signed two’s complement representation using m=8 bits, add the following numbers using binary addition AND...
Assuming signed two’s complement representation using m=8 bits, add the following numbers using binary addition AND determine the values of the N, Z, V and C flags in response to each calculation. (-128) + (+100) (+5) + (+7) (+5) + (-7) (-5) + (+7) (-5) + (-7) (+120) + (+100) (-120) + (-100) (6A)16+ (E2)16 (A7)16+ (35)16 (80)16+ (80)16
Write -127 as 8 bit signed binary number both using 2'complement and sign/magnitude notation.
Write -127 as 8 bit signed binary number both using 2'complement and sign/magnitude notation.
Complete the following table. All binary numbers are 8-bit signed integers. (Don't forget to show the...
Complete the following table. All binary numbers are 8-bit signed integers. (Don't forget to show the steps of your solution!) Decimal value Sign-magnitude representation Ones' complement representation Two's complement representation -98 10001011 01110101 10100100 Compute the results of the indicated operations in columns 2 and 3, assuming that the binary numbers represent integers in the formats given by column 1. Identify which of the operations, if any, results in an overflow. (Don't forget to show the steps of your solution!)...
1a. Convert 67 (base 10) to 8-bit binary using signed magnitude. Show your work. 1b. Convert...
1a. Convert 67 (base 10) to 8-bit binary using signed magnitude. Show your work. 1b. Convert 69 (base 10) to 8-bit binary using one’s complement. Show your work 1c. Convert 70 (base 10) to 8-bit binary using two’s complement. Show your work. 1d. Convert - 67 (base 10) to 8-bit binary using signed magnitude. 1e. Convert - 67 (base 10) to 8-bit binary using ones compliment. Show your work. 1f. Convert - 67 (base 10) to 8-bit binary using 2s...
The result of subtracting the following two signed binary numbers on an eight bit machine is...
The result of subtracting the following two signed binary numbers on an eight bit machine is      10110011    - 01101001
Interpret these signed 8-bit sequences with each type of signed/unsigned encoding. Remember the bits are arbitrary!...
Interpret these signed 8-bit sequences with each type of signed/unsigned encoding. Remember the bits are arbitrary! They can be interpreted in many different ways. C.1: Complete the following table using decimal (base-10) numbers. The first line is already completed for you bit sequence unsigned sign-magnitude 1s’ complement 2’s complement 00000101 +5 +5 +5 +5 11110001 ? ? ? ? 01010011 ? ? ? ? 10000000 ? ? ? ? 11111111 ? ? ? ?
c) Using the 32-bit binary representation for floating point numbers, represent the number 1011100110011 as a...
c) Using the 32-bit binary representation for floating point numbers, represent the number 1011100110011 as a 32 bit floating point number. i) A digital camera processes the images images in the real-world and stores them in binary form. Using the principles of digital signal processing, practically explain how this phenomenon occurs.
Convert the following statement into the 8-bit unsigned binary ASCII representation: Bob’s laptop receives the frame...
Convert the following statement into the 8-bit unsigned binary ASCII representation: Bob’s laptop receives the frame containing the ARP reply message. First, convert each character into it's ASCII equivalents. Then, convert to a Binary number. For example: Bob's -> 066 111 098 039 115 -> 01000010 01101111 01100010 00100111 01110011 Remember, each Binary number has to be 8-bits.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT