Instruction Cycle

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/9

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

10 Terms

1
New cards

Fetch

The FETCH phase obtains the next instruction from memory and loads it into

the instruction register (IR) of the control unit.

2
New cards

The central idea in the von Neumann model is that the program and data both reside in

Memory

3
New cards

Fetch Steps

1. MAR <= (PC)

2. PC <= (PC) + 1

3. MDR <= (MAR)

4. IR <= (MDR)

4
New cards

Decode

The opcode, IR[15:12], is input to the controller (Finite State Machine),which selects the appropriate trajectory to take through the FSM,corresponding to the instruction.

The remaining 12 bits, IR[11:0], are used to set up the data path accordingto the needs of the particular instruction

5
New cards

Evaluate Address

This phase computes the address of the memory location that is needed to process the instruction. LD needs to access memory to load the data into the DR but ADD doesn't need to access memory.

6
New cards

FETCH OPERANDS

This phase obtains the source operands needed to process the instruction.

7
New cards

Opcodes

what the instruction does

8
New cards

operands

who it does it to! like immediate, registers and offsets.

9
New cards

EXECUTE

This phase carries out the execution of the instruction.

10
New cards

STORE RESULT

If there is a result from the operation it is written to memory (using the EA), or to a register.