1.1.1 Architecture of the CPU - GCSE OCR Computer Science

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

1/31

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.

32 Terms

1
New cards

stored program concept

programs and data are stored together in RAM (primary storage)

2
New cards

CPU

Central Processing Unit, the brains of the computer where all processing happens, actions taken and data transformed

3
New cards

ALU

- Arithmetic Logic unit
- performs execute phase and all logical, arithmetic, and binary shift operations

4
New cards

CU

- Control Unit
- controls fetch-execute cycle
- coordinates instruction fetching from Ram, decoding and execution

5
New cards

registers

- single memory that holds instructions for f-e cycle
- has faster read-write speed than any other memory

6
New cards

cache

- primary storage that holds recent and frequently used algorithms and data

7
New cards

order cache, RAM and registers by their read-write speed (fastest to slowest)

registers, cache, RAM

8
New cards

how does cache size affect processing speed?

larger cache makes processing faster as there is a higher chance of algorithms and data being stored in it so they can be retrieved faster

9
New cards

level 1 cache

smallest (under 1MB) with fastest r-w speed

10
New cards

level 2 cache

larger than L1 cache with slower r-w speed

11
New cards

level 3 cache

highest capacity cache, may be on motherboard instead of in CPU

12
New cards

Von Neumann architecture

general computer architecture using stored program concept

13
New cards

general purpose register

used by programmers

14
New cards

special purpose registers

have specific uses within the f-e cycle

15
New cards

MAR

memory address register, stores address to be read/written to primary storage

16
New cards

MDR

memory data register, stores data to be read/written to primary storage

17
New cards

what do the MAR and MDR do together?

they store everything and allow the CPU and RAM to communicate

18
New cards

what is unique about the MAR and MDR?

they are the only registers that can communicate with the RAM

19
New cards

ACC

accumulator, stores results of all calculations done by the ALU

20
New cards

PC

program counter, contains address of next instruction to be fetched and is incremented after each fetch phase

21
New cards

why does the PC need to be incremented?

so the correct instruction is fetched in the next fetch phase

22
New cards

CIR

current instruction register, holds instruction currently being executed

23
New cards

steps of the fetch phase

1. instructions are stored at a specific memory address
2. address copied from PC to MAR
3. CU fetches data from address and copies it to MDR
4. instruction moved to CIR
5. PC is incremented

24
New cards

what are the components used in the fetch phase? (in order)

PC, MAR, CU, MDR, CIR, PC

25
New cards

decode phase

CU decodes instruction from MDR/CIR

26
New cards

execute phase

decodes instruction is executed and the next f-e cycle begins

27
New cards

bus

carry addresses, signals and data between the CPU and RAM

28
New cards

address bus

carries address being read from/written to the CPU (MAR) to RAM

29
New cards

data bus

carries data being read from/written to CPU between the MDR and RAM

30
New cards

control bus

carries the signal telling the RAM to read/write between the CPU and RAM

31
New cards

operation

command to be run

32
New cards

operand

data needed for the command