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

Sub subtract instruction, SUB Subtract Instruction This  instruction  i...

SUB Subtract Instruction This  instruction  is used to  subtract the contents of any  register  or memory location from  the contents of  accumulator. There are two  formats as

Electromagnetic Computational (MATLAB), Hey Dear i have a hw in MATLAB by a...

Hey Dear i have a hw in MATLAB by applying Finite Element Method there(Electromagnetic) and i need your help with it. please take alook at the question and let me know if you can h

Thevenins theorem, advantages and disadvantages of thevenins theorem

advantages and disadvantages of thevenins theorem

Rahul, in 8085 name the 16 bit registers

in 8085 name the 16 bit registers

Compound motor , Compound motor It is possible to arrange for part of...

Compound motor It is possible to arrange for part of the field  coil to be in series with the armature and part in parallel   This gives rise to a motor with a mix

Active-mode pnp transistors in circuits, Active-mode PNP transistors in cir...

Active-mode PNP transistors in circuits: In the figure, the arrows showing current point in the direction of conventional current - the flow of electrons is in the opposite di

What is the purpose of carry flag and zero flag, What is the purpose of car...

What is the purpose of carry (c) flag and zero (z) flag? Carry flag conatins the carry after addition or borrow after subtraction. This carry flag also shows error conditions,

#titl optimal power flow , to get PV curve i want optimal power flow progra...

to get PV curve i want optimal power flow program in matlab

What is the pipelining, A method used in advanced microprocessors where the...

A method used in advanced microprocessors where the microprocessor begins implementing a second instruction before the first has been done. That is, various instructions are in the

Show the octal number system, Q. Show the Octal Number System? Though t...

Q. Show the Octal Number System? Though this was once a popular number base, especially in the Digital Equipment Corporation PDP/8 and other old computer systems, it is rarely

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