* performs fetch and execute * directly accessed by main memory
2
New cards
3 components of cpu
* CU * ALU * registers and buses
3
New cards
CU
* performs decode stage * sends control signals * controls the flow of the cycle
4
New cards
ALU
* arithmetic logic unit * performs logic and arithmetic calculations * using ACC
5
New cards
what are the 5 special purpose registers
* pc * acc * cir * mar * mdr
6
New cards
PC
* program counter * holds the address of the next instruction to be fetched from memory
7
New cards
MAR
holds instruction addres
8
New cards
MDR
holds instruction data
9
New cards
CIR
holds current instruction data at the CU to be decoded
10
New cards
ACC
temporarily holds values for the ALU
11
New cards
what are the 3 buses and what do they do
* adress bus: pc → MAR (unidirectional) * data bus: MDR/CIR/IO devices (bidirectional) * control bus : carry timing signals (bidirectional)
12
New cards
fetch stage
* pc holds next instruction address * address copied to MAR using address bus * data copied from MAR to MDR * data copied through data bus * to CIR * pc value increments by one to point to next instruction
13
New cards
decode stage
* data held at CIR to be decoded by CU * data passed on the CPU * CU checks that IO devices are ready * if they are, instruction data is passed onto alu for execute
14
New cards
execute stage
* ALU performs logic and arithmetic calculations required by the instruction * ACC temporarily stores values for the ALU
15
New cards
CPU core
* one set of ALU, CU and register and buses * can also be dual or quad core
16
New cards
clock speed
the number of electrical pulses produced by CPU each second
17
New cards
overclocking
* when the clock speed is too high for the computer * can cause overheating
18
New cards
cache memory
holds regularly used data for quicker access in the cpu
19
New cards
word
a group of bits in a single unit
20
New cards
microprocessor
integrated circuit on a single chip
21
New cards
instruction set
the commands that can be processed by the cpu
22
New cards
opcode
the instruction / operation eg ADD
23
New cards
operand
the data being acted on
24
New cards
embedded systems
a combination of hardware and software designed to carry out a specific function
25
New cards
examples of embedded systems
* gps * security systems * lighting systems * washing machines * motor vehicles
26
New cards
benefits of embedded systems
* can be small and portable * simple interface * can be remotely controlled * consume little power * relatively cheap
27
New cards
drawbacks of embedded systems
* needs a specialist to troubleshoot issues * difficult to upgrade * can be hacked * can be thrown away easily if out of date/ wasteful