note2
note2
Computer function
Hypothetical machine
Ac (Accumulator Register)
Pc (Program Counter)
IR (Instruction Register)
Typically, instructions are fetched from memory and loaded into the IR
before being decoded and executed.
Bit
Field Description
s
Address/
12 Memory address or immediate value
Operand
Instruction cycle
o Fetch
o Decode
o Execute
1. Fetch Cycle
The fetch cycle retrieves the next instruction from memory and loads it into the Instruction
Register (IR).
Steps:
2. Decode Cycle
The CPU decodes the instruction stored in the Instruction Register (IR).
Steps:
MAR ← Address
Read Memory
Ac ← Ac + MDR (Perform addition)
MAR ← Address
MDR ← Ac
Write Memory (Store value from Accumulator to memory)
Polling/Interrupt
Interrupt handling
2. Interconnections
Memory module
IO module
Processor module
Bus structure
Bus hierarchy
Computer buses
Intel QPI
PCIe