L1 - Structure and Function of a Processor

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

1/10

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

11 Terms

1
New cards

Arithmetic and Logic Unit

performs logical operations and arithmetic calculations (inc binary shift and <>=+-*/)

2
New cards

Control Unit

  • controls flow of data in CPU

  • in the decode stage, opcode (operation code) and operand (value or expression needed to perform operation) are analysed to find out what to execute

  • directs operations of other components

  • uses control signals to enable reading/writing to memory and determine operation ALU carries out

3
New cards

Program Counter

holds address of the next instruction to be fetched by the processor

4
New cards

Accumulator

Temporarily stores inputted/loaded values or results of calculations and logical operations by the ALU 

5
New cards

Memory Data Register (MDR) 

Temporarily holds data values or instructions that are read from or written to main memory (before sent to memory or after being fetched) 

6
New cards

Memory Address Register

Temporarily holds address of memory location (in main memory) that the processor needs to access/read from/write to (where being sent or where being fetched from) 

7
New cards

Current Instruction Register

After an instruction is fetched it is sent here - Holds the current instruction that the processor is executing, divided into operand and opcode 

8
New cards

Status Flags

In the ALU, status flags send signals to the processor to interrupt it and alert it to a problem such as an overflow or a zero

9
New cards

Data Bus

  • transfers data and instructions to/from CPU and RAM

  • bidirectional

  • read/write

10
New cards

Address Bus

  • transfers memory addresses specifying where data is to be sent

  • unidirectional; only goes from CPU to memory

    • read/write (I think)

11
New cards

Control Bus

  • Transmits control signals between internal and external components 

    • Bidirectional (goes from CPU from/to input/output and CPU from/to memory)

  • Coordinates the use of the address and data buses and provides status information between components 

  • Sends signals to determine whether other buses are in read/write mode