CA Lecture 1
CA Lecture 1
Lecture 1
By
Ms. Maryam Arshad
What is an architecture?
• Processor (CPU)
•The brain of the computer that executes instructions.
•Includes control units, registers, and ALUs.
• Memory (Primary & Secondary)
• Hierarchical structure for storing data and instructions.
• Includes cache, main memory (RAM), and secondary storage.
• Input/Output (I/O) Systems
•Interfaces for external communication and data exchange.
•Examples: Keyboards, monitors, and network devices.
• Interconnects
•Communication channels between components (e.g., buses, bridges).
Types of Computer Architectures:
Buses Separate buses for instructions and data Single bus for both instructions and data
Complexity More complex due to separate memory systems Simpler design with unified memory
• Characteristics of CISC
• Complex instruction, hence complex instruction decoding.
• Instructions are larger than one-word size.
• Instruction may take more than a single clock cycle to get
executed.
• Less number of general-purpose registers as operations
get performed in memory itself.
• Complex Addressing Modes.
• More Data types.
Advantages vs. Disadvantages of CISC
• Widely used: CISC processors have been in use for • Higher power consumption: CISC processors
a longer time than RISC processors, so they have a consume more power than RISC processors
larger user base and more available software. because of their more complex instruction sets.