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

#bode plots.., #how to draw bode plots for a transfer function

#how to draw bode plots for a transfer function

Find the overall current drawn from the supply, Q. A single-phase industria...

Q. A single-phase industrial plant consists of two loads in parallel: P1 = 48kW PF1 = 0.60 lagging P2 = 24kW PF2 = 0.96 leading It is operated from a 500-V, 60-Hz source.

Circuit symbols for mosfet, Circuit Symbols for MOSFET A range of symb...

Circuit Symbols for MOSFET A range of symbols are employed for the MOSFET. The basic design is usually a line for the channel along with the source and drain leaving it at rig

Description of clauses used in a parallel construct, Q. Description of clau...

Q. Description of clauses used in a parallel construct? When a thread comes across a parallel construct a set of new threads is made to execute parallel region. Inside the para

Explain series capacitors, Explain Series capacitors These are connecte...

Explain Series capacitors These are connected in series with the line conductors and are used to reduce the inductive reactance of long transmission lines and hence the voltage

Determine efficiency and ripple factor, (a) Show Diode as a half wave recti...

(a) Show Diode as a half wave rectifier. Determine efficiency and Ripple factor of the half wave rectifier. (b) Write short note on LED. Briefly explain : (i) Positive cli

Single phase full wave mid point type rectifier , Single Phase Full Wave M...

Single Phase Full Wave Mid Point Type  Rectifier A single  phase full wave  mid point  type controlled  rectifier consists  two  thyristors  one centre tapped  transformer  an

Moving coil transducers, Note transducers  convert a physical quantity from...

Note transducers  convert a physical quantity from one  form to another.  The case below illustrates a typical moving coil meter   that   converts   a   current into a mechanical a

Discuss the need of peripheral component interconnect bus, Discuss the need...

Discuss the need of PCI bus. Peripheral Component Interconnect (PCI): It was developed by Intel and introduced in 1993 year. This is geared particularly to fifth- and sixth-

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