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

Draw circuit diagrams and show polarity markings, Q. Two single-phase trans...

Q. Two single-phase transformers, each rated 2400: 120-V, are to be interconnected for (a) 4800:240- V operation, and (b) 2400:120-V operation. Draw circuit diagrams and show polar

Determine the induced voltage at full load, A 100-kW, 250-V shunt generator...

A 100-kW, 250-V shunt generator has an armature-circuit resistance of 0.05  and a field- circuit resistance of 60 . With the generator operating at rated voltage, determine the i

Measurement, Why delay circuit used in CRO?

Why delay circuit used in CRO?

Resistance, if the sheet resistance of a tin oxide is 100 ohms, what is the...

if the sheet resistance of a tin oxide is 100 ohms, what is the thickness of the oxide layer?

Differences between enhancement and depletion mosfet, Q. What Are the Diffe...

Q. What Are the Differences Between Enhancement And Depletion Mosfet? Depletion MOSFET:Here a slab of p_type material is formed from a silicon base and referred to as substrate

Show how a 16-to-1 multiplexer can be obtained, Q. Using two 8-to-1multiple...

Q. Using two 8-to-1multiplexers and one 2-to-1multiplexer, show how a 16-to-1 multiplexer can be obtained in the form of a block diagram.

Explain instruction sets of 8085, Explain instruction sets of 8085. a) ...

Explain instruction sets of 8085. a)  Data transfer group - MOV, MVI, LXI. b)  Arithmetic group - ADD, SUB, INR. c)  Branch group - JMP, JNZ, CALL. d)  Logical group -

what does quality factor mean, The Quality factor is also explained, as Q....

The Quality factor is also explained, as Q. So it is a number, which shows the lossness of a circuit. Higher the Q, the lower are the losses. The quality factor is calculated o

What is the probability that a call will be blocked, A three stage switchin...

A three stage switching structure is to accommodate N = 128 input and 128 output terminals. For 16 first stage and 16 last stage, verify the number of cross points for nonblocking.

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