Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Two integers A and B are stored in twos complement format. Show how B is subtracted from A. (-25) - (+15) = (-40). Hint: Let
- Two integers A and B are stored in twos complement format. Show how B is subtracted from A. (-25) - (+15) = (-40).
Hint: Let A = (-25) and B = (+15) and show how to do (A B) in twos complement format. Use 8-bits to represent each number in binary.
Verify that your final answer in binary is equal to -40 in decimal. Show your work?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started