2.4 Flashcards

(9 cards)

1
Q

What are features of addressing modes

A

They determine how the CPU will use the operand for the opcode
They allow for a greater number of memory locations for data to be stored
They specify how operand should be be interpreted
It is found in the opcode

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

What is the operand

A

Holds a value related to the data the instruction is to be performed on

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

What is the opcode

A

Specifies the instruction to be performed

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

What is immediate addressing

A

Operand is the value to be operated on

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

What is the advantage of immediate addressing

A

It is good to load small (few bits available ) constants by building them into the program code

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

What is direct addressing

A

Operand is the address location of where the data is

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

What is indirect addressing

A

Operand is the memory location that stores the full address of the data, which is copied from MDR into the MAR.

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

What is indexed addressing

A

Operand is added to the index register

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

Advantages of index addressing

A

Good for searching through arrays
Can add an offset to access data stored contiguously

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