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

Time constant at decay of current, Time constant at decay of current In...

Time constant at decay of current In decay of current by an inductor, a method to find values of time constant similar as in rise of current through an inductor. The difference

Working of centre tap full wave rectifier, (a) What is understand by clippi...

(a) What is understand by clipping circuit. Draw and illustrate different types of diode clipping circuits? (b) With the help of circuit diagram describe the working of centre t

Explain this phenomenon, (a) Design a 2 nd  order Sallen and Key low pass ...

(a) Design a 2 nd  order Sallen and Key low pass active filter with the following characteristics: Nominal Cut-off Frequency: 1.6 kHz Variable Gain: 0 to 7.5 dB You may a

Show bandwidth of the system, A communication system for a voice-band (3 kH...

A communication system for a voice-band (3 kHz) channel is designed for a received SNR E b /N 0 at the detector of 30 dB when the transmitter power is Ps =-3 dBW. Find the value o

What are the kinds of transformations, What are the kinds of transformation...

What are the kinds of transformations? Illustrate each with the help of homogeneous matrix form in 3-D.

Minimum value of rl that can be used, Verify the minimum & maximum load cur...

Verify the minimum & maximum load current for which the zener diode will keep regulation. Find the minimum value of RL that can be used. The zener diode has V Z = 12V, I ZK =

Right-handed coordinate system, The vectors we will use we be refered to ri...

The vectors we will use we be refered to right-handed Cartesian axes. Right handed means that the x,y,z axes are oriented in a particular way (which you must know). See diagrams

Find the current in circuit, Q. (a) Determine the voltage at A in Figure...

Q. (a) Determine the voltage at A in Figure . (b) With V i = 10 V, R 1 = 10 k, R 2 = 1000 , and A = 100, find the current i .

When mt2 and gate is negative, when MT 2 and Gate  is Negative In th...

when MT 2 and Gate  is Negative In this case gate  current  flows  through P 2 N 3 junction. Junction N 1 P 2 forward  biased hence the triac  starts  conduction through  P

Cro, explain the operation of a detector probe

explain the operation of a detector probe

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