Show the decimal to hex conversion, Electrical Engineering

Assignment Help:

Q. Show the Decimal to Hex Conversion?

To convert the decimal to the hex is slightly more difficult. The usual method to convert from decimal to hex is repeated division by 16. Whereas we may also use repeated subtraction by the weighted position value, it is more difficult for large decimal numbers.

For this process, divide the decimal number by 16, and write the remainder on the side as the least significant digit. This method is continued by dividing the quotient by 16 and writing the remainder until the quotient is 0. Whereas performing the division, the remainders which will represent the hex equivalent of the decimal number are written beginning at the least significant digit (right) and each new digit is written to the next more significant digit (the left) of the previous digit.

Consider the number 44978.

Division

Quotient

Remainder

Hex Number

44978 / 16

2811

2

2

2811 / 16

175

11

B2

175 / 16

10

15

FB2

10 / 16

0

10

0AFB2

Since you can see, we are back with the original number. That is what we should suppose.

When you use the hex numbers in an 8085 program, the Assembler usually requires the most significant hex digit to be 0 even if this number of digits exceeds the size of the register. This is an Assembler necessity and your value will be assembled correctly.

Illustration Convert the number 1,210 decimal to hexadecimal.

2172_Show the Decimal to Hex Conversion.png

Consequently the decimal number 1,210 is equal to 4BAH in hexadecimal.


Related Discussions:- Show the decimal to hex conversion

Find the average power absorbed by each element, Q. Let v(t) = Vmax cos ωt ...

Q. Let v(t) = Vmax cos ωt be applied to (a) a pure resistor, (b) a pure capacitor (with zero initial capacitor voltage, and (c) a pure inductor (with zero initial inductor current)

Explain ferroelectricity, Explain ferroelectricity. Ferroelectricity: ...

Explain ferroelectricity. Ferroelectricity: - Materials of ferroelectric have a high dielectric constant that is non-linear that is, this depends to a considerable extent on t

Weighted resistor and the r-2 r ladder d/a converters, Q. What is the basic...

Q. What is the basic difference between the weighted resistor and the R-2 R ladder D/A converters?

Cipper, when i/p voltg is grater than battery diode is clse or open

when i/p voltg is grater than battery diode is clse or open

#titleclipper diode.., Ask quedisadvantages stion #Minimum 100 words accept...

Ask quedisadvantages stion #Minimum 100 words accepted#

Explain hall effect, Explain Hall Effect. Hall Effect: If a current c...

Explain Hall Effect. Hall Effect: If a current carrying conductor is placed in a magnetic field, a voltage is produced that acts in the perpendicular direction to the current

Continuity equations, Continuity Equations These equations are fundame...

Continuity Equations These equations are fundamentally particle conservation equations: Electron continuity equation:  ∂n /∂t = (1/q) (∂j N / ∂X) + G N - R N Hole c

Cause of sparking at the brushes of a dc motor, Q. Cause of sparking at the...

Q. Cause of sparking at the brushes of a DC Motor? Ans: Sparking at the brushes can be occur due to poor quality of carbon brushes, loose connection, poor armature of carbon

Amplifier and active filter design, Amplifier and Active Filter Design Usin...

Amplifier and Active Filter Design Using Operational Amplifier 1) The purpose of this assignment is to train you to do some simple circuit design using op-amp. The circuit tha

Explain error-rate control and output-rate control, Error-Rate Control, Out...

Error-Rate Control, Output-Rate Control, and Integral-Error (Reset) Control Let us consider a typical second-order servomechanism(containing two energy-storing elements) whose

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