[Semester 2] ISA and Assembly Flashcards

1
Q

Instruction Set Architecture (ISA)

A

Defines how a machine behaves. It also aims to execute instructions efficiently (i.e. less gates)

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

Instruction sets

A

Patterns of bits designed by the designer of the processor

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

Opcode

A

Holds which operation is being performed and how the result will be processed

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

Operand

A

Holds data in an operation which needs to be acted on

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

Flag

A

Indicates whether an operand is from memory

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

Complex Instruction Set Computer (CISC)

A

Aims to execute code in as few assembly lines as possible

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

Reduced Instruction Set Computer (RISC)

A

Like CISC but with separate load and store instructions

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

Why might more RAM be needed when using RISC?

A

Instruction length is always the same, which can result in more lines than CISC

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

True or false: RISC instructions can be executed in one clock cycle

A

True! This means that less transistors are needed.

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

How many statements per instruction can assembly language have?

A

1

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

Fetch

A

An instruction is retrieved from the memory address, which is stored in the program counter then the instruction register. The program counter then moves to the next instruction.

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

Decode

A

A decoder decodes and interprets the instruction in the instruction register

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

Execute

A

Control unit sends the decoded instruction as a sequence of signals to relevant parts of the CPU

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