2684719
Badges: 9
#1
Report Thread starter 4 years ago
#1
Can anyone explain the fetch, decode and execute cycle in simple terms using keywords such as the components and registers? Thanks
1
reply
UWS
Badges: 21
Rep:
?
#2
Report 4 years ago
#2
(Original post by CountYourBlessings14)
Can anyone explain the fetch, decode and execute cycle in simple terms using keywords such as the components and registers? Thanks
It's been a few years but I'll try to help from what I remember.

It essentially is the process cycle of a computer's central processing unit in retrieving instructions from programs during the computer's operation.

Fetch:
- Instructions pulled from memory and stored in main memory.
- Program Counter (a register) stores the address location of the instruction
- Program Counter and instructions are placed in the Instruction Register (IR)
- Program Counter is incremented by 1

Decode:
- Decoder interprets the opcode/function of the instruction within the IR
- Here the data from main memory are placed into registers (MDR and MAR)

Execute:
- CPU will execute the instructions that are placed inside the registers

Store:
- Store the result in memory (if required)

Rinse and repeat...

As a basic diagram (ALU refers to the arithmetic logic unit)
Image

You can also use this site to help you
http://www.c-jump.com/CIS77/CPU/InstrCycle/lecture.html
5
reply
2684719
Badges: 9
#3
Report Thread starter 4 years ago
#3
(Original post by UWS)
It's been a few years but I'll try to help from what I remember.

It essentially is the process cycle of a computer's central processing unit in retrieving instructions from programs during the computer's operation.

Fetch:
- Instructions pulled from memory and stored in main memory.
- Program Counter (a register) stores the address location of the instruction
- Program Counter and instructions are placed in the Instruction Register (IR)
- Program Counter is incremented by 1

Decode:
- Decoder interprets the opcode/function of the instruction within the IR
- Here the data from main memory are placed into registers (MDR and MAR)

Execute:
- CPU will execute the instructions that are placed inside the registers

Store:
- Store the result in memory (if required)

Rinse and repeat...

As a basic diagram (ALU refers to the arithmetic logic unit)
Image

You can also use this site to help you
http://www.c-jump.com/CIS77/CPU/InstrCycle/lecture.html
Thank you so much!
0
reply
StreakyGamerTG
Badges: 3
Rep:
?
#4
Report 3 years ago
#4
The Code Is
Fetch:
- Instructions pulled from memory and stored in main memory.
- Program Counter (a register) stores the address location of the instruction
- Program Counter and instructions are placed in the Instruction Register (IR)
- Program Counter is incremented by 1

Decode:
- Decoder interprets the opcode/function of the instruction within the IR
- Here the data from main memory are placed into registers (MDR and MAR)

Execute:
- CPU will execute the instructions that are placed inside the registers

Store:
- Store the result in memory (if required)
1
reply
Hunnie1
Badges: 2
Rep:
?
#5
Report 3 years ago
#5
thanks for your help!!
0
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Back
to top
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

Do you think receiving Teacher Assessed Grades will impact your future?

I'm worried it will negatively impact me getting into university/college (224)
43.33%
I'm worried that I'm not academically prepared for the next stage in my educational journey (58)
11.22%
I'm worried it will impact my future career (40)
7.74%
I'm worried that my grades will be seen as 'lesser' because I didn't take exams (108)
20.89%
I don't think that receiving these grades will impact my future (59)
11.41%
I think that receiving these grades will affect me in another way (let us know in the discussion!) (28)
5.42%

Watched Threads

View All