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

Analogue electric assignment, i have assignment about wien bridge oscillato...

i have assignment about wien bridge oscillator i need help to how to degsin the circuit using ltpsic

Ready input - externally initiated signals , READY Input Microprocess...

READY Input Microprocessor  has to communicate with other  peripherals which  are slow  as compared to the microprocessor. READY  signals  is used to synchronies  these periphe

Analog-to-digital converters, Analog-to-Digital (A/D) Converters An A/D...

Analog-to-Digital (A/D) Converters An A/D converter converts analog input signals into digital output data in many areas such as process control, aircraft control, and telemetr

Evaluate the voltage source, Q. For the capacitor shown in Figure connected...

Q. For the capacitor shown in Figure connected to a voltage source, sketch i(t) and w(t).

Determine the effective input noise temperature, Q Determine the effective ...

Q Determine the effective input noise temperature of a long piece of waveguide (that connects an antenna to a receiver) with a loss of 3.4 dB at 12 GHz and a physical temperature o

What is inter digit time, Q. What is inter digit time? Break time is no...

Q. What is inter digit time? Break time is nominally 61 ms and make time is nominally 39ms. Digits are separated by idle period of 300 ms known as inter digit time. It is vital

Delay line in CRO, why we use delay line in CRO what happens if we not use ...

why we use delay line in CRO what happens if we not use it?

Explain the working of an npn transistor, Explain the working of an npn tra...

Explain the working of an npn transistor. Working of npn transistor: In an npn transistor is demonstrated in the figure. The emitter base junction is forward biased whereas

Determine the advantages of e-nrz over nrz, 1. A modi?ed NRZ code known as ...

1. A modi?ed NRZ code known as enhanced-NRZ (E-NRZ) operates on 7-bit words; invert- ing bits 2,3,6 and 7; and adding one parity bit to each word. The parity bit is chosen to make

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