Microprogrammed Control & CPU Register Cheat Sheet

Microprogrammed control stores each control signal set as a microinstruction in control memory, so the CPU runs instructions as tiny programs that are easy to change, at the cost of speed.

Core Principles

  • Control memory: ROM holding microinstructions; each word = control bits + next-address field.
  • Microinstruction execution: CAR addresses word → control bits fire → next address chosen.
  • Address sequencing: next address from CAR+1, branch field, opcode mapping, or SBR on subroutine return.
  • Fetch microroutine: MAR←PC, MDR←M[MAR], IR←MDR, PC←PC+1, then map IR opcode to execute routine.
  • Hardwired: fixed gates, fastest, hard to modify. Microprogrammed: ROM-driven, flexible, patchable, slower.
  • Advantage: new instructions need only new microcode. Disadvantage: extra control memory access per step.
  • General register organization: R0–R7 feed ALU through two multiplexers; 3-to-8 decoder selects destination.
  • Bus organization: shared buses cut interconnections from n² point-to-point links to n multiplexed buses.

Action Steps

  • 1. List all control signals; group mutually exclusive ones into fields (shrinks control word).
  • 2. Write a microroutine per instruction, including the common fetch routine (fetches once, serves all).
  • 3. Assign control memory addresses; build opcode mapping table to routine start addresses.
  • 4. Design sequencer: CAR, incrementer, branch logic, SBR for subroutines (supports conditional jumps).
  • 5. For exam answers: draw CAR→control memory→control word→sequencer loop with labelled registers.

Key Terms

  • Control Memory: Fast ROM storing microprograms; read each cycle, its output drives the control signals.
  • CAR (Control Address Register): Holds address of the current microinstruction; updated each cycle by the sequencer.
  • SBR (Subroutine Register): Saves return address when a microroutine calls a microsubroutine, restoring CAR on return.
  • Microinstruction: One control-memory word; specifies control bits for this step plus the next address.
  • Mapping Logic: Converts machine opcode bits into the starting address of its microroutine.

Pitfalls to Avoid

  • Confusing CAR with IR: CAR holds microinstruction addresses, IR holds machine instructions; mixing them scrambles sequencing.
  • Writing hardwired advantages for microprogramming: microprogrammed control is slower, so cite speed as hardwired's strength.
  • Ignoring mapping logic: without it, opcode-to-routine jumps are undefined and the fetch-execute loop stalls.
  • Skipping field encoding: unencoded control words waste ROM bits and widen the control memory.

Related cheat sheets

  • Microprogrammed Control & CPU Register Organization
  • Psychology Ch 3–6: Exam-Ready Cheat Sheet
  • Lipids Cheat Sheet: Fats That Signal, Build, and Insulate
  • Psych Ch 3–6: Brain, Senses, Sleep, Learning
  • Carbohydrates: Structure, Digestion & Glycemic Index
  • AI Essentials for DBATU B.Tech CSE

More like this

  • Science & Academic cheat sheets
  • Explore all cheat sheets

ClipSheet — AI Cheat Sheet Generator

ClipSheet transforms YouTube videos, PDFs, and text into structured cheat sheets and study notes using AI. Built for students, professionals, and content creators who need to learn faster.

Features

  • AI-powered extraction of key concepts, formulas, and action steps
  • Automatic quiz and flashcard generation for active recall
  • PDF export and public sharing via unique URLs
  • Support for YouTube videos, PDFs, and raw text input

Browse by Category

  • All Cheat Sheets
  • Science & Academic
  • Technology
  • Health & Fitness
  • Coding
  • Business
  • Education
  • Productivity
  • Finance
  • Lifestyle

Legal

  • Privacy Policy
  • Terms of Service
  • Imprint
  • Verträge hier kündigen