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

What is meant by amplification, Q. What is meant by amplification? The ...

Q. What is meant by amplification? The basic amplifying elements are, namely valves (vacuum tubes), bipolar transistors and FETs. The term "amplify" basically means to make str

D.c.machines, can voltage regulation be negative?why?

can voltage regulation be negative?why?

Which stack is used in 8085, LIFO (Last In First Out) stack is used in 8085...

LIFO (Last In First Out) stack is used in 8085.In this type of Stack the last kept information can be retrieved first.

Find an expression for the total flux, Q. A rectangular loop is placed in t...

Q. A rectangular loop is placed in the field of an infinitely long straight conductor carrying a current of I amperes, as shown in Figure. Find an expression for the total

Find the torque supplied to the mechanical load, Q. The machine of Problem ...

Q. The machine of Problem can be used as a motor. Let the terminals of the coil be connected to a voltage source of 1 kV rms. If the motor runs at 1800 r/min and draws a current of

Tools for power supply, Tools for Power Supply The several universal t...

Tools for Power Supply The several universal tools those could be applied in the power-sector for the improvement of organizational efficiency and effectiveness. These tools v

Explain about common control, Q. Explain about Common Control? Common C...

Q. Explain about Common Control? Common Control: Those systems in which the control subsystem is outside the switching network are known as common control switching system. Str

Cipper, when i/p voltg is grater than battery diode is clse or open

when i/p voltg is grater than battery diode is clse or open

Explain effect of frequency of applied electric field, Explain effect of fr...

Explain effect of frequency of applied electric field. If an external electric field is applied, the distance among charges that is related to chemical bonding keeps constant i

Frequency modulation, 1. Frequency Modulation theory and its explanation ...

1. Frequency Modulation theory and its explanation 2. FM transmitter schematic, tests results and measurements 3. Amplifier and Oscillator circuit explanation and calculation

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