6)Two integers A and B are stored in two’s complement format. Show how B is subtracted from A. (-23) - (+13) =(-36).
Hint: Let A = (-23) and B = (+13) and show how to do (A – B) in two’s complement format.
Use 8-bits torepresent each number in binary.Verify that your final answer in binary is equal to -36 in decimal. Show your work?
Get Answers For Free
Most questions answered within 1 hours.