Show the subtraction method, Electrical Engineering

Assignment Help:

Q. Show the Subtraction Method?

For this procedure (method), start with a weighted position value greater that the number. If the number is greater than the weighted position for the digit, write down a 1 and subtract the weighted position value.

If a number is less than the weighted position for the digit, write down a 0 and subtract 0 this process is continued until the result is 0 and when performing the subtraction, the digits which will represent the binary equivalent of the decimal number are written beginning at the most significant digit (the left) and each new digit is written to the next lesser significant digit (on the right) of the previous digit. Consider the same number as 2671 using a different method.

Weighted Value

Subtraction

Remainder

Binary Number

2^12 = 4096

2671 - 0

2671

0

2^11 = 2048

2671 - 2048

623

0 1

2^10 = 1024

623 - 0

623

0 10

2^9 = 512

623 - 512

111

0 101

2^8 = 256

111 - 0

111

0 1010

2^7 = 128

111 - 0

111

0 1010 0

2^6 = 64

111 - 64

47

0 1010 01

2^5 = 32

47 - 32

15

0 1010 011

2^4 = 16

15 - 0

15

0 1010 0110

2^3 = 8

15 - 8

7

0 1010 0110 1

2^2 = 4

7 - 4

3

0 1010 0110 11

2^1 = 2

3 - 2

1

0 1010 0110 111

2^0 = 1

1 - 1

0

0 1010 0110 1111

 


Related Discussions:- Show the subtraction method

How the interrupts can be masked in 8086, How the interrupts can be masked/...

How the interrupts can be masked/unmasked in 8086? The 8086 interrupt priorities are concerned; software interrupts have the highest priority, followed by NMI followed by INTR.

Colpitts oscillator, how does a colpitts oscillator works an also explain t...

how does a colpitts oscillator works an also explain the principle

Find transmission bandwidth required of telemetry system, Find the transmis...

Find the transmission bandwidth required of a data telemetry system that is to handle three different signals with bandwidths W 1 = 1 kHz, W 2 = 2 kHz, and W 3 = 3 kHz, by emplo

Slack running fit, Illustrate the conventional representations of the follo...

Illustrate the conventional representations of the following guide to the selection of Fits: (i) Slack Running Fit (ii) Loose Running Fit (iii) Easy Running Fit (iv) No

Matlab, Exercise 1: Data array manipulation and selection using for loops ...

Exercise 1: Data array manipulation and selection using for loops These exercises demonstrate the use of for loops in array manipulation and selection. a) Write a user-defined fun

Explain the construction of synchronous machines, Explain the Construction ...

Explain the Construction of Synchronous Machines? Basically all synchronous machines require a DC excited field winding in order to produce magnetic flux. For majority of machi

Charge and electric force, Charge and Electric Force The proton has a c...

Charge and Electric Force The proton has a charge of +1.602 10 -19 coulombs (C), while the electron has a charge of -1.602 × 10 -19 C. The neutron has zero charge. Electric c

Draw a block diagramfor a 2-to-4 decoder, Q. Draw a block diagramfor a 2-to...

Q. Draw a block diagramfor a 2-to-4 decoder. Obtain the truth table, and develop a logic diagram.

Major advantages of fet transistors over bjt transistors, Q. What the major...

Q. What the major advantages FET transistors over BJT transistors? a. BJT transistor (bipolar junction transistor) is a bipolar device - the prefix bi-revealing that the conduc

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