1.1.1 The characteristics of contemporary processors, input, output and storage devices

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

1/42

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

43 Terms

1
New cards
What is the program counter?
stores the location of the next instruction in a program to be executed
2
New cards
What is the accumulator?
holds the data being processed and the results of processing
- results of calculations carried out by ALU can be temporarily stored
3
New cards
What is the Memory Address Register (MAR)?
stores the location for data to be fetched from or sent to memory
4
New cards
What is the Memory Data Register (MDR)?
Stores data that has been read from or is written to memory
5
New cards
What is the Current Instruction Register (CIR)?
holds the instruction currently being executed or decoded
- Contents of MDR is copied to CIR if it is an instruction
- Contains opcode and operand(s) of current instruction (Instruction= opcode and operand)
6
New cards
What is the Arithmetic Logic Unit (ALU)?
processes arithmetic and logical calculations
- Addition, subtraction, multiplication, division on fixed and floating point numbers
- Logical bitwise operations, such as AND, OR, NOT, and XOR
- Comparisons between values, such as greater than, less than, equal to
- Shifting binary patterns to the left or right
7
New cards
What is the Control Unit (CU)?
component of the CPU that manages instructions
- Directs flow of data between CPU and other devices
- Accepts next instruction and decodes into sub sequential steps
8
New cards
What is the address bus?
carries memory addresses that identify where data is being read from or written to
9
New cards
What is the data bus?
bi-directional, carries binary 1s and 0s that make up information being transmitted around CPU/computer
10
New cards
What is the control bus?
bi-directional, carries command and control signal to and from other CPU/computer
11
New cards
What is assembly code?
type of low-level programming language that is intended to communicate directly with a computer's hardware
12
New cards
What is the mnemonic for add?
ADD
13
New cards
What is the mnemonic for subtract?
SUB
14
New cards
What is the mnemonic for store?
STA
15
New cards
What is the mnemonic for load?
LDA
16
New cards
What is the mnemonic for branch always?
BRA
17
New cards
What is the mnemonic for branch if zero?
BRZ
18
New cards
What is the mnemonic for branch if positive?
BRP
19
New cards
What is the mnemonic for input?
INP
20
New cards
What is the mnemonic for output
OUT
21
New cards
What is the mnemonic for end program?
HLT
22
New cards
What is the mnemonic for data location?
DAT
23
New cards
What is the fetch-decode-execute cycle?
process CPU repeats to retrieve and execute instructions
24
New cards
What happens during the fetch part?
- Address of next instruction is copied from PC to MAR
- Instruction held at that address is copied to MDR, simultaneously content of PC is incremented so that it holds address of next instruction
- Contents of MDR are copied to CIR
25
New cards
What happens during the decode part?
- Instruction held at CIR is decoded, instruction split into opcode + operand and opcode used to determine type of instruction and what hardware to use execute it
- Operand holds either:
- Address of data to be used with operation which is then copied to MAR or
- Actual data to be operated on, which will be copied to MDR
- Data to be operated on may be passed to ALU/accumulator
26
New cards
What happens during execute part?
appropriate instruction/opcode is carried out on the operand
27
New cards
What are the main factors affecting processor performance?
- clock speed
- number of cores
- amount and type of cache
28
New cards
How does clock speed affect processor performance?
number of clock cycles completed per second, measured in Hertz
- Increased clock speed = fetch decode execute cycles completed faster = increased performance
29
New cards
How does the number of cores affect processor performance?
independent processor that is able to run its own fetch-execute cycle
- more cores = more fetch decode execute cycles completed = increased performance
30
New cards
How does the amount and type of cache affect processor performance?
high speed memory that stores frequently used instructions
- more cache = more frequently used instructions stored = less time to fetch instruction = more fetch decode execute cycles completed = increased performance
31
New cards
What is pipelining?
process of completing the fetch, decode, and execute cycles of three separate instructions simultaneously, holding appropriate data in a buffer in close proximity to CPU until required
32
New cards
What is the purpose of pipelining?
to reduce the amount of the CPU which is kept idle
- separated into instruction pipelining and arithmetic pipelining:
33
New cards
What is instruction pipelining?
separating out instruction into fetching, decoding, and executing
34
New cards
What is arithmetic pipelining?
breaking down the arithmetic operations and overlapping them as they are performed
35
New cards
What does Von Neumann architecture include?
basic components of computer and processor (single control unit, ALU, registers and memory units)
36
New cards
What are the main characteristics of Von Neumann Architecture?
- used in conventional processors in PCs, servers
- shared memory + shared data bus used for both data and instructions
- built on stored program concept
37
New cards
What are the advantages of Von Neumann architecture?
- cheaper to develop as control unit is easier to design
- programs can be optimised in size
38
New cards
When is Harvard architecture used?
with embedded processor
39
New cards
What are the characteristics of Harvard architecture?
- physically separate memories for instructions and data (useful for when memories have different characteristics)
- parallel data and instruction buses may be used
- programs tend to be large
40
New cards
What are the advantages of Harvard architecture?
- quicker execution as data + instructions can be fetched in parallel
- memories can be different sizes (more efficient use of space)
41
New cards
What is a Contemporary Processor Architecture?
combination of Harvard and Von Neumann architecture
42
New cards
When are Von Neumann Architecture and Harvard Architecture used in the Contemporary Processor Architecture?
Von Neumann used when working with data and instructions in main memory, Harvard Architecture used to divide cache into instruction cache and data cache
43
New cards
What is a bus?
set of parallel wires connecting 2 or more components of a computer together