4.7.3.4 Fo CompOrgArch (Addressing Modes) Flashcards

(8 cards)

1
Q

What are the 4 memory addressing modes

A
  • Immediate
  • Direct
  • Indirect
  • Indexed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is immediate addressing

A
  • When the absolute value supplied as a part of the operand
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Explain what ADD 10 does using immediate addressing

A

Add the value 10 to the value in the Accumulator

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

What is direct memory addressing

A
  • When the absolute value is stored in the memory address specified in the operand
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Explain what ADD 10 does using direct addressing

A

Add the value stored in location 10 to the accumulator

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

What is Indirect addressing

A

When the memory address stored in the operand points to another address that holds the absolute data that is to be added to the accumulator

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

Explain what ADD 10 does using indirect addressing

A
  • Go to the memory address 10 and go to the address specified in 10, then add the value in that memory address to the accumulator
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is indexed addressing

A

The number given in the operand is added to the number in the index register and the number in the summed address is added to the value in the accumulator

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