Lecture-3
Lecture-3
• At the same time, ISA provides hardware designers with a standard interface to
ensure compatibility between different components and generations of processors.
• The ISA is a foundational aspect of computer architecture and plays a significant role
in determining the overall performance and capabilities of a computer system.
Instruction Set Architecture (ISA)…
CISC (Complex Instruction Set Computing)
• Unlike Reduced Instruction Set Computing (RISC), where instructions are simple and
typically perform only one basic operation
• CISC instructions can encapsulate more complex tasks.
For example
A single CISC instruction might perform the loading of a value from memory, an arithmetic
operation, and the storing of the result back to memory.
Instruction Set Architecture (ISA)…
Variable-Length Instructions
• CISC instructions can vary in length, which means that some instructions may take
more memory space than others.
• This flexibility allows for more powerful and complex operations but can also lead to
challenges in instruction decoding and pipelining.
Memory-Operands
• CISC instructions often allow for direct memory-to-memory operations, where data can
be moved between memory locations without having to go through registers.
• This feature simplifies the programming model but can complicate the hardware design.
Instruction Set Architecture (ISA)…
Code Size
• Due to the reduced instruction set, RISC code might be larger than
equivalent CISC code, though this is often mitigated by efficient instruction
encoding.
Programming Challenges
Sequential Execution
• Instructions are processed one at a time, in order, from the
memory.
Fetch-Decode-Execute Cycle
• The CPU follows a cycle of fetching an instruction from memory,
decoding it to understand the operation, and then executing it.
Flexibility
• The architecture allows for a wide range of applications by
changing the stored program in memory.
Von Neumann vs. Harvard Architecture…
•.
Characteristics:
Stored Program
• Programs are stored in memory and treated as data.
Sequential Execution
• Instructions are executed one after the other.
Single Data Bus
• A single bus is used for both instruction and data transfer.
Von Neumann Bottleneck
• The sequential nature can lead to performance limitations.
Von Neumann vs. Harvard Architecture…
Example
• Many modern computers, including personal computers, follow the Von
Neumann architecture.
Impact
• The Von Neumann architecture laid the foundation for the development
of modern computers and is a standard model for most general-purpose
computers today.
• The Von Neumann architecture is a classic design where programs and
data share the same memory, and the CPU executes instructions
sequentially.
Von Neumann vs. Harvard Architecture…
Harvard Architecture
Key characteristics
• Some modern processors use elements of both Harvard and Von Neumann
architectures, creating hybrid architectures to optimize performance.
• The Harvard Architecture provides separate memory for instructions and data,
enabling simultaneous access and potentially improving processing speed,
making it particularly suitable for real-time and embedded systems.
THE END