Answered step by step
Verified Expert Solution
Link Copied!

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

  1. 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

e. What do you know about your ethnic background?

Answered: 1 week ago

Question

b. Why were these values considered important?

Answered: 1 week ago