Subtraction of 60 - 27 in 8-bit Two's Complement Form
Question
Subtraction of 60 - 27 in 8-bit Two's Complement Form
Solution
Step 1: Convert the numbers into binary
- 60 in binary is 00111100
- 27 in binary is 00011011
Step 2: Find the two's complement of 27
- Invert the bits of 27: 11100100
- Add 1 to the result: 11100101
Step 3: Add the two's complement of 27 to 60
- 00111100 (60 in binary)
- 11100101 (two's complement of 27)
= 100100001
Step 4: Ignore the carry
- The result is 00100001
Step 5: Convert the result back to decimal
- 00100001 in decimal is 33
So, 60 - 27 = 33
Similar Questions
erform six bit signed two’s complement arithmetic operation on (−15)10 +(+65)10
Suppose that 8-bit two's complement numbers are being employed. What bit pattern corresponds to the decimal integer value −50 (negative fifty):Group of answer choices0011001001001110110011101100110111001111
Subtract using 2’s complement: 7-11
Compute the following decimal arithmetic operation using 8-bit 2's complement: i) t5- 7; ii) -10+6 ; iii) -23-7.
Convert the following decimal values to 8-bit 2's complement representation(1*2 Marks)i. -92ii. -36
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.