PadhaikoAll subjects

Past exam question: 2081 Chaitra (Regular), Q10

Microprocessors · 4 marks

Open in the Padhaiko app

Topic: Harvard, Register vs Accumulator, Control Units, RISC/CISC, Multiprocessing & DSP

Question

Compare and contrast between accumulator based and register based architecture.

Solution

Architectural Principles:

Comparison Table:

FeatureAccumulator-based ArchitectureRegister-based Architecture
Working RegistersSingle primary accumulator registerMultiple general-purpose registers
Instruction Format1-address (or 0-address) format2-address or 3-address format
Instruction LengthShort instruction length (opcode + 1 operand)Longer instruction length (multiple register fields)
Operand BottleneckSevere accumulator bottleneck; high memory trafficLow bottleneck; intermediate data stays in registers
Code SizeHigh code density (fewer address bits needed)Lower code density (more bits per instruction)
Memory Bus TrafficHigh (frequent store/reload of accumulator)Low (registers hold multiple temporary variables)
Hardware ComplexitySimple internal routing and decoding logicComplex register file, bypass buses, and decoding
Execution ThroughputSlower for complex expressionsMuch faster due to register-level parallelism
ExamplesIntel 8085, MOS 6502, PDP-8Intel 8086, ARM Cortex, MIPS, RISC-V

Summary of Trade-Offs: Accumulator-based architectures minimize instruction word width and silicon area at the expense of requiring frequent memory stores and reloads whenever intermediate results are generated. Register-based architectures increase instruction width and register file silicon, but dramatically reduce memory bus traffic and facilitate compiler optimization for high-speed execution.

Answer:

Accumulator-based architecture uses 1-address instructions with a single implied accumulator register for results (compact instructions but high memory traffic), whereas register-based architecture uses 2- or 3-address instructions across multiple general-purpose registers (reducing memory traffic and increasing throughput).

All past exam questions for Microprocessors