Menene hexadecimal?
Tsarin lamba hexadecimal, sau da yawa an rage shi zuwa "hex", tsarin lamba ne da aka yi shi da alamomi 16 (tushe 16). Madaidaicin tsarin lambobi ana kiransa decimal (tushe 10) kuma yana amfani da alamomi goma: 0,1,2,3,4,5,6,7,8,9. Hexadecimal yana amfani da lambobi goma sha ɗaya da ƙarin alamomi shida. Babu alamomin lamba waɗanda ke wakiltar ƙima sama da tara, don haka ana amfani da haruffan da aka ɗauko daga haruffan Ingilishi, musamman A, B, C, D, E da F. Hexadecimal A = decimal 10, da hexadecimal F = decimal 15.
Rubutun ASCII zuwa hex, Teburin juyawa na binary
Halin ASCII | Hexadecimal | Binary |
---|---|---|
NUL | 00 | 00000000 |
SOH | 01 | 00000001 |
STX | 02 | 00000010 |
ETX | 03 | 00000011 |
EOT | 04 | 00000100 |
ENQ | 05 | 00000101 |
ACK | 06 | 00000110 |
BEL | 07 | 00000111 |
BS | 08 | 00001000 |
HT | 09 | 00001001 |
LF | 0A | 00001010 |
VT | 0B | 00001011 |
FF | 0C | 00001100 |
CR | 0D | 00001101 |
SO | 0E | 00001110 |
SI | 0F | 00001111 |
DLE | 10 | 00010000 |
DC1 | 11 | 00010001 |
DC2 | 12 | 00010010 |
DC3 | 13 | 00010011 |
DC4 | 14 | 00010100 |
NAK | 15 | Farashin 00010101 |
SYN | 16 | 00010110 |
ETB | 17 | Farashin 00010111 |
CAN | 18 | 00011000 |
EM | 19 | Farashin 00011001 |
SUB | 1 A | Farashin 00011010 |
ESC | 1B | Farashin 00011011 |
FS | 1C | Farashin 00011100 |
GS | 1D | Farashin 00011101 |
RS | 1E | Farashin 00011110 |
Amurka | 1F | Farashin 00011111 |
sarari | 20 | 00100000 |
! | 21 | 00100001 |
" | 22 | 00100010 |
# | 23 | 00100011 |
$ | 24 | 00100100 |
% | 25 | Farashin 00100101 |
& | 26 | 00100110 |
' | 27 | Farashin 00100111 |
( | 28 | 00101000 |
) | 29 | Farashin 00101001 |
* | 2A | 00101010 |
+ | 2B | 00101011 |
, | 2C | 00101100 |
- | 2D | 00101101 |
. | 2E | 00101110 |
/ | 2F | Farashin 00101111 |
0 | 30 | 00110000 |
1 | 31 | Farashin 00110001 |
2 | 32 | 00110010 |
3 | 33 | Farashin 00110011 |
4 | 34 | Farashin 00110100 |
5 | 35 | Farashin 00110101 |
6 | 36 | 00110110 |
7 | 37 | Farashin 00110111 |
8 | 38 | 00111000 |
9 | 39 | Farashin 0011001 |
: | 3A | Farashin 0011010 |
; | 3B | Farashin 0011011 |
< | 3C | Farashin 00111000 |
= | 3D | Farashin 0011101 |
> | 3E | Farashin 0011110 |
? | 3F | Farashin 00111111 |
@ | 40 | 01000000 |
A | 41 | 01000001 |
B | 42 | 01000010 |
C | 43 | 01000011 |
D | 44 | 01000100 |
E | 45 | 01000101 |
F | 46 | 01000110 |
G | 47 | 01000111 |
H | 48 | 01001000 |
I | 49 | 01001001 |
J | 4A | 01001010 |
K | 4B | 01001011 |
L | 4C | 01001100 |
M | 4D | 01001101 |
N | 4E | 01001110 |
O | 4F | 01001111 |
P | 50 | 01010000 |
Q | 51 | 01010001 |
R | 52 | 01010010 |
S | 53 | 01010011 |
T | 54 | 01010100 |
U | 55 | 01010101 |
V | 56 | 01010110 |
W | 57 | 01010111 |
X | 58 | 01011000 |
Y | 59 | 01011001 |
Z | 5A | 01011010 |
[ | 5B | 01011011 |
\ | 5C | 01011100 |
] | 5D | 01011101 |
^ | 5E | 01011110 |
_ | 5F | 01011111 |
` | 60 | 01100000 |
a | 61 | 01100001 |
b | 62 | 01100010 |
c | 63 | 01100011 |
d | 64 | 01100100 |
e | 65 | 01100101 |
f | 66 | 01100110 |
g | 67 | 01100111 |
h | 68 | 01101000 |
i | 69 | 01101001 |
j | 6 A | 01101010 |
k | 6B | 01101011 |
l | 6C | 01101100 |
m | 6D | 01101101 |
n | 6E | 01101110 |
o | 6F | 01101111 |
p | 70 | 01110000 |
q | 71 | 01110001 |
r | 72 | 01110010 |
s | 73 | 01110011 |
t | 74 | 01110100 |
ku | 75 | 01110101 |
v | 76 | 01110110 |
w | 77 | 01110111 |
x | 78 | 01111000 |
y | 79 | 01111001 |
z | 7A | 01111010 |
{ | 7B | 01111011 |
| | 7C | 01111100 |
} | 7D | 01111101 |
~ | 7E | 0111110 |
DEL | 7F | 01111111 |