sends out control signals across the control bus that controls the fetch decode execute cycle
2
New cards
arithmetic logic unit
performs arithmetic and logic operations
3
New cards
program counter
holds memory address location of the next instruction to be executed - once copied to the MAR value is incremented by the incrementor
4
New cards
current instruction register
Holds the current instruction or data being executed, divided into operand and opcode
5
New cards
memory address register
holds the memory location of next instruction or data about to fetched from RAM, points to the location in memory across the address bus
6
New cards
memory data register
temporarily stores data or instructions that have just been fetched from main memory, the instructions are decoded and a copy is placed in the CIR
7
New cards
bus
parallel wires connecting two or more components of a computer
8
New cards
data bus
sends data or instructions between the processor, the memory unit and the input/output devices and is bidirectional
9
New cards
control bus
sends control signals
10
New cards
address bus
sends addresses to memory
11
New cards
explain what happens in fetch stage of the FDE cycle
1. address of next instruction copied from PC to MAR 2. instruction held at that address is copied to MDR - simultaneously contents of PC is incremented so it holds the next address 3. contents of MDR copied to CIR
12
New cards
explain what happens in decode stage of the FDE cycle
1. instruction in CIR is split into opcode and operand 2. address of data is copied to MAR, actual data is copied to MDR or data is passed to ALU
13
New cards
explain what happens in execute stage of the FDE cycle
operand is copied to the MAR, as it provides the address of the data to be loaded, the data at that address is then fetched from RAM and passed up the data bus to the MDR
14
New cards
bus request
indicates a device is requesting use of the data bus
15
New cards
bus grant
Indicates that the CPU has granted access to the data bus.
16
New cards
memory write
Causes data on the data bus to be written into the addressed location.
17
New cards
memory read
Causes data from the addressed location to be placed on the data bus.
18
New cards
interrupt request
Indicates that a device is requesting access to the CPU.
19
New cards
clock
Used to synchronise operations
20
New cards
word size
the number of bits the processor can interpret and execute at a given time
21
New cards
Opcode
The field that denotes the operation and format of an instruction.
22
New cards
operand
the quantity in which an operation is to be done
23
New cards
accumulator
stores results of executions in the ALU
24
New cards
status register
states whether an interrupt request has been received - interrupts would usually be controlled by the operating system and based upon the scheduling algorithms
25
New cards
the speed at which the FDE happens is controlled by the
clock
26
New cards
instruction set
different methods of performing the same instruction, specific to each computer model
27
New cards
factors affecting clock speed
cache size, clock speed, number of cores
28
New cards
pipelining
allows overlapping execution if multiple instructions
29
New cards
Von Neumann Architecture negatives
Data and instructions both use data bus but can only do either data or instructions at a time so causes bottleneck
30
New cards
Harvard architecture advantages
separate memory for data and programs, dedicated buses, data and instructions can be fetched simultaneously, no bottleneck occurs
31
New cards
Harvard Architecture Disadvantages
More expensive as you have to make two separate RAMs Less RAM accessible overall Complex to implement