Byte character

Bit (Bit)

The minimum storage unit of the computer, usually 0 or 1. General languages ​​provide multi-bit memory.

eg 2'b01 ---- 2: 2bit, b: binary, 01: i.e., the value

Byte (Byte)

A byte contains 8 bits of data, thus a total of 256 different values.

Common everyday KB (1024 Byte), MB (1024 * 1024 Byte), GB (2 ^ 30), TB (2 ^ 40) are accordingly from.

Word (Word)

Common size processor for processing data, also called register size, a common 32bit, 64bit, 32, 64 resulting system.

ASCIIS code:

1 letters (case insensitive) = 1 byte space

Chinese characters 1 = 2 bytes of space

A one byte ASCII code =

UTF-8 encoding:

1 = 1 byte English characters

English punctuation = 1 byte

A Chinese (Traditional including) = 3 bytes

Chinese punctuation 3 bytes =

Unicode encoding:

1 = 2 bytes English characters

English punctuation 2 bytes =

A Chinese (Traditional including) 2 bytes =

Chinese punctuation 2 bytes =

Guess you like

Origin www.cnblogs.com/mikasathebest-19/p/11548100.html
Recommended