أمثلة على المحول الثنائي إلى Ascii
ادخال البيانات
01000101 01111000 01100001 01101101 01110000 01101100 01100101
بيانات الناتج
Example
كيفية تحويل ثنائي إلى نص
تحويل كود ASCII الثنائي إلى نص:
- احصل على بايت ثنائي
- تحويل البايت الثنائي إلى عدد عشري
- احصل على حرف رمز ASCII من جدول ASCII
- تواصل مع البايت التالي
كيفية تحويل 01000001 ثنائي إلى نص؟
استخدم جدول ASCII:
010100002 = 26 + 24 = 64 + 16 = 80 => "P"
011011002 = 26 + 25 + 23 + 22 = 64 + 32 + 8 + 4 = 108 => "l"
011000012 = 26 + 25 + 20 = 64 + 32 + 1 = 97 => "أ"
01000001 = 2 ^ 6 + 2 ^ 2 = 64 + 1 = 65 = 'أ'
00110000 = 2 ^ 5 + 2 ^ 4 = 2 ^ 5 + 2 ^ 4 = 32 + 16 = 48 = "0"
ثنائي إلى جدول تحويل نص ASCII
السداسي عشري | الثنائية | حرف ASCII |
---|---|---|
00 | 00000000 | نول |
01 | 00000001 | سوه |
02 | 00000010 | STX |
03 | 00000011 | ETX |
04 | 00000100 | EOT |
05 | 00000101 | ENQ |
06 | 00000110 | ACK |
07 | 00000111 | BEL |
08 | 00001000 | بكالوريوس |
09 | 00001001 | HT |
0 أ | 00001010 | LF |
0 ب | 00001011 | VT |
0 ج | 00001100 | FF |
0 د | 00001101 | سجل تجاري |
0E | 00001110 | وبالتالي |
0F | 00001111 | SI |
10 | 00010000 | DLE |
11 | 00010001 | DC1 |
12 | 00010010 | DC2 |
13 | 00010011 | DC3 |
14 | 00010100 | DC4 |
15 | 00010101 | NAK |
16 | 00010110 | SYN |
17 | 00010111 | ETB |
18 | 00011000 | علبة |
19 | 00011001 | م |
1 أ | 00011010 | الفرعية |
1 ب | 00011011 | خروج |
1 ج | 00011100 | FS |
1 د | 00011101 | ع |
1E | 00011110 | RS |
1F | 00011111 | نحن |
20 | 00100000 | فضاء |
21 | 00100001 | ! |
22 | 00100010 | " |
23 | 00100011 | # |
24 | 00100100 | $ |
25 | 00100101 | ٪ |
26 | 00100110 | & |
27 | 00100111 | " |
28 | 00101000 | ( |
29 | 00101001 | ) |
2 أ | 00101010 | * |
2 ب | 00101011 | + |
2 ج | 00101100 | و |
2 د | 00101101 | - |
2E | 00101110 | . |
2F | 00101111 | / |
30 | 00110000 | 0 |
31 | 00110001 | 1 |
32 | 00110010 | 2 |
33 | 00110011 | 3 |
34 | 00110100 | 4 |
35 | 00110101 | 5 |
36 | 00110110 | 6 |
37 | 00110111 | 7 |
38 | 00111000 | 8 |
39 | 00111001 | 9 |
3 أ | 00111010 | : |
3 ب | 00111011 | ؛ |
3 ج | 00111100 | < |
ثلاثي الأبعاد | 00111101 | = |
3E | 00111110 | > |
3F | 00111111 | ؟ |
40 | 01000000 | @ |
41 | 01000001 | أ |
42 | 01000010 | ب |
43 | 01000011 | ج |
44 | 01000100 | د |
45 | 01000101 | ه |
46 | 01000110 | F |
47 | 01000111 | جي |
48 | 01001000 | ح |
49 | 01001001 | أنا |
4 ا | 01001010 | ي |
4 ب | 01001011 | ك |
4 ج | 01001100 | إل |
4 د | 01001101 | م |
4E | 01001110 | ن |
4F | 01001111 | ا |
50 | 01010000 | ص |
51 | 01010001 | س |
52 | 01010010 | ص |
53 | 01010011 | س |
54 | 01010100 | تي |
55 | 01010101 | يو |
56 | 01010110 | الخامس |
57 | 01010111 | دبليو |
58 | 01011000 | X |
59 | 01011001 | ص |
5 أ | 01011010 | ض |
5 ب | 01011011 | [ |
5 ج | 01011100 | \ |
5 د | 01011101 | ] |
5E | 01011110 | ^ |
5F | 01011111 | _ |
60 | 01100000 | " |
61 | 01100001 | أ |
62 | 01100010 | ب |
63 | 01100011 | ج |
64 | 01100100 | د |
65 | 01100101 | ه |
66 | 01100110 | F |
67 | 01100111 | ز |
68 | 01101000 | ح |
69 | 01101001 | أنا |
6 أ | 01101010 | ي |
6 ب | 01101011 | ك |
6 ج | 01101100 | ل |
6 د | 01101101 | م |
6E | 01101110 | ن |
6F | 01101111 | o |
70 | 01110000 | p |
71 | 01110001 | q |
72 | 01110010 | r |
73 | 01110011 | s |
74 | 01110100 | t |
75 | 01110101 | u |
76 | 01110110 | v |
77 | 01110111 | w |
78 | 01111000 | x |
79 | 01111001 | y |
7A | 01111010 | z |
7B | 01111011 | { |
7C | 01111100 | | |
7D | 01111101 | } |
7E | 01111110 | ~ |
7F | 01111111 | DEL |
Binary System
The binary numeral system uses the number 2 as its base (radix). As a base-2 numeral system, it consists of only two numbers: 0 and 1.
While it has been applied in ancient Egypt, China and India for different purposes, the binary system has become the language of electronics and computers in the modern world. This is the most efficient system to detect an electric signal’s off (0) and on (1) state. It is also the basis for binary code that is used to compose data in computer-based machines. Even the digital text that you are reading right now consists of binary numbers.
ASCII Text
ASCII (American Standard Code for Information Interchange) is one of the most common character encoding standards. Originally developed from telegraphic codes, ASCII is now widely used in electronic communication for conveying text.
The original ASCII is based on 128 characters. These are the 26 letters of the English alphabet (both in lower and upper cases); numbers from 0 to 9; and various punctuation marks. In the ASCII code, each of these characters are assigned a decimal number from 0 to 127. For example, the ASCII representation of upper case A is 65 and the lower case a is 97.