Pass path: Define microprocessor, state the three system buses (Address, Data, Control), and explain the SAP-1 architecture. Top path: Differentiate bus width vs memory addressability, analyze tri-state buffer operation, and trace the SAP-1 fetch-execute instruction cycle.
Part 1: Core Concepts (2 Marks)
- ★ Microprocessor: A programmable, multipurpose, clock-driven, semiconductor integrated circuit (IC) that fetches binary instructions from memory, decodes them, and executes arithmetic and logic operations.
- ★ System Buses:
- Address Bus: Unidirectional bus carrying physical memory addresses from CPU to memory/IO; width determines maximum addressable memory (
). - Data Bus: Bidirectional bus transferring actual data and instructions between CPU, memory, and peripheral controllers.
- Control Bus: Collection of unidirectional and bidirectional lines transmitting timing, read/write, and status control strobes.
- Address Bus: Unidirectional bus carrying physical memory addresses from CPU to memory/IO; width determines maximum addressable memory (
- ★ Tri-State Buffer: A logic circuit with three operational states: Logic High (1), Logic Low (0), and High-Impedance (
, float/disconnected). Allows multiple devices to share common system buses without bus contention.
Part 2: Structural Frameworks (10 Marks)
1. Architecture and Operation of Simple-As-Possible (SAP-1) Computer
When asked to evaluate the fundamental architectural blocks of SAP-1:
- Program Counter (PC): 4-bit register that generates memory addresses of instructions to fetch; counts sequentially from
0000to1111. - Memory Address Register (MAR): Latches 4-bit address from system bus during fetch state.
- RAM (16 x 8): 16 bytes of memory storing instructions (upper nibble opcode, lower nibble operand) and data.
- Instruction Register (IR): 8-bit register holding fetched instruction; splits opcode to Controller-Sequencer and operand to bus.
- Controller-Sequencer: Generates micro-timing control words (
) during T-states ( to ) to coordinate register transfers. - Accumulator & B-Register: 8-bit registers buffering inputs to the Adder-Subtractor.
- Instruction Cycle Mechanics:
: Address state ( ). : Increment state ( ). : Memory state ( ). : Execution states (e.g., ).
Part 3: Distinction Tables
SAP-1 vs. SAP-2 Architecture Comparison
| Dimension | SAP-1 | SAP-2 |
|---|---|---|
| Bus Width | 8-bit data, 4-bit address | 8-bit data, 16-bit address |
| Memory Capacity | 16 bytes RAM ( |
64 KB memory space ( |
| Instruction Set | 5 rudimentary instructions ( |
42 instructions including logic, jump, call/ret |
| Flags | Zero flags | Sign Flag ( |
| Registers | Accumulator, B-Register | A, B, C registers + Stack Pointer |
Part 4: Worked Problems & Exam Traps
Problem 1 (Standard): Memory Address Space Calculation
A microprocessor has a 16-bit address bus and an 8-bit data bus. Calculate the maximum physical memory capacity in bytes and kilobytes.
- Calculation:
Since the data bus is 8-bit (1 byte per word):
Students lose marks here because they state that the address bus is bidirectional. The address bus is strictly unidirectional (CPU drives addresses outward to memory and peripherals).