Explore BrainMass
Share

Two's complement numbers: addition, conversion to decimal

This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

1). Assume that the two numbers shown below are in 6-bit 2's complement form. Convert each one to decimal form.

A. (110101)base2cm
B. (010101)base2cm

2).
A. Add the following 8-bit 2's complement numbers, and state your answer in 8-bit 2's complement form: 01001010 + 11110110

B. Has overflow occurred? Answer yes or no.

© BrainMass Inc. brainmass.com March 21, 2019, 7:45 pm ad1c9bdddf
https://brainmass.com/computer-science/algorithms/two-s-complement-numbers-addition-conversion-to-decimal-306413

Solution Preview

1A. (110101)base2cm = -1*2^5 + 1*2^4 + 0*2^3 + 1*2^2 + 0*2^1 + 1*2^0 = -32 + 16 + 0 + 4 + 0 ...

Solution Summary

Solution briefly shows the conversion calculation.

$2.19