(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

2. Relevant equations

Division by two means moving the bits right by 1 unit.

2's complement = 1's complement + 1

3. The attempt at a solution

For Question: 6

Number is 11010110 This is 2's complement.

So to find original number we subtract by 1 and get: 11010101

Now we do 1's complement to get original number: 00101010

Now we move right by 1 bit and get: 00010101

But book says answer is D

Where am I wrong?

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Microprocessor Question -- ALU operations

Have something to add?

Draft saved
Draft deleted

**Physics Forums | Science Articles, Homework Help, Discussion**