[Linux] capacity or position commonly represented in hexadecimal

A: Sort by Address

000000000000:
000000000001: 1 byte (1)
000000000010: 16 bytes (2)
000000000040: 64 bytes
000,000,000,100: 256 bytes (3)
000,000,000,200: 512 words section
000,000,000,208: 520 bytes
000000000400: 1024 bytes 1KB
0000 0000 0800: 2KB
0000 0000 0C00: 3KB
0000 0000 1000: 4KB (. 4-bit)
0000 0000 F000: 60KB
0000 0001 0000: 64KB (. 5-bit)
0000 0002 0000: 128KB
0000 000F 0000: 960KB
0000 0010 0000: 1MB (. 6 bits)
0000 00F0 0000: 15MB
0000 0100 0000: 16MB (. 7 bits)
0000 0F00 0000: 240MB
0000 1000 0000: 256MB (. 8 bits)
000040000000: 1GB
0000 8000 0000: 2GB
0001 0000 0000: 4GB (. 9 bits)
0010 0000 0000: 64GB (10 bit)
0100 0000 0000: 1TB (. 11 bits)

Two: Sort by median row

1: 0000 0000 0000 - 0000 0000 000F: 0-15 16 bytes

2: 0000 0000 0000 - 0000 0000 00FF: 0-256 256 bytes

Bit 3: 0000 0000 0000 - 0000 0000 0FFF: 4K bytes Total

4: 0000 0000 0000 - 0000 0000 FFFF: total of 64K bytes

5: 0000 0000 0000 - 0000 000F FFFF: 1M bytes total

6: 0000 0000 0000 - 0000 00FF FFFF: 16M bytes total

7: 0000 0000 0000 - 0000 0FFF FFFF: 256M bytes total

8: 0000 0000 0000 - 0000 FFFF FFFF: 4G bytes total

III: Sort addressable register

 Addressable 8-bit registers: 256 = 2 ^ 8-byte address

16 Register Addressing: 2 ^ 16 = 64K-byte address

20 Register Addressing: 2 ^ 20 = 1M byte address

32 Register Addressing: 2 ^ 32 = 4GB byte address

64-bit addressing: much ~~~

 

Guess you like

Origin www.cnblogs.com/happylich/p/11524969.html