4.7.3.3 Fo CompOrgArch ( The processor instruction set) Flashcards

(11 cards)

1
Q

What is an instruction set

A
  • Complete sets of instructions that a given processor can understand
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is meant by a low level language

A

A LLL is a language that provides little or no abstraction from a computer’s instruction set architecture

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

What are the Features of an instructions set

A
  • Written in Binary
  • Made up of opcode and one or more operands for each instruction
  • Either RISC or CISC
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the 4 types of instructions

A
  • Data transfer between registers or memory
  • Arithmetic operations
  • Logical operations
  • Branch operations that allows the program to loop or change flow
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the advantages of RISC (Reduced Instruction Set Computing)

A
  • Simpler hardware, making it cheaper
  • Instructions are completed in one cycle allowing for pipelining
  • Needs less energy to run
  • Quicker for simpler tasks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is meant by pipelining

A

In RISC, if some lines of code don’t rely on each other, they can be run at the same time by different processors. Since they all take the same amount of time, this makes the program run faster overall, because the total execution time is greatly decreased.

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

What are the advantages of CISC

A
  • More efficient for intensive tasks
  • Simpler to code using CISC
  • Quicker to debug code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is an instruction made up of

A
  • opcode and one or more operands
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is meant by the opcode in the instruction

A

The type of operation that the instruction should carry out and how it should go about doing so

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

What two things does the opcode contain

A
  • The operation
  • The addressing mode
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is meant by the operands in the instruction

A

The pieces of data on which the operation is carried out on

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