The Fetch-Execute Cycle
To execute a program you must first load the program and any relevant data
in to the computer’s me...
The Fetch-Execute Cycle
A program may contain thousands of instructions but the processor can only
execute one instruction...
National 5 Computing Science - Fetch Execute Cycle
of 3

National 5 Computing Science - Fetch Execute Cycle

National 5 Computing Science Fetch Execute Cycle
Published on: Mar 3, 2016
Published in: Education      
Source: www.slideshare.net


Transcripts - National 5 Computing Science - Fetch Execute Cycle

  • 1. The Fetch-Execute Cycle To execute a program you must first load the program and any relevant data in to the computer’s memory (RAM) from disk. The program and data is stored in memory until needed by the processor (the stored program concept). Main Memory 10101010 11101000 00110001 10100010 11100000 00001000 10100010 11110011 11111000 00110000 Address Processor 11000000 00000000 11000000 00000001 11000000 00000010 11000000 00000011 11000000 00000100 11000000 00000101 11000000 00000110 11000000 00000111 11000000 00001001 11000000 00001001
  • 2. The Fetch-Execute Cycle A program may contain thousands of instructions but the processor can only execute one instruction at a time. •The first instruction is fetched from memory in to the processor where it is decoded and executed. •Then the second instruction is fetched and then executed and so on until the program ends. This is known as the FETCH – EXECUTE CYCLE. LDA #B5 Processor