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

Find resistance of the armature circuit and field circuit, When delivering ...

When delivering rated load a 10-kW, 230-V self excited shunt generator has an armature-circuit voltage drop that is 6% of the terminal voltage and a shunt-field current equal to 4%

Process , Process The rectangle symbol  is used to represent  the pro...

Process The rectangle symbol  is used to represent  the process  operations as shown below.   MOV A, B

Cost and profitability - proposed kpis, Cost and Profitability - Proposed K...

Cost and Profitability - Proposed KPIs  KPI  UOM  Measures   RepresentativeStandards  Aggregate Technical &  Commercial L

Develop the equation of motion, Aloudspeaker is a common electrochemical tr...

Aloudspeaker is a common electrochemical transducer in which vibration is caused by changes in the input current to a coil which, in turn, is coupled to a magnetic structure that c

What is the basic principle of oscillators, Q. What is the basic principle ...

Q. What is the basic principle of oscillators?  In an oscillating circuit, the amplitude of voltage or current oscillations decays with time owing to the dissipation of energy

Explain the purpose of the i/o instructions in and out, Explain the purpose...

Explain the purpose of the I/O instructions IN and OUT. The IN instruction is used to move data from an I/O port into the accumulator. The OUT instruction is used to move d

Current-carrying conductors, Q. Current-carrying conductors? Current-ca...

Q. Current-carrying conductors? Current-carrying conductors, when placed in magnetic fields, experience mechanical force. Considering only the effect of the magnetic field, the

Explain the magnetisation- curves of magnetic materials, Explain the magnet...

Explain the magnetisation- curves of magnetic materials. The major characteristic of a ferromagnetic substance is domain structure of it. Every crystal of a ferromagnetic subst

Engineering design, following on from the first tma in this module, produce...

following on from the first tma in this module, produce a design report for one design of the product based on one of the scenarios covered on the following pages.

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