1.1.2 - Types of processor Flashcards

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

What is CISC?

A

Complex instruction set computers

Comlpex instructions are built into the machines hardware.

A complex instruction is capabale of understanding and executing a series of smaller sub-tasks that make up the single instruction. Foe example a single instruction can do the loading, multiplication and storing of a result.

EXAMPLE:

CISC = MULT A, B

High level = A = A * B

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

Advantages of CISC

A

Compiler has to do very little work to translate a high level language into machine code.

Very little RAM is required to store instructions due to the instructions being so short.

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

Disadvantages of CISC

A

Many specialised instructions are built into the hardware but about 20% of them are never used in the averae program.

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

What is RISC?

A

Reduced instruction set computers

Opposite approach to CISC

Only simple instructions, each taking one clock cycle, can be executed. Thus the example of a CISC instruction ‘MULT A, B’ may be written:

LDA R1, A
LDA R2, B
MULT R1, R2
STO R1 A

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

Advantages of RISC

A

Because each instruction takes the same amount of time, pipelining is possible, and four instructions will execute just as quickly as a single CISC instruction.

RISC has largely replaced CISC because of this, however CISC is still used in microcontrollers and embedded systems.

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

Disadvantages of RISC

A

Compiler has to do more work to translate high-level code into machine code.

More RAM is required to store the machine code instructions.

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