Ch3. Addressing Modes Flashcards

1
Q

Register mode

A

The operand is stored in one of the registers.

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

Immediate (or literal) mode:

A

The value of the operand is a part of the instruction

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

Direct (or absolute) mode:

A

The address of the operand in memory is stored in the instruction

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

Register indirect mode:

A

The address of the operand in memory is stored in one of the registers (usually an address register).

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

Displacement mode:

A

The address of the operand is the sum of the contents of a register and a value, called a displacement, specified in the instruction.

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

Indexed mode

A

Works essentially as the register indirect mode. The register containing the address is called index register

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

PC- relative mode

A

An offset or displacement is added to the PC.
The PC-relative mode is often used with branches and jumps.Also used in relocatable code where the code and data are both loaded into memory at fixed positions relative to each other.

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