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

Dc chopper - power supplies , DC chopper This is  one stage  conversio...

DC chopper This is  one stage  conversion  device  which is used for direct conversion of fixed  de voltage at a level to an adjustable dc voltage  at another  level.

Name the materials used in case of fuses, Name the materials used in case...

Name the materials used in case of Fuses . Also give reasons. Fuses : For rewirable fuses, copper-tin and lead-tin alloy is used. For HRC and cartridge fuses silve

Equivalent circuit of a polyphase induction machine, Equivalent Circuit of ...

Equivalent Circuit of a Polyphase Induction Machine The inductionmachinemay be regarded as a generalized transformer inwhich energy is converted and electric power is transferr

Flex routing , Flex Routing : You can see that your labour will have bee...

Flex Routing : You can see that your labour will have been in vain unless you take steps to ensure that flexes are routed safely and well clear of possible sources of danger.

Determine the bandwidth required for transmission, 1. A PCM system uses 8 b...

1. A PCM system uses 8 bits per sample and the analog signal is limited to 4.3 kHz. The PCM data is transmitted using (a) BFSK and (b) ASK. Determine the bandwidth required for tra

Determine the total energy ?owing into the component, Q. The voltage at ter...

Q. The voltage at terminal a relative to terminal b of an electric component is v(t) = 20 cos 120πt V. A current i(t) =-4 sin 120πt A ?ows into terminal a. From time t 1 to t 2 ,

Terminal, Terminal The  oval symbol  show below in  indicate terminal ...

Terminal The  oval symbol  show below in  indicate terminal of the  program.  Usually  words  like START BEGIN  STOP END  are written  in terminal symbol.           START

Potentiometer, how can yuo calculate voltage,curent basing on the meter bri...

how can yuo calculate voltage,curent basing on the meter bridge?

A transistor has how many p-n junction, A transistor has (A) One p-n j...

A transistor has (A) One p-n junction.  (B) Two p-n junction. (C) Four p-n junction. (D) Five p-n junction. Ans: A transistor has two p-n junctions.

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