Explain hexadecimal number system, Electrical Engineering

Assignment Help:

Q. Explain Hexadecimal Number System?

A Hexadecimal Number System:

uses base 16

includes only the digits 0 through 9 and the letters A, B, C, D, E, and F

In the Hexadecimal number system, the hex values are greater than 9 carry the following decimal value:

Binary

Octal

Decimal

Hex

0000B

00Q

00

00H

0001B

01Q

01

01H

0010B

02Q

02

02H

0011B

03Q

03

03H

0100B

04Q

04

04H

0101B

05Q

05

05H

0110B

06Q

06

06H

0111B

07Q

07

07H

1000B

10Q

08

08H

1001B

11Q

09

09H

1010B

12Q

10

0AH

1011B

13Q

11

0BH

1100B

14Q

12

0CH

1101B

15Q

13

0DH

1110B

16Q

14

0EH

1111B

17Q

15

0FH

1 0000B

20Q

16

10H

Above table provides all the information you'll ever need to convert from one number base into any other number base for the decimal values from 0 to 16.

To convert the hexadecimal number into a binary number, simply break the binary number into 4-bit groups beginning with the LSB and substitute the corresponding four bits in binary for each hexadecimal digit in the number.

For illustration, to convert 0ABCDh into a binary value, simply convert each hexadecimal digit according to the table above. The binary equivalent is:

0ABCDH

=

0000 1010 1011 1100 1101

To convert a binary number into the hexadecimal format is almost as easy. The first step is to filling the binary number with leading zeros to make sure that the binary number contains multiples of four bits. For illustration, given the binary number 10 1100 1010, the first step would be to add two bits in the Most Significant Bit (MSB) position so that it contains 12 bits. The revised binary value is 0010 1100 1010.

The next step is to divide the binary value into groups of four bits for example 0010 1100 1010. Lastly, look up these binary values in the table above and substitute the appropriate hexadecimal digits for example 2CA.

The weighted values for every position are as follows:

16^3

16^2

16^1

16^0

4096

256

16

1

3DA = (3 x 162) + (13 x 161) + (10 x 160)

or

3DA = 768 + 208 + 10 =986


Related Discussions:- Explain hexadecimal number system

Microprocessors, Memory location 2000H has the word 5000H stored in it. Wha...

Memory location 2000H has the word 5000H stored in it. What does each location contain after DEC WORD PTR [2000H].

Condition return, Condition Return Similar to conditional jump and cal...

Condition Return Similar to conditional jump and call  instructions there are conditional return  instructions  also  based on various  flags.

Discuss need of caches, Discuss need of Caches. Caches are other big t...

Discuss need of Caches. Caches are other big thing done in the last 2 decades to enhance performance. Keep things locally when they are going to be used soon. By a physics vie

Explain the types of power plants, Draw layout of hydro-electric power plan...

Draw layout of hydro-electric power plant and illustrate it briefly. Explain the following: a. Types of power plants b. Selection of power Plants

What is 16-bit isa, What is 16-bit ISA? Compare it with 8-bit ISA bus. ...

What is 16-bit ISA? Compare it with 8-bit ISA bus. The only difference among the 8 and 16-bit ISA bus is that other connector is attached behind the 8-bit connector. This 16-bi

What is assembler, What is assembler? Assembler: An assembler or macr...

What is assembler? Assembler: An assembler or macro-assembler usually forms a part of the operating system. This translates an assembly language program into machine language

DC shunt generator, in DC series generator we consider Eg=V+Ia(Ra+Rse).But ...

in DC series generator we consider Eg=V+Ia(Ra+Rse).But in DC shunt generator why it is only Eg=V+IaRa and not Eg=V+Ia(Ra*Rsh/Ra+Rsh)

DECISIEN FEEDBACK, Do you provide me matlab code for comparison the perfor...

Do you provide me matlab code for comparison the performance of decision feedback equalizer over MLSE

Which interrupt has the highest priority, TRAP has the maximum priority ...

TRAP has the maximum priority There are 2 types of interrupts external and internal. NMI has highest priority between all external interrupts,TRAP has highest priority between

What is the purpose of carry flag and zero flag, What is the purpose of car...

What is the purpose of carry (c) flag and zero (z) flag? Carry flag conatins the carry after addition or borrow after subtraction. This carry flag also shows error conditions,

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