1.1.2: Types of Processor Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Reduced Instruction Set Computer (RISC)

A
  • small instruction set
  • each instruction: 1 line of machine code

1 clock cycle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Complex Instruction Set Computer (CISC)

A
  • large instruction set
  • aim: complete tasks in a few lines of assembly code
  • instructions built into hardware
  • got replaced by RISC
  • used in microcontrollers + embedded systems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Multiplying 2 numbers x and y

A

RISC:

LDA R1, X

LDA R2, Y

MULT R1, R2

STO R1, X

CISC

MULT A, B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Comparison of RISC and CISC

A

RISC:
Complier does more work to translate high level code –> machine code

More RAM required

Pipelining is possible - each instruction takes 1 clock cycle

CISC:
Compiler does less work to translate high level code –> machine code

Less RAM –> code is shorter

Many specialised functions are made even though only few are used

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Multi-core and parallel systems

A
  • Multi-core CPUs –> multiple independent cores that can complete instructions separately - results in high performance
  • Parallel systems –> similar task but can complete tasks with single core by threading

Multi-core systems perform better in larger projects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Graphics-Processing Unit (GPU)

A
  • unlike CPU which have independent processors –> which work in parallel, making it efficient at completing repetitive tasks ( image processing, machine learning)
  • GPUs - type of co -processor
  • co-processor = a 2nd processor design to supplement activities of primary processor
How well did you know this?
1
Not at all
2
3
4
5
Perfectly