Job Recruitment Website - Job seeking and recruitment - Questions about ASCII files

Questions about ASCII files

First:

Numbers are the language of computers. To communicate with programs (and with other computers), computers convert characters and symbols into their numerical representations.

In the 1960s, the need for standardization led to the creation of American Standard Code for Information Interchange (ASCII) (pronounced ask-kee). The ASCII table contains 128 numbers (plus extended ASCII - up to 256 numbers) that are assigned to corresponding characters. ASCII provides a way for computers to store data and exchange data with other computers and programs.

ASCII-formatted text does not contain formatting information such as bold, italics, or fonts. ASCII is used when you use Microsoft Notepad or save a file as plain text in Microsoft Office Word. You've probably seen job ads that ask for your resume to be in ASCII format, which means that whether you send it via email, fax, or printed text, the employer expects that your resume doesn't contain any special formatting. Optical character recognition (OCR) scanning software works well with ASCII-formatted text and is often used by large companies to scan resumes.

In addition, each ASCII code occupies 8 bits, which is 1 byte.

Second:

After 125 is output to external memory, if it is stored as text, the corresponding number is hexadecimal: 31h 32h 35h, which is of course 3 bytes. If it is stored as short, it will be 2 bytes (7DH 00H).