الموضوع: Networking Basics
عرض مشاركة مفردة
  #17  
قديم 01-03-2006
الصورة الرمزية لـ InnerPeace
InnerPeace InnerPeace غير متصل
Gold User
 
تاريخ التّسجيل: Oct 2005
المشاركات: 315
InnerPeace is on a distinguished road
Hexadecimal

This page will teach you about the hexadecimal number system. You will also learn how hexadecimal is used to represent binary and decimal numbers.

The hexadecimal or Base 16 number system is commonly used to represent binary numbers in a more readable form. Computers perform computations in binary. However, there are several instances when the binary output of a computer is expressed in hexadecimal to make it easier to read.

The configuration register in routers often requires hexadecimal to binary and binary to hexadecimal conversions. routers have a configuration register that is 16 bits long. The 16-bit binary number can be represented as a four-digit hexadecimal number. For example, 0010000100000010 in binary equals 2102 in hexadecimal. A hexadecimal number is often indicated with a 0x. For example, the hexadecimal number 2102 would be written as 0x2102.

Like the binary and decimal systems, the hexadecimal system is based on the use of symbols, powers, and positions. The symbols that hexadecimal uses are the digits 0 through 9 and the letters A through F.

All combinations of four binary digits can be represented with one hexadecimal symbol. These values require one or two decimal symbols. Two hexadecimal digits can efficiently represent any combination of eight binary digits. The decimal representation of an eight-bit binary number will require either two or three decimal digits. Since one hexadecimal digit always represents four binary digits, hexadecimal symbols are easier to use than decimal symbols when working with large binary numbers. Using hexadecimal representation also reduces the confusion of reading long strings of binary numbers and the amount of space it takes to write binary numbers. Remember that 0x may be used to indicate a hexadecimal value. The hexadecimal number 5D might be written as 0x5D.
__________________
لا تضلوا. لا زناة ولا عبدة اوثان ولا فاسقون ولا سارقون ولا طماعون ولا سيكرون يرثون ملكوت الله (1 كورنثوس 6: 9، 10)
الرد مع إقتباس