Calculate -3 + 3 using Two's Complement and the Sign and Magnitude Method. Which works correctly?

Using the Two's complement notation of -3 and 3 (11111101 and 00000011), binary addition will return 100000000 which has an overflow error, so the 9th bit is ignored giving a value of 00000000 which is equal to 0. We know this is correct since it matches the true value of -3 + 3. Using the sign and magnitude nation of -3 and 3 (10000011 and 00000011), binary addition will return 10000110 which is equal to 134. Clearly this isn't correct and we can see that Sign and Magnitude method doesn't work with binary arithmetic. Informative poster: https://drive.google.com/open?id=1cDdWKai0_t8wjGrcmaI8pjDV2aBnd0Qn

MJ
Answered by Mark J. Computing tutor

2788 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

Explain a bubble sort. You may use pseudocode and/or diagrams to help demonstrate your answer.


Outline the differences between how a compiler and an interpreter works, and explain the advantages and usage of of each [12 marks]


When a stack is implemented using a 1-D array, adding a valid item can cause an execution error. Explain why an execution error can occur in this situation.


Describe what is meant by a modular design and state on advantage of a modular design.


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences