Subtraction of 01000-01001 using 2's complement method, Computer Engineering

Assignment Help:

Subtraction of 01000-01001 using 2's complement method.

Ans. Firstly 1's complement of 01001 is 10110 and 2's complement is 10110+ 1 =10111.

Thus

  01000 =  01000
- 01001 =  +10111    (2's complement)
-------------------------
11111      (Summation)
-------------------------
Because the MSB of the sum is 1, that means the result is negative and this  is  in  2's complement form. Therefore, 2's complement of 1111 =00001= (1)10.  Thus, the result is - 1.


Related Discussions:- Subtraction of 01000-01001 using 2's complement method

The complexity of adding two matrices, T he complexity of adding two matric...

T he complexity of adding two matrices of order m*n is mn

State about the behavioral modeling, State about the Behavioral modeling ...

State about the Behavioral modeling Behavioral means how hardware behaves determine exact way it works we write using HDL syntax. For complex projects it's better mixed approac

IA-32 support, In order to support IA-32 Itanium can switch in 32-bit mode ...

In order to support IA-32 Itanium can switch in 32-bit mode with special jump escape instructions. IA-32 instructions have been mapped to Itanium's functional units. But as Itanium

Technology impact on job design - information system, Technology impact on ...

Technology impact on job design - Information System The implementation of technology into work has had a significant impact on the types and content of job that are now avail

What is the use of ''using'' declaration in c++, A using declaration in C++...

A using declaration in C++ makes it likely to use a name from a namespace without the scope operator.

How to export a dreamweaver document as xml file, Q. How to export a dreamw...

Q. How to export a dreamweaver document as xml file? Step 1: Choose File -> Open, Step 2: Select document which uses a template (and has editable regions) Step 3: Click O

Dynamic cons, i want dynamic cons simple program in c++

i want dynamic cons simple program in c++

What is the cih, CIH, also known  as Chernobyl or Spacefiller, is a Microso...

CIH, also known  as Chernobyl or Spacefiller, is a Microsoft Windows computer virus which first emerged in 1998. It is one of the most damaging viruses, overwriting critical inform

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd