Example 1. 20-bit linear address: from 00000 to FFFFF, size (capacity) of the space = ? 2^20 = 1MB Formula: (end - start) + 1 = space (FFFFF - 00000) + 1 = 10 0000 (h) = 0001 0000 0000 0000 0000 0000 (b) = 2^20 = 1 MB In MS-DOS, total memory space is 1MB 2. Interrupt vector table (IVT): 00000 - 003FF (h), size = ? (KB/MB) (003FF - 00000) + 1 = 400 (h) = 0100 0000 0000 (b) = 2^10 = 1 KB For MS-DOS, IVT is stored in the first kB of memory. 3. ROM BIOS: F0000 to FFFFF, size = ? (K) (FFFFF - F0000) + 1 = FFFF + 1 = 10000 (h) = 1 0000 0000 0000 0000 (b) = 2^16 = 2^(10+6) = 2^6 * 2^10 = 64 K In MS-DOS, ROM BOIS is located in the last 64k of memory space. 4. The memory linear address from 00000 to 9FFFF, what is the capacity? 9FFFF + 1 = A0000 (h) = 1010 0000 0000 0000 0000 = 2^19 + 2^17 = (2^9 + 2^7) * 2^10 = 2^7(2^2+1) K = 640 K 5. Memory address from 0000 0000 to FFFF FFFF, what is the capacity? FFFF FFFF + 1 = 1 0000 0000 (h) = 1 0000 0000 0000 0000 0000 0000 0000 0000 (b) = 2^32 = 2^2 * 2^30 = 4G