Architecture of the CPU

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

1/7

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

8 Terms

1
New cards

What is the purpose of the CPU?

The role of the CPU is to process instructions by running fetch-decode-execute cycle

2
New cards

Describe the first stage of the Fetch-Execute-Cycle

-The Program counter holds the address of the next instruction. This address is transferred to the memory address register(MAR).. The instruction in MAR is transferred to the Memory Data Register(MDR).The PC is incremented so it points to the next instruction to be executed

3
New cards

Describe the second stage of fetch-execute-cycle

The control unit decodes the instruction to work out what needs to be done.

4
New cards

What happens at execute stage of fetch-decode-execute cycle

The instruction is carried out by Control unit . Any result is stored in the Accumulator(ACC) register.

5
New cards
<p>Describe each component in CPU</p>

Describe each component in CPU

1)Arithmetic Logic Unit(ALU):Performs calculations and logical decisions

2)Control Unit:Send signals to control how data moves around CPU

3)Cache:Provides fast access to frequently used instructions and data

4)Register:Tiny,super fast pieces of onboard memory inside the CPU

6
New cards
<p>What is Von Neumann Architecture and what does it consist of?</p>

What is Von Neumann Architecture and what does it consist of?

-It’s based on the concept of the store program concept. Both instruction data and program data are stored in the same memory in binary form.Theres no way to know if the pure binary held in memory is representing instructions or data by looking at it

-Consistes of:

1)Control Unit(Cu)

2)Arithmetic and Logic Unit(ALU)

3)Memory Unit(Typically RAM)

4)Inputs and Outputs

Registers

7
New cards

Explain each Register in the Von Neumann Architecture

1)Program Counter(PC):Holds the address of the next instruction in memory

2)Memory Address Register(MAR):Holds the address of where data is to be fetched or stored

3)Memory Data Register(MDR):Holds the data fetched from, or to be written to memory

4)Accumulator:Holds the result of calculations

8
New cards

What’s the difference between storing data and address

-Storing a address of a location in MAR can only be read from or written to

-Storing data in MDR has been read or data that needs to be written