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

Efficiency of shunt geranerator, A 100kw,230v,dc shunt generator,with Ra=0....

A 100kw,230v,dc shunt generator,with Ra=0.05,and Rf=57.5 has no load rotational loss(friction,wandage,core loss)of 1.8kw.compute a) The generator efficiency at full load.

Temperature triggering , Temperature Triggering At high temperature th...

Temperature Triggering At high temperature the leakage current  of junction J 2 increases. This leakage  current is collector  current of tr 1 and Tr 2 . So rise in temperat

Matlab magnetic field, i have an assignment related to magnetic field i ha...

i have an assignment related to magnetic field i have attached the( MRI assignment sheet)[1] please read it carefully in the assignment 2 methods to get the results - one by

Minimize f in a pos form and obtain a possible realization, Q. The truth ta...

Q. The truth table for F(A,B,C) = Mi (0, 1, 6, 7) is as follows: (a) Express F in a canonical product-of-sums form. (b) Minimize F in a POS form and obtain a possible re

Explain the cylindrical or round rotors, Explain the Cylindrical or Round R...

Explain the Cylindrical or Round Rotors? All synchronous machines have a similar stator design and it is actually the rotor construction that makes them different. The rotor is

Explain what is linker, Explain what is Linker? Linker: A huge progra...

Explain what is Linker? Linker: A huge program is divided in smaller programs termed as modules. A linker is a program that links smaller programs together to by a large prog

Equivalent resistor reductions for the circuit, Q. Determine the voltages V...

Q. Determine the voltages V x using voltage division and equivalent resistor reductions for the circuits shown in Figure.

Determine the load - thevenins equivalent circuit, Determine the load - The...

Determine the load - Thevenins Equivalent Circuit: Determine the load for which the source shall transfer the maximum power if load is connected across the terminal A and B, u

For sign flag - return instructions, For sign flag  RP ( Return on ...

For sign flag  RP ( Return on Plus ) and RM ( Return on no minus ) Instructions RM returns from the subroutine  to the calling program if sign flag is set  (S=1). The in

Determine the magnitude of the current, Determine the magnitude of the curr...

Determine the magnitude of the current: For the circuit of Figure below determine the magnitude of the voltage "drops" across each resistor R1 - R7. Determine the magnitude

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