/ electronics / computer /

[edit]

CPU, ALU

Stages

  1. Instruction Fetch (IF): increase PC
  2. Instruction Decode (ID): read OP and register
  3. Execution (EX): ALU executes command
  4. Memory Stage (M): read/write to memory
  5. Write Back (WB): load from memory to register?

Hazards

Hazards are problems due to pipelining.