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

C program, write a c program for suggler message decoder

write a c program for suggler message decoder

Machine language - first generation language, Machine Language ( First Gene...

Machine Language ( First Generation Language) As we have  already discussed that all digital  circuits  can identify  only two  states which  can be specified  by 0 and i henc

Impurities in semiconductors, Impurities in Semiconductors Can be a...

Impurities in Semiconductors Can be added in accurately controlled amounts. Can modify the electronic and optical properties. Used to change conductivity over wide ra

Realization of digital filter design, why we are going to realization of di...

why we are going to realization of digital filter after finding the H(z).

Cro, oscilloscope probes specification & performance

oscilloscope probes specification & performance

Decision making, Decision  Making The rhombus diamond symbol  is used...

Decision  Making The rhombus diamond symbol  is used to represent  the decision making  process  as shown  below.                                          Figure  De

Give an introductive notes about fet amplifier, Q. Give an introductive not...

Q. Give an introductive notes about FET amplifier ?  The small signal models for the common source FET can be used for analyzing the three basic FET amplifier configurations: (

Gis applications in management of power distribution systems, GIS Applicati...

GIS Applications in Management of Power Distribution Systems: a.)        Inventory of existing network. b.)        Easy access to network details. c.)        Easy access

Ac circuits, AC Circuit: This topic explain the basic concepts of sing...

AC Circuit: This topic explain the basic concepts of single and three-phase ac system. Unit provides the thorough analysis and derivations as required by topics. Here we find

Determine the speed of the motor, Q. A 10-kW, 250-V dc shunt generator, hav...

Q. A 10-kW, 250-V dc shunt generator, having an armature resistance of 0.1and a field resistance of 250 , delivers full load at rated voltage and 800 r/min. The machine is now ru

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