0% found this document useful (0 votes)
9 views7 pages

Instruction Execution

A program is a set of instructions that a computer executes to process data and generate output. The execution process involves a repeating machine cycle of fetching, decoding, and executing instructions stored in memory. The control unit manages these steps, ensuring the correct operation of the CPU components.

Uploaded by

thangedikishore
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views7 pages

Instruction Execution

A program is a set of instructions that a computer executes to process data and generate output. The execution process involves a repeating machine cycle of fetching, decoding, and executing instructions stored in memory. The control unit manages these steps, ensuring the correct operation of the CPU components.

Uploaded by

thangedikishore
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

PROGRAM EXECUTION

• A program consists of set of instructions to


process data.
• A computer executes the program to create
output data from input data.
• Both the program and the data are stored in
memory.
• A computer executes the instructions using
repeating
machine cycle: fetch, decode, execute
Steps of a cycle
The control Unit do the following:

Fetch: copy the instruction to be


executed from memory to IR. The
address of that instruction is
stored in the PC which should
then be incremented.

Decode: interprets the command


in the instruction register as
binary code to be executed.

Execute: sends the order to a


component of CPU.
Contents of memory and register
before execution
Contents of memory and registers after each cycle
Contents of memory and registers
after each cycle
Contents of memory and
registers after each cycle
Contents of memory and registers
after each cycle

You might also like