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

Nicol prism, how much and what to write it is of 30 marks

how much and what to write it is of 30 marks

Machine language - first generation language, Machine Language ( First Gene...

Machine Language ( First Generation Language) As we have  already discussed that all digital  circuits  can identify  only two  states which  can be specified  by 0 and i henc

Illustrate hexadecimal number system, Q. Illustrate Hexadecimal Number Syst...

Q. Illustrate Hexadecimal Number System? A big difficulty with the binary system is verbosity. To symbolize the value 202 requires eight binary digits. The decimal version n

Assignment, Hi, I got assignment to design a power electronic system Design...

Hi, I got assignment to design a power electronic system Design the circuit and select the appropriate components for that circuit to fulfil the requirements of the device. Regards

Where does cpu enhanced mode originate from, Intel's 80386 was the first 32...

Intel's 80386 was the first 32-bit processor, and as the company had to backward-support the 8086. All the modern Intel-based processors run in the improved mode, capable of switch

Check Sheets - Quality Tools for Improvement, Check Sheets - Quality Tools ...

Check Sheets - Quality Tools for Improvement This might be an easy listing of items that could represent information in an efficient, graphical format. If the system under ana

Describe the term pure hardware delay, Question: (a) Describe the term...

Question: (a) Describe the term "Pure Hardware Delay" in microcontroller design. (b) Name the three types of subroutines which are placed at the interrupt location in ROM a

Binary number system - number systems , Binary  Number Systems As men...

Binary  Number Systems As mentioned  earlier this  number is used by  digital  systems like  microprocessor  and other  digital  circuits. This  number  systems  use only two

Calculate voltage and current phasors on a phasor diagram, Calculate Voltag...

Calculate Voltage and Current Phasors on a Phasor Diagram A synchronous motor is operated at rated load and unity power factor. The field current is increased by 20%. Show the

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