Subtract the numbers using 2's complements, Computer Engineering

Assignment Help:

Subtract -27 from 68 using 2's complements.

Ans. By using 2's complement 68-(-27)= 68-(-27)

2's complement representation of 68 = 01000100(64+4)
2's complement representation of - (-27) = 00011011 = + 27
11100101 =-27 in 2's complement
Here add 68 and 27
           68             0 1 0 0 0 1 0 0
        -(-27)        + 0 0 0 1 1 0 1 1

        --------------------------------------
            95           0 1 0 1 1 1 1 1 1

        ---------------------------------------

Means that is equal to +95.


Related Discussions:- Subtract the numbers using 2's complements

Simple assembly programs, Data Transfer Two most fundamental data trans...

Data Transfer Two most fundamental data transfer instructions in 8086 microprocessor are XCHG and MOV. Let's give illustrations of the use of these instructions. Program 1:

Implementation of a simple arithmetic, Q. Implementation of a Simple Arithm...

Q. Implementation of a Simple Arithmetic? So, by now we have concerned how logic and arithmetic micro-operations can be applied individually. If we combine these 2 circuits alo

Entropy - learning decision trees, Entropy - learning decision trees: ...

Entropy - learning decision trees: Through putting together a decision of tree is all a matter of choosing that attribute to test at each node in the tree. Further we shall de

System software, what can be the good projects for system software subject

what can be the good projects for system software subject

What is frontpage, Front page is a software used to make a webpage.

Front page is a software used to make a webpage.

Menu driven program with following menu, Q.  Develop a Menu driven program ...

Q.  Develop a Menu driven program with following menu: 1.  Gray code 2.  BCD 3.  Excess-3 code 4.  Exit I/P must be a valid Binary number. Fractional numbers are all

Push and pop, i want flowchart for push, pop in stack element and display s...

i want flowchart for push, pop in stack element and display stack and exit

Automated reasoning - first-order logic, Automated Reasoning - first-order ...

Automated Reasoning - first-order logic: The topic known as "Automated Reasoning" in "AI"concentrates mostly on deductive reasoning, here new facts are logically deduced from

Explain opening files for reading only in c, Opening Files for Reading Only...

Opening Files for Reading Only     : A data file is a file that you can open and read its contents visually - for example, C source files, .dat files, HTML etc - anything that look

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