Example of binary subtraction - positive number , Electrical Engineering

Assignment Help:

Example  of binary  subtraction - positive number

Case 1.  Positive  number is more than negative number ( i e, answer is positive)

 Example   subtract  4510 ( 1011012 ) form 9210 ( 10111002.

 Solution: write  both numbers  is in 8 bit  form

01011100                                                                   9210

-00101101                                                                  -4510

1 s complement  of the negative number  =              11010010

Add 1                                                                                 1

2 s complement of the negative number =                11010011

This will represent -4510 in microprocessor                

Adding 2 s complement  of the  negative  number with the  first (positive ) number

      01011100 (9210)

      +11010011( -4510)

 Carry   00101111( +4710)

 Ignoring carry the  answer is  + 0010 11112 ( +4710)

 


Related Discussions:- Example of binary subtraction - positive number

Discuss in detail about pulse broadening graded index wave, Discuss in deta...

Discuss in detail about pulse broadening in graded index waveguide ? Intermodal dispersion within multimode fibers is minimized along with the use of graded index fibers, ther

Calculate the e.m.f. generated in armature of a d.c. machine, The armature ...

The armature of a d.c. machine has a resistance of 0.3 and is connected to a 200V supply. Calculate the e.m.f. generated when it is running (a) as a generator giving 80A (b) as a

Various characterstics of a dc shunt generator. , Q.   Draw the various cha...

Q.   Draw the various characterstics of a DC shunt generator and explain critical resistance.   Sol.  Following are three most important characterstics or curves of a d.

Pu value, the p.u. reactance of a 25 MVA, 13.2 kV alternator 0.5 p.u. On a ...

the p.u. reactance of a 25 MVA, 13.2 kV alternator 0.5 p.u. On a base of 50 MVA and 13.8 KV the p.u. value shall be

Find the initial current, In the circuit shown below, the capacitor initial...

In the circuit shown below, the capacitor initially has a voltage across it 4 Volts (at t = 0). a.  Write down the expression for V C (t) when the switch is closed. b.  Writ

Ldst, Design a logic circuit with 4 inputs A, B, C & D that will produce o...

Design a logic circuit with 4 inputs A, B, C & D that will produce output ‘1’ only whenever two adjacent input variables are 1’s. A & D are also to be treated as adjacent, impleme

What is segment displays, Q. What is Segment displays? Seven-segment di...

Q. What is Segment displays? Seven-segment displays are the most commonly used numeric display devices, while 10- and 16-segment (starburst) display devices are also available.

For parity flag - return instructions , For Parity Flag PRE ( Return ...

For Parity Flag PRE ( Return on Parity Even)  and RPO ( Return on Parity Odd) Instructions RPE returns from the  subroutine to the  calling  program if parity flag is not s

Electric roadway system specification, The electric roadway system shall ut...

The electric roadway system shall utilize solar energy as the main power source. The electric roadway system shall negotiate with the power utility on backup power supply.

Circuit theorems, limitations and applications of following circuit theorem...

limitations and applications of following circuit theorems: telleans theorem superposition theorem norton theorem compensation theorem millman theorem reciprocity theorem maximum p

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