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

Neutral line in transformer, thus secondary winding of transformer consists...

thus secondary winding of transformer consists of neutral line or not?

Design a water supply scheme for a station, Q. Design a water supply scheme...

Q. Design a water supply scheme for a station, adopting the following data - a) Source of water - River flow at a distance of 1 km. b) Requirement of water - 1 lack gallons p

Transistor, can you differentiate the alpha,beta and gamma

can you differentiate the alpha,beta and gamma

What is a differentiator circuit, Q. What is a differentiator circuit? ...

Q. What is a differentiator circuit? By introducing electrical reactance into the feedback loops of op-amp amplifier circuits, we can cause the output to respond to changes in

#emf., what is the effect of back emf ?

what is the effect of back emf ?

What is session layer, Q. What is Session Layer? Session layer is used ...

Q. What is Session Layer? Session layer is used to allow users to identify themselves when waiting access to the network. This is concerned with setting up and sustaining an op

Show the octal number system, Q. Show the Octal Number System? Though t...

Q. Show the Octal Number System? Though this was once a popular number base, especially in the Digital Equipment Corporation PDP/8 and other old computer systems, it is rarely

Machine, function of a commutator in a DC motor

function of a commutator in a DC motor

Obtain the sop expressions for given k map, Q. The K map of a logic functio...

Q. The K map of a logic function is shown in Figure, in which ds denote don't-care conditions. Obtain the SOP expressions.

Draw the equivalent circuits referred to the high-voltage, A single-phase, ...

A single-phase, 50-kVA, 2400:240-V, 60-Hz distribution transformer has the following parameters: Resistance of the 2400-V winding R1 = 0.75 Resistance of the 240-V winding R2

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