fetch decode execute cycle notes (this is going to be fun)

studied byStudied by 1 person
0.0(0)
Get a hint
Hint

step 1 of the fde cycle

1 / 7

8 Terms

1

step 1 of the fde cycle

The PC is loaded with 0 

New cards
2

step 2 of the fde cycle

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

New cards
3

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 

New cards
4

step 4 of the fde cycle

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

New cards
5

step 5 of the fde cycle

The PC is incremented by 1 

New cards
6

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 

New cards
7

step 7 of the fde cycle

This is sent to the CU to be decoded 

New cards
8

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 

New cards

Explore top notes

note Note
studied byStudied by 174 people
... ago
5.0(3)
note Note
studied byStudied by 9 people
... ago
5.0(1)
note Note
studied byStudied by 2 people
... ago
5.0(1)
note Note
studied byStudied by 3 people
... ago
5.0(1)
note Note
studied byStudied by 10 people
... ago
5.0(1)
note Note
studied byStudied by 8 people
... ago
5.0(1)
note Note
studied byStudied by 865 people
... ago
5.0(1)
note Note
studied byStudied by 5848 people
... ago
4.3(15)

Explore top flashcards

flashcards Flashcard (43)
studied byStudied by 194 people
... ago
5.0(4)
flashcards Flashcard (23)
studied byStudied by 4 people
... ago
4.5(2)
flashcards Flashcard (30)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (595)
studied byStudied by 828 people
... ago
5.0(3)
flashcards Flashcard (87)
studied byStudied by 56 people
... ago
5.0(1)
flashcards Flashcard (29)
studied byStudied by 4 people
... ago
5.0(1)
flashcards Flashcard (75)
studied byStudied by 2 people
... ago
5.0(1)
robot