byte - a sequence of 8 bits (enough to represent one character of alphanumeric data) processed as a single unit of information
sector - the minimum track length that can be assigned to store information; unless otherwise specified a sector of data consists of 512 bytes
block - (computer science) a sector or group of sectors that function as the smallest data unit permitted; "since blocks are often defined as a single sector, the terms `block' and `sector' are sometimes used interchangeably"
allocation unit - a group of sectors on a magnetic disk that can be reserved for the use of a particular file
partition - (computer science) the part of a hard disk that is dedicated to a particular operating system or application and accessed as a single unit
word - a word is a string of bits stored in computer memory; "large computers use words up to 64 bits long"
- An MMU (memory management unit) generates physical address. - A CPU (central processing unit) generates a logical address.
- An MMU (memory management unit) generates physical address. - A CPU (central processing unit) generates a logical address.
MMU-memory management unit
The minimum size of an address bus depends on the amount of memory the system needs to access. To calculate the minimum size, you can use the formula (2^n), where (n) is the number of bits in the address bus and determines the number of unique addresses it can generate. For example, a 32-bit address bus can address (2^{32}) locations, or 4 GB of memory. Therefore, the minimum size of the address bus must be large enough to accommodate the maximum memory requirement of the system.
A given unit of data in memory is located using its unique address, which serves as an identifier for that specific location. Memory is typically organized in a linear, sequential manner, allowing the system to access data by calculating the address based on the starting point and the size of the data unit. The memory address is usually represented in binary format, and the memory management unit (MMU) translates these addresses for efficient data retrieval. This process allows the CPU to quickly locate and manipulate data stored in RAM or other memory types.
You need 30 address lines to access 1G of memory. 230 = 1,073,741,824. log2 (1,073,741,824) = 30.
A memory address a, is said to be n-byte aligned when a is a multiple of n bytes (where n is a power of 2). In this context a byte is the smallest unit of memory access, i.e. each memory address specifies a different byte.
Logical address is the address generated by the CPU (from the perspective of a program that is running) whereas physical address (or the real address) is the address seen by the memory unit and it allows the data bus to access a particular memory cell in the main memory. All the logical addresses need to be mapped in to physical addresses before they can be used by the MMU. Physical and logical addresses are same when using compile time and load time address binding but they differ when using execution time address binding.
MAR (Memory Address Register) holds the address of the memory location to be accessed or written to in the memory unit, whereas MDR (Memory Data Register) holds the actual data that is to be written to a memory location or data read from a memory location. MAR is used to specify the address, while MDR is used to temporarily store the data during memory operations.
A 14 bit address can specify 214 or 16,384 different locations.
MAR is memory address register. MDR is memory data register. These are registers part of the control unit (CU) in your cpu.
The control unit provides the timing and control signal to all operations of microcomputer. It control the flow of data between microprocessor and memory and peripherals.