fetch decode execute cycle notes

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/7

Last updated 6:49 AM on 10/9/24
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

8 Terms

1
New cards

step 1 of the fde cycle

Theย PCย is loaded with 0ย 

2
New cards

step 2 of the fde cycle

The value from theย PCย (0) is copied to theย MARย 

3
New cards

step 3 of the fde cycle

The data from theย MARย (0) is sent across the address bus with the instruction to read the data sent across the control busย 

4
New cards

step 4 of the fde cycle

The data from that location in memory (0) is sent down the data bus to theย MDRย 

5
New cards

step 5 of the fde cycle

Theย PCย is incremented by 1ย 

6
New cards

step 6 of the fde cycle

The data is sent from theย MDRย to theย CIRย where it is split into the opcode and operandย 

7
New cards

step 7 of the fde cycle

This is sent to the CU to be decodedย 

8
New cards

step 8 of the fde cycle

Which registers are being used here will depend on the instruction currently being executedย 

  • if a value is being inputted (INP) theย ACCย will store the valueย 

  • If a value is being outputted (OUT) this will be the value currently in theย ACCย 

  • If a value is loaded from RAM (LDA) this will be sent across the data bus from RAM (in the address location in theย MAR) to theย MDRย 

  • If a value is to be stored (STA) it will take the value from theย ACC, send it to theย MDRย and then send it across the data bus to RAM (to the address location in theย MAR)ย 

  • If the LMC code is to branch (BRA/BRZ/BRP) the comparison will take place in the ALUย