C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
Basics of Binary AddressesComputer system assigns the binary addresses to the memory locations. However, The system uses amount of bits to address a memory location. Using 1 bit, we can address two memory locations. Using 2 bits we can address 4 and using 3 bits we can address 8 memory locations. A pattern can be identified in the mapping between the number of bits in the address and the range of the memory locations. We know, Using 1 Bit we can represent 2^1 i.e 2 memory locations. Using 2 bits, we can represent 2^2 i.e. 4 memory locations. Using 3 bits, we can represent 2^3 i.e. 8 memory locations. Therefore, if we generalize this, Using n bits, we can assign 2^n memory locations. n bits of address → 2 ^ n memory locations these n bits can be divided into two parts, that are, K bits and (n-k) bits.
Next TopicPhysical and Logical Address Space
|