Co 2
Co 2
General register organization refers to the structure and management of the CPU
registers that can be accessed by the instruction set architecture (ISA). It
includes a set of registers that are used for various purposes such as holding
operands, intermediate results, and addresses. The general register organization
can be classified into three types:
1. Single Accumulator Register: This has one main accumulator and all
operations are performed with the accumulator.
2. General Register Organization: Multiple registers are available, and
any register can be used in an instruction.
3. Stack Organization: Uses a stack where data is pushed and popped
from the top of the stack.
Advantages:
• Uses a stack for operations where the top elements of the stack are
implicitly used.
• Example: ADD (pops the two top elements of the stack, adds them, and
pushes the result back).
Memory Hierarchy
Magnetic Disk
Characteristics:
Optical Memory
Optical memory refers to storage media that uses lasers to read and write data.
Examples include CDs, DVDs, and Blu-ray discs.
Characteristics:
Associative Memory
Characteristics:
BIOS (Basic Input/Output System): A firmware that initializes and tests hardware
during the booting process and provides runtime services for operating systems.
Advantages:
Crossbar Switch
Characteristics of Multiprocessor
RISC Architecture
CISC Architecture
CISC (Complex Instruction Set Computing) Architecture aims to reduce the number
of instructions per program, sacrificing the number of cycles per instruction.
Key features include:
Types of RAM
Auxiliary Memory
Auxiliary Memory, also known as secondary storage, is used for long-term data
storage. Examples include hard drives, SSDs, magnetic tapes, and optical discs.
Magnetic Disk:
Magnetic Tape:
Virtual Memory
Virtual Memory:
Cache Memory
Cache Memory:
Characteristics:
Paging:
Segmentation:
Demand Paging
Demand Paging:
• Concept: Loads pages into memory only when they are needed, not in
advance.
• Page Fault: Occurs when the CPU references a page that is not
currently in physical memory, triggering a process to load the page from disk
into memory.
• Advantages: Efficient use of memory, reduced load times.
Hardware
Hardware:
Programmed I/O
Interrupt-Initiated I/O
Interrupt-Initiated I/O:
Parallel Processing
Parallel Processing:
General-Purpose Multiprocessors
General-Purpose Multiprocessors:
• Concept: Systems with multiple CPUs that can perform various tasks.
• Characteristics:
• Performance: Higher due to parallelism.
• Scalability: Can add more processors.
• Reliability: Fault-tolerant.
Configurations: