1.1.1 CpuArchitecture Flashcards
1
Q
CPU components
A
ALU - arithmetic logic unit
CU - control unit
2
Q
CPU registers
A
PC - program counter
Acc - accumulator
MAR - memory address register
MDR - memory data register
3
Q
main components
A
CPU - central processing unit
RAM - random access memory
FDE - fetch decode execute cycle
4
Q
CPUs do … (2 things)
A
- process data & instructions
- control rest of computer system
5
Q
flow of data between RAM and CPU
A
- when writing programs, code is stored in RAM
- when you run it the CU fetches one of the lines of code from the RAM and decodes it into commands
- ALU executes the commands in your code
- output is stored in main memory/RAM
6
Q
ALU
A
carries out arithmetic + logic operations
7
Q
CU
A
regulates and integrates operations
8
Q
Cache
A
a type of high speed RAM in the CPU
9
Q
PC
A
used to keep track of addresses of current/next instructions
10
Q
Acc
A
short term immediate storage of arithmetic + logic data in CPU
11
Q
MAR
A
holds addresses of current instruction
12
Q
MDR
A
holds content found at address held in MAR