跳到主要内容

Lesson 68: Fetch, decode, execute

English

Inside the CPU

  • The CPU repeats three steps: fetch an instruction from memory, decode it, execute it.
  • Registers are tiny, fast stores inside the CPU. This sketch uses a variable for each one.
Register Holds
PC (program counter) the address of the next instruction
MAR (memory address register) the address to read from or write to
MDR (memory data register) the data or instruction read from memory
CIR (current instruction register) the instruction being decoded
ACC (accumulator) the result of a calculation

登录或创建账户

IGCSE, A-Level & AP