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

Explain what is linker, Explain what is Linker? Linker: A huge progra...

Explain what is Linker? Linker: A huge program is divided in smaller programs termed as modules. A linker is a program that links smaller programs together to by a large prog

Dc charging and discharging circuit, The circuit shown below is a DC chargi...

The circuit shown below is a DC charging and discharging circuit. a.  At t = 0 sec, switch S1 is thrown to position 1 ("pos1"). Write the mathematical expressions for and .

Speed and torque control of polyphase induction motors, Speed and Torque Co...

Speed and Torque Control of Polyphase Induction Motors The induction motor is valuable in so many applications because it combines simplicity and ruggedness. Although a good nu

Determine the base current, Q. A transistor has a base current i B = 25 µA...

Q. A transistor has a base current i B = 25 µA, α = 0.985, and negligible ICBO. Find β, iE, and i .

#DSP ., #The requirement is as follows- There is a signal which is in the r...

#The requirement is as follows- There is a signal which is in the range of 0 to 5Hz. This signal frequency composition is to determined. The resolution of the determination is 1Hz.

Voltage, Voltage, current, and charge control: The collector-emitter c...

Voltage, current, and charge control: The collector-emitter current can be seen as being controlled through the base-emitter current (current control), or through the base-emi

Analysis in equilibrium, Analysis in equilibrium : Solution of Poisson'...

Analysis in equilibrium : Solution of Poisson's Equation with suitable boundary conditions - Non-equilibrium analysis: The electron and hole densities are no longe

Enhancement type mosfet, Enhancement type MOSFET In these types of de...

Enhancement type MOSFET In these types of devices operate by comprising a channel enhanced in the semiconductor material in which no channel was constructed, they are termed

Dc machiunes, 1,Operation of face plate starter 2;Operation of a shaded pol...

1,Operation of face plate starter 2;Operation of a shaded pole motor 3,3 explained demerits of a rheostat method of starting adc machines

Fourier deconstruction, Fourier Deconstruction Find the Fourier series ...

Fourier Deconstruction Find the Fourier series as far as the third harmonic, to represent the periodic function y, given by the values in the following table.

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