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

Student, difference between cmp and sub in microprocessor.

difference between cmp and sub in microprocessor.

Copy data byte 10h ldax instruction, Copy  data byte  10H LDAX  instruct...

Copy  data byte  10H LDAX  instruction Example : Copy  data byte  10H  stored at memory  location 3020 H to  the accumulator using  LDAX  instructions. Solution : To use

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

Eeprom, advantages and disadvantages

advantages and disadvantages

What is button, A button does some command in a program when it is clicked....

A button does some command in a program when it is clicked. Buttons generally have a 3-dimensional look, although you may have to move the mouse over the button for it to look 3D.

Ac voltage controllers, Q. Explain AC voltage controllers? Common appli...

Q. Explain AC voltage controllers? Common applications for these controllers are found in fan, pump, and crane drives. Figure shows three-phase symmetrical ac voltage-controlle

Analysis on solar charging system buck converter with VMC, PLS WRITE THE IN...

PLS WRITE THE INTRODUCTION, METHODOLOGY AND LITERATURE REVIEW

Potentiometer, how can yuo calculate voltage,curent basing on the meter bri...

how can yuo calculate voltage,curent basing on the meter bridge?

Conditions in which rc circuit behaves as integrator, Q. Explain the condit...

Q. Explain the conditions under which an RC circuit behaves as Integrator? Integrator is a circuit in which the output voltage is proportional to the integral of the input. Out

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