I NEED HELP WITH THIS TO SHOW WORK EVERYTHING PLEASE!!! 1. Complete the followin
ID: 3746526 • Letter: I
Question
I NEED HELP WITH THIS TO SHOW WORK EVERYTHING PLEASE!!!
1. Complete the following Decimal Number to 8 bit Binary Format (-45)10 A. Change positive version of above Unsigned Binary Format>( B. Change above Sign + Magnitude Binary Format> ( C. Change above One's Complement Binary Format > ( D. Change above Two's Complement Binary Format ( sm 1c 2c 2. Complete the following Decimal Number to 8 bit Binary Format: (-23)10 A. Change positive version of above Unsigned Binary Format B. Change above Sign + Magnitude Binary Format> ( C. Change above One's Complement Binary Format ( D. Change above Two's Complement Binary Format > ( sm 1C 2c (Note: To get credit you must show all work in binary!,) 3. Complete Twos Complement 8 bit math on the following expression:423 -45 + 4. Complete Twos Complement 8 bit math on the following expression 45-23 5. Complete Twos Complement 8 bit math on the following expression:-45 - 23Explanation / Answer
Question 1a
( 45 )10 = ( 00101101 )2
Explanation
45 / 2 result 22 remainder 1
22 / 2 result 11 remainder 0
11 / 2 result 5 remainder 1
5 / 2 result 2 remainder 1
2 / 2 result 1 remainder 0
1 / 2 result 0 remainder 1
Now the result is read from bottom to top.Zereos are added in the fron for 8 bit format
Question 1b
( +45 )10 = ( 00101101 )2
Explanation
45 / 2 result 22 remainder 1
22 / 2 result 11 remainder 0
11 / 2 result 5 remainder 1
5 / 2 result 2 remainder 1
2 / 2 result 1 remainder 0
1 / 2 result 0 remainder 1
Now the result is read from bottom to top.Zereos are added in the fron for 8 bit format and the zero in the second position from left denoted the sign(+).
Question 1c
Rule for 1's complement
If number is positive then just convert to binary.
If number is negative the just write the positive value of number in binary and then reverse each bit.
Given number -45
Binary Number 00101101
1's complement 11010010
Question 1d
Rule for 2's complement
If number is positive then just convert to binary.
If number is negative the just write the positive value of number in binary and then reverse each bit.
Then just add 1 to the complemented number
Given number -45
Binary Number 00101101
1's complement 11010010
2's complement 11010010 + 1 = 11010011 (1+0=1)
Question 2a
( 23 )10 = ( 00010111 )2
Explanation
23 / 2 result 11 remainder 1
11 / 2 result 5 remainder 1
5 / 2 result 2 remainder 1
2 / 2 result 1 remainder 0
1 / 2 result 0 remainder 1
Now the result is read from bottom to top.Zereos are added in the fron for 8 bit format
Question 2b
( +23 )10 = ( 00010111 )2
Explanation
23 / 2 result 11 remainder 1
11 / 2 result 5 remainder 1
5 / 2 result 2 remainder 1
2 / 2 result 1 remainder 0
1 / 2 result 0 remainder 1
Now the result is read from bottom to top.Zereos are added in the fron for 8 bit format and the zero in the second position from left denoted the sign(+).
Question 2c
Rule for 1's complement
If number is positive then just convert to binary.
If number is negative the just write the positive value of number in binary and then reverse each bit.
Given number -23
Binary Number 00010111
1's complement 11101000
Question 2d
Rule for 2's complement
If number is positive then just convert to binary.
If number is negative the just write the positive value of number in binary and then reverse each bit.
Then just add 1 to the complemented number
Given number -23
Binary Number 00010111
1's complement 11101000
2's complement 11101000 + 1 = 11101001 (1+0=1)
Question 3
Rule
If there is a negative number which is greater then in that case no carry will be there in sign bit.The result is then made into 2's complement.
Two complement 8 bit math on -45 + 23
-45 = 11010011 (2's complement)
23 = 00010111
-----------
11101010
Question 4
In case of subtraction the number with negative will first be converted to the postive one by twos complement form.Then it will be added to the other number.If the result is negative then it converted to 2's complement
Twos Complement 8 bit math on 45 -23
45 = 101101
-23 = - 10111
Now 101101-101111 -> 010110
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.