Determine the 2's complement subtraction, Computer Engineering

Assignment Help:

Perform 2's complement subtraction of (7)10 - (11)10 .

Ans. 2's Complements Subtraction of (7)10 - (11)10
Firstly convert the decimal numbers 7 and 11 to there binary equivalents.
(7)10  = (0111)2 and (11)10 = (1011)2 in 4-bit system.
After that determine the 2's complement for 1011 that is

1's Complement of 1011 is 0100
2's Complement of 1011 is 0101

Therefore, (7)10 - (11)10 =

0111
0101
---------
1100
---------

Because there is no carry over flow occurring into the summation, the output is a negative number, to determine their magnitude, 2's Complement of the result should be got.
2's Complement of 1100 is as

0011
1
--------
0100
--------
So the answer is (-4)10 (or) in 2's complement it is 1100.


Related Discussions:- Determine the 2's complement subtraction

Parallel virtual machine, PVM is mainly a simulation of a computer machine ...

PVM is mainly a simulation of a computer machine running parallel programs. It is a software package that allows a heterogeneous collection of UNIX and/or Windows computers hooked

Determine the signed numbers are used in binary arithmetic, When signed num...

When signed numbers are used in binary arithmetic, then which one of the notations would have unique representation for zero ? Ans. When signed numbers are utilized in binary ar

What is friend function in c++, As the name suggests, the function acts as ...

As the name suggests, the function acts as a friend to a class. As a friend of a class, it can access its private & protected members. A friend function is not a member of the clas

Explain csmsginterface() function with predefined protocol, Explain CSMsgIn...

Explain CSMsgInterface() Function with Predefined Protocol  A REQUEST structure is created for each message sent to the server. Messages passed to CSMsgInterface() as *dataMSG

Explain about strategic planning and sensitivity training, Q. Explain about...

Q. Explain about strategic planning and sensitivity training? Formulation of business strategy with the due consideration of environmental analysis and organizational appraisal

Interpreter, difference between pure and impute inter preter

difference between pure and impute inter preter

Explain what the difference between the two readings, The following sentenc...

The following sentences have a (potential) scope ambiguity. Give two translations into predicate logic for each sentence (one formula for each reading), and explain in words what t

Problem context and specification, Problem Context and Specification : ...

Problem Context and Specification : However the development of Inductive Logic Programming has been heavily formal in mathematical in nature it means the major people in the f

Isoquants, what are the types of isoquants

what are the types of isoquants

Time complexity in the worst case, Speicified the following piece of code: ...

Speicified the following piece of code: int i = 1; int j = 4; while (i     {      if (i%3 == 0) i+=3;      else i+=4;        if (j%2 == 0) j*=4;      els

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