Skip to content

This Repository is a collection of different ethical hacking tools and malware's for penetration testing and research purpose written in python, ruby, rust, c++, go and c.

Create The ASCII character encoding.md

Abdul Wahab Junaidbc009a512c13
diff --git a/Assembly language/New Assembly Work/Assembly Language/The ASCII character encoding.md b/Assembly language/New Assembly Work/Assembly Language/The ASCII character encoding.md
new file mode 100644
index 0000000..41ff53f
--- /dev/null
+++ b/Assembly language/New Assembly Work/Assembly Language/The ASCII character encoding.md
@@ -0,0 +1,154 @@
+**ASCII (American Standard Code for Information Interchange)** is a character encoding standard used for representing text in computers, communication equipment, and other devices that use text. Developed in the early 1960s, ASCII assigns a unique numerical value to each character, enabling the consistent representation of letters, numbers, punctuation marks, and control characters.
+
+### Key Features of ASCII
+
+1. **Character Set**:
+ - ASCII defines 128 characters, including:
+ - **Control Characters (0-31)**: Non-printable characters that control text flow (e.g., carriage return, tab).
+ - **Printable Characters (32-126)**: Includes uppercase and lowercase letters, digits, punctuation marks, and special symbols.
+
+2. **7-bit Encoding**:
+ - ASCII uses a 7-bit binary number to represent each character, allowing for 128 possible values (0-127). The 8th bit (if present) is often used for error checking or extended character sets.
+
+3. **Standardization**:
+ - ASCII provides a consistent way to represent characters across different devices and platforms, making it a foundational encoding standard in computer science.
+
+### ASCII Character Table
+
+Here’s a brief overview of the ASCII character set:
+
+| **Decimal** | **Binary** | **Character** | **Description** |
+|-------------|-------------|---------------|-------------------------------------|
+| 0 | 0000000 | NUL | Null character |
+| 1 | 0000001 | SOH | Start of Header |
+| 2 | 0000010 | STX | Start of Text |
+| 3 | 0000011 | ETX | End of Text |
+| 4 | 0000100 | EOT | End of Transmission |
+| 5 | 0000101 | ENQ | Enquiry |
+| 6 | 0000110 | ACK | Acknowledge |
+| 7 | 0000111 | BEL | Bell (alert) |
+| 8 | 0001000 | BS | Backspace |
+| 9 | 0001001 | HT | Horizontal Tab |
+| 10 | 0001010 | LF | Line Feed |
+| 11 | 0001011 | VT | Vertical Tab |
+| 12 | 0001100 | FF | Form Feed |
+| 13 | 0001101 | CR | Carriage Return |
+| 14 | 0001110 | SO | Shift Out |
+| 15 | 0001111 | SI | Shift In |
+| 16-31 | | Control chars | Various control characters |
+| 32 | 0100000 | SPACE | Space |
+| 33 | 0100001 | ! | Exclamation mark |
+| 34 | 0100010 | " | Quotation mark |
+| 35 | 0100011 | # | Number sign |
+| 36 | 0100100 | $ | Dollar sign |
+| 37 | 0100101 | % | Percent sign |
+| 38 | 0100110 | & | Ampersand |
+| 39 | 0100111 | ' | Apostrophe |
+| 40 | 0101000 | ( | Left parenthesis |
+| 41 | 0101001 | ) | Right parenthesis |
+| 42 | 0101010 | * | Asterisk |
+| 43 | 0101011 | + | Plus sign |
+| 44 | 0101100 | , | Comma |
+| 45 | 0101101 | - | Hyphen |
+| 46 | 0101110 | . | Period |
+| 47 | 0101111 | / | Slash |
+| 48 | 0110000 | 0 | Digit 0 |
+| 49 | 0110001 | 1 | Digit 1 |
+| 50 | 0110010 | 2 | Digit 2 |
+| 51 | 0110011 | 3 | Digit 3 |
+| 52 | 0110100 | 4 | Digit 4 |
+| 53 | 0110101 | 5 | Digit 5 |
+| 54 | 0110110 | 6 | Digit 6 |
+| 55 | 0110111 | 7 | Digit 7 |
+| 56 | 0111000 | 8 | Digit 8 |
+| 57 | 0111001 | 9 | Digit 9 |
+| 58 | 0111010 | : | Colon |
+| 59 | 0111011 | ; | Semicolon |
+| 60 | 0111100 | < | Less than |
+| 61 | 0111101 | = | Equal sign |
+| 62 | 0111110 | > | Greater than |
+| 63 | 0111111 | ? | Question mark |
+| 64 | 1000000 | @ | At symbol |
+| 65 | 1000001 | A | Uppercase A |
+| 66 | 1000010 | B | Uppercase B |
+| 67 | 1000011 | C | Uppercase C |
+| 68 | 1000100 | D | Uppercase D |
+| 69 | 1000101 | E | Uppercase E |
+| 70 | 1000110 | F | Uppercase F |
+| 71 | 1000111 | G | Uppercase G |
+| 72 | 1001000 | H | Uppercase H |
+| 73 | 1001001 | I | Uppercase I |
+| 74 | 1001010 | J | Uppercase J |
+| 75 | 1001011 | K | Uppercase K |
+| 76 | 1001100 | L | Uppercase L |
+| 77 | 1001101 | M | Uppercase M |
+| 78 | 1001110 | N | Uppercase N |
+| 79 | 1001111 | O | Uppercase O |
+| 80 | 1010000 | P | Uppercase P |
+| 81 | 1010001 | Q | Uppercase Q |
+| 82 | 1010010 | R | Uppercase R |
+| 83 | 1010011 | S | Uppercase S |
+| 84 | 1010100 | T | Uppercase T |
+| 85 | 1010101 | U | Uppercase U |
+| 86 | 1010110 | V | Uppercase V |
+| 87 | 1010111 | W | Uppercase W |
+| 88 | 1011000 | X | Uppercase X |
+| 89 | 1011001 | Y | Uppercase Y |
+| 90 | 1011010 | Z | Uppercase Z |
+| 91 | 1011011 | [ | Left square bracket |
+| 92 | 1011100 | \ | Backslash |
+| 93 | 1011101 | ] | Right square bracket |
+| 94 | 1011110 | ^ | Caret |
+| 95 | 1011111 | _ | Underscore |
+| 96 | 1100000 | ` | Grave accent |
+| 97 | 1100001 | a | Lowercase a |
+| 98 | 1100010 | b | Lowercase b |
+| 99 | 1100011 | c | Lowercase c |
+| 100 | 1100100 | d | Lowercase d |
+| 101 | 1100101 | e | Lowercase e |
+| 102 | 1100110 | f | Lowercase f |
+| 103 | 1100111 | g | Lowercase g |
+| 104 | 1101000 | h | Lowercase h |
+| 105 | 1101001 | i | Lowercase i |
+| 106 | 1101010 | j | Lowercase j |
+| 107 | 1101011 | k | Lowercase k |
+| 108 | 1101100 | l | Lowercase l |
+| 109 | 1101101 | m | Lowercase m |
+| 110 | 1101110 | n | Lowercase n |
+| 111 | 1101111 | o | Lowercase o |
+| 112 | 1110000 | p | Lowercase p |
+| 113 | 1110001 | q | Lowercase q |
+| 114 | 1110010 | r | Lowercase r |
+| 115 | 1110011 | s | Lowercase s |
+| 116 | 1110100 | t | Lowercase t |
+| 117 | 1110101 | u | Lowercase u |
+| 118 | 1110110 | v | Lowercase v |
+| 119 | 1110111 | w | Lowercase w |
+| 120 | 1111000 | x | Lowercase x |
+| 121 | 1111001 | y | Lowercase y |
+| 122 | 1111010 | z | Lowercase z |
+| 123 | 1111011 | { | Left curly brace |
+| 124 | 1111100 | \| | Vertical bar |
+| 125 | 1111101 | } | Right curly brace |
+| 126 | 1111110 | ~ | Tilde |
+| 127 | 1111111 | DEL | Delete character |
+
+### Extended ASCII
+
+- While the original ASCII standard covers only 128 characters, many systems implement an **extended ASCII** that uses an additional 128 values (0-255). This allows for additional characters, including symbols and characters from various languages, making it more versatile for international applications.
+- Common extended ASCII standards include **ISO-8859-1 (Latin-1)** and **Windows-1252**.
+
+### Applications of ASCII
+
+1. **Text Files**: ASCII is widely used in text files, programming languages, and markup languages (e.g., HTML) due to its simplicity and universality.
+2. **Networking Protocols**: ASCII is often employed in protocols and commands for network communication (e.g., HTTP).
+3. **Data Storage**: ASCII is commonly used in databases and data formats for representing strings.
+
+### Limitations of ASCII
+
+1. **Limited Character Set**: ASCII can only represent 128 characters, which is insufficient for languages that require additional symbols or characters, leading to the development of other encodings like UTF-8, which can represent over a million characters.
+2. **Language Support**: ASCII is primarily designed for English and does not support non-Latin scripts or special characters, limiting its use in international contexts.
+
+### Conclusion
+
+ASCII has played a pivotal role in the development of text encoding and computer communication. Its straightforward design and universal acceptance have made it a foundational component in computer science and digital communications, paving the way for more complex encoding systems like Unicode. Understanding ASCII is essential for working with text in various programming, networking, and data manipulation contexts.