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

Norton equivalent circuit, Cointruct and simulate using multisim software a...

Cointruct and simulate using multisim software a series voltage regulator to supply 1A to a load at a constant voltage of 9V. The supply voltage to regulator is 15V±10%. The minimu

Find the inductor current and voltage, Q. The energy stored in a 2-µH induc...

Q. The energy stored in a 2-µH inductor is given by w L (t) = 9e -2t µJ for t ≥ 0. Find the inductor current and voltage at t = 1 s.

Zener breakdown voltage, (a) For the Zener diode series voltage regulator s...

(a) For the Zener diode series voltage regulator shown in the Figure. calculate V L , I Z , V R and P Z for R L = 1.2 KΩ and repeat it for R L = 3 KΩ ? Consider Zener breakdow

Wien Bridge Oscillator, i need some explanation on Wien Bridge Oscillator ...

i need some explanation on Wien Bridge Oscillator with some example ?

Determine the value of rl, Q For the circuit of Figure: (a) Find an...

Q For the circuit of Figure: (a) Find an expression for the power absorbed by the load as a function of R . (b) Plot the power dissipated by the load as a function of th

Draw circuit diagrams and show polarity markings, Q. Two single-phase trans...

Q. Two single-phase transformers, each rated 2400: 120-V, are to be interconnected for (a) 4800:240- V operation, and (b) 2400:120-V operation. Draw circuit diagrams and show polar

Explain numeric processor 8087, Explain numeric processor 8087. Numeric...

Explain numeric processor 8087. Numeric processor 8087 is a coprocessor which has been intended to work under the control of the processor 8086 and offer it additional numeric

Determine the apparent power and the reactive power, Q. A balanced electric...

Q. A balanced electrical industrial plant load of 9.8 MW with 0.8 lagging power factor is supplied by a three-phase 60-Hz system having a maximum rating (load-carrying capacity) of

What are the basic operations of mosfet, Q. What are the basic operations ...

Q. What are the basic operations of  MOSFET? The gate to source voltage is set to zero volts by the direct connection from one terminal to the other,and a voltage Vds is applie

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