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

Briefly explain about wye-delta transformation, Q. Briefly explain about Wy...

Q. Briefly explain about Wye-delta transformation? Certain network configurations cannot be reduced or simplified by series-parallel combinations alone. In some such cases wye-

Potentiometric type dvm, Potentiometric type DVM: A potentiometric type of...

Potentiometric type DVM: A potentiometric type of DVM, employs voltage comparison technique. In this DVM the unknown Voltage is compared with a reference voltage value is fixed by

Explain mesh analysis, Mesh analysis Analysis using KVL to solve for th...

Mesh analysis Analysis using KVL to solve for the currents around every closed loop of the network and hence verify the currents through and voltages across every elements of t

Circuits, Circuits Typical  electronics circuits  are created  out  of...

Circuits Typical  electronics circuits  are created  out  of a basis  set of primitive elements such  as capacitors, voltage sources,  resistors,  transistors and inductors. T

Op code format , Op code Format As we  have seen  in the  section that...

Op code Format As we  have seen  in the  section that  the first  byte of all the instruction is the  op code. microprocessors  reads this  op code  and decodes it  to identif

Sequential diagram, 1) Draw the state diagram for the state machine describ...

1) Draw the state diagram for the state machine described by Table 7.5 in the text. Note, the table shows the transition to the next state S* from the current state S for the next

Explain frequency response curve of a rc coupled amplifier, Q. Explain the...

Q. Explain the frequency response curve of a  RC coupled amplifier The frequency response curve of a typical RC coupled Amplifier is shown below: In mid frequency range

Illustrate simple telephone communication system, Q. Illustrate simple tele...

Q. Illustrate simple telephone communication system with circuit and equation of current flow in microphone? Ans: Simple  Telephone  Communication: In the simplest form of

Senior Design Robotic Arm Project, This is basically a simple senior design...

This is basically a simple senior design project where the professors are giving us a limited budget and providing us with an Arduino Board. (We can use rasberry pi, beagle bone, e

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