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

Relationship between the induced e.m.f and the network, Mathematical relati...

Mathematical relationship between the induced e.m.f and the network Faraday noted that the e.m.f induced in a loop is proportional to the rate of change of magnetic flux by it:

What is current gain in rc coupled amplifier, Q. What is current gain  in R...

Q. What is current gain  in RC coupled amplifier? Current gain is the ratio of the output current to the input current. we represent it as A i . A i =I o /I s it can

Determine required output power, Q. Two stations (using identical antennas,...

Q. Two stations (using identical antennas, with diameters of 50λ and aperture ef?ciencies of 0.6 at 35 GHz) are separated by 30 km. With negligible antenna losses, antenna connecti

What do you mean by digital building blocks, Q. What do you mean by Digital...

Q. What do you mean by Digital Building Blocks? Whereas a continuous change from one value to another is the essential characteristic of an analog signal and continuous-state (

Determine the energy, Q. Consider a pair of coupled coils as shown in Figur...

Q. Consider a pair of coupled coils as shown in Figure of the text, with currents, voltages, and polarity dots as indicated. Show that the mutual inductance is L 12 = L 21 = M by

Describe the phasor equations, Q. Describe the following phasor equations r...

Q. Describe the following phasor equations represented in the time domain: (a) ¯ E = K1e-¯ γz (b) ¯ E = K2e ¯ γz where z is the space coordinate, K1 and K2 are constants,

Laplace transform, 1. Find the general solution y(t) of the ordinary di ere...

1. Find the general solution y(t) of the ordinary di erential equation where ω is a non-negative constant. (Consider the ω = 0 and ω > 0 cases separately). 2. Use Laplac

Determine the Service and Backwash Rates, Determine the Service and Backwas...

Determine the Service and Backwash Rates The system on site is a pressure sand filter, with a service curve. The filter is backwashed using the feed pump, at a higher flow rate, s

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