IS-Dev Kit-8 User Manual
7850 East Gelding Drive • Scottsdale, AZ 85260-3420
IS-Dev Kit 8 Users Manual A.doc
Page 31 of 31
Toll Free
1.877.2BUYNKK (877.228.9655)
•
Phone
480.991.0942
• Fax
480.998.1435
www.nkkswitches.com
1209
Example:
Convert 2A7 hex to decimal
Digit 3: 2 x 256
= 512
Digit 2: (10) x 16
= 160
Digit 1: 7x1
= 7
----------
679
2A7 hex = 679 decimal
Example:
Convert 925 decimal to hex
925 divide by 16 = 57 with 13 remainder
First digit =D
57 divide by 16 = 3 with 9 remainder
Second digit = 9
3 divide by 16 = 0 with 3 remainder
Third digit = 3
925 decimal = 39D hex
Converting between hex and binary is as easy as replacing each digit of hex with equivalent 4 digit of binary.
Example:
convert A5B hex to binary
A = 1010
5 = 0101
B = 1011
A5B hex = 1010 0101 1011 binary
Converting binary to hex is as easy as replacing each 4 digit of binary to equivalent digit of hex. If the binary
digits are not multiple of 4 for grouping, add enough zero to the left to make them multiple of 4.
Example:
Convert 0111 1010 1111 binary to hex
1111 = F
1010= A
0111 = 7
0111 1010 1111 binary = 7AF hex
Common terms:
Bit = binary digit
Nibble = 4 binary digits
Byte = 8 binary digits = 2 nibbles = 2 HEX digits