Question

1. a) Perform the following binary subtractions of unsigned binary numbers. Convert your answer to decimal. i) 101001012 - 01

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Example 2s System Pata = 0lol value of data is ? 1015 010) MS B =0 then +(0001) - +5. Elample Solo Dumbes es reprsented in 2To solve this question, we need to knoto the basles about unsigned and egned representations Especially, as compliment repre1.6 asume form. the given numbers are in as compliment © The easiest way to solve this one, s convert the signed binary Cie9 The sign of (oroolool) - the The magnitude of (01001001), = 26+2 +20 = 64 +8+1 = 13 in 2s Compliment - (01001001), - (+33)-ve The signs of (1011010), magnitude 6 00100101 rool Col10) 165 +3210 s 25+2+2 = (31/10 in 2s compliment. P11011010) (-37).@ (1116 +(22)16 - no overflow 7+5=12) - (0) lo (17)16 + (35) 16 *C) - nodverflow ☺ (FA), t (CE) 16 (A) 16 = (10) 10 + (E) 161 The given content in 16-bit register is l o 10 9 8 15 14 13 12 11 ILI DOO 7 6 5 0 1 1 4 0 3 l 1 is in @ the content of 16-b1 The given content in 16-bit register is l o 10 9 8 15 14 13 12 11 ILI DOO 7 6 5 0 1 1 4 0 3 l 1 is in @ the content of 16-by lg 3 p (OY PT. 3116 = 10011100010010111) = (20 421 42 +2772442++2!+20 ) . 3 8192 + 4096 + 2048 +128+16+ 47271 - [[4487)

Add a comment
Answer #2

a)

i) 101001012 - 010010012

10100101 ->165

-01001001 ->73

----------------

01011100 ->92

---------------

ii) 110110102 - 100100112

11011010 ->218

-10010011 ->147

--------------

01000111 ->71

--------------

Toortor TÖXOD 10 О) oo loo) Во Гоо 1 оноо — ) оо Тоо 1 ) О) 0 1 лfind tows complement 101001010_ OLOLOLOB F is complement olololio F 2 Complement 01001001 101Iolio F is complement + 1 Loliofind is complement 11011010 Ollocles - complement 0010011o es complement 100 10011 010100 Iis complement TA ONIOJOL is comble

