Computer Organization Flashcards
Control Unit (CU)
Controls the retrieval of instructions from the primary memory as well as the sequence of their execution
Arithmetic Logic Unit (ALU)
Performs all the basic arithmetic, logical or input-output operations that is provided by the CU
Memory Address Register (MAR)
Holds the memory address of the data to be used by the ALU or the processed data that is to be stored in the primary memory (addresses are communicated via address buses)
Memory Data Register (MDR)
Holds the data that is to be used by the ALU and which ever memory address location the MAR is holding, the corresponding data will be location onto the MDR for processing by the ALU (data is communicated via data buses)
Primary Memory
Only storage that is directly accessible by the CPU. At any given time, it may hold both data and instructions that are currently running on the computer system.
Random Access Memory (RAM)
A general purpose storage area. Data stores can be overwritten and data and instructions can be loaded when needed at anytime.
Read-Only Memory (ROM)
Stores data and instructions that can’t be overwritten and it is used for instruction that never changes (e.g. start up sequence)
Cache memory
A type of primary where only frequently used memory is stored for fast retrieval by the CPU because it checks for a existing copy of the data in cache before accessing the RAM
Fetch
- CPU sends the address of an instruction to the
Decode
- Allows the CPU to be aware of any additional
Execute
Executes the instruction using the necessary data that has been loaded and calculates a result in the ALU
Store
- CPU may store the result in the primary memory
Secondary Memory
NAME?
Operating System (OS)
Software that controls the computer’s hardware/software resources and provides service for the computer programs
OS: Memory Management
Ensures one app doesn’t interfere with memory used by another app (prevents overwriting memory)