Documente Academic
Documente Profesional
Documente Cultură
& Organization -I
program
counter
Inside the CPU
memory
memory data
address register
register
instruction
register
program
counter
Inside the CPU
memory
memory data
address register
register
instruction
register
program arithmetic
counter logic unit
Inside the CPU
memory
memory data
address register
register
accumulator
(work
instruction register)
register
program arithmetic
counter logic unit
Inside the CPU
memory
memory data
address register
register
accumulator
(work
instruction register)
register
program arithmetic
system logic unit
counter clock
FETCH the instruction
1. address of the
next instruction is
transferred from
PC to MAR
2. the instruction is
located in memory
FETCH the instruction
3. instruction is
copied from
memory to MDR
DECODE the instruction
instruction is
transferred to
and decoded in
the IR
EXECUTE the instruction
control unit
sends signals
to appropriate
devices to cause
execution of the
instruction
Fetching & Exécution Cycles
Fetching Cycles
The fetch cycle takes the instruction required from memory,
stores it in the instruction register, and
Moves the program counter on one so that it points to the
next instruction.
Execute cycle
The actual actions which occur during the execute cycle of an
instruction.
Depend on both the instruction itself and the addressing mode
specified to be used to access the data that may be required.
20
Fetching an instruction
Step 2
Fetching an instruction….Cont….
Step 3
Fetching an instruction….Cont….
Step 4
Fetching an instruction….Cont….
Step 5
Fetching an instruction….Cont….
Step 6
Data flow from memory to MPU
workstations
Reference
Slide Data taken from internet resources and
various renowned books related to CAO