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

D.c.machines, can voltage regulation be negative?why?

can voltage regulation be negative?why?

Encoder - introduction to microprocessors , Encoder The encoder is a...

Encoder The encoder is a logic  circuit  which  provides  the binary code is  output  for each input each input signal. In  other words  we can  say that it performs  just  op

Explain the meaning of amplitude modulation, a. Explain the meaning of ampl...

a. Explain the meaning of amplitude modulation? Show that the AM output having two sidebands and the carrier frequency. b. Illustrate that the equivalent parallel impedance of a

Gets parameters data display, On running the simulation, a data display wil...

On running the simulation, a data display will automatically open, similar to that shown in figure. The red circle is the source mismatch stability curve. This will give an indicat

Hall effect - semiconductor, Explain hall affect and derive the mathematic...

Explain hall affect and derive the mathematical expression for hall coefficient, also describe its applications. Sol. Hall effect If a metal or semiconductor material carr

Dc machines, a 400V 4-pole DC generator takes an armature current of 50A wh...

a 400V 4-pole DC generator takes an armature current of 50A when rotating at 626 rpm. the armature circuit resistance is 0,25ohms. determine the generated emf. DOC

Draw a 100 line exchange, Q. Draw a 100 line exchange using two motion sele...

Q. Draw a 100 line exchange using two motion selectors and elucidate, how switching takes place in it. Ans: In a 100 line exchange, every subscriber is assigned a 2 digit

Define pipelining, Define pipelining? In 8086, to speedup the implement...

Define pipelining? In 8086, to speedup the implementation of program, the instructions fetching and implementation of instructions are overlapped each other. This method is kno

Determine the efficiency, Q. (a) Consider a three-phase star or wye half-wa...

Q. (a) Consider a three-phase star or wye half-wave recti?er with a purely resistive load R. Determine: (i) efficiency, (ii) formfactor, (iii) ripple factor, (iv) TUF, and (v) PIV

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