Conversion_method.docx

(19 KB) Pobierz

Number Systems: Master of numbers conversion in 90 minutes              Luis Carlos

·        Table conversion resume

 

Ø      Decimal to other bases

From

To

10

2

8

16

Method

Conditon stop

Result

Method

Conditon stop

Result

Method

Conditon stop

Result

Division by 2

Quocient=0

Remainder

Division by 8

Quocient=0

Remainder

Division by 16

Quocient=0

Remainder

 

 

Ø      Binary to other bases

From

To

2

10

8

16

Method

Method

Method

Multiplty digit by correpondent weight (sum all the values)

Divide binary number in groups of 3 bits (use the table binary-octal to find correpondent octal digit)

Divide binary number in groups of 4 bits (use the table binary-hexa to find correpondent hexa digit)

 

 

Ø      Octal to other bases

From

To

8

2

10

16

Method

Method

Method

Use octal-binary table to find the 3 correpondent bits for each octal digit

Multiplty digit by correpondent weight (sum all the values)

Convert from octal to binary 8->2 and then from binary to hexa 2->16

 

 

Ø      Hexadecimal to other bases

From

To

16

2

8

10

Method

Method

Method

Use hexa-binary table to find the 4 correpondent bits for each hexa digit

Convert from hexa to binary 16->2 and then from binary to octal 2->8

Multiplty digit by correpondent weight (sum all the values)

 

Zgłoś jeśli naruszono regulamin