Add a comment
Know the answer?
Add Answer to:
1. a) Perform the following binary subtractions of unsigned binary numbers. Convert your answer to decimal....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • a) Perform the following binary subtractions of unsigned binary numbers. Convert your answer to decimal. i)...

    a) Perform the following binary subtractions of unsigned binary numbers. Convert your answer to decimal. i) 101001012 - 010010012 ii) 110110102 - 100100112 b) Repeat the calculations above but for when the binary numbers are in two’s complement form. Comment on the results of the two methods used, noting and discrepancies.

  • Exercise 1.25 Convert the following decimal numbers to unsigned binary numbers Exercise 1.31 Repeat Exercise 1.29,...

    Exercise 1.25 Convert the following decimal numbers to unsigned binary numbers Exercise 1.31 Repeat Exercise 1.29, but convert to 8-bit sign/magnitude numbers KExercise 1.32 Repeat Exercise 1.30, but convert to 8-bit sign/magnitude numbers (a) 4210 (b) 6310 Exercise 1.33 Convert the following 4-bit two's complement numbers to 8-bit two's complement numbers. (c) 22910 (d) 84510 (a) 0101 b) 1010 XExercise 1.26 Convert the following decimal numbers to unsigned binary numbers. Exercise 1.34 Convert the following 4-bit two's complement numbers to...

  • 2. Convert the following two's complement binary numbers to decimal numbers. These numbers are integers.

    2. Convert the following two's complement binary numbers to decimal numbers. These numbers are integers. a. 110101 b. 01101010 c. 10110101 3. Convert the following decimal numbers to 6-bit two's complement binary numbers and add them. Write the results in 6-bit two's complement binary number format and decimal number format. Indicate whether or not the sum overflows a 6-bit result. a. 14 + 12 b. 30 + 2 C. -7 + 20 d. -18-17 4. What is the signed/magnitude and two's complement range of...

  • Convert the following two's domplement binary numbers to decimal. 100101 -5 27 -27 Question 2 (4...

    Convert the following two's domplement binary numbers to decimal. 100101 -5 27 -27 Question 2 (4 points) Convert the following two's complement binary numbers to decimal. 100011 -29 36 -3 28 Question 3 (4 points) Convert the following decimal numbers to 6-bit two's complement binary numbers and add them. Indicate whether or not the sum overflows a 6-bit result. 011001+011011 110100; no overflow 100111 100101-001100; overflovw 100110 100100 001010; overflow 100111 + 100101 -001100; no overflow Question 4 (4 points)...

  • (5 points) Convert the following decimal numbers to 8-bit two's complement binary numbers and carry out...

    (5 points) Convert the following decimal numbers to 8-bit two's complement binary numbers and carry out the additions in binary. Indicate whether the sum overflows the 8-bit result. If not show the result as a decimal number. a) 39 + (-78) b) -43 + (-92)

  • Convert the following decimal numbers to 6-bit two's complement binary number and add them. Keep result...

    Convert the following decimal numbers to 6-bit two's complement binary number and add them. Keep result in binary form. Enter yes/no for any overflows (overflows only, not carried bits). 16 + 9 .............. Overflow?................... 27 + 31 .............. Overflow?....................... (-4) + 19 .............. Overflow? ........................ 3 + (-32) ............ Overflow? ........................ (-16) + (-9) ............... Overflow? .............................. (-27) + (-31) ................ Overflow? ...........................................

  • 1. Convert the binary number 10101102 to octal, decimal, and hexadecimal numbers. 2. Convert the decimal...

    1. Convert the binary number 10101102 to octal, decimal, and hexadecimal numbers. 2. Convert the decimal number 236.7510 to binary,octal, and hexadecimal numbers. 3. Add the following two binary numbers: 100111102 and 011110112. Remember to show any carries that are generated along the way. 4. Repeat the previous question, but this time subtract the second binary number from the first. Remember to show any borrows that are required along the way. 5. Determine the encoding of the decimal number 28610...

  • ord Paragrapth Styles 1 Perform the following conversions Convert 51 (decimal) to binary and to hex...

    ord Paragrapth Styles 1 Perform the following conversions Convert 51 (decimal) to binary and to hex a b. Convert 0xDI (hexadecimal) to binary and to decimal c. Convert Ob11001001 (binary) to hex and to decimal 2. Find the 2's complement of the following 4 bit numbers a 1101 b 0101 3. Perform the following 4 bit unsigned operations. For each, indicate the 4-bet result and the carry bit, and indicate if the answer is correct or not a. 5+8 b....

  • 3. Convert the following signed hexadecimal numbers to decimal . a) EE2 b) 7F2 c) 2FE...

    3. Convert the following signed hexadecimal numbers to decimal . a) EE2 b) 7F2 c) 2FE 4. Perform the subtractions with the following binary numbers using 2’s complement Check the answer by straight binary subtractions. a) 10011 – 10001, b) 10110 – 11000, c) 100111011 – 10001. 5. What is the decimal equivalent of the largest binary integer that can be obtained with a) 11 bits unsigned signed b) 25 bits? unsigned signed

  • - ZOOM + To TITUITU.UUT 6 Convert each of the following octal numbers to binary, hexadecimal...

    - ZOOM + To TITUITU.UUT 6 Convert each of the following octal numbers to binary, hexadecimal and decimal using the most appropriate conversion method. (a) 371 7. Convert each of the following decimal numbers to binary, octal and decimal using the most appropriate conversion method. (a) 3D65E 8. Show how a 16-bit computer using a two's complement number system would perform the following computations. (a) (2925)10 -(16850).0 = (?). (b) (16850)10-(2925)10 = (?)10

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT