Flashcards
Modes of Addressing Memory
Cards in this deck (10)
- 1Describe what is meant by the term Memory Address ModesMemory address modes determine the method used within the program to access data either from the Cache or the RAM. Some memory addressing modes can control program flow.
- 2State the four types of Memory Address ModesDirect
Indirect
Immediate
Indexed - 3What happens when High/Low level languages make use of memory address modes?the compiler hides away all the details from the programmer.
- 4Describe what is meant by the term immediate addressing?Where the data is actually part of the command. It is when the value in the address part of the instruction is the actual value to be used. This means that the memory does not have to be searched for the value to be used.
- 5Describe what is meant by the term direct addressing?the code that refers directly to a location in memory.
- 6What are the advantages and disadvantages of direct addressing?The good thing about direct addressing is that it is fast
The bad thing about direct addressing is that the code depends on the correct data always being present at same location. - 7Describe what is meant by the term indirect addressingThis is where the location given stores the address of the actual data which is then looked up. Basically the instruction is the address where we will find the real address of the data to be used.
- 8What are the advantages and disadvantages of indirect addressing?- This is useful because it means that the larger the address in memory can be used to store data
- A disadvantage of indirect addressing is that extra memory operation is needed - 9Describe what is meant by the term indexed addressingIndexed addressing means that the final address for the data is determined by adding an offset to a base address.
- 10What are the advantages and disadvantages of indexed addressing?- One advantage of index addressing is that the array can be moved quickly from one area of memory to another and accessed simply by changing the base address.
- Another advantage of indexed addressing is that if the array is re-located in memory at any point then only the base address needs to be changed.
- A disadvantage is that extra addition has to be done to the operand address
Information
- Description
- A level Computer Science (Unit 1 - Topic 2) Flashcards on Modes of Addressing Memory, created by Ariana Parr on 21/02/2022.
- Created by
- Ariana Parr
- Views
- 1
- Rating