1.1 - Fetch-Execute Cycle

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/6

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

7 Terms

1
New cards
Before cycle can take place...
Instructions translated into machine code
Program instructions loaded from secondary storage into RAM
2
New cards
When are interrupts checked for?
After each cycle
3
New cards
Fetch
Address of next instruction: PC to MAR (+PC incremented)
Instruction at the address: RAM to MDR
MDR to CIR (so MDR is freed up for execute)
4
New cards
Decode

CIR instruction decoded
Split into operand and opcode. Additional data fetched if required
5
New cards
Execute
The instruction is executed by ALU and the result is held in accumulator or stored in RAM
6
New cards
Opcode vs operand

Opcode: Instruction
Operand: Data/data address to be manipulated
7
New cards