3.1.4 Instruction Set Flashcards

(13 cards)

1
Q

What is an instruction set?

A

A list of all the machine code commands that a CPU can process.

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

In what form are instruction set commands written?

A

Machine code.

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

How does the CPU process instructions from the instruction set?

A

Using the Fetch–Decode–Execute cycle.

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

What does the Current Instruction Register (CIR) store?

A

CIR stores the opcode and operand of the current instruction.

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

Which two CPU components are instructed by operations?

A

The Arithmetic Logic Unit (ALU) and the Control Unit (CU).

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

What are the two parts of an instruction?

A

Opcode and operand.

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

What is an opcode?

A

It tells the CPU what operation to perform.

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

What is an operand?

A

The data to be acted on or the memory/register location.

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

Give examples of instruction set operations

A

ADD, JMP, LDA.

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

What is X86?

A

A common CPU instruction set standard used in modern computers.

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

Why do X86-based computers have similar instruction sets?

A

Because they follow the same CPU standard despite different hardware designs.

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

What is the difference between program code and instruction set?

A
  • Program code must be compiled or interpreted into machine code, while the instruction set is machine code understood directly by the CPU.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Why must instruction sets not be confused with program code?

A

Because program code is converted into instruction set commands before execution.

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