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

Explain the applications of emitter follower, Q. Explain the applications o...

Q. Explain the applications of emitter follower. Because of high input impedance and low output impedance an emitter follower is capable of transferring maximum power from the

Cpu based exchange, CPU Based Exchange:   In centralized control, all contr...

CPU Based Exchange:   In centralized control, all control equipment is replaced by a single processor which should be quite powerful. It should be capable of processing 10 to 100 c

High voltage distribution system or hvds, High Voltage Distribution System ...

High Voltage Distribution System or HVDS Adoption of HVDS (High Voltage Distribution System) through converting existing LVDS to HVDS reduces the technical losses appreciably.

Single phase full wave controlled rectifier , Single Phase Full Wave Contro...

Single Phase Full Wave Controlled rectifier The single  phase  half  wave controlled  rectifier  produce only one pulse  of load  current  during  one cycle  of supply voltage

Explain analog communication system, Q. Explain Analog communication system...

Q. Explain Analog communication system? Analog signals in an analog communication system can be transmitted directly via carrier modulation over the communication channel and d

Find fmax for circuit, Q. (a) An audio amplifier with R i = 10 k, R o ...

Q. (a) An audio amplifier with R i = 10 k, R o = 0, and ¯A(ω), as shown in Figure (a), is used in the circuit shown in Figure with R S = 1 k,R L = 16 , and C = 0.2 µF. Sk

Shld store hl pair direct instruction , SHLD Store HL pair Direct Instructi...

SHLD Store HL pair Direct Instruction This  instruction is used to store the contents of HL  register  pair to  memory  address specified  in the  instruction and the  next ad

Show the output voltage waveform, Question: a) For the circuits shown i...

Question: a) For the circuits shown in figure a and in figure b, show the output voltage waveform V0(t) if a sinusoidal signal with peak value of 5V is applied and the dc suppl

